Electronic device, method, and non-transitory computer-readable storage medium for automatically pairing with other electronic devices
The electronic device automates the pairing process with external devices using identification and authentication information, addressing inefficiencies in existing methods and enhancing user experience and data management.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- SAMSUNG ELECTRONICS CO LTD
- Filing Date
- 2025-10-10
- Publication Date
- 2026-06-04
AI Technical Summary
Existing electronic devices face inefficiencies in pairing with multiple external devices, particularly when transitioning from one device to another, often requiring manual disconnection and reconnection, which can lead to user inconvenience and data loss.
An electronic device is equipped with a processor and communication circuit that facilitates automatic pairing with external devices using identification and authentication information, allowing seamless connection and data transfer without manual intervention.
Enables efficient and user-friendly automatic pairing and data transfer between electronic devices, reducing setup complexity and minimizing data loss during transitions.
Smart Images

Figure KR2025015966_04062026_PF_FP_ABST
Abstract
Description
Electronic device, method, and non-transient computer-readable storage medium for automatically pairing with other electronic devices
[0001] The following descriptions relate to an electronic device, a method, and a non-transient computer-readable storage medium for automatically pairing with another electronic device.
[0002] Electronic devices can be connected to other electronic devices via wired and / or wireless connections using various protocols. For example, an electronic device can be connected to an external electronic device using Bluetooth (e.g., Bluetooth Low Energy (BLE)).
[0003] Bluetooth can support multiple connections where multiple electronic devices are connected simultaneously.
[0004] An electronic device is disclosed. The electronic device may include at least one processor comprising a display, a communication circuit, or a processing circuit, and a memory comprising one or more storage media for storing instructions. When the instructions are executed individually or collectively by the at least one processor, the electronic device may cause the display of a user interface (UI) for receiving data for pairing with one or more external electronic devices from a first external electronic device through the display. When the instructions are executed individually or collectively by the at least one processor, the electronic device may cause the electronic device to receive user input through the UI for transmitting data for pairing stored in the first external electronic device to the electronic device. When the instructions are executed individually or collectively by the at least one processor, the electronic device may cause the electronic device to receive data including connection information for determining whether to pair with the second external electronic device among the one or more external electronic devices based on the user input. The second external electronic device may be paired with the first external electronic device. The connection information may include identification information used to identify an advertisement packet advertised from the second external electronic device and authentication information used for authentication performed with the second external electronic device for pairing with the second external electronic device. When the instructions are executed individually or collectively by the at least one processor, the electronic device may cause the second external electronic device to be paired with the second external electronic device through the communication circuit as the second external electronic device is authenticated using the identification information and the authentication information.
[0005] An electronic device is disclosed. The electronic device may include at least one processor comprising a display, a communication circuit, or a processing circuit, and a memory comprising one or more storage media for storing instructions. When the instructions are executed individually or collectively by the at least one processor, the electronic device may receive a signal requesting data including connection information for determining whether a first external electronic device will pair with a second external electronic device. The second external electronic device may be paired with the electronic device. The connection information may include identification information used to identify an advertisement packet advertised from the second external electronic device and authentication information used for authentication for pairing with the second external electronic device. When the instructions are executed individually or collectively by the at least one processor, the electronic device may cause a UI to display a query on the display regarding whether the data is transmitted. When the above instructions are executed individually or collectively by the at least one processor, the electronic device may cause the electronic device to receive user input through the UI for transmitting the data stored in the external electronic device to the first external electronic device. When the above instructions are executed individually or collectively by the at least one processor, the electronic device may cause the electronic device to transmit the data to the first external electronic device in response to receiving the user input.
[0006] A method is disclosed. The method may be performed by an electronic device comprising a display and a communication circuit. The method may include an operation of displaying a UI for receiving data for pairing with one or more external electronic devices from a first external electronic device through the display. The method may include an operation of receiving user input through the UI for transmitting data for pairing stored in the first external electronic device to the electronic device. The method may include an operation of receiving data including connection information for determining whether to pair with the second external electronic device among the one or more external electronic devices based on the user input. The second external electronic device may be paired with the first external electronic device. The connection information may include identification information used to identify an advertisement packet advertised from the second external electronic device and authentication information used for authentication performed with the second external electronic device for pairing with the second external electronic device. The method may include an operation of pairing with the second external electronic device through the communication circuit as the second external electronic device is authenticated using the identification information and the authentication information.
[0007] A method is disclosed. The method may be performed by an electronic device comprising a display and a communication circuit. The method may receive a signal requesting data including connection information for determining whether a first external electronic device will pair with a second external electronic device. The second external electronic device may be paired with the electronic device. The connection information may include identification information used to identify an advertisement packet advertised from the second external electronic device and authentication information used for authentication for pairing with the second external electronic device. The method may include an operation of displaying a UI through the display to query whether to transmit the data. The method may include an operation of receiving user input through the UI to transmit the data stored in the external electronic device to the first external electronic device. The method may include an operation of transmitting the data to the first external electronic device in response to receiving the user input.
[0008] A non-transitory computer-readable storage medium is disclosed. The non-transitory computer-readable storage medium may store a program comprising instructions. When the instructions are executed individually or collectively by at least one processor of an electronic device comprising a display and a communication circuit, the electronic device may cause the display of a UI for receiving data for pairing with one or more external electronic devices from a first external electronic device through the display. When the instructions are executed individually or collectively by the at least one processor, the electronic device may cause the electronic device to receive user input through the UI for transmitting data for pairing stored in the first external electronic device to the electronic device. When the instructions are executed individually or collectively by the at least one processor, the electronic device may cause the electronic device to receive data including connection information for determining whether to pair with the second external electronic device among the one or more external electronic devices based on the user input. The second external electronic device may be paired with the first external electronic device. The connection information may include identification information used to identify an advertisement packet advertised from the second external electronic device and authentication information used for authentication performed with the second external electronic device for pairing with the second external electronic device. When the instructions are executed individually or collectively by the at least one processor, the electronic device may cause the second external electronic device to be paired with the second external electronic device through the communication circuit as the second external electronic device is authenticated using the identification information and the authentication information.
[0009] A non-transient computer-readable storage medium is disclosed. The non-transient computer-readable storage medium may store a program comprising instructions. When the instructions are executed individually or collectively by at least one processor of an electronic device comprising a display and a communication circuit, the electronic device may receive a signal requesting data including connection information for determining whether a first external electronic device will pair with a second external electronic device. The second external electronic device may be paired with the electronic device. The connection information may include identification information used to identify an advertisement packet advertised from the second external electronic device and authentication information used for authentication for pairing with the second external electronic device. When the instructions are executed individually or collectively by the at least one processor, the electronic device may cause a UI to display, through the display, a query regarding whether to transmit the data. When the above instructions are executed individually or collectively by the at least one processor, the electronic device may cause the electronic device to receive user input through the UI for transmitting the data stored in the external electronic device to the first external electronic device. When the above instructions are executed individually or collectively by the at least one processor, the electronic device may cause the electronic device to transmit the data to the first external electronic device in response to receiving the user input.
[0010] FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments.
[0011] FIG. 2 illustrates electronic devices according to one embodiment.
[0012] FIG. 3a illustrates a user interface (UI) displayed on an electronic device according to one embodiment.
[0013] FIG. 3b illustrates a UI displayed in electronic devices according to one embodiment.
[0014] FIG. 3c illustrates a UI displayed in electronic devices according to one embodiment.
[0015] FIG. 3d illustrates a UI displayed in electronic devices according to one embodiment.
[0016] FIG. 4 is a flowchart illustrating the operation of an electronic device according to one embodiment.
[0017] FIG. 5 is a flowchart illustrating the operation of an electronic device according to one embodiment.
[0018] FIG. 6 is a flowchart illustrating the operation of an electronic device according to one embodiment.
[0019] FIG. 7 is a flowchart illustrating the operation of an electronic device according to one embodiment.
[0020] FIG. 8 is a flowchart illustrating the operation of a first external electronic device according to one embodiment.
[0021] FIG. 9 is a flowchart illustrating the operation of a first external electronic device according to one embodiment.
[0022] FIG. 10 is a flowchart illustrating the operation of a second external electronic device according to one embodiment.
[0023] FIG. 11 is a flowchart illustrating the operation of electronic devices according to one embodiment.
[0024] FIG. 1 is a block diagram of an electronic device (101) in a network environment (100) according to various embodiments.
[0025] Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) through a first network (198) (e.g., a short-range wireless communication network) or with at least one of an electronic device (104) or a server (108) through a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) through a server (108). According to one embodiment, the electronic device (101) may include a processor (120), memory (130), input module (150), sound output module (155), display module (160), audio module (170), sensor module (176), interface (177), connection terminal (178), haptic module (179), camera module (180), power management module (188), battery (189), communication module (190), subscriber identification module (196), or antenna module (197). In some embodiments, at least one of these components (e.g., connection terminal (178)) may be omitted from the electronic device (101), or one or more other components may be added. In some embodiments, some of these components (e.g., sensor module (176), camera module (180), or antenna module (197)) may be integrated into a single component (e.g., display module (160)).
[0026] The processor (120) can control at least one other component (e.g., hardware or software component) of the electronic device (101) connected to the processor (120) by executing software (e.g., program (140)), for example, and can perform various data processing or operations. According to one embodiment, as at least part of the data processing or operations, the processor (120) can store commands or data received from other components (e.g., sensor module (176) or communication module (190)) in volatile memory (132), process the commands or data stored in volatile memory (132), and store the resulting data in non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., central processing unit or application processor) or an auxiliary processor (123) that can operate independently or together with it (e.g., graphics processing unit, neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor). For example, if the electronic device (101) includes a main processor (121) and an auxiliary processor (123), the auxiliary processor (123) may be configured to use lower power than the main processor (121) or to be specialized for a designated function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as part thereof.
[0027] The auxiliary processor (123) may control at least some of the functions or states associated with at least one component of the electronic device (101) (e.g., display module (160), sensor module (176), or communication module (190)) 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. According to one embodiment, the auxiliary processor (123) (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module (180) or communication module (190)). According to one embodiment, the auxiliary processor (123) (e.g., neural network processing unit) may include a hardware structure specialized for processing an artificial intelligence model. The artificial intelligence model may be generated through machine learning. Such learning may be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or through a separate server (e.g., server (108)). The learning algorithm may 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 may include a plurality of artificial neural network layers.An artificial neural network may be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), 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 the hardware structure, the artificial intelligence model may include a software structure, either additionally or substantially.
[0028] The memory (130) can store various data used by at least one component of the electronic device (101) (e.g., processor (120) or sensor module (176)). The data may include, for example, input data or output data for software (e.g., program (140)) and related commands. The memory (130) may include volatile memory (132) or non-volatile memory (134).
[0029] The program (140) may be stored as software in memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
[0030] The input module (150) can receive commands or data to be used for a component of the electronic device (101) (e.g., processor (120)) from outside the electronic device (101) (e.g., user). The input module (150) may include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0031] The sound output module (155) can output a sound signal to the outside of the electronic device (101). The sound output module (155) may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as multimedia playback or recording playback. The receiver may be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part thereof.
[0032] The display module (160) can visually provide information to an external (e.g., 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 said 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 the force generated by said touch.
[0033] The audio module (170) can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150) or output sound through the sound output module (155) or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphones) connected directly or wirelessly to the electronic device (101).
[0034] The sensor module (176) can detect the operating state of the electronic device (101) (e.g., power or temperature) or the external environmental state (e.g., user state) and generate an electrical signal or data value corresponding to the detected state. According to one embodiment, the sensor module (176) may include, for example, a gesture sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an accelerometer sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biosensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0035] The interface (177) may support one or more specified protocols that can be used for the electronic device (101) to be connected directly or wirelessly to an external electronic device (e.g., electronic device (102)). According to 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) can 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] The haptic module (179) can convert an electrical signal into a mechanical stimulus (e.g., vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module (179) may include, for example, a motor, a piezoelectric element, or an electric stimulation device.
[0038] The camera module (180) can capture still images and video. 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 the power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented, for example, as at least part of a power management integrated circuit (PMIC).
[0040] The battery (189) can supply power to at least one component of the electronic device (101). According to 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) can support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between an 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 include one or more communication processors that operate independently of the processor (120) (e.g., application processor) and 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., cellular communication module, short-range wireless communication module, or GNSS (global navigation satellite system) communication module) or a wired communication module (194) (e.g., LAN (local area network) communication module, or power line communication module). The corresponding communication module among these communication modules can communicate with an external electronic device (104) through a first network (198) (e.g., a short-range communication network such as Bluetooth, WiFi (wireless fidelity) direct, or IrDA (infrared data association)) or a second network (199) (e.g., 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 may 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 identify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) using subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module (196).
[0042] The wireless communication module (192) can support 5G networks and next-generation communication technologies following 4G networks, for example, new radio access technology. NR access technology can support high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and connection of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low-latency communications (URLLC)). The wireless communication module (192) can support a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate, for example. The wireless communication module (192) can support various technologies for securing performance in the high-frequency band, such as beamforming, massive MIMO (multiple-input and multiple-output), 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), external electronic device (e.g., electronic device (104)), or network system (e.g., second network (199)). According to one embodiment, the wireless communication module (192) can support a Peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 664 dB or less) for realizing mMTC, or U-plane latency (e.g., downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 6 ms or less) for realizing URLLC.
[0043] An antenna module (197) can transmit a signal or power to or from an external source (e.g., an external electronic device). According to one embodiment, the antenna module (197) may include an antenna comprising a radiator made 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 a first network (198) or a second network (199), may be selected from the plurality of antennas, for example, by a communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device through the selected at least one antenna. According to some embodiments, in addition to the radiator, other components (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as part of the antenna module (197).
[0044] According to various embodiments, the antenna module (197) may form a mmWave antenna module. According to one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent to a first surface (e.g., bottom surface) of the printed circuit board and capable of supporting a specified high frequency band (e.g., mmWave band), and a plurality of antennas (e.g., array antennas) disposed on or adjacent to a second surface (e.g., top surface or side surface) of the printed circuit board and capable of transmitting or receiving a signal of the specified high frequency band.
[0045] At least some of the above components can be connected to each other via a communication method between peripheral devices (e.g., bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)) and exchange signals (e.g., commands or data) with each other.
[0046] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) through a server (108) connected to a second network (199). Each of the external electronic devices (102, or 104) may be the same or different type of device as the electronic device (101). According to one embodiment, all or part of the operations performed on the electronic device (101) may be performed on one or more of the external electronic devices (102, 104, or 108). For example, if the electronic device (101) needs to perform a function or service automatically or in response to a request from a user or another device, the electronic device (101) may request one or more external electronic devices to perform at least part of the function or service instead of performing the function or service itself or additionally. One or more external electronic devices that receive the above request may execute at least part of the requested function or service, or 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 provide the result as is or additionally processed as at least part of the response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device (101) may provide ultra-low latency services using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server using machine learning and / or neural networks. According to one embodiment, the external electronic device (104) or the server (108) may be included within 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 illustrates electronic devices according to one embodiment. FIG. 3a illustrates a user interface (UI) displayed in an electronic device according to one embodiment. FIG. 3b illustrates a UI displayed in electronic devices according to one embodiment. FIG. 3c illustrates a UI displayed in electronic devices according to one embodiment. FIG. 3d illustrates a UI displayed in electronic devices according to one embodiment.
[0048] Referring to FIG. 2, the electronic device (101) may include a processor (120), memory (130), a display (260), and a communication circuit (290). In one embodiment, the processor (120) and memory (130) may correspond to the processor (120) and memory (130) of FIG. 1. In one embodiment, the display (260) may correspond to the display module (160) of FIG. 1. In one embodiment, the communication circuit (290) may correspond to the communication module (190) of FIG. 1.
[0049] In one embodiment, the first external electronic device (201) may include a processor (221), memory (231), a display (261), and a communication circuit (291). In one embodiment, the processor (221) and memory (231) may correspond to the processor (120) and memory (130) of FIG. 1. In one embodiment, the display (261) may correspond to the display module (160) of FIG. 1. In one embodiment, the communication circuit (291) may correspond to the communication module (190) of FIG. 1.
[0050] In one embodiment, the second external electronic device (205) may include a processor (225), a memory (235), and a communication circuit (295). In one embodiment, the processor (225) and the memory (235) may correspond to the processor (120) and memory (130) of FIG. 1. In one embodiment, the communication circuit (295) may correspond to the communication module (190) of FIG. 1.
[0051] In one embodiment, the electronic device (101) may be a user's electronic device that is not paired (or bonded) with the second external electronic device (205). In one embodiment, the second external electronic device (205) may be an electronic device that is paired (or bonded) with the first external electronic device (201). For example, the second external electronic device (205) may be connected to the first external electronic device (201) via a short-range communication connection (e.g., a Bluetooth-based communication connection). In one embodiment, the electronic device (101) and / or the first external electronic device (201) may act as a central device in the communication connection with the second external electronic device (205). In one embodiment, the second external electronic device (205) may act as a peripheral device in the communication connection with the electronic device (101) and / or the first external electronic device (201). For example, the second external electronic device (205) may be an accessory device. For example, the second external electronic device (205) may be a wearable device that a user can wear (e.g., a smart ring, a smart watch, earbuds, or a head-mounted display (HMD)). However, it is not limited thereto. For example, the second external electronic device (205) may be a tablet computer, a laptop, or a home appliance (e.g., a television, a washing machine, a dryer, or a refrigerator).
[0052] According to an embodiment, if only specific profiles are supported, the electronic device may be connected to (or paired with) one electronic device at a time. In order for the electronic device to connect to a new electronic device, it must disconnect from the existing electronic device that is already connected and then connect to the new electronic device. For example, the second external electronic device (205) may be connected to (or paired with) one electronic device at a time. In this case, for pairing between the new electronic device, the electronic device (101), and the second external electronic device (205), the pairing (or communication connection) between the second external electronic device (205) and the first external electronic device (201) must be disconnected. However, it is not limited thereto. The second external electronic device (205) may be connected to (or paired with) one or more electronic devices at a time.
[0053] In one embodiment, the electronic device (101) may be an electronic device that is not connected to (or paired) (or bonded) the second external electronic device (205). For example, the state of the electronic device (101) that is not connected to (or paired) (or bonded) the second external electronic device (205) may indicate a state in which the electronic device (101) has disconnected from the communication connection (or pairing) (or bond) with the second external electronic device (205). However, the embodiment is not limited thereto. For example, the state of the electronic device (101) that is not connected to (or paired) (or bonded) the second external electronic device (205) may include a state in which the communication connection (or pairing) (or bond) with the second external electronic device (205) has never been established. For example, the state of the electronic device (101) that is not connected to (or paired) (or bonded) the second external electronic device (205) may include a factory reset (or hard reset, master reset) state of the electronic device (101). For example, the factory reset may represent a restoration function that returns the electronic device (101) to its original setting. For example, the factory reset may represent a restoration function that deletes data added through use from the data within the electronic device (101). For example, the data added through use may include user accounts, applications, and / or content (e.g., photos, or videos). In one embodiment, the electronic device (101) may be an electronic device prior to the initial setup. In one embodiment, the initial setup may include the action of registering a user account to the electronic device (101) in the factory reset state (or in a state where no user account is registered). In one embodiment, the initial setting may include an operation to set the usage environment (e.g., language of use) of the electronic device (101) in a factory initial state.In one embodiment, the initial setting may include the operation of transferring data from a first external electronic device (201) to an electronic device (101) in a factory initialization state.
[0054] In one embodiment, the electronic device (101) may receive data from the first external electronic device (201). However, some of the data stored in the first external electronic device (201) may not be transmitted to the electronic device (101). For example, data associated with the communication connection (211) between the first external electronic device (201) and the second external electronic device (205) may not be transmitted to the electronic device (101). Accordingly, the user may experience the inconvenience of having to input an input requesting a communication connection (215) to the electronic device (101) and / or the second external electronic device (205) for the communication connection (215) between the electronic device (101) and the second external electronic device (205). Additionally, data transmitted by the second external electronic device (205) to the first external electronic device (201) (or sensitive data (e.g., biometric information, or location information), or a digital key (e.g., a digital key for a vehicle)) may be removed from the second external electronic device (205) according to the pairing between the second external electronic device (205) and the electronic device (101). Accordingly, inconvenience may be caused to a user who wishes to continuously use the data stored in the second external electronic device (205). Therefore, an initial setup may be required to eliminate or reduce these inconveniences. Below, a data transmission operation to eliminate or reduce these inconveniences may be described.
[0055] In one embodiment, the electronic device (101) may display a user interface (UI) of a program for receiving data of a type selected by a user from another electronic device via a display (260). For example, the UI for receiving data of a type selected by a user may be displayed upon receiving user input to execute the program. For example, the type of data selected by the user may include messages, contact information, connection information, images, and / or applications. However, the embodiment is not limited thereto. For example, the UI for receiving data of a type selected by a user may be displayed during the initial setup operation of the electronic device (101). For example, the UI for receiving data of a type selected by a user may include one or more selectable visual objects for querying the user whether to proceed with the initial setup. For example, the electronic device (101) may continue the performance of the initial setup upon receiving user input requesting the progress of the initial setup via the UI. For example, the electronic device (101) may stop the performance of the initial setup upon receiving user input requesting the cessation of the initial setup through the UI. For example, the electronic device (101) may display the home screen through the display (260) as the performance of the initial setup is stopped.
[0056] In one embodiment, referring to FIG. 3a, the electronic device (101) may display a UI (310) that queries whether to receive data stored in a first external electronic device (201) through a display (260). In one embodiment, the UI (310) may include a visual object (311) for agreeing to receive data stored in the first electronic device (201) and a visual object (315) for refusing to receive data stored in the first electronic device (201). In one embodiment, the UI (310) may be a UI of a program for receiving data of a type selected by the user from another electronic device.
[0057] In one embodiment, the electronic device (101) may stop receiving data stored in the first electronic device (201) in response to receiving user input regarding a visual object (315) included in the UI (310). In one embodiment, the electronic device (101) may proceed with other operations other than receiving data stored in the first electronic device (201) in response to receiving user input regarding a visual object (315) included in the UI (310).
[0058] In one embodiment, the electronic device (101) may proceed (or initiate) the operation of receiving data stored in the first electronic device (201) in response to receiving user input for a visual object (311) included in the UI (310).
[0059] In one embodiment, the electronic device (101) may broadcast (or advertise) a request to establish a short-range communication connection with the first external electronic device (201) in response to receiving user input regarding a visual object (311) included in the UI (310). For example, the request to establish a short-range communication connection may be based on a wireless signal. For example, the request to establish a short-range communication connection may be based on a sound signal (e.g., an ultrasonic signal). In one embodiment, the short-range communication connection may be a communication connection based on WiFi direct and / or Bluetooth (or BLE (Bluetooth low energy)). However, it is not limited thereto. For example, the electronic device (101) may establish a wired communication connection with the first external electronic device (201) in response to receiving user input regarding a visual object (311) included in the UI (310). For example, the electronic device (101) may display a UI requesting a wired connection to the user based on identifying that it is not wired to the first external electronic device (201).
[0060] In one embodiment, referring to FIG. 3b, the electronic device (101) may display a UI (320) indicating that it is establishing a communication connection (213) with a first external electronic device (201) through a display (260) while broadcasting a request to establish a short-range communication connection.
[0061] In one embodiment, referring to FIG. 3b, the first external electronic device (201) may display a UI (330) of a program to assist in the initial setup of the electronic device (101). However, it is not limited thereto. For example, the first external electronic device (201) may display a different screen (e.g., a home screen or an application screen) regardless of the initial setup of the electronic device (101).
[0062] In one embodiment, the first external electronic device (201) may display a UI (335) that queries whether to transmit (or send) data to the electronic device (101) (or a new electronic device) via a display (261) based on receiving a request to establish a short-range communication connection (213) from the electronic device (101).
[0063] In one embodiment, the first external electronic device (201) may stop establishing a communication connection (213) with the electronic device (101) based on receiving user input for a visual object rejecting the connection of the UI (335). In one embodiment, the first external electronic device (201) may establish a communication connection (213) with the electronic device (101) based on receiving user input for a visual object accepting the connection of the UI (335). In one embodiment, referring to FIG. 3c, the first external electronic device (201) may display a UI (350) indicating that a communication connection (213) with the electronic device (101) has been established in response to the establishment of a communication connection (213) with the electronic device (101).
[0064] In one embodiment, the electronic device (101) may receive information about data stored in the first external electronic device (201) from the first external electronic device (201) based on the establishment of a communication connection (213) with the first external electronic device (201). For example, the information about data stored in the first external electronic device (201) may include a list of multiple items that can be transmitted from the first external electronic device (201) to the electronic device (101). For example, the multiple items may include items for messages, contact information, connection information, images, and / or applications.
[0065] In one embodiment, referring to FIG. 3c, the electronic device (101) can display a UI (340) that queries data to be received among the data stored in the first external electronic device (201) based on the establishment of a communication connection (213) with the first external electronic device (201).
[0066] In one embodiment, the electronic device (101) may request the transmission of selected data from the first external electronic device (201) based on receiving user input selecting a visual object (e.g., “Next”) in the UI (340) requesting the transmission of selected data to the first external electronic device (201). In one embodiment, the request for transmission of selected data may include a request for connection information between the first external electronic device (201) and another external electronic device (e.g., a second external electronic device (205)). In one embodiment, the connection information between the first external electronic device (201) and another external electronic device may include information for the electronic device (101) to automatically pair with another external electronic device. In one embodiment, the electronic device (101) automatically pairing with another external electronic device may include the electronic device (101) requesting a communication connection to another discovered external electronic device without user intervention. In one embodiment, user intervention may include user input requesting pairing (or communication connection) with another external electronic device. In one embodiment, the electronic device (101) automatically pairing with another external electronic device may include requesting a communication connection to the discovered other external electronic device in response to identifying that a condition is met. In one embodiment, the condition may be a condition based on identification information and / or authentication information.
[0067] For example, information for an electronic device (101) to automatically pair with another external electronic device may include authentication information for performing authentication with the other external electronic device. In one embodiment, the authentication information may be any value generated by the first external electronic device (201). Hereinafter, the authentication information may be referred to as an authentication key (Auth key).
[0068] For example, information for an electronic device (101) to automatically pair with another external electronic device may include identification information of the other external electronic device. In one embodiment, the identification information may include address information of the other external electronic device. In one embodiment, the identification information may include address information of the other external electronic device according to a short-range communication technique (e.g., Bluetooth). In one embodiment, the identification information may be used to identify an advertisement packet according to a short-range communication technique (e.g., Bluetooth) advertised from a second external electronic device (205).
[0069] In one embodiment, the first external electronic device (201) may transmit selected data to the electronic device (101) in response to receiving a signal from the electronic device (101) requesting the transmission of selected data. For example, the first external electronic device (201) may transmit the selected data through a short-range communication connection with the electronic device (101). In one embodiment, referring to FIG. 3d, the first external electronic device (201) may display a UI (370) indicating that data is being transmitted while transmitting the selected data to the electronic device (101). Likewise, referring to FIG. 3d, the electronic device (101) may display a UI (360) indicating that data is being received while receiving the selected data from the first external electronic device (201).
[0070] In one embodiment, in response to a request for transmission of selected data, the first external electronic device (201) can identify connection information for at least one external electronic device paired with the first external electronic device (201). In one embodiment, if the request for transmission of selected data includes a request for connection information between the first external electronic device (201) and another external electronic device, the first external electronic device (201) can identify connection information for at least one external electronic device paired with the first external electronic device (201). For example, the first external electronic device (201) can identify identification information (or Bluetooth-based address information) for at least one external electronic device paired with the first external electronic device (201). For example, the first external electronic device (201) can identify authentication information associated with at least one external electronic device paired with the first external electronic device (201). For example, in response to a request for transmission of selected data, the first external electronic device (201) may generate authentication information associated with at least one external electronic device paired with the first external electronic device (201). However, it is not limited thereto. For example, the first external electronic device (201) may identify authentication information associated with at least one external electronic device paired with the first external electronic device (201) that was generated prior to the request for transmission of selected data. In one embodiment, the authentication information may be an authentication key (or Auth key).
[0071] In one embodiment, in response to a request for transmission of selected data, the first external electronic device (201) may transmit connection information for at least one external electronic device paired with the first external electronic device (201) to the electronic device (101). In one embodiment, if the request for transmission of selected data includes a request for connection information between the first external electronic device (201) and another external electronic device, the first external electronic device (201) may transmit connection information for at least one external electronic device paired with the first external electronic device (201) to the electronic device (101).
[0072] In one embodiment, while transmitting connection information for at least one external electronic device to the electronic device (101) (or substantially simultaneously), the first external electronic device (201) may transmit authentication information for the second external electronic device (205) among the connection information for at least one external electronic device to the second external electronic device (205). For example, while transmitting connection information for two or more external electronic devices to the electronic device (101) (or substantially simultaneously), the first external electronic device (201) may transmit authentication information for each of two or more external electronic devices among the connection information for two or more external electronic devices to each of the two or more external electronic devices. However, it is not limited thereto. For example, the first external electronic device (201) may have transmitted authentication information of the second external electronic device (205) to the second external electronic device (205) prior to the request for transmission of selected data.
[0073] In one embodiment, the electronic device (101) may receive connection information (e.g., authentication information (or authentication key) and identification information (or address information)) from the first external electronic device (201). In one embodiment, the electronic device (101) may automatically pair with the second external electronic device (205) using the connection information from the first external electronic device (201). In one embodiment, the electronic device (101) automatically pairing with the second external electronic device (205) may include the electronic device (101) requesting a communication connection to the discovered second external electronic device (205) without user intervention. In one embodiment, user intervention may include user input requesting pairing (or communication connection) with the second external electronic device (205). In one embodiment, the electronic device (101) automatically pairing with a second external electronic device (205) may include requesting a communication connection to the discovered second external electronic device (205) in response to identifying that a condition is met. In one embodiment, the condition may be a condition based on identification information and / or authentication information.
[0074] For example, the electronic device (101) can discover a second external electronic device (205) using identification information. For example, the electronic device (101) can receive an advertisement packet that is advertised (or broadcast) from the outside and determine whether the sender address of the received advertisement packet corresponds to the address indicated by the authentication information. In one embodiment, the electronic device (101) can receive an advertisement packet and, in response to determining that the sender address of the received advertisement packet corresponds to the address indicated by the authentication information, identify (or discover) the second external electronic device (205). In one embodiment, the electronic device (101) can receive an advertisement packet through an advertisement channel according to Bluetooth.
[0075] For example, the electronic device (101) can perform authentication using authentication information with the second external electronic device (205) discovered using identification information. For example, the electronic device (101) can automatically pair with the second external electronic device (205) based on the success of the authentication. For example, the electronic device (101) can request pairing from the second external electronic device (205). In one embodiment, as the electronic device (101) and the second external electronic device (205) are paired, a communication connection (215) can be established between the electronic device (101) and the second external electronic device (205). In one embodiment, the communication connection (215) may be a secure connection based on Bluetooth, but is not limited thereto. The communication connection (215) may include legacy pairing based on Bluetooth.
[0076] In one embodiment, the electronic device (101) may encrypt authentication information in response to discovering a second external electronic device (205). For example, the electronic device (101) may generate a hash value of a bit sequence comprising authentication information (or an authentication key) and a random number (or a salt). For example, the electronic device (101) may generate a hash value of a bit sequence in which the random number (or a salt) is contiguous with the authentication information. In one embodiment, the hash value may be encrypted authentication information.
[0077] In one embodiment, the electronic device (101) may transmit a signal containing encrypted authentication information to a second external electronic device (205) through a communication circuit (290). In one embodiment, the electronic device (101) may transmit a signal containing encrypted authentication information to the second external electronic device (205) through a channel with lower security than a secure connection (e.g., an advertising channel according to Bluetooth and / or a channel according to legacy pairing of Bluetooth).
[0078] For example, the electronic device (101) may transmit a signal containing encrypted authentication information to the second external electronic device (205) through another communication channel before a communication connection (215) between the electronic device (101) and the second external electronic device (205) is established. In one embodiment, the other communication channel may be an advertising channel and / or a Bluetooth-based data channel (or a channel based on legacy pairing). In one embodiment, the other communication channel may be a channel with a lower level of security than the communication connection (215). In one embodiment, the signal containing encrypted authentication information may include encrypted authentication information (or hash value) and a random number (or salt) used to generate the encrypted authentication information. In one embodiment, the signal may include a bit sequence in which the encrypted authentication information (or hash value) and the random number (or salt) are concatenated. In the following, a bit sequence in which encrypted authentication information and a random number (or salt) are concatenated may be referred to as an authentication value (Auth value).
[0079] In one embodiment, the second external electronic device (205) may receive a signal containing encrypted authentication information (or an authentication value) through a communication circuit (295). In one embodiment, the second external electronic device (205) may receive a signal containing encrypted authentication information (or an authentication value) through another communication channel.
[0080] In one embodiment, the second external electronic device (205) can authenticate the electronic device (101) through a signal received from the electronic device (101). For example, the second external electronic device (205) can identify encrypted authentication information and a random number (or salt) from the authentication value of the signal received from the electronic device (101). For example, the second external electronic device (205) can determine whether the result of hashing the authentication information (or authentication key) received from the first external electronic device (201) through a random number (or salt) corresponds to the encrypted authentication information (or hash value) identified in the signal. For example, the second external electronic device (205) can determine that the electronic device (101) is authenticated (or that authentication is successful) if the result of hashing the authentication information (or authentication key) received from the first external electronic device (201) through a random number (or salt) corresponds to the encrypted authentication information (or hash value) identified in the signal. For example, the second external electronic device (205) can determine that the electronic device (101) is not authenticated (or that authentication has failed) if the result of hashing the authentication information (or authentication key) received from the first external electronic device (201) through a random number (or salt) does not correspond to the encrypted authentication information (or hash value) identified in the signal.
[0081] In one embodiment, the second external electronic device (205) may ignore (or discard) a signal received from the electronic device (101) in response to the electronic device (101) being determined to be unauthenticated. For example, the second external electronic device (205) may not perform pairing with the electronic device (101) until it receives user input requesting pairing with the electronic device (101) in response to the electronic device (101) being determined to be unauthenticated.
[0082] In one embodiment, the second external electronic device (205) may encrypt authentication information (or authentication key) received from the first external electronic device (201) in response to the electronic device (101) being determined to be authenticated. In one embodiment, the authentication information (or authentication key) received by the second external electronic device (205) from the first external electronic device (201) may be the same as the authentication information (or authentication key) transmitted by the first external electronic device (201) to the electronic device (101). For example, the second external electronic device (205) may generate a different hash value of a different bit sequence containing authentication information and a different random number (or a different salt). For example, the second external electronic device (205) may generate a different hash value of a different bit sequence in which a different random number (or a different salt) is contiguous with the different authentication information. In one embodiment, the random number generation algorithm for the second external electronic device (205) to generate other random numbers may be the same as the random number generation algorithm for the electronic device (101) to generate random numbers. In one embodiment, the random number generated by the electronic device (101) may be the first random number of the random number generation algorithm, and the random number generated by the first external electronic device (201) may be the second random number of the random number generation algorithm. However, it is not limited thereto. For example, the random number generation algorithm for the second external electronic device (205) to generate other random numbers may be different from the random number generation algorithm for the electronic device (101) to generate random numbers.
[0083] In one embodiment, the second external electronic device (205) may transmit a signal containing encrypted authentication information to the electronic device (101) through a communication circuit (295). In one embodiment, the second external electronic device (205) may transmit a signal containing encrypted authentication information to the electronic device (101) through a channel with lower security than a secure connection (e.g., an advertising channel according to Bluetooth and / or a channel according to legacy pairing of Bluetooth).
[0084] For example, the second external electronic device (205) may transmit another signal containing encrypted authentication information to the electronic device (101) through another communication channel. In one embodiment, the other signal containing encrypted authentication information may include the encrypted authentication information and another random number (or another salt) used to generate the encrypted authentication information. In one embodiment, the other signal may include another bit sequence (or another authentication value) in which the encrypted authentication information and another random number (or another salt) are concatenated.
[0085] In one embodiment, the electronic device (101) can authenticate the second external electronic device (205) through another signal received from the second external electronic device (205). For example, the electronic device (101) can identify encrypted authentication information (or another hash value) and another random number (or another salt) from another signal received from the second external electronic device (205). For example, the electronic device (101) can determine whether the other result of hashing the authentication information received from the first external electronic device (201) through another random number (or another salt) corresponds to the encrypted authentication information identified in the other signal. For example, the electronic device (101) can determine that the second external electronic device (205) is authenticated (or that authentication has succeeded) if the result of hashing the authentication information (or authentication key) received from the first external electronic device (201) through another random number (or another salt) corresponds to the encrypted authentication information (or another hash value) identified in another signal. For example, the electronic device (101) can determine that the second external electronic device (205) is not authenticated (or that authentication has failed) if the result of hashing the authentication information (or authentication key) received from the first external electronic device (201) through another random number (or another salt) does not correspond to the encrypted authentication information (or another hash value) identified in another signal.
[0086] In one embodiment, the electronic device (101) may ignore (or discard) other signals received from the second external electronic device (205) in response to the second external electronic device (205) being determined to be unauthenticated. For example, the electronic device (101) may not perform pairing with the second external electronic device (205) until it receives user input requesting pairing with the second external electronic device (205) in response to the second external electronic device (205) being determined to be unauthenticated.
[0087] In one embodiment, the electronic device (101) can automatically perform pairing with the second external electronic device (205) in response to the determination that the second external electronic device (205) is authenticated. In one embodiment, the electronic device (101) can perform pairing to establish a secure Bluetooth connection with the second external electronic device (205) in response to the determination that the second external electronic device (205) is authenticated. In one embodiment, the electronic device (101) can pair with the authenticated second external electronic device (205) without user intervention. In one embodiment, pairing between the electronic device (101) and the second external electronic device (205) can be performed by transmitting and receiving one or more Bluetooth-based packets to and from each other.
[0088] In one embodiment, the second external electronic device (205) may transmit data to the electronic device (101) through a communication connection (215) between the pairing-based electronic device (101) and the second external electronic device (205) in response to automatic pairing with the electronic device (101). In one embodiment, the electronic device (101) may receive data from the second external electronic device (205) through a communication connection (215) between the pairing-based electronic device (101) and the second external electronic device (205) in response to automatic pairing with the second external electronic device (205). In one embodiment, the data transmitted by the second external electronic device (205) to the electronic device (101) may be the data transmitted by the second external electronic device (205) to the first external electronic device (201). In one embodiment, the data transmitted by the second external electronic device (205) to the electronic device (101) may include personal information (e.g., health information and / or biometric information) collected while the second external electronic device (205) is worn by the user.
[0089] In one embodiment, the electronic device (101) may transmit a signal to the first external electronic device (201) via a communication connection (213) indicating that the electronic device (101) and the second external electronic device (205) are paired in response to automatic pairing with the second external electronic device (205). However, it is not limited thereto. For example, the second external electronic device (205) may transmit a signal to the first external electronic device (201) via a communication connection (211) indicating that the electronic device (101) and the second external electronic device (205) are paired in response to automatic pairing with the electronic device (101). For example, the second external electronic device (205) may disconnect the communication connection (211) between the second external electronic device (205) and the first external electronic device (201) and / or disconnect the pairing in response to automatic pairing with the electronic device (101).
[0090] In one embodiment, the first external electronic device (201) may delete (or remove) authentication information stored in the first external electronic device (201) in response to identifying that the electronic device (101) and the second external electronic device (205) are paired. In one embodiment, the first external electronic device (201) may disconnect the communication connection (211) between the second external electronic device (205) and the first external electronic device (201) and / or unpair the electronic device (101) in response to identifying that the electronic device (101) and the second external electronic device (205) are paired. In one embodiment, the first external electronic device (201) may delete the second external electronic device (205) (or identification information of the second external electronic device (205)) from a list of one or more external electronic devices paired according to a short-range communication technique (e.g., Bluetooth) in response to identifying that the electronic device (101) and the second external electronic device (205) are paired.
[0091] In one embodiment, the first external electronic device (201) may determine whether to delete data (or personal information) (e.g., biometric information, or location information) stored in the second external electronic device (205) during pairing between the first external electronic device (201) and the second external electronic device (205) in response to identifying that the electronic device (101) and the second external electronic device (205) are paired. For example, based on the determination to delete data (or personal information) (e.g., biometric information, or location information) stored in the second external electronic device (205), the first external electronic device (201) may request the second external electronic device (205) to delete the data (or personal information) (e.g., biometric information, or location information). In one embodiment, the second external electronic device (205) may delete data acquired during pairing with the first external electronic device (201) stored in memory (235) based on receiving a deletion request from the first external electronic device (201). In one embodiment, the first external electronic device (201) may disconnect the communication connection (211) between the second external electronic device (205) and the first external electronic device (201) and / or disconnect the pairing as the data acquired during pairing with the first external electronic device (201) stored in memory (235) is deleted from the second external electronic device (205).
[0092] FIGS. 2 through 3d illustrate that the electronic device (101) receives connection information from the first external electronic device (201) during the initial setup, but this is merely an example. For example, the electronic device (101) may receive connection information from the first external electronic device (201) based on executing a specified data transfer program (e.g., a smart switch) that is executed after the initial setup (or after the initial setup is completed).
[0093] According to an embodiment, the electronic device (101) may store connection information including authentication information and identification information of one or more external electronic devices. For example, the electronic device (101) may identify that it is adjacent to a second external electronic device (205) among one or more external electronic devices, and may perform automatic pairing with the adjacent second external electronic device (205) using the connection information. For example, the electronic device (101) may request the second external electronic device (205) to perform a function (e.g., unlock) in response to being automatically paired with the second external electronic device (205). For example, automatic pairing between the electronic device (101) and the second external electronic device (205) may be performed when the user is adjacent to the second external electronic device (205) while possessing the electronic device (101) without the first external electronic device (201). At this time, the user can use the second external electronic device (205) through the electronic device (101) without the first external electronic device (201). For example, the use of the second external electronic device (205) may include unlocking the device in the case of a computing device (e.g., laptop, PC, or tablet PC). For example, the use of the second external electronic device (205) may include turning on the power in the case of a home appliance (e.g., induction cooker, microwave oven, or TV).
[0094] According to an embodiment, the first external electronic device (201) may transmit connection information including authentication information and identification information of one or more external electronic devices to an electronic device (101) to which a different user account is registered than the user account registered to the first external electronic device (201). For example, the first external electronic device (201) may transmit connection information including authentication information and identification information of one or more external electronic devices to an electronic device (101) to which a user account of a user to whom the transmission of connection information is permitted (e.g., a user account within a family category, or a user account of a trusted user) is registered. In this case, the first external electronic device (201) may instruct the second external electronic device (205) to delete at least a portion of the data stored while paired with the first external electronic device (201). For example, the first external electronic device (201) may instruct the second external electronic device (205) to delete at least a portion of the data stored while paired with the first external electronic device (201), while simultaneously transmitting authentication information included in the connection information transmitted to the electronic device (101). For example, at least a portion of the data may include sensitive data (e.g., biometric information, or location information). For example, another portion of the data stored while paired with the first external electronic device (201) that is not instructed to be deleted may include data that can be shared with the electronic device (101) (e.g., a digital key (e.g., a digital key for a car)).
[0095] FIG. 4 is a flowchart illustrating the operation of an electronic device according to one embodiment.
[0096] FIG. 4 can be described with reference to FIG. 1 through 3d. The operations of FIG. 4 can be performed by the electronic device (101) when the processor (120) of the electronic device (101) executes instructions stored in memory (130).
[0097] Referring to FIG. 4, in operation 410, the electronic device (101) can boot the electronic device (101). For example, the electronic device (101) can boot the electronic device (101) in response to user input while in a turned-off state. In one embodiment, the electronic device (101) may be a device in a factory reset (or hard reset, master reset) state. In one embodiment, the electronic device (101) may be a new electronic device of the user.
[0098] In operation 420, the electronic device (101) can determine whether the initial setup of the electronic device (101) is complete. For example, the electronic device (101) can determine whether the initial setup of the electronic device (101) is complete during the booting of the electronic device (101) (or based on the completion of booting). For example, the electronic device (101) can determine whether the initial setup is complete as the initial setup is performed after the factory reset of the electronic device (101). For example, the completion of the initial setup may be completed after the electronic device (101) displays a UI for the initial setup and the user agrees to the initial setup. For example, the completion of the initial setup may be completed after the electronic device (101) displays a UI for the initial setup and the user does not agree to the initial setup.
[0099] In one embodiment, the electronic device (101) may perform operation 430 based on identifying that the initial setup is not completed. In one embodiment, the electronic device (101) may perform operation 440 based on identifying that the initial setup is completed.
[0100] In operation 430, the electronic device (101) can perform an initial setup of the electronic device (101). The performance of the initial setup of the electronic device (101) can be described with reference to FIG. 5.
[0101] In operation 440, the electronic device (101) may display a home screen (or default screen). In one embodiment, the electronic device (101) may display a screen (or UI) other than the screen (or UI) for the initial setup based on identifying that the initial setup is complete.
[0102] FIG. 5 is a flowchart illustrating the operation of an electronic device according to one embodiment.
[0103] FIG. 5 can be described with reference to FIG. 1 through 4. The operations of FIG. 5 can be performed by the electronic device (101) when the processor (120) of the electronic device (101) executes instructions stored in memory (130).
[0104] Referring to FIG. 5, in operation 510, the electronic device (101) may display a user interface (UI) for automatic pairing with a second external electronic device (205). For example, the UI may be a screen generated by a program for initial setup and / or transmission of connection information. For example, the UI may include UIs (310, 320, 340, 360) displayed on the electronic device (101) described with reference to FIG. 3a through 3d.
[0105] For example, the electronic device (101) may establish a communication connection (213) with the first external electronic device (201). In one embodiment, the electronic device (101) may establish a communication connection (213) with the first external electronic device (201) in response to receiving user input through the UI. In one embodiment, the communication connection (213) with the first external electronic device (201) may be a communication connection via WiFi Direct and / or Bluetooth. However, it is not limited thereto. For example, the communication connection (213) with the first external electronic device (201) may include a wired communication connection.
[0106] In operation 520, the electronic device (101) may receive user input for transmitting data for automatic pairing with the second external electronic device (205). The electronic device (101) may receive user input for selecting data to be transmitted from the first external electronic device (201) to the electronic device (101). In one embodiment, the electronic device (101) may identify data to be transmitted from the first external electronic device (201) to the electronic device (101) in response to receiving user input for selecting at least one item among one or more items through a UI that displays a list of one or more items that can be transmitted from the first external electronic device (201) to the electronic device (101). In one embodiment, the electronic device (101) may transmit a request for transmission of the identified data to the first external electronic device (201). In one embodiment, the electronic device (101) can transmit a request for transmission of data identified through a communication connection (213) established with the first external electronic device (201) to the first external electronic device (201).
[0107] In operation 530, the electronic device (101) can receive data for automatic pairing with the second external electronic device (205) from the first external electronic device (201). In one embodiment, the electronic device (101) can receive data for automatic pairing with the second external electronic device (205) from the first external electronic device (201) through a communication connection (213) established with the first external electronic device (201). In one embodiment, the data for automatic pairing with the second external electronic device (205) received from the first external electronic device (201) may include connection information between the first external electronic device (201) and the second external electronic device (205). In one embodiment, the data for automatically pairing with the second external electronic device (205) received from the first external electronic device (201) may include information for the electronic device (101) to automatically pair with the second external electronic device (205). For example, the information for the electronic device (101) to automatically pair with the second external electronic device (205) may include authentication information for performing authentication with the second external electronic device (205). In one embodiment, the authentication information may be any value generated by the first external electronic device (201). For example, the information for the electronic device (101) to automatically pair with the second external electronic device (205) may include identification information of the second external electronic device (205). In one embodiment, the identification information may include address information of the second external electronic device (205). In one embodiment, the identification information may include address information of a second external electronic device (205) according to a short-range communication technique (e.g., Bluetooth). In one embodiment, the identification information may be used to identify an advertisement packet according to a short-range communication technique (e.g., Bluetooth) advertised from the second external electronic device (205).
[0108] In operation 540, the electronic device (101) can automatically perform pairing with the second external electronic device (205) by using data for automatic pairing with the second external electronic device (205). For example, the electronic device (101) can automatically perform pairing with the second external electronic device (205) by discovering the second external electronic device (205) using identification information and in response to performing authentication with the second external electronic device (205) using authentication information. For example, the electronic device (101) can automatically perform pairing with the second external electronic device (205) by discovering the second external electronic device (205) using identification information and in response to performing authentication with the second external electronic device (205) using authentication information, by requesting pairing with the second external electronic device (205).
[0109] FIG. 6 is a flowchart illustrating the operation of an electronic device according to one embodiment.
[0110] FIG. 6 may be described with reference to FIG. 1 through 5. The operations of FIG. 6 may be performed by the electronic device (101) when the processor (120) of the electronic device (101) executes instructions stored in memory (130). The operations 610 through 660 of FIG. 6 may be included in the operation 450 of FIG. 4. The operations 610 through 660 of FIG. 6 may be included in the operation 540 of FIG. 5.
[0111] Referring to FIG. 6, in operation 610, the electronic device (101) can receive an advertisement packet from a second external electronic device (205). In one embodiment, the electronic device (101) can identify identification information (e.g., an address) from the advertisement packet.
[0112] In operation 620, the electronic device (101) can determine whether the identification information of the advertisement packet corresponds to the identification information received from the first external electronic device (201). The electronic device (101) can determine whether the sender address of the advertisement packet corresponds to the address indicated by the authentication information received from the first external electronic device (201).
[0113] In one embodiment, based on the determination that the identification information (or address) of the advertisement packet corresponds to the identification information (or address) received from the first external electronic device (201), the electronic device (101) may perform operation 630. In one embodiment, based on the determination that the identification information of the advertisement packet does not correspond to the identification information received from the first external electronic device (201), the electronic device (101) may perform operation 660.
[0114] In operation 630, the electronic device (101) can perform authentication with the second external electronic device (205) using authentication information (or, authentication key). For example, the electronic device (101) can perform authentication with the second external electronic device (205) using authentication information (or, authentication key) received from the first external electronic device (201). In one embodiment, authentication with the second external electronic device (205) can be described with reference to FIG. 7.
[0115] In operation 640, the electronic device (101) can determine whether authentication has been successful. In one embodiment, based on the determination that authentication has been successful, the electronic device (101) can perform operation 650. In one embodiment, based on the determination that authentication has not been successful, the electronic device (101) can perform operation 660.
[0116] In operation 650, the electronic device (101) can automatically perform pairing with the second external electronic device (205). In one embodiment, the electronic device (101) automatically performing pairing with the second external electronic device (205) may include the electronic device (101) requesting the establishment of a communication connection to the authenticated second external electronic device (205) without user intervention. In one embodiment, the electronic device (101) automatically performing pairing with the second external electronic device (205) may include the electronic device (101) requesting a communication connection to the authenticated second external electronic device (205) using authentication information (or an authentication key) without user intervention. In one embodiment, user intervention may include user input requesting pairing (or establishment of a communication connection) with the second external electronic device (205).
[0117] In operation 660, the electronic device (101) may stop performing pairing with the second external electronic device (205). In one embodiment, the electronic device (101) may ignore (or discard) an advertisement packet (or a signal for authentication) received from the second external electronic device (205) in response to the determination that authentication with the second external electronic device (205) has failed. For example, the electronic device (101) may not perform pairing (or establish a communication connection) with the second external electronic device (205) until it receives a user input requesting pairing (or establishment of a communication connection) with the second external electronic device (205) in response to the determination that authentication with the second external electronic device (205) has failed.
[0118] FIG. 7 is a flowchart illustrating the operation of an electronic device according to one embodiment.
[0119] FIG. 7 can be described with reference to FIG. 1 through 6. The operations of FIG. 7 can be performed by the electronic device (101) when the processor (120) of the electronic device (101) executes instructions stored in memory (130).
[0120] Referring to FIG. 7, in operation 701, the electronic device (101) may receive an authentication key (Auth key) from the first external electronic device (201). For example, the electronic device (101) may receive an authentication key (Auth key) for the second external electronic device (205) from the first external electronic device (201). In one embodiment, the electronic device (101) may receive connection information (e.g., authentication information (or authentication key) and identification information (or address information)) including the authentication key (Auth key) from the first external electronic device (201).
[0121] In operation 710, the electronic device (101) may transmit a first authentication value generated based on an authentication key to a second external electronic device (205). For example, the electronic device (101) may transmit a first authentication value generated based on an authentication key to a second external electronic device (205) that has transmitted an advertisement packet corresponding to identification information (or address information). In one embodiment, the first authentication value may be a bit sequence in which an encrypted authentication key and a random number (or salt) are concatenated. In one embodiment, the encrypted authentication key may be a hash value of a bit sequence in which an authentication key and a random number (or salt) are concatenated.
[0122] In one embodiment, the second external electronic device (205) can authenticate the electronic device (101) based on the first authentication value transmitted from the electronic device (101) in operation 710.
[0123] In operation 720, the electronic device (101) can determine whether a packet containing a second authentication value is received from the second external electronic device (205). In one embodiment, the packet containing the second authentication value may be a response to the first authentication value transmitted in operation 710. In one embodiment, the second external electronic device (205) may transmit a packet containing the second authentication value to the electronic device (101) if the electronic device (101) is authenticated based on the first authentication value transmitted from the electronic device (101) in operation 710. In one embodiment, the second external electronic device (205) may not transmit a packet containing the second authentication value to the electronic device (101) if the electronic device (101) is not authenticated based on the first authentication value transmitted from the electronic device (101) in operation 710.
[0124] In one embodiment, when a packet containing a second authentication value is transmitted, the electronic device (101) may perform operation 730. In one embodiment, when a packet containing a second authentication value is not transmitted, the electronic device (101) may perform operation 750.
[0125] In operation 730, the electronic device (101) can determine whether the authentication key is decomposed from the second authentication value.
[0126] In one embodiment, the electronic device (101) can identify a second authentication value (e.g., an encrypted authentication key and another random number (or another salt)) in a packet received from a second external electronic device (205). For example, the electronic device (101) can determine whether the result of hashing the authentication key received from the first external electronic device (201) through another random number (or another salt) corresponds to the encrypted authentication key identified in the packet received from the second external electronic device (205). For example, the electronic device (101) can determine that the second external electronic device (205) is authenticated (or that authentication is successful) if the result of hashing the authentication key received from the first external electronic device (201) through another random number (or another salt) corresponds to the encrypted authentication key identified in the packet received from the second external electronic device (205). For example, the electronic device (101) can determine that the second external electronic device (205) is not authenticated (or that authentication has failed) if the result of hashing the authentication key received from the first external electronic device (201) through another random number (or another salt) does not correspond to the encrypted authentication key identified in the packet received from the second external electronic device (205).
[0127] In one embodiment, if authentication information is identified, the electronic device (101) can perform operation 650. In one embodiment, if authentication information is not identified, the electronic device (101) can perform operation 660.
[0128] In operation 650, the electronic device (101) can automatically perform pairing with the second external electronic device (205). In one embodiment, the electronic device (101) automatically performing pairing with the second external electronic device (205) may include the electronic device (101) requesting the establishment of a communication connection to the authenticated second external electronic device (205) without user intervention. In one embodiment, the electronic device (101) automatically pairing with the second external electronic device (205) may include the electronic device (101) requesting a communication connection to the authenticated second external electronic device (205) using authentication information (or an authentication key) without user intervention. In one embodiment, user intervention may include user input requesting pairing (or the establishment of a communication connection) with the second external electronic device (205).
[0129] In operation 660, the electronic device (101) may stop performing pairing with the second external electronic device (205). In one embodiment, the electronic device (101) may ignore (or discard) an advertisement packet (or a signal for authentication) received from the second external electronic device (205) in response to the determination that authentication with the second external electronic device (205) has failed. For example, the electronic device (101) may not perform pairing (or establish a communication connection) with the second external electronic device (205) until it receives a user input requesting pairing (or establishment of a communication connection) with the second external electronic device (205) in response to the determination that authentication with the second external electronic device (205) has failed.
[0130] FIG. 8 is a flowchart illustrating the operation of a first external electronic device according to one embodiment.
[0131] FIG. 8 may be described with reference to FIG. 1 through 7. The operations of FIG. 8 may be performed by the first external electronic device (201) when the processor (221) of the first external electronic device (201) executes instructions stored in memory (231). The operations of FIG. 8 may be performed when the electronic device (101) performs the operations of FIG. 5. The operations of FIG. 8 may be performed by a counterpart device of the electronic device performing the operations of FIG. 5.
[0132] Referring to FIG. 8, in operation 810, the first external electronic device (201) can receive a request for a communication connection from the electronic device (101).
[0133] In one embodiment, the first external electronic device (201) may receive a request to establish a communication connection broadcast (or advertised) from the electronic device (101). For example, the request to establish a communication connection may be based on a wireless signal. For example, the request to establish a communication connection may be based on a sound signal (e.g., an ultrasonic signal). In one embodiment, the communication connection may include a wired and / or wireless communication connection between the first external electronic device (201) and the electronic device (101).
[0134] In operation 820, the first external electronic device (201) can determine whether a communication connection has been approved. For example, the first external electronic device (201) can display a UI (335) that queries whether to transmit (or send) data to the electronic device (101) via the display (261) based on receiving a request to establish a communication connection from the electronic device (101). In one embodiment, the first external electronic device (201) can determine whether a communication connection has been approved based on user input to the UI (335).
[0135] In one embodiment, the first external electronic device (201) may determine that the communication connection is rejected based on receiving user input regarding a visual object rejecting the communication connection. In one embodiment, the first external electronic device (201) may determine that the communication connection is approved based on receiving user input regarding a visual object approving the communication connection.
[0136] Based on determining in operation 820 that the communication connection is approved, the first external electronic device (201) may perform operation 830. Based on determining in operation 820 that the communication connection is rejected, the first external electronic device (201) may terminate the operation according to FIG. 8.
[0137] In operation 830, the first external electronic device (201) can establish a communication connection. For example, the first external electronic device (201) can establish a communication connection with the electronic device (101) via a specified communication method (e.g., Wi-Fi Direct, or Bluetooth (or BLE)). For example, the first external electronic device (201) can establish a communication connection through the same access point as the electronic device (101). However, it is not limited thereto. For example, the first external electronic device (201) can establish a communication connection with the electronic device (101) via a wire.
[0138] In operation 840, the first external electronic device (201) can receive a connection information request from the second external electronic device (205) from the electronic device (101).
[0139] In one embodiment, the first external electronic device (201) may transmit information about data stored in the first external electronic device (201) to the electronic device (101) based on the establishment of a communication connection with the electronic device (101). For example, the information about data stored in the first external electronic device (201) may include a list of multiple items that can be transmitted from the first external electronic device (201) to the electronic device (101). For example, the multiple items may include items for messages, contact information, connection information (e.g., authentication information (or authentication key) and identification information (or address information)), images, and / or applications.
[0140] In one embodiment, the first external electronic device (201) may receive a request for connection information from the second external electronic device (205) from the electronic device (101) after transmitting a list of multiple items that can be transmitted to the electronic device (101). In one embodiment, the request for connection information from the second external electronic device (205) may include a request for connection information between the first external electronic device (201) and the second external electronic device (205). In one embodiment, the connection information between the first external electronic device (201) and the second external electronic device (205) may include information (e.g., authentication information (or authentication key) and identification information (or address information)) for the electronic device (101) to automatically pair with the second external electronic device (205).
[0141] For example, information for the electronic device (101) to automatically pair with the second external electronic device (205) may include authentication information for the electronic device (101) to perform authentication with the second external electronic device (205). In one embodiment, the authentication information may be any value generated by the first external electronic device (201).
[0142] For example, information for the electronic device (101) to automatically pair with the second external electronic device (205) may include identification information of the second external electronic device (205). In one embodiment, the identification information may include address information of the second external electronic device (205). In one embodiment, the identification information may include address information of the second external electronic device (205) according to a short-range communication technique (e.g., Bluetooth). In one embodiment, the identification information may be used to identify an advertisement packet according to a short-range communication technique (e.g., Bluetooth) advertised from the second external electronic device (205).
[0143] In operation 850, the first external electronic device (201) may transmit connection information including an authentication key to the electronic device (101). For example, the first external electronic device (201) may transmit connection information (e.g., authentication information (or, authentication key) and identification information (or, address information)) to the electronic device (101) in response to a request for connection information from the second external electronic device (205) of the electronic device (101), and transmit an authentication key to the second external electronic device (205).
[0144] FIG. 9 is a flowchart illustrating the operation of a first external electronic device according to one embodiment.
[0145] FIG. 9 may be described with reference to FIG. 1 through 8. The operations of FIG. 9 may be performed by the first external electronic device (201) when the processor (221) of the first external electronic device (201) executes instructions stored in memory (231).
[0146] Referring to FIG. 9, in operation 910, the first external electronic device (201) may receive a request for connection information (e.g., authentication information (or, authentication key) and identification information (or, address information)). For example, the first external electronic device (201) may receive a request for transmission of data including connection information from the electronic device (101) after transmitting a list of multiple items that can be transmitted to the electronic device (101) to the electronic device (101).
[0147] In operation 920, the first external electronic device (201) can determine whether an authentication key exists. For example, the first external electronic device (201) can determine whether an authentication key associated with the second external electronic device (205) exists in the memory (231) of the first external electronic device (201) before receiving a request for connection information.
[0148] In one embodiment, based on the determination that the authentication key does not exist, the first external electronic device (201) may perform operation 930. In one embodiment, based on the determination that the authentication key exists, the first external electronic device (201) may perform operation 940.
[0149] In operation 930, the first external electronic device (201) can generate an authentication key. In one embodiment, the first external electronic device (201) can generate an authentication key for automatic pairing between the electronic device (101) and the second external electronic device (205) using a random number generation algorithm.
[0150] In operation 940, the first external electronic device (201) may transmit connection information including an authentication key. For example, the first external electronic device (201) may transmit connection information including authentication information and identification information (e.g., address) associated with the second external electronic device (205) to the electronic device (101). For example, the first external electronic device (201) may transmit connection information (e.g., authentication information (or, authentication key) and identification information (or, address information)) to the electronic device (101) in response to a connection information request from the electronic device (101), and transmit an authentication key to the second external electronic device (205).
[0151] In operation 950, the first external electronic device (201) can determine whether pairing has been performed between the electronic device (101) and the second external electronic device (205). For example, the first external electronic device (201) can determine whether pairing has been performed between the electronic device (101) and the second external electronic device (205) based on a signal received from the electronic device (101) and / or the second external electronic device (205) indicating whether pairing has been performed between the electronic device (101) and the second external electronic device (205).
[0152] In one embodiment, based on pairing between the electronic device (101) and the second external electronic device (205), the first external electronic device (201) can perform operation 960. In one embodiment, based on not pairing between the electronic device (101) and the second external electronic device (205), the first external electronic device (201) can terminate the operations according to FIG. 9.
[0153] In operation 960, the first external electronic device (201) may decide whether to retain data. In one embodiment, the data may be data generated by the second external electronic device (205) during pairing between the first external electronic device (201) and the second external electronic device (205). In one embodiment, the data may include personal information (e.g., health information and / or biometric information) collected by the second external electronic device (205) during pairing between the first external electronic device (201) and the second external electronic device (205).
[0154] In one embodiment, the first external electronic device (201) may decide whether to retain data based on the service purpose of the data stored in the second external electronic device (205) and / or the relationship between the electronic device (101) paired with the second external electronic device (205) and the first external electronic device (201). For example, if the electronic device (101) and the first external electronic device (201) are logged into the same user account, the first external electronic device (201) may decide to retain the data stored in the second external electronic device (205). For example, if the electronic device (101) and the first external electronic device (201) are logged into different user accounts, the first external electronic device (201) may decide not to retain the data stored in the second external electronic device (205). For example, when the electronic device (101) and the first external electronic device (201) are logged into user accounts of a family relationship, the first external electronic device (201) may decide to retain some types of data stored in the second external electronic device (205) and not retain other types of data. For example, some types of data retained may be digital keys (e.g., car keys). For example, other types of data not retained may include the user's personal information (e.g., health information, biometric information, and / or location information).
[0155] Subsequently, the first external electronic device (201) may transmit a signal to the second external electronic device (205) instructing whether to retain the data, depending on the decision regarding whether to retain the data. In one embodiment, the second external electronic device (205) may discard and / or retain the data in accordance with the signal instructing whether to retain the data.
[0156] In operation 970, the first external electronic device (201) can decide whether to maintain pairing with the second external electronic device (205).
[0157] In one embodiment, the first external electronic device (201) may decide whether to maintain pairing between the first external electronic device (201) and the second external electronic device (205) depending on the purpose of the service provided by the second external electronic device (205).
[0158] For example, if the service provided by the second external electronic device (205) requires only one pairing between the first external electronic device (201) and the second external electronic device (205) and between the electronic device (101) and the second external electronic device (205) (or if inter-device interoperability is not required), the first external electronic device (201) may decide not to maintain pairing with the second external electronic device (205). In one embodiment, the first external electronic device (201) may delete pairing information with the second external electronic device (205) as it decides not to maintain pairing with the second external electronic device (205).
[0159] For example, if the service provided by the second external electronic device (205) requires both pairing between the first external electronic device (201) and the second external electronic device (205) and pairing between the electronic device (101) and the second external electronic device (205) (or if inter-device interoperability is required), the first external electronic device (201) may decide to maintain pairing with the second external electronic device (205). For example, in the case of a service that requires integrating information measured by the electronic device (101), the first external electronic device (201), and / or the second external electronic device (205) (e.g., health measurement (e.g., step count measurement)), the first external electronic device (201) may decide to maintain pairing with the second external electronic device (205). In one embodiment, the first external electronic device (201) may not delete the pairing information with the second external electronic device (205) as it decides to maintain pairing with the second external electronic device (205).
[0160] FIG. 10 is a flowchart illustrating the operation of a second external electronic device according to one embodiment.
[0161] FIG. 10 may be described with reference to FIG. 1 through 7. The operations of FIG. 10 may be performed by the second external electronic device (205) when the processor (225) of the second external electronic device (205) executes instructions stored in memory (235). The operations of FIG. 10 may be performed when the electronic device (101) performs the operations of FIG. 5. The operations of FIG. 10 may be performed by a counterpart device of the electronic device performing the operations of FIG. 5.
[0162] Referring to FIG. 10, in operation 1010, the second external electronic device (205) can receive authentication information from the first external electronic device (201). In one embodiment, the second external electronic device (205) can receive authentication information from the first external electronic device (201) that is identical to the authentication information transmitted by the first external electronic device (201) to the electronic device (101).
[0163] In operation 1020, the second external electronic device (205) may advertise an advertisement packet. In one embodiment, the second external electronic device (205) may advertise an advertisement packet containing identification information (or an address). For example, the second external electronic device (205) may advertise an advertisement packet based on satisfying specified conditions. For example, the second external electronic device (205) may advertise an advertisement packet based on receiving authentication information from the first external electronic device (201). For example, the second external electronic device (205) may advertise an advertisement packet based on the disconnection of the communication connection (211) with the first external electronic device (201).
[0164] In operation 1030, the second external electronic device (205) can receive a packet containing a first authentication value from the electronic device (101).
[0165] In operation 1040, the second external electronic device (205) can determine whether the authentication key is decomposed from the first authentication value.
[0166] For example, the second external electronic device (205) can identify encrypted authentication information and a random number (or salt) in a packet received from the electronic device (101). For example, the second external electronic device (205) can determine whether the result of hashing the authentication information received from the first external electronic device (201) through a random number (or salt) corresponds to the encrypted authentication information identified in the packet. For example, the second external electronic device (205) can determine that the authentication information is identified if the result of hashing the authentication information received from the first external electronic device (201) through a random number (or salt) corresponds to the encrypted authentication information identified in the packet. For example, the second external electronic device (205) can determine that the authentication information is not identified if the result of hashing the authentication information received from the first external electronic device (201) through a random number (or salt) does not correspond to the encrypted authentication information identified in the packet.
[0167] In one embodiment, the second external electronic device (205) may perform operation 1050 in response to the authentication key being decrypted. In one embodiment, the second external electronic device (205) may terminate the operation according to FIG. 10 in response to the authentication key not being decrypted.
[0168] In one embodiment, terminating the operation according to FIG. 10 may include the second external electronic device (205) ignoring (or discarding) a packet received from the electronic device (101). For example, terminating the operation according to FIG. 10 may include the second external electronic device (205) not performing pairing with the electronic device (101) until it receives a user input requesting pairing with the electronic device (101).
[0169] In operation 1050, the second external electronic device (205) can transmit a signal including a second authentication value based on an authentication key.
[0170] In one embodiment, the second external electronic device (205) may encrypt the authentication information received from the first external electronic device (201) in response to the identification of the authentication information. For example, the second external electronic device (205) may generate a different hash value of a different bit sequence containing the authentication information received from the first external electronic device (201) and a different random number (or a different salt). In one embodiment, the second external electronic device (205) may transmit a signal containing the encrypted authentication information corresponding to the different hash value to the electronic device (101) through the communication circuit (295). In one embodiment, the signal containing the encrypted authentication information may include a different hash value and a different random number (or a different salt).
[0171] In operation 1060, the second external electronic device (205) can determine whether a pairing request is received from the electronic device (101). For example, the second external electronic device (205) can determine whether a pairing request is received from the electronic device (101) after transmitting a signal containing a second authentication value to the electronic device (101). According to an embodiment, the second external electronic device (205) may not receive a pairing request from the electronic device (101) after transmitting a signal containing encrypted authentication information to the electronic device (101). In this case, the second external electronic device (205) may not perform pairing with the electronic device (101) until it receives a user input requesting pairing with the electronic device (101).
[0172] In operation 1070, the second external electronic device (205) can be paired with the electronic device (101). In one embodiment, the second external electronic device (205) can perform pairing to establish a secure Bluetooth connection with the electronic device (101). In one embodiment, the second external electronic device (205) can be paired with the electronic device (101) without user intervention. In one embodiment, pairing between the electronic device (101) and the second external electronic device (205) can be performed by transmitting and receiving one or more Bluetooth-based packets to and from each other.
[0173] In operation 1080, the second external electronic device (205) may decide whether to retain data. In one embodiment, the data may be data generated by the second external electronic device (205) during pairing between the first external electronic device (201) and the second external electronic device (205). In one embodiment, the data may include personal information (e.g., health information and / or biometric information) collected by the second external electronic device (205) during pairing between the first external electronic device (201) and the second external electronic device (205).
[0174] In one embodiment, the second external electronic device (205) may decide whether to retain data based on a signal (or instruction) from the first external electronic device (201). For example, the signal (or instruction) from the first external electronic device (201) may be a signal (or instruction) based on the decision of the first external electronic device (201) according to operation 960 of FIG. 9. However, the embodiment is not limited thereto. The second external electronic device (205) may decide whether to retain data based on the service purpose of the data stored in the second external electronic device (205) and / or the relationship between the electronic device (101) paired with the second external electronic device (205) and the first external electronic device (201).
[0175] Afterward, the second external electronic device (205) may discard and / or retain data according to a signal (or instruction) (or a decision on whether to retain data) from the first external electronic device (201).
[0176] In operation 1090, the second external electronic device (205) can decide whether to maintain pairing with the second external electronic device (205).
[0177] In one embodiment, the second external electronic device (205) may decide whether to maintain pairing between the first external electronic device (201) and the second external electronic device (205) based on a signal (or instruction) from the first external electronic device (201). For example, the signal (or instruction) from the first external electronic device (201) may be a signal (or instruction) based on a decision of the first external electronic device (201) according to operation 970 of FIG. 9. However, the embodiment is not limited thereto. In one embodiment, the second external electronic device (205) may decide whether to maintain pairing between the first external electronic device (201) and the second external electronic device (205) according to the purpose of the service provided by the second external electronic device (205).
[0178] For example, the second external electronic device (205) may delete pairing information with the first external electronic device (201) according to a signal (or instruction) (or a decision on whether to retain pairing information) from the first external electronic device (201). For example, the second external electronic device (205) may not delete pairing information with the first external electronic device (201) according to a signal (or instruction) (or a decision on whether to retain pairing information) from the first external electronic device (201).
[0179] FIG. 11 is a flowchart illustrating the operation of electronic devices according to one embodiment.
[0180] Referring to FIG. 11, in operation 1111, a communication link (e.g., a Bluetooth-based communication connection) may be established between the first external electronic device (201) and the second external electronic device (205). The communication link between the first external electronic device (201) and the second external electronic device (205) may be an encrypted communication link (e.g., a secure connection).
[0181] In operation 1112, a communication link (e.g., a Bluetooth-based communication connection) may be established between the first external electronic device (201) and the electronic device (101). The communication link between the first external electronic device (201) and the electronic device (101) may be an encrypted communication link (e.g., a secure connection).
[0182] In operation 1113, the electronic device (101) may be triggered to receive pairing information from the first external electronic device (201). In one embodiment, the electronic device (101) may trigger the first external electronic device (201) to transmit selected data based on receiving user input requesting the first external electronic device (201) to transmit selected data. In one embodiment, the pairing information may include information for the electronic device (101) to automatically pair with another external electronic device. In one embodiment, the electronic device (101) automatically pairing with another external electronic device may include the electronic device (101) requesting a communication connection to another discovered external electronic device without user intervention. In one embodiment, user intervention may include user input requesting pairing (or communication connection) with another external electronic device. In one embodiment, the electronic device (101) automatically pairing with another external electronic device may include requesting a communication connection to the discovered other external electronic device in response to identifying that a condition is met. In one embodiment, the condition may be a condition based on identification information and / or authentication information.
[0183] In operation 1114, the first external electronic device (201) can generate an authentication key. For example, the first external electronic device (201) can determine whether an authentication key exists based on being triggered by the electronic device (101). In one embodiment, the first external electronic device (201) can generate an authentication key for automatic pairing between the electronic device (101) and the second external electronic device (205) using a random number generation algorithm, as it is determined that an authentication key does not exist.
[0184] In operation 1115, the first external electronic device (201) can transmit an authentication key to the second external electronic device (205).
[0185] In operation 1116, the second external electronic device (205) can transmit an ACK to the first external electronic device (201). The second external electronic device (205) can transmit an ACK to the first external electronic device (201) indicating that it has received an authentication key.
[0186] In operation 1117, the first external electronic device (201) may transmit an authentication key and address information to the electronic device (101). In one embodiment, the authentication key may be the same as the authentication key transmitted to the second external electronic device (205) in operation 1116. In one embodiment, the address information may be the address information of the second external electronic device (205).
[0187] In operation 1118, a communication link may be established between the electronic device (101) and the second external electronic device (205). For example, the electronic device (101) may establish a communication link with the second external electronic device (205) through a channel that is less secure than a secure connection (e.g., an advertising channel according to Bluetooth and / or a channel according to legacy pairing of Bluetooth) based on receiving an advertisement packet from the second external electronic device (205).
[0188] In operation 1119, the electronic device (101) can generate a first random number (or, a first salt).
[0189] In operation 1120, the electronic device (101) can generate a first authentication value. For example, the electronic device (101) can generate a hash value (or encrypted authentication key) of a bit sequence including an authentication key and a first random number. For example, the electronic device (101) can generate a first authentication value in which the first random number is concatenated to the hash value (or encrypted authentication key).
[0190] In operation 1121, the electronic device (101) can transmit the first authentication value to the second external electronic device (205). The electronic device (101) can transmit the first authentication value to the second external electronic device (205) through the communication link established in operation 1118.
[0191] In operation 1122, the second external electronic device (205) can decompose the authentication key from the first authentication value.
[0192] For example, the second external electronic device (205) can identify an encrypted authentication key and a first random number from a first authentication value received from the electronic device (101). For example, the second external electronic device (205) can determine whether the result of hashing the authentication key received from the first external electronic device (201) through the first random number corresponds to the encrypted authentication key identified in the first authentication value. For example, the second external electronic device (205) can determine that the electronic device (101) is authenticated if the result of hashing the authentication key received from the first external electronic device (201) through the first random number corresponds to the encrypted authentication key identified in the first authentication value. For example, the second external electronic device (205) can determine that the electronic device (101) is not authenticated if the result of hashing the authentication key received from the first external electronic device (201) through the first random number does not correspond to the encrypted authentication key identified in the first authentication value.
[0193] In operation 1123, the second external electronic device (205) can generate a second random number (or a second salt). For example, the second external electronic device (205) can generate a second random number (or a second salt) based on the authentication of the electronic device (101).
[0194] In operation 1124, the second external electronic device (205) can generate a second authentication value.
[0195] For example, the second external electronic device (205) can generate a hash value (or encrypted authentication key) of a bit sequence including an authentication key and a second random number. For example, the second external electronic device (205) can generate a second authentication value in which the second random number is concatenated to the hash value (or encrypted authentication key).
[0196] In operation 1125, the second external electronic device (205) can transmit a second authentication value to the electronic device (101). The second external electronic device (205) can transmit the second authentication value to the electronic device (101) through the communication link established in operation 1118.
[0197] In operation 1126, the electronic device (101) can decompose the authentication key from the second authentication value.
[0198] For example, the electronic device (101) can identify an encrypted authentication key and a second random number in a second authentication value received from a second external electronic device (205). For example, the electronic device (101) can determine whether the result of hashing the authentication key received from the first external electronic device (201) through the second random number corresponds to the encrypted authentication key identified in the second authentication value. For example, if the result of hashing the authentication key received from the first external electronic device (201) through the second random number corresponds to the encrypted authentication key identified in the second authentication value, the electronic device (101) can determine that the second external electronic device (205) is authenticated. For example, the electronic device (101) can determine that the second external electronic device (205) is not authenticated if the result of hashing the authentication key received from the first external electronic device (201) through the second random number does not correspond to the encrypted authentication key identified in the second authentication value.
[0199] In operation 1127, the electronic device (101) may request pairing with the second external electronic device (205). For example, the electronic device (101) may request pairing with the second external electronic device (205) based on the second external electronic device (205) being authenticated.
[0200] In operation 1128, the electronic device (101) and the second external electronic device (205) can complete pairing. For example, the second external electronic device (205) can perform pairing between the electronic device (101) and the second external electronic device (205) upon receiving a pairing request from the electronic device (101) that transmitted the first authentication value. For example, the second external electronic device (205) can perform pairing between the electronic device (101) and the second external electronic device (205) upon receiving a pairing request that includes address information of the electronic device (101) that transmitted the first authentication value.
[0201] In operation 1129, the second external electronic device (205) can notify the first external electronic device (201) that pairing is complete. The second external electronic device (205) can notify the first external electronic device (201) that pairing is complete based on the fact that pairing with the electronic device (101) is complete.
[0202] In operation 1130, the first external electronic device (201) and the second external electronic device (205) can determine whether to initialize data. In one embodiment, the data may be data generated by the second external electronic device (205) during pairing between the first external electronic device (201) and the second external electronic device (205). In one embodiment, the data may include personal information (e.g., health information and / or biometric information) collected by the second external electronic device (205) during pairing between the first external electronic device (201) and the second external electronic device (205).
[0203] In one embodiment, the first external electronic device (201) may decide whether to retain data based on the service purpose of the data stored in the second external electronic device (205) and / or the relationship between the electronic device (101) paired with the second external electronic device (205) and the first external electronic device (201). For example, if the electronic device (101) and the first external electronic device (201) are logged into the same user account, the first external electronic device (201) may decide to retain the data stored in the second external electronic device (205). For example, if the electronic device (101) and the first external electronic device (201) are logged into different user accounts, the first external electronic device (201) may decide not to retain the data stored in the second external electronic device (205). For example, when the electronic device (101) and the first external electronic device (201) are logged into user accounts of a family relationship, the first external electronic device (201) may decide to retain some types of data stored in the second external electronic device (205) and not retain other types of data. For example, some types of data retained may be digital keys (e.g., car keys). For example, other types of data not retained may include the user's personal information (e.g., health information, biometric information, and / or location information).
[0204] Subsequently, the first external electronic device (201) may transmit a signal to the second external electronic device (205) instructing whether to retain the data, depending on the decision regarding whether to retain the data. In one embodiment, the second external electronic device (205) may discard and / or retain the data in accordance with the signal instructing whether to retain the data.
[0205] In operation 1131, the first external electronic device (201) and the second external electronic device (205) can determine whether to maintain pairing.
[0206] In one embodiment, the first external electronic device (201) may decide whether to maintain pairing between the first external electronic device (201) and the second external electronic device (205) depending on the purpose of the service provided by the second external electronic device (205).
[0207] For example, if the service provided by the second external electronic device (205) requires only one pairing between the first external electronic device (201) and the second external electronic device (205) and between the electronic device (101) and the second external electronic device (205) (or if inter-device interoperability is not required), the first external electronic device (201) may decide not to maintain pairing with the second external electronic device (205). In one embodiment, the first external electronic device (201) may delete pairing information with the second external electronic device (205) as it decides not to maintain pairing with the second external electronic device (205).
[0208] For example, if the service provided by the second external electronic device (205) requires both pairing between the first external electronic device (201) and the second external electronic device (205) and pairing between the electronic device (101) and the second external electronic device (205) (or if inter-device interoperability is required), the first external electronic device (201) may decide to maintain pairing with the second external electronic device (205). For example, in the case of a service that requires integrating information measured by the electronic device (101), the first external electronic device (201), and / or the second external electronic device (205) (e.g., health measurement (e.g., step count measurement)), the first external electronic device (201) may decide to maintain pairing with the second external electronic device (205). In one embodiment, the first external electronic device (201) may not delete the pairing information with the second external electronic device (205) as it decides to maintain pairing with the second external electronic device (205).
[0209] When the service provided by the second external electronic device (205) requires both pairing between the first external electronic device (201) and the second external electronic device (205) and pairing between the electronic device (101) and the second external electronic device (205) (or when inter-device interoperability is required), encrypted data may be shared between the electronic device (101), the first external electronic device (201), and the second external electronic device (205). For example, when the service provided by the second external electronic device (205) requires both pairing between the first external electronic device (201) and the second external electronic device (205) and pairing between the electronic device (101) and the second external electronic device (205) (or when inter-device interoperability is required), the following operations 1132 to 1135 may be performed.
[0210] In operation 1132, the first external electronic device (201) may share encrypted data with the second external electronic device (205). In one embodiment, the encrypted data may be data of a service (e.g., health measurement (e.g., step count measurement)) that must integrate information measured by the electronic device (101), the first external electronic device (201), and / or the second external electronic device (205). For example, the first external electronic device (201) may establish an encrypted communication link with the second external electronic device (205) through maintained pairing information. For example, the first external electronic device (201) may share the encrypted data with the second external electronic device (205) through the encrypted communication link with the second external electronic device (205) established through the maintained pairing information.
[0211] In operation 1133, the second external electronic device (205) can share encrypted data with the electronic device (101). The second external electronic device (205) can share encrypted data with the electronic device (101) through newly generated pairing information. The encrypted data shared by the second external electronic device (205) with the electronic device (101) may be data generated (or collected) by the first external electronic device (201) and / or the second external electronic device (205).
[0212] In operation 1134, the electronic device (101) can share encrypted data with the second external electronic device (205). The electronic device (101) can share encrypted data with the second external electronic device (205) through newly generated pairing information. The encrypted data shared by the electronic device (101) with the second external electronic device (205) may be data generated (or collected) by the electronic device (101).
[0213] In operation 1135, the second external electronic device (205) can share encrypted data with the first external electronic device (201). The second external electronic device (205) can share encrypted data with the first external electronic device (201) through maintained pairing information. The encrypted data shared by the second external electronic device (205) with the first external electronic device (201) may be data generated (or collected) by the electronic device (101) and / or the second external electronic device (205).
[0214] The technical problems to be solved in this disclosure are not limited to those mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art to which this disclosure pertains.
[0215] As described above, the electronic device (101) may include at least one processor (120) comprising a display (260), a communication circuit (290), and a processing circuit, and a memory (130) comprising one or more storage media for storing instructions. When the instructions are executed individually or collectively by the at least one processor (120), the electronic device (101) may cause the display (260) to display a user interface (UI) of a program for data transfer of the electronic device (101). When the instructions are executed individually or collectively by the at least one processor (120), the electronic device (101) may cause the display (260) to receive user input for transferring data stored in a first external electronic device (201) to the electronic device (101). When the above instructions are executed individually or collectively by the at least one processor (120), the electronic device (101) may be caused to receive data including connection information for pairing the electronic device (101) with a second external electronic device (205) based on the user input. The second external electronic device (205) may be paired with the first external electronic device (201). The connection information may include identification information used to identify an advertising packet advertised from the second external electronic device (205) and authentication information used for authentication performed with the second external electronic device (205) for pairing with the second external electronic device (205). When the above instructions are executed individually or collectively by the at least one processor (120), the electronic device (101) may be caused to pair with the second external electronic device (205) through the communication circuit (290) using the identification information and the authentication information.
[0216] When the above instructions are executed individually or collectively by the at least one processor (120), the electronic device (101) may be caused to automatically pair with the second external electronic device (205) based on discovering the second external electronic device (205) using the identification information and performing authentication using the authentication information.
[0217] The above instructions, when executed individually or collectively by the at least one processor (120), may cause the electronic device (101) to encrypt the authentication information in response to discovering the second external electronic device (205). The above instructions, when executed individually or collectively by the at least one processor (120), may cause the electronic device (101) to transmit a signal containing the encrypted authentication information to the second external electronic device (205). The above instructions, when executed individually or collectively by the at least one processor (120), may cause the electronic device (101) to identify the authentication as successful based on the identification of the authentication information in another signal received from the second external electronic device (205) after transmitting the signal. When the above instructions are executed individually or collectively by the at least one processor (120), the electronic device (101) may be caused to automatically pair with the second external electronic device (205) in response to identifying that the authentication has been successful.
[0218] When the above instructions are executed individually or collectively by the at least one processor (120), they may cause the electronic device (101) to identify that the authentication has failed based on the fact that the authentication information is not identified in the other signal received from the second external electronic device (205). When the above instructions are executed individually or collectively by the at least one processor (120), they may cause the electronic device (101) to stop pairing with the second external electronic device (205) until it receives another user input requesting pairing with the second external electronic device (205) in response to identifying that the authentication has failed.
[0219] When the above instructions are executed by the at least one processor (120), individually or collectively, the electronic device (101) may be automatically paired with the second external electronic device (205) in response to the pairing, and may cause the second external electronic device (205) to receive other data transmitted by the second external electronic device (205) to the first external electronic device (201) through a communication connection between the electronic device (101) and the second external electronic device (205) based on the pairing.
[0220] When the above instructions are executed individually or collectively by the at least one processor (120), they may cause the electronic device (101) to automatically pair with the second external electronic device (205) via the communication circuit (290) via Bluetooth.
[0221] When the above instructions are executed individually or collectively by the at least one processor (120), the electronic device (101) may be caused to receive the data through a wired communication connection between the electronic device (101) and the first external electronic device (201).
[0222] When the above instructions are executed individually or collectively by the at least one processor (120), the electronic device (101) may be caused to receive the data through the wireless local area network while the electronic device (101) and the first external electronic device (201) are connected to the same wireless local area network (WLAN).
[0223] As described above, the electronic device (201) may include a display (261), a communication circuit (291), at least one processor (221) including a processing circuit, and a memory (231) including one or more storage media for storing instructions. When the instructions are executed individually or collectively by the at least one processor (221), the electronic device (201) may receive a signal from a first external electronic device (101) requesting data including connection information for the first external electronic device (101) to pair with a second external electronic device (205). The second external electronic device (205) may be paired with the electronic device (201). The connection information may include identification information used to identify an advertising packet advertised from the second external electronic device (205) and authentication information used for authentication for pairing with the second external electronic device (205). When the above instructions are executed individually or collectively by the at least one processor (221), the electronic device (201) may cause a user interface (UI) to display a query on the display (261) regarding whether to transmit the data. When the above instructions are executed individually or collectively by the at least one processor (221), the electronic device (201) may cause a user input to be received through the UI to transmit the data stored in the electronic device (201) to the first external electronic device (101). When the above instructions are executed individually or collectively by the at least one processor (221), the electronic device (201) may cause the data to be transmitted to the first external electronic device (101) in response to receiving the user input.
[0224] When the above instructions are executed individually or collectively by the at least one processor (221), the electronic device (201) may cause the electronic device (201) to transmit another signal containing the authentication information used for authentication to the second external electronic device (205) in response to receiving the user input.
[0225] When the above instructions are executed individually or collectively by the at least one processor (221), the electronic device (201) may cause the electronic device (201) to transmit the data to the first external electronic device (101) and then receive another signal from the first external electronic device (101) indicating that the first external electronic device (101) and the second external electronic device (205) are paired. When the above instructions are executed individually or collectively by the at least one processor (221), the electronic device (201) may cause the electronic device (201) to remove the authentication information in response to receiving the other signal.
[0226] The above pairing may be Bluetooth-based pairing. When the above instructions are executed individually or collectively by the at least one processor (221), the electronic device (201) may cause the data to be transmitted through the wireless local area network while the electronic device (201) and the first external electronic device (101) are connected to the same wireless local area network (WLAN).
[0227] The method described above may be performed by an electronic device (101) comprising a display (260) and a communication circuit (290). The method may include an operation of displaying a UI (user interface) of a program for data transmission of the electronic device (101) through the display (260). The method may include an operation of receiving user input through the UI to transmit data stored in a first external electronic device (201) to the electronic device (101). The method may include an operation of receiving data including connection information for pairing the electronic device (101) with a second external electronic device (205) based on the user input. The second external electronic device (205) may be paired with the first external electronic device (201). The above connection information may include identification information used to identify an advertisement packet advertised from the second external electronic device (205) and authentication information used for authentication performed with the second external electronic device (205) for pairing with the second external electronic device (205). The method may include an operation of pairing with the second external electronic device (205) through the communication circuit (290) using the identification information and the authentication information.
[0228] The above method may include an operation of automatically pairing with the second external electronic device (205) based on discovering the second external electronic device (205) using the identification information and performing authentication using the authentication information.
[0229] The above method may include an operation of encrypting the authentication information in response to discovering the second external electronic device (205). The above method may include an operation of transmitting a signal containing the encrypted authentication information to the second external electronic device (205). The above method may include an operation of identifying that the authentication is successful based on the identification of the authentication information in another signal received from the second external electronic device (205) after transmitting the signal. The above method may include an operation of automatically pairing with the second external electronic device (205) in response to identifying that the authentication is successful.
[0230] The above method may include an operation of identifying that the authentication has failed based on the fact that the authentication information is not identified in the other signal received from the second external electronic device (205). The above method may include an operation of stopping pairing with the second external electronic device (205) until another user input requesting pairing with the second external electronic device (205) is received in response to identifying that the authentication has failed.
[0231] The above method may include an operation of receiving other data transmitted by the second external electronic device (205) to the first external electronic device (201) from the second external electronic device (205) through a communication connection between the electronic device (101) and the second external electronic device (205) based on the pairing, in response to automatic pairing with the second external electronic device (205).
[0232] The above method may include an operation of automatically pairing with the second external electronic device (205) based on Bluetooth through the communication circuit (290).
[0233] The above method may include the operation of receiving the data through a wired communication connection between the electronic device (101) and the first external electronic device (201).
[0234] The above method may include the operation of receiving the data through the wireless local area network while the electronic device (101) and the first external electronic device (201) are connected to the same wireless local area network (WLAN).
[0235] The method described above may be performed by an electronic device (201) comprising a display (261) and a communication circuit (291). The method may receive a signal from a first external electronic device (101) requesting data including connection information for the first external electronic device (101) to pair with a second external electronic device (205). The second external electronic device (205) may be paired with the electronic device (201). The connection information may include identification information used to identify an advertising packet advertised from the second external electronic device (205) and authentication information used for authentication for pairing with the second external electronic device (205). The method may include an operation of displaying a user interface (UI) through the display (261) to query whether the data is being transmitted. The above method may include an operation of receiving user input to transmit the data stored in the electronic device (201) to the first external electronic device (101) through the UI. The above method may include an operation of transmitting the data to the first external electronic device (101) in response to receiving the user input.
[0236] A non-transitory computer-readable storage medium as described above may store a program containing instructions. When the instructions are executed individually or collectively by at least one processor (120) of an electronic device (101) comprising a display (260) and a communication circuit (290), the electronic device (101) may cause the electronic device (101) to display a user interface (UI) of a program for data transfer of the electronic device (101) through the display (260). When the instructions are executed individually or collectively by the at least one processor (120), the electronic device (101) may cause the electronic device (101) to receive user input through the UI for transferring data stored in a first external electronic device (201) to the electronic device (101). When the above instructions are executed individually or collectively by the at least one processor (120), the electronic device (101) may be caused to receive data including connection information for pairing the electronic device (101) with a second external electronic device (205) based on the user input. The second external electronic device (205) may be paired with the first external electronic device (201). The connection information may include identification information used to identify an advertising packet advertised from the second external electronic device (205) and authentication information used for authentication performed with the second external electronic device (205) for pairing with the second external electronic device (205).When the above instructions are executed individually or collectively by the at least one processor (120), the electronic device (101) may be caused to pair with the second external electronic device (205) through the communication circuit (290) using the identification information and the authentication information.
[0237] As described above, a non-transient computer-readable storage medium may store a program containing instructions. When the instructions are executed individually or collectively by at least one processor (221) of an electronic device (201) comprising a display (261) and a communication circuit (291), the electronic device (201) may receive a signal from a first external electronic device (101) requesting data including connection information for the first external electronic device (101) to pair with a second external electronic device (205). The second external electronic device (205) may be paired with the electronic device (201). The connection information may include identification information used to identify an advertising packet advertised from the second external electronic device (205) and authentication information used for authentication for pairing with the second external electronic device (205). When the above instructions are executed individually or collectively by the at least one processor (221), the electronic device (201) may cause a user interface (UI) to display a query on the display (261) regarding whether to transmit the data. When the above instructions are executed individually or collectively by the at least one processor (221), the electronic device (201) may cause a user input to be received through the UI to transmit the data stored in the electronic device (201) to the first external electronic device (101). When the above instructions are executed individually or collectively by the at least one processor (221), the electronic device (201) may cause the data to be transmitted to the first external electronic device (101) in response to receiving the user input.
[0238] The effects obtainable from the present disclosure are not limited to those mentioned above, and other unmentioned effects will be clearly understood by those skilled in the art to which the present disclosure belongs.
[0239] The electronic device according to the various embodiments disclosed in this document may be of various forms. The electronic device may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a consumer electronics device. The electronic device according to the embodiments of this document is not limited to the devices described above.
[0240] The various embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutions of said 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 said items unless the relevant context clearly indicates otherwise. In this document, phrases such as "A or B," "at least one of A and B," "at least one of A or B," "A, B or C," "at least one of A, B and C," and "at least one of A, B, or C" may each include any one of the items listed together in the corresponding phrase, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used simply to distinguish said components from other said components and do not limit said components in any other aspect (e.g., importance or order). Where any (e.g., 1st) component is referred to as "coupled" or "connected" to another (e.g., 2nd) component, with or without the terms "functionally" or "communicationly," it means that said any component may be connected to said other component directly (e.g., via a wire), wirelessly, or through a third component.
[0241] The term “module” as used in the various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A module may be a component formed integrally, or a minimum unit of said component or a part thereof 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).
[0242] Various embodiments of the present document may be implemented as software (e.g., program (140)) comprising one or more instructions stored in a storage medium (e.g., internal memory (136) or external memory (138)) readable by a machine (e.g., electronic device (101)). For example, a processor (e.g., processor (120)) of the machine (e.g., electronic device (101)) may call at least one of the one or more instructions stored in the storage medium and execute it. This enables the machine to be operated 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 that can be executed by an interpreter. The storage medium readable by the machine may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' simply means that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently and cases where it is stored temporarily.
[0243] According to one embodiment, the method according to the various embodiments disclosed herein may be provided as included in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., CD-ROM (compact disc read-only memory)), or distributed online (e.g., download or upload) through an application store (e.g., Play Store™) or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created on a device-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
[0244] According to various embodiments, each component (e.g., module or program) of the components described above may include a singular or multiple entities, and some of the multiple entities may be separated and placed in other components. According to various embodiments, one or more of the components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Generally or additionally, multiple components (e.g., module or program) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the multiple components in the same or similar manner as those performed by the corresponding component among the multiple components prior to integration. According to various embodiments, operations performed by the module, program, or other components 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 an electronic device (101), Display (260), communication circuit (290), At least one processor (120) including a processing circuit and The electronic device (101) includes a memory (130) that stores instructions and includes one or more storage media, and when the instructions are executed individually or collectively by the at least one processor (120), the electronic device (101), Through the above display (260), a UI (user interface) for receiving data for pairing with one or more external electronic devices from a first external electronic device (201) is displayed, and Through the above UI, a user input is received for transmitting data for pairing stored in the first external electronic device (201) to the electronic device (101), and Based on the above user input, data including connection information for determining whether to pair with the second external electronic device (205) among the one or more external electronic devices is received, and the second external electronic device (205) is paired with the first external electronic device (201), and the connection information includes identification information used to identify an advertising packet advertised from the second external electronic device (205) and authentication information used for authentication performed with the second external electronic device (205) for pairing with the second external electronic device (205). As the second external electronic device (205) is authenticated using the identification information and the authentication information, causing the second external electronic device (205) to be paired with the communication circuit (290), Electronic device.
2. In Claim 1, When the above instructions are executed individually or collectively by the at least one processor (120), the electronic device (101), Based on discovering the second external electronic device (205) using the identification information and performing authentication using the authentication information, causing the second external electronic device (205) to be automatically paired. Electronic device.
3. In Claim 2, When the above instructions are executed individually or collectively by the at least one processor (120), the electronic device (101), In response to discovering the second external electronic device (205): Encrypt the above authentication information, and A signal including the above encrypted authentication information is transmitted to the second external electronic device (205), and Based on the identification of the authentication information in another signal received from the second external electronic device (205) after transmitting the above signal, the authentication is identified as successful, and In response to identifying that the above authentication is successful, causing to automatically pair with the second external electronic device (205), Electronic device.
4. In Claim 3, When the above instructions are executed individually or collectively by the at least one processor (120), the electronic device (101), Based on the fact that the authentication information is not identified in the other signal received from the second external electronic device (205), the authentication is identified as having failed, and In response to identifying that the above authentication has failed, causing to stop pairing with the second external electronic device (205) until receiving an input requesting pairing with the second external electronic device (205), Electronic device.
5. In any one of claims 1 to 4, When the above instructions are executed individually or collectively by the at least one processor (120), the electronic device (101), In response to automatic pairing with the second external electronic device (205), causing the second external electronic device (205) to receive other data acquired before the second external electronic device (205) automatically paired with the electronic device (101) through a communication connection between the electronic device (101) and the second external electronic device (205) based on the pairing, Electronic device.
6. In any one of claims 1 to 5, When the above instructions are executed individually or collectively by the at least one processor (120), the electronic device (101), Causing to automatically pair with the second external electronic device (205) based on Bluetooth through the communication circuit (290) Electronic device.
7. In Claim 6, When the above instructions are executed individually or collectively by the at least one processor (120), the electronic device (101), Causing to receive the data through a wired communication connection between the electronic device (101) and the first external electronic device (201), Electronic device.
8. In Claim 6, When the above instructions are executed individually or collectively by the at least one processor (120), the electronic device (101), Causing to receive the data through a communication connection according to a short-range communication technique distinct from the above Bluetooth, Electronic device.
9. In the electronic device (201), Display (261), communication circuit (291), At least one processor (221) including a processing circuit and The electronic device (201) includes a memory (231) that stores instructions and includes one or more storage media, and when the instructions are executed individually or collectively by the at least one processor (221), the electronic device (201), A signal is received from a first external electronic device (101) requesting data including connection information for determining whether the first external electronic device (101) will pair with a second external electronic device (205), and the second external electronic device (205) is paired with the electronic device (201), and the connection information includes identification information used to identify an advertising packet advertised from the second external electronic device (205) and authentication information used for authentication for pairing with the second external electronic device (205). Through the above display (261), a UI (user interface) for querying whether to transmit the data is displayed, and Through the above UI, a user input is received for transmitting the data stored in the electronic device (201) to the first external electronic device (201), and In response to receiving the above user input, causing the first external electronic device (101) to transmit the data, Electronic device.
10. In Claim 9, When the above instructions are executed individually or collectively by the at least one processor (221), the electronic device (201), In response to receiving the above user input, causing another signal including the authentication information used for the authentication to be transmitted to the second external electronic device (205), Electronic device.
11. In claim 9 or claim 10, When the above instructions are executed individually or collectively by the at least one processor (221), the electronic device (201), After transmitting the data to the first external electronic device (101), another signal is received from the first external electronic device (101) indicating that the first external electronic device (101) and the second external electronic device (205) are paired, and In response to receiving the above other signal, causing the authentication information to be removed, Electronic device.
12. In any one of claims 9 to 11, The above pairing is Bluetooth-based pairing, and When the above instructions are executed individually or collectively by the at least one processor (221), the electronic device (201), Causing the transmission of the above data through a communication connection according to a short-range communication technique distinct from Bluetooth, Electronic device.
13. A method of an electronic device (101) comprising a display (260) and a communication circuit (290), The operation of displaying a user interface (UI) for receiving data for pairing with one or more external electronic devices from a first external electronic device (201) through the above display (260), The operation of receiving user input to transmit data for pairing stored in the first external electronic device (201) to the electronic device (101) through the above UI, The operation of receiving data including connection information for determining whether to pair with the second external electronic device (205) among the one or more external electronic devices based on the above user input, wherein the second external electronic device (205) is paired with the first external electronic device (201), and the connection information includes identification information used to identify an advertising packet advertised from the second external electronic device (205) and authentication information used for authentication performed with the second external electronic device (205) for pairing with the second external electronic device (205), and As the second external electronic device (205) is authenticated using the identification information and the authentication information, the operation of pairing with the second external electronic device (205) through the communication circuit (290) is included. method.
14. In Claim 13, Based on discovering the second external electronic device (205) using the identification information and performing authentication using the authentication information, the operation of automatically pairing with the second external electronic device (205) method.
15. In Claim 14, In response to discovering the second external electronic device (205): The operation of encrypting the above authentication information, The operation of transmitting a signal containing the above encrypted authentication information to the second external electronic device (205), An operation of identifying that the authentication is successful based on the identification of the authentication information in another signal received from the second external electronic device (205) after transmitting the above signal, and In response to identifying that the above authentication is successful, the operation of automatically pairing with the second external electronic device (205) method.