Electronic device for providing data, electronic device for adjusting volume on basis of data, and operating method thereof
By using an electronic device that receives noise level and distance data from a second device to adjust its speaker volume, the issue of ambient noise interfering with sound output is addressed, improving user experience.
Patent Information
- Application Number
- PCT/KR2024/018276
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-14
- Filing Date
- 2024-11-19
- Publication Date
- 2025-06-12
AI Technical Summary
Ambient noise can interfere with the sound output from electronic devices, such as speakers, making it difficult for users to perceive the sound properly. This issue is exacerbated by changing ambient noise levels.
An electronic device equipped with a communication circuit, a speaker, a processor, and memory, which receives noise level and distance data from a second electronic device via a communication circuit. The device then determines the optimal volume for the speaker based on this data and outputs a signal accordingly.
The solution effectively adjusts the volume of the electronic device in response to changing ambient noise levels, enhancing user experience by ensuring that sound is perceivable and clear.
Smart Images

Figure KR2024018276_12062025_PF_FP_ABST
Abstract
Description
Electronic device providing data, electronic device adjusting volume based on data, and method of operating the same
[0001] The present disclosure relates to an electronic device providing data according to one embodiment, an electronic device adjusting volume based on the data, and a method of operating the same.
[0002] When electronic devices play media (e.g., music, videos, radio) or output sound (e.g., responding to a voice call) through speakers, ambient noise can be a problem. Users may not be able to properly perceive the sound coming from their electronic devices due to ambient noise. Ambient noise can increase or decrease suddenly. Adjusting the volume level based on the ambient noise level can improve the user experience.
[0003] The above information may be provided as background art to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above is applicable as prior art related to the present disclosure.
[0004] According to one embodiment, a first electronic device may include a communication circuit, a speaker, at least one processor, and a memory including instructions. The instructions, when executed by the at least one processor, may cause the first electronic device to perform at least one operation. The at least one operation may include receiving, from the second electronic device through the communication circuit, a first signal including first data identified using a noise sensor of the second electronic device and second data for identifying a distance. The at least one operation may include identifying a noise level in the vicinity of the second electronic device based on the first data. The at least one operation may include identifying a distance between the second electronic device and the first electronic device based on the second data. The at least one operation may include determining a volume of the speaker based on the noise level and the distance. The at least one operation may include outputting a signal through the speaker based on the determined volume.
[0005] According to one embodiment, a method of operating a first electronic device may include receiving, from a second electronic device, a first signal including first data identified using a noise sensor of the second electronic device and second data for identifying a distance. The method may include identifying a noise level around the second electronic device based on the first data. The method may include identifying a distance between the second electronic device and the first electronic device based on the second data. The method may include determining a volume of a speaker of the first electronic device based on the noise level and the distance. The method may include outputting a signal through the speaker based on the determined volume.
[0006] According to one embodiment, a storage medium storing computer-readable instructions may cause the instructions, when executed by at least one processor of a first electronic device, to cause the first electronic device to perform at least one operation. The at least one operation may include receiving, from the second electronic device, a first signal including first data identified using a noise sensor of the second electronic device and second data for identifying a distance. The at least one operation may include identifying a noise level in the vicinity of the second electronic device based on the first data. The at least one operation may include identifying a distance between the second electronic device and the first electronic device based on the second data. The at least one operation may include determining a volume of a speaker of the first electronic device based on the noise level and the distance. The at least one operation may include outputting a signal through the speaker based on the determined volume.
[0007] According to one embodiment, a first electronic device may include a communication circuit, a speaker, at least one processor, and a memory including instructions. The instructions, when executed by the at least one processor, may cause the first electronic device to perform at least one operation. The at least one operation may include transmitting a first signal to a server via the communication circuit, requesting a response. The at least one operation may include transmitting a second signal to a second electronic device via the communication circuit, requesting that the second electronic device provide data to the server. The at least one operation may include receiving the response from the server via the communication circuit. The response may include information about a volume determined by the server based on the data received by the server from the second electronic device. The data may include first data identified using a noise sensor of the second electronic device, and second data for identifying a distance. The at least one action may include outputting a signal through the speaker based on the information about the volume included in the response.
[0008] According to one embodiment, a method of operating a first electronic device may include transmitting a first signal to a server requesting a response. The method may include transmitting a second signal to a second electronic device requesting that the second electronic device provide data to the server. The method may include receiving the response from the server. The response may include information about a volume determined by the server based on the data received by the server from the second electronic device. The data may include first data identified using a noise sensor of the second electronic device and second data for identifying a distance. The method may include outputting a signal through the speaker based on the information about the volume included in the response.
[0009] According to one embodiment, a storage medium storing computer-readable instructions may cause the instructions, when executed by at least one processor of a first electronic device, to cause the first electronic device to perform at least one operation. The at least one operation may include transmitting a first signal to a server requesting a response. The at least one operation may include transmitting a second signal to a second electronic device requesting that the second electronic device provide data to the server. The at least one operation may include receiving the response from the server. The response may include information about a volume determined by the server based on the data received by the server from the second electronic device. The data may include first data identified using a noise sensor of the second electronic device and second data for identifying a distance. The at least one operation may include outputting a signal through the speaker based on the information about the volume included in the response.
[0010] According to one embodiment, a second electronic device may include a communication circuit, a noise sensor, at least one sensor configured to confirm wearing by a user, at least one processor, and a memory including instructions. The instructions, when executed by the at least one processor, may cause the second electronic device to perform at least one operation. The at least one operation may include receiving a first signal requesting data from a first electronic device via the communication circuit. The at least one operation may include confirming wearing of the second electronic device by the user using the at least one sensor based on reception of the first signal. The at least one operation may include transmitting, to the first electronic device via the communication circuit, a second signal including first data confirmed using the noise sensor and second data for confirming a distance based on the confirmation of wearing.
[0011] According to one embodiment, a method of operating a second electronic device may include receiving a first signal requesting data from a first electronic device. The method may include confirming, based on the reception of the first signal, that the second electronic device is worn by a user. The method may include transmitting, based on the confirmation of the wearing, a second signal to the first electronic device, the second signal including first data confirmed using a noise sensor of the second electronic device and second data for confirming a distance.
[0012] According to one embodiment, a storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor of a second electronic device, cause the second electronic device to perform at least one operation. The at least one operation may include receiving a first signal requesting data from a first electronic device. The at least one operation may include confirming, based on reception of the first signal, that the second electronic device is worn by a user. The at least one operation may include transmitting, based on confirmation of the wearing, a second signal to the first electronic device, the second signal including first data confirmed using a noise sensor of the second electronic device and second data for confirming a distance.
[0013] FIG. 1 is a block diagram of an electronic device within a network environment, according to one embodiment.
[0014] FIG. 2 is a drawing illustrating a usage environment of electronic devices according to one embodiment.
[0015] FIG. 3 is a drawing illustrating a usage environment of electronic devices according to one embodiment.
[0016] FIG. 4 is a block diagram of a first electronic device and a second electronic device according to one embodiment.
[0017] FIG. 5 is a flowchart of a method of operating a first electronic device according to one embodiment.
[0018] FIG. 6 is a flowchart of a method of operating a first electronic device according to one embodiment.
[0019] FIG. 7 is a flowchart of a method of operating a first electronic device according to one embodiment.
[0020] FIG. 8 is a flowchart of a method of operating a second electronic device according to one embodiment.
[0021] FIG. 9 is a flowchart of a method of operating a second electronic device according to one embodiment.
[0022] FIG. 10 is a flowchart of a method of operating a first electronic device according to one embodiment.
[0023] FIG. 11 is a flowchart of a method of operating a first electronic device according to one embodiment.
[0024] FIG. 12 is a flowchart of a method of operating a second electronic device according to one embodiment.
[0025] FIG. 13 is a flowchart of a method of operating a first electronic device according to one embodiment.
[0026] FIG. 14 is a flowchart of a method of operating a first electronic device, a server, and external device(s) according to one embodiment.
[0027] FIG. 15 is a flowchart of a method of operating a first electronic device, a server, and external device(s) according to one embodiment.
[0028] FIG. 1 is a block diagram of an electronic device within a network environment, according to one embodiment.
[0029] Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of an electronic device (104) or a server (108) via a second network (199) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).
[0030] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
[0031] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.
[0032] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).
[0033] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
[0034] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0035] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0036] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
[0037] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).
[0038] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0039] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0040] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0041] The haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0042] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0043] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
[0044] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0045] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).
[0046] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for realizing 1eMBB, a loss coverage (e.g., 164 dB or less) for realizing mMTC, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for realizing URLLC.
[0047] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas, for example, by the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
[0048] According to various embodiments, the antenna module (197) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.
[0049] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
[0050] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In one embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0051] According to one embodiment, the processor (120) of the electronic device (101) may be referred to as a controller (120). The operation of the electronic device (101) according to one embodiment may be controlled by the processor (120) of the electronic device (101). The electronic device (101) performing a specific operation may be that the electronic device (101) or a component included in the electronic device (101) is controlled by the processor (120) of the electronic device (101). The processor (120) may be a circuit that performs processing. The electronic device (101) may include one or more processors (120). The operation(s) of the electronic device (101) may be processed by one processor (120). Some of the operations of the electronic device (101) may be processed by some of the processors (120) among the plurality of processors (120), and other of the operations of the electronic device (101) may be processed by other processors (120) among the plurality of processors (120). Hereinafter, even when a plurality of processors (120) are implemented, for convenience of explanation, the terms “operation of the electronic device (101)” or “operation of the processor (120)” will be used. According to one embodiment, the memory (130) may include instructions that are set to cause at least one operation. When executed by the processor (120) of the electronic device (101), the instructions may cause the electronic device (101) to perform at least one operation. The electronic device (101) may include one or more memories (130). Hereinafter, “memory (130)” may be one memory (130) or a plurality of memories (130). Instructions may be stored in one memory (130). Some of the instructions may be stored in some of the plurality of memories (130), and other of the instructions may be stored in other of the plurality of memories (130).Hereinafter, even when a plurality of memories (130) are implemented, they will be referred to as "memories (130)" for convenience of explanation. According to one embodiment, a computer-readable storage medium storing instructions configured to cause at least one operation may be proposed.
[0052] FIG. 2 is a drawing illustrating a usage environment of electronic devices according to one embodiment.
[0053] FIG. 2 is merely an example to help understand the usage environment of electronic devices, and the present disclosure can be applied to various usage environments.
[0054] The embodiment of FIG. 2 may include a first electronic device (210) and a second electronic device (220). The embodiment of FIG. 2 may include a third electronic device (230). The embodiment of FIG. 2 may not include a third electronic device (230).
[0055] According to one embodiment, referring to FIG. 2, when an AI speaker (e.g., a first electronic device (210)) is located in a living room and a user (e.g., 200) wearing a wearable device (e.g., a second electronic device (220)) is located in another room, the user in the room can ask the AI speaker a question in a loud voice. If the room where the user is located has ambient noise, the AI speaker can increase the volume if it determines that a higher volume than the current volume is required based on the noise level and the distance from the user (e.g., the second electronic device (220)) and then answer the user's question. This allows the user to hear the desired answer better. Referring to FIG. 2, the AI speaker can also decrease the volume if it determines that a lower volume than the current volume is required and then answer the user's question. For example, when a user wearing a wearable device (e.g., a second electronic device (220)) asks a question to an AI speaker near the AI speaker while the volume of the AI speaker (e.g., a first electronic device (210)) is set to high, the AI speaker may lower the volume if it determines that a lower volume is required than the current volume based on the noise level and the distance from the user (e.g., the second electronic device (220)) and then answer the user's question. This may protect the user's hearing from damage.
[0056] In one embodiment, in the embodiment of FIG. 2, a wearable device that is not worn by the user (200), or a device that is located far away from the user (200) (e.g., located at a distance greater than a reference distance), such as the third electronic device (230), may not be used to determine the volume of the artificial intelligence speaker. In one embodiment, a wearable device that is not worn by the user (200), or a device that is located far away from the user (200) (e.g., located at a distance greater than a reference distance), may also be used to determine the volume of the artificial intelligence speaker. For example, an artificial intelligence speaker (e.g., the first electronic device (210)) may adjust the volume based on data provided from one external device in the vicinity (e.g., the second electronic device (220) or the third electronic device (230)). For example, an artificial intelligence speaker (e.g., a first electronic device (210)) can adjust the volume based on data provided from multiple external devices in the vicinity (e.g., a second electronic device (220) and a third electronic device (230)).
[0057] The embodiment of Fig. 2 is described in detail as follows.
[0058] According to one embodiment, the first electronic device (210) may be a device including a speaker. For example, the first electronic device (210) may be an artificial intelligence speaker. The artificial intelligence speaker may be a device that, based on obtaining a voice command (201) from a user (200) (e.g., "Hi Bixby. Tell me the weather today."), outputs a response result corresponding to the voice command (e.g., a signal corresponding to "The weather today is clear") through the speaker.
[0059] In one embodiment, the second electronic device (220) may be a wearable device worn by the user (200). The second electronic device (220) may not be a wearable device. The second electronic device (220) may be a device located near the user (200).
[0060] For example, in FIG. 2, a user (200) wearing a second electronic device (220) can utter a voice command (201) (e.g., “Hi Bixby. Tell me today’s weather”) toward a first electronic device (210). The first electronic device (210) can receive the voice command (201) of the user (200). For example, the first electronic device (210) can acquire a sound corresponding to the voice command (201) of the user (200) through a microphone. Based on acquiring the voice command (201), the first electronic device (210) can request the provision of data to the second electronic device (220). The second electronic device (220) may transmit a second signal including first data for confirming a noise level and second data for confirming a distance to the first electronic device (210) based on receiving a first signal requesting provision of data from the first electronic device (210). According to one embodiment, the second electronic device (220) may additionally confirm whether the second electronic device (220) is worn by the user (200). For example, the second electronic device (220) may confirm whether the second electronic device (220) is worn by the user (200) based on receiving a first signal requesting provision of data from the first electronic device (210). Based on confirming wearing, the second electronic device (220) may transmit a second signal including first data for confirming a noise level and second data for confirming a distance to the first electronic device (210). The operation of checking whether the second electronic device (220) is worn by the user (200) may be omitted. The first electronic device (210) can check the noise level around the second electronic device (220) based on the first data. The first electronic device (210) can check the distance between the second electronic device (220) and the first electronic device (210) based on the second data.The first electronic device (210) can determine the volume of the speaker of the first electronic device (210) based on the verified noise level and the distance between the second electronic device (220) and the first electronic device (210). The first electronic device (210) can output a response result corresponding to the voice command (201) (e.g., “Today’s weather is clear”) through the speaker based on the determined volume. Meanwhile, there is no limitation on the method for determining the volume based on the noise level and distance. For example, the volume can be determined based on the noise level and distance based on a pre-stored algorithm. For example, the volume can be determined based on the noise level and distance based on an artificial intelligence model.
[0061] In one embodiment, the third electronic device (230) may be a wearable device that is not worn by the user (200). The third electronic device (230) may not be a wearable device. The third electronic device (230) may be a device that is located far away from the user (200) (e.g., located at a distance greater than a reference distance). The first electronic device (210) may request provision of data from the third electronic device (230) based on obtaining a voice command (201) from the user (200). The third electronic device (230) may determine whether the third electronic device (230) is worn by the user (200) based on receiving a first signal requesting provision of data from the first electronic device (210). The third electronic device (230) may not provide data (e.g., first data for determining a noise level and second data for determining a distance) to the first electronic device (210) based on determining that the third electronic device (230) is not worn by the user (200). Alternatively, the third electronic device (230) may determine whether the third electronic device (230) is located near the user (200) based on receiving a first signal from the first electronic device (210) requesting provision of data. The third electronic device (230) may not provide data (e.g., first data for determining a noise level and second data for determining a distance) to the first electronic device (210) based on determining that the third electronic device (230) is located at a distance greater than a reference distance from the user (200).
[0062] According to one embodiment, the first electronic device (210) may receive data from the second electronic device (220) and the third electronic device (230). In this case, the first electronic device (210) may determine a noise level and a distance related to the second electronic device (220) based on the data provided from the second electronic device (220), determine a noise level and a distance related to the third electronic device (230) based on the data provided from the third electronic device (230), and determine a volume of a speaker of the first electronic device (210) based on the determined noise levels and distances. There is no limitation on the number of external devices used to determine the volume of the speaker of the first electronic device (210).
[0063] FIG. 3 is a drawing illustrating a usage environment of electronic devices according to one embodiment.
[0064] FIG. 3 is merely an example to help understand the usage environment of electronic devices, and the present disclosure can be applied to various usage environments.
[0065] The embodiment of FIG. 3 may include a first electronic device (310) and a second electronic device (320). The embodiment of FIG. 3 may include a third electronic device (330). The embodiment of FIG. 3 may not include a third electronic device (330).
[0066] According to one embodiment, referring to FIG. 3, while media (e.g., music, video, radio) is played on a TV (e.g., a first electronic device (310)), the volume of the TV may be adjusted based on data provided from a surrounding external device (e.g., a second electronic device (320) and / or a third electronic device (330)). For example, the TV (e.g., the first electronic device (310)) may adjust the volume based on data provided from one surrounding external device (e.g., the second electronic device (320) or the third electronic device (330)). For example, the TV (e.g., the first electronic device (310)) may adjust the volume based on data provided from a plurality of surrounding external devices (e.g., the second electronic device (320) and the third electronic device (330)).
[0067] The embodiment of Fig. 3 is described in detail as follows.
[0068] According to one embodiment, the first electronic device (310) may be a device including a speaker. For example, the first electronic device (310) may be a TV. The first electronic device (310) may play media (e.g., music, video, radio). Based on the playback of the media (e.g., music, video, radio), sound (e.g., a signal corresponding to the media) may be output through the speaker of the first electronic device (310).
[0069] In one embodiment, the first electronic device (310) may request provision of data from a surrounding external device (e.g., a second electronic device (320) and / or a third electronic device (330)) while playing media (e.g., music, video, radio). For example, the first electronic device (310) may periodically request provision of data from a surrounding external device (e.g., a second electronic device (320) and / or a third electronic device (330)) while playing media (e.g., music, video, radio).
[0070] In one embodiment, the second electronic device (320) may transmit a second signal to the first electronic device (310), including first data for determining a noise level and second data for determining a distance, based on receiving a first signal requesting provision of data from the first electronic device (310). In one embodiment, the second electronic device (320) may additionally determine whether the second electronic device (320) is located near the user. For example, the second electronic device (320) may determine whether the second electronic device (320) is located near the user based on receiving a first signal requesting provision of data from the first electronic device (310). The second electronic device (320) may transmit a second signal, including first data for determining a noise level and second data for determining a distance, to the first electronic device (310) based on determining that the second electronic device (320) is located near the user. The operation of determining whether the second electronic device (320) is located near the user may be omitted. According to one embodiment, the second electronic device (320) may additionally determine whether the second electronic device (320) is carried by the user. For example, the second electronic device (320) may determine whether the second electronic device (320) is carried by the user based on receiving a first signal requesting provision of data from the first electronic device (310). The second electronic device (320) may transmit a second signal including first data for checking a noise level and second data for checking a distance to the first electronic device (310) based on confirmation that the second electronic device (320) is in the possession of the user. The operation of confirming whether the second electronic device (320) is in the possession of the user may be omitted.
[0071] In one embodiment, the third electronic device (330) may transmit a third signal including third data for determining a noise level and fourth data for determining a distance to the first electronic device (310) based on receiving a first signal requesting provision of data from the first electronic device (310). In one embodiment, the third electronic device (330) may additionally determine whether the third electronic device (330) is worn by the user. For example, the third electronic device (330) may determine whether the third electronic device (330) is worn by the user based on receiving a first signal requesting provision of data from the first electronic device (310). Based on confirming wearing, the third electronic device (330) may transmit a third signal including third data for determining a noise level and fourth data for determining a distance to the first electronic device (310). The operation of confirming whether the third electronic device (330) is worn by the user may be omitted. According to one embodiment, the third electronic device (330) may additionally confirm whether the third electronic device (330) is located near the user. For example, the third electronic device (330) may confirm whether the third electronic device (330) is located near the user based on receiving a first signal requesting provision of data from the first electronic device (310). Based on confirming that the third electronic device (330) is located near the user, the third electronic device (330) may transmit a third signal including third data for confirming a noise level and fourth data for confirming a distance to the first electronic device (310). The operation of confirming whether the third electronic device (330) is located near the user may be omitted.
[0072] According to one embodiment, the first electronic device (310) may adjust the volume of a speaker of the first electronic device (310) while playing media (e.g., music, video, radio) based on data provided from a surrounding external device (e.g., the second electronic device (320) and / or the third electronic device (330)). According to one embodiment, the data provided from the surrounding external devices (e.g., the second electronic device (320) and / or the third electronic device (330)) may be accumulated. The first electronic device (310) may adjust the volume of the speaker of the first electronic device (310) while playing media (e.g., music, video, radio) based on the accumulated data. For example, the first electronic device (310) may determine the volume based on data provided from the second electronic device (320). The first electronic device (310) can determine the volume based on the data provided from the third electronic device (330). The first electronic device (310) can determine the volume based on the data provided from the second electronic device (320) and the data provided from the third electronic device (330). For example, the first electronic device (310) can determine the noise level and distance related to the second electronic device (320) based on the data provided from the second electronic device (320), and determine the volume based on the determined noise level and distance. For example, the first electronic device (310) can determine the noise level and distance related to the third electronic device (330) based on the data provided from the third electronic device (330), and determine the volume based on the determined noise level and distance.For example, the first electronic device (310) can determine a noise level and distance related to the second electronic device (320) based on data provided from the second electronic device (320), determine a noise level and distance related to the third electronic device (330) based on data provided from the third electronic device (330), and determine a volume based on the determined noise levels and distances. There is no limitation on the number of external devices used to determine the volume of the speaker of the first electronic device (310).
[0073] By referring to the embodiments of FIGS. 2 and 3, the usage environment of electronic devices can be understood. However, the embodiments of FIGS. 2 and 3 are merely examples, and the electronic devices and the usage environment of electronic devices will be described in more detail through the following embodiments.
[0074] FIG. 4 is a block diagram of a first electronic device and a second electronic device according to one embodiment.
[0075] According to one embodiment, the first electronic device (410) of FIG. 4 may be the first electronic device (210) of FIG. 2. The first electronic device (410) of FIG. 4 may be the first electronic device (310) of FIG. 3.
[0076] According to one embodiment, the second electronic device (420) of FIG. 4 may be the second electronic device (220) of FIG. 2. The second electronic device (420) of FIG. 4 may be the third electronic device (230) of FIG. 2. The second electronic device (420) of FIG. 4 may be the second electronic device (320) of FIG. 3. The second electronic device (420) of FIG. 4 may be the third electronic device (330) of FIG. 3.
[0077] According to one embodiment, the first electronic device (410) of FIG. 4 may be the electronic device (101) of FIG. 1. The first electronic device (410) of FIG. 4 may include at least one of the components of the electronic device (101) of FIG. 1. For example, the description of at least one of the components of the electronic device (101) of FIG. 1 (e.g., the communication module (190), the processor (120), the memory (130), the audio output module (155), the input module (150), the sensor module (176)) may be applied to at least one component of the first electronic device (410) (e.g., the communication circuit, the processor, the memory, the speaker, the microphone, the sensor). However, for the convenience of explanation, redundant descriptions may be omitted. According to one embodiment, the first electronic device (410) may include a communication circuit (411) (e.g., the communication circuit included in the communication module (190) of FIG. 1). The first electronic device (410) may include a speaker (414) (e.g., a speaker included in the audio output module (155) of FIG. 1). The first electronic device (410) may include a microphone (415) (e.g., a microphone included in the input module (150) of FIG. 1).
[0078] According to one embodiment, the second electronic device (420) of FIG. 4 may be the electronic device (101) of FIG. 1. The second electronic device (420) of FIG. 4 may include at least one of the components of the electronic device (101) of FIG. 1. The second electronic device (420) of FIG. 4 may correspond to the electronic device (102) or the electronic device (104) of FIG. 1. For example, the description of at least one of the components of the electronic device (101) of FIG. 1 (e.g., the communication module (190), the processor (120), the memory (130), the input module (150), the sensor module (176)) may be applied to at least one component of the second electronic device (420) (e.g., the communication circuit (421), the processor (422), the memory (423), the noise sensor (424), the distance measurement sensor (425), the wearing sensor (426)). However, for the convenience of explanation, redundant descriptions may be omitted. According to one embodiment, the second electronic device (420) may include a communication circuit (421) (e.g., a communication circuit included in the communication module (190) of FIG. 1). The second electronic device (420) may include a noise sensor (424) (e.g., a microphone included in the input module (150) of FIG. 1). The second electronic device (420) may include a distance measurement sensor (425) (e.g., a sensor included in the sensor module (176) of FIG. 1 (e.g., a time of flight (ToF) sensor), or an ultra-wideband (UWB) communication module included in the communication module (190) of FIG. 1). For example, the distance measurement sensor (425) may be configured to measure a distance based on a time of flight (ToF) method. The second electronic device (420) can measure the distance between the second electronic device (420) and the first electronic device (410) using a distance measurement sensor (425). For example, the second electronic device (420) can measure the distance using the time difference of signals transmitted and received from the distance measurement sensor (425) (e.g., a ToF sensor or a UWB communication module).The second electronic device (420) may include a wearing sensor (425) (e.g., a sensor included in the sensor module (176) of FIG. 1). The wearing sensor (425) may be configured to measure whether the second electronic device (420) is worn by the user. A sensor (e.g., a sensor included in the sensor module (176)) used to measure whether the second electronic device (420) is worn by the user may be defined as a wearing sensor (425). For example, the wearing sensor (425) may include a biometric sensor (176). The second electronic device (420) may confirm whether the user is wearing the device based on confirming the user's biometric signal using the biometric sensor (176). For example, the wearing sensor (425) may include an optical sensor (176). The second electronic device (420) can confirm that the user is wearing the device based on the proximity of the user to the second electronic device (420) using the light sensor (176). For example, the wearing sensor (425) may include an acceleration sensor (176) or a gyro sensor (176). The second electronic device (420) can confirm that the user is wearing the device based on the movement of the second electronic device (420) using the acceleration sensor (176) or the gyro sensor (176).
[0079] Referring to FIG. 4, according to one embodiment, a first electronic device (410) may include a processor (412) and a memory (413). The processor (412) of the first electronic device (410) may correspond to the processor (120) of FIG. 1. The memory (413) of the first electronic device (410) may correspond to the memory (130) of FIG. 1.
[0080] According to one embodiment, the processor (412) of the first electronic device (410) may be referred to as a controller (412). The operation of the first electronic device (410) according to one embodiment may be controlled by the processor (412) of the first electronic device (410). The first electronic device (410) performing a specific operation may be that the first electronic device (410) or a component included in the first electronic device (410) is controlled by the processor (412) of the first electronic device (410). The processor (412) may be a circuit that performs processing. The first electronic device (410) may include one or more processors (412). The operation(s) of the first electronic device (410) may be processed by one processor (412). Some of the operations of the first electronic device (410) may be processed by some of the processors (412) among the plurality of processors (120), and other of the operations of the first electronic device (410) may be processed by some of the processors (412) among the plurality of processors (120). Hereinafter, even when a plurality of processors (412) are implemented, for the convenience of explanation, the operations will be described as “operations of the first electronic device (410)” or “operations of the processor (412).” According to one embodiment, the memory (413) may include instructions configured to cause at least one operation. When the instructions are executed by the processor (412) of the first electronic device (410), the instructions may cause the first electronic device (410) to perform at least one operation. The first electronic device (410) may include one or more memories (413). Hereinafter, “memory (413)” may be one memory (413) or multiple memories (413). Instructions may be stored in one memory (413).Some of the instructions may be stored in some of the plurality of memories (413), and other of the instructions may be stored in other parts of the plurality of memories (413). Hereinafter, even when the memory (413) is implemented in multiple units, it will be referred to as "memory (413)" for convenience of explanation. According to one embodiment, a computer-readable storage medium storing instructions configured to cause at least one operation may be proposed.
[0081] Referring to FIG. 4, according to one embodiment, the second electronic device (420) may include a processor (422) and a memory (423). The processor (422) of the second electronic device (420) may correspond to the processor (120) of FIG. 1. The memory (423) of the second electronic device (420) may correspond to the memory (130) of FIG. 1.
[0082] According to one embodiment, the processor (422) of the second electronic device (420) may be referred to as a controller (422). The operation of the second electronic device (420) according to one embodiment may be controlled by the processor (422) of the second electronic device (420). The second electronic device (420) performing a specific operation may be that the second electronic device (420) or a component included in the second electronic device (420) is controlled by the processor (422) of the second electronic device (420). The processor (422) may be a circuit that performs processing. The second electronic device (420) may include one or more processors (422). The operation(s) of the second electronic device (420) may be processed by one processor (422). Some of the operations of the second electronic device (420) may be processed by some of the processors (422) among the plurality of processors (120), and other of the operations of the second electronic device (420) may be processed by some of the processors (422) among the plurality of processors (120). Hereinafter, even when a plurality of processors (422) are implemented, for the convenience of explanation, the operations will be described as “operations of the second electronic device (420)” or “operations of the processor (422).” According to one embodiment, the memory (423) may include instructions configured to cause at least one operation. When the instructions are executed by the processor (422) of the second electronic device (420), the instructions may cause the second electronic device (420) to perform at least one operation. The second electronic device (420) may include one or more memories (423). Hereinafter, “memory (423)” may be one memory (423) or multiple memories (423). Instructions may be stored in one memory (423).Some of the instructions may be stored in some of the plurality of memories (423), and other of the instructions may be stored in other parts of the plurality of memories (423). Hereinafter, even when the memory (423) is implemented in multiple units, it will be referred to as "memory (423)" for convenience of explanation. According to one embodiment, a computer-readable storage medium storing instructions configured to cause at least one operation may be proposed.
[0083] The descriptions of FIGS. 2, 3, and 4 can be applied to the embodiments described below. When describing the embodiments described below, portions that overlap with the descriptions of FIGS. 2, 3, and 4 may be omitted. Any portion omitted from the description of each drawing or each embodiment can be understood by referring to the descriptions of other drawings or embodiments.
[0084] FIG. 5 is a flowchart of a method of operating a first electronic device according to one embodiment. FIG. 5 can be described with reference to the previously described embodiments and the embodiments described below.
[0085] At least some of the operations of FIG. 5 may be omitted. The order of the operations of FIG. 5 may be changed. Operations other than those of FIG. 5 may be performed before, during, or after the operations of FIG. 5.
[0086] Referring to FIG. 5, in operation 501, according to one embodiment, a first electronic device (410) (e.g., processor (412)) may receive a signal including data from a second electronic device (420) via a communication circuit (411). The first electronic device (410) may receive first data for checking a noise level from the second electronic device (420). The first electronic device (410) may receive second data for checking a distance from the second electronic device (420). The first electronic device (410) may receive a signal including first data for checking a noise level and second data for checking a distance from the second electronic device (420). The second electronic device (420) may transmit the first data for checking a noise level to the first electronic device (410). The second electronic device (420) can transmit second data for checking the distance to the first electronic device (410). The second electronic device (420) can transmit a signal including first data for checking the noise level and second data for checking the distance to the first electronic device (410). The second electronic device (420) can serialize the first data for checking the noise level and the second data for checking the distance, and transmit a signal including the serialized data to the first electronic device (410).
[0087] The first data for checking the noise level and the second data for checking the distance are described in detail as follows.
[0088] According to one embodiment, the “first data for confirming the noise level” may be data (e.g., a sensing value, or a noise level confirmed based on the sensing value) (e.g., a signal to noise ratio (SNR), a sound pressure level) confirmed using a noise sensor (424) of the second electronic device (420). The second electronic device (420) may measure noise around the second electronic device (420) using the noise sensor (424). The second electronic device (420) may confirm the first data (e.g., a sensing value, or a noise level confirmed based on the sensing value) (e.g., a signal to noise ratio (SNR), a sound pressure level)) using the noise sensor (424) and transmit the confirmed first data to the first electronic device (410).
[0089] According to one embodiment, the “second data for verifying the distance” may be a value corresponding to the distance between electronic devices (e.g., the second electronic device (420) and the first electronic device (410)). For example, the second electronic device (420) may measure the distance between the second electronic device (420) and the first electronic device (410) using a distance measuring sensor (425). The second electronic device (420) may verify the second data (e.g., the distance between the second electronic device (420) and the first electronic device (410)) using the distance measuring sensor (425) and transmit the verified second data to the first electronic device (410). For example, the second electronic device (420) can measure the distance between the second electronic device (420) and the first electronic device (410) based on the reference RSSI (received signal strength indicator) of the first electronic device (410) (e.g., the communication circuit (411)) provided from the first electronic device (410). The reference RSSI can be an RSSI measured at a reference distance. The distance can be measured by comparing the RSSI of the received signal with the reference RSSI. The second electronic device (420) can confirm second data (e.g., the distance between the second electronic device (420) and the first electronic device (410)) by comparing the reference RSSI included in the signal received from the first electronic device (410) with the RSSI of the signal received from the first electronic device (410), and transmit the confirmed second data to the first electronic device (410).
[0090] For example, in operation 501, data transmitted from the second electronic device (420) to the first electronic device (410) may include data (e.g., a sensing value, or a noise level determined based on the sensing value) (e.g., a signal to noise ratio (SNR), a sound pressure level) confirmed using a noise sensor (424) of the second electronic device (420) and a value corresponding to a distance between the second electronic device (420) and the first electronic device (410).
[0091] According to one embodiment, the “second data for verifying the distance” may be a reference RSSI of the second electronic device (420) (e.g., the communication circuit (421)). The second electronic device (420) may verify the reference RSSI of the communication circuit (421) of the second electronic device (420) stored in the memory (423). The second electronic device (420) may transmit the second data for verifying the distance (e.g., the reference RSSI of the communication circuit (421) of the second electronic device (420)) to the first electronic device (410).
[0092] For example, in operation 501, data transmitted from the second electronic device (420) to the first electronic device (410) may include data (e.g., a sensed value, or a noise level determined based on the sensed value) (e.g., a signal to noise ratio (SNR), a sound pressure level) confirmed using a noise sensor (424) of the second electronic device (420) and a reference RSSI of a communication circuit (421) of the second electronic device (420).
[0093] In operation 503, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may determine the noise level around the second electronic device (420) based on the first data of operation 501. For example, when a sensing value of a noise sensor (424) is received from the second electronic device (420), the first electronic device (410) may calculate the noise level around the second electronic device (420) based on the received sensing value. For example, when a noise level determined based on the sensing value of the noise sensor (424) is received from the second electronic device (420), the first electronic device (410) may determine the noise level around the second electronic device (420) based on the received noise level.
[0094] In operation 505, according to one embodiment, the first electronic device (410) (e.g., processor (412)) can determine the distance between the second electronic device (420) and the first electronic device (410) based on the second data of operation 501. For example, when a value corresponding to the distance between the second electronic device (420) and the first electronic device (410) is received from the second electronic device (420), the first electronic device (410) can determine the distance between the second electronic device (420) and the first electronic device (410) based on the received value. For example, when a reference RSSI of a communication circuit (421) of a second electronic device (420) is received from a second electronic device (420), the first electronic device (410) can check the RSSI of a signal received from the second electronic device (420) in operation 501 and compare the checked RSSI with the reference RSSI of the communication circuit (421) of the second electronic device (420), thereby calculating the distance between the second electronic device (420) and the first electronic device (410).
[0095] In operation 507, according to one embodiment, the first electronic device (410) (e.g., the processor (412)) may determine the volume of the speaker (414) of the first electronic device (410) based on a noise level (e.g., a noise level around the second electronic device (420)) and a distance (e.g., a distance between the second electronic device (420) and the first electronic device (410)). For example, the first electronic device (410) may determine the volume based on the noise level and the distance based on a pre-stored algorithm. For example, the first electronic device (410) may determine the volume based on the noise level and the distance based on an artificial intelligence model. For example, the first electronic device (410) may determine to increase the volume of the speaker (414) based on determining that a higher volume than a preset volume of the speaker (414) is required based on the noise level and the distance. For example, the first electronic device (410) may determine to lower the volume of the speaker (414) based on determining that a lower volume than the preset volume of the speaker (414) is required based on noise level and distance.
[0096] In operation 509, according to one embodiment, the first electronic device (410) (e.g., the processor (412)) may output a signal through the speaker (414) based on the determined volume. For example, in operation 509, after receiving a user's voice command (e.g., "Hi Bixby. Tell me the weather today"), the first electronic device (410) (e.g., the artificial intelligence speaker) may perform the operations of FIG. 5 and, based on the determined volume, output a response result corresponding to the voice command (e.g., a signal corresponding to "The weather today is sunny") through the speaker. The voice command may include a call command (e.g., "Hi Bixby") and an action command (e.g., "Tell me the weather today"). For example, only the call command may be received, only the action command may be received, or the call command and the action command may be received sequentially. The response result corresponding to the voice command may include a response result corresponding to the call command (e.g., a specified sound, or “How may I help you?”) and / or a response result corresponding to the action command (e.g., “The weather is clear today.”). An embodiment related to the voice command will be described in detail with reference to FIG. 6. As an example of the operation 509, the first electronic device (410) (e.g., a TV, a Bluetooth speaker) may perform the operations of FIG. 5 while playing media (e.g., music, video, radio) and output a signal corresponding to the media (e.g., music, video, radio) through the speaker based on the determined volume. An embodiment related to playing the media will be described in detail with reference to FIG. 7.
[0097] Fig. 6 is a flowchart of a method of operating a first electronic device according to one embodiment. Fig. 6 can be explained with reference to the previously described embodiments and the embodiments described below.
[0098] At least some of the operations of FIG. 6 may be omitted. The order of the operations of FIG. 6 may be changed. Operations other than those of FIG. 6 may be performed before, during, or after the operations of FIG. 6.
[0099] Referring to FIG. 6, an embodiment related to the voice command described in operation 509 of FIGS. 2 and 5 can be described in detail.
[0100] Referring to FIG. 6, in operation 601, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may obtain a user's voice command. For example, as in FIG. 2, the first electronic device (410) (e.g., artificial intelligence speaker) may receive the user's voice command (e.g., “Hi Bixby. Tell me the weather today”) through a microphone (415). The first electronic device (410) may output a response result corresponding to the voice command (e.g., “The weather today is sunny”) through the speaker (414). For example, the response result corresponding to the voice command may be confirmed based on an artificial intelligence model built into the first electronic device (410). For example, in order to check a response result corresponding to a voice command, the first electronic device (410) may transmit a signal including information about the voice command to a server (e.g., 108) and receive a signal including information about the response result corresponding to the voice command from the server (e.g., 108). When outputting the response result corresponding to the voice command, the first electronic device (410) may adjust the volume of the speaker (414) as follows.
[0101] In operation 603, according to one embodiment, the first electronic device (410) (e.g., the processor 412) may request data (e.g., first data for determining a noise level and second data for determining a distance) from the second electronic device (420) through the communication circuit (411) based on obtaining the voice command in operation 601. The first electronic device (410) may transmit a first signal requesting the first data for determining a noise level and the second data for determining a distance to the second electronic device (420) through the communication circuit (411) based on obtaining the voice command. According to one embodiment, the first signal of operation 603 may include information on a reference RSSI of the communication circuit (411) of the first electronic device (410). According to one embodiment, the first signal of operation 603 may not include information on the reference RSSI. Although operation 603 describes the first electronic device (410) requesting data from the second electronic device (420), the first electronic device (410) may transmit a signal requesting data to an external device (e.g., an external device around the first electronic device (410)) that includes the second electronic device (420). That is, the operation including operation 603, in which the first electronic device (410) transmits a signal requesting data to the second electronic device (420), may be an operation in which the first electronic device (410) transmits a signal requesting data to an external device(s) (e.g., the second electronic device (420)) located around the first electronic device (410) via short-range communication.
[0102] In operation 605, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may check whether a specified time has elapsed after transmitting the first signal requesting data of operation 603. If data is received within the specified time, the first electronic device (410) may adjust the volume based on the received data, and if data is not received within the specified time, the first electronic device (410) may output a signal through the speaker (414) based on the preset volume. Operation 605 may be omitted.
[0103] In operation 607, according to one embodiment, the first electronic device (410) (e.g., the processor (412)) may receive a second signal including data (e.g., first data for determining a noise level and second data for determining a distance) from the second electronic device (420) through the communication circuit (411). As described above, the first data for determining a noise level may be data (e.g., a sensing value or a noise level determined based on a sensing value) (e.g., a signal to noise ratio (SNR), a sound pressure level) determined using a noise sensor (424) of the second electronic device (420). As described above, the second data for determining a distance may be a value corresponding to a distance between the second electronic device (420) and the first electronic device (410). Alternatively, as described above, the second data for verifying the distance may be the reference RSSI of the communication circuit (421) of the second electronic device (420).
[0104] In operation 609, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may determine a noise level around the second electronic device (420) and a distance between the second electronic device (420) and the first electronic device (410) based on data received from the second electronic device (420) (e.g., first data for determining a noise level and second data for determining a distance). The operation of determining the noise level and distance may be understood with reference to the description of operations 503 and 505 of FIG. 5.
[0105] In operation 611, according to one embodiment, the first electronic device (410) (e.g., the processor (412)) may determine the volume of the speaker (414) of the first electronic device (410) based on a noise level (e.g., a noise level around the second electronic device (420)) and a distance (e.g., a distance between the second electronic device (420) and the first electronic device (410)). The operation of determining the volume may be understood with reference to the description of operation 507 of FIG. 5. The first electronic device (410) may adjust the volume of the speaker (414) based on the determined volume. The operation of determining the volume may include an operation of adjusting the volume from a preset volume to the determined volume.
[0106] In operation 613, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may output a response result corresponding to the voice command through the speaker (414) based on the determined volume (e.g., the volume adjusted in operation 611, or a preset volume).
[0107] Fig. 7 is a flowchart of a method of operating a first electronic device according to one embodiment. Fig. 7 can be explained with reference to the previously described embodiments and the embodiments described below.
[0108] At least some of the operations of FIG. 7 may be omitted. The order of the operations of FIG. 7 may be changed. Operations other than those of FIG. 7 may be performed before, during, or after the operations of FIG. 7.
[0109] Referring to FIG. 7, an embodiment related to the playback of media described in operation 509 of FIGS. 3 and 5 can be described in detail.
[0110] Referring to FIG. 7, in operation 701, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may play media (e.g., music, video, radio) through the speaker (414). The first electronic device (410) may play media (e.g., music, video, radio) through the speaker (414) based on a preset volume.
[0111] In operation 703, according to one embodiment, the first electronic device (410) (e.g., the processor 412) may periodically, while playing media, request data (e.g., first data for determining a noise level and second data for determining a distance) from the second electronic device (420) via the communication circuit (411). The first electronic device (410) may periodically, while playing media, transmit a first signal requesting the first data for determining a noise level and the second data for determining a distance to the second electronic device (420) via the communication circuit (411). According to one embodiment, the first signal of operation 703 may include information about a reference RSSI of the communication circuit (411) of the first electronic device (410). According to one embodiment, the first signal of operation 703 may not include information about the reference RSSI. Including operation 703, the operation of the first electronic device (410) transmitting a signal periodically requesting data to the second electronic device (420) may be an operation of the first electronic device (410) transmitting a signal periodically requesting data to an external device(s) (e.g., the second electronic device (420)) located around the first electronic device (410) via short-range communication.
[0112] In operation 705, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may check whether a specified time has elapsed after transmitting the first signal requesting data of operation 703. If data is received within the specified time, the first electronic device (410) may adjust the volume based on the received data, and if data is not received within the specified time, the first electronic device (410) may output a signal through the speaker (414) based on the preset volume. Operation 705 may be omitted.
[0113] In operation 707, according to one embodiment, the first electronic device (410) (e.g., the processor (412)) may receive a second signal including data (e.g., first data for determining a noise level and second data for determining a distance) from the second electronic device (420) through the communication circuit (411). As described above, the first data for determining a noise level may be data (e.g., a sensing value or a noise level determined based on a sensing value) (e.g., a signal to noise ratio (SNR), a sound pressure level) determined using a noise sensor (424) of the second electronic device (420). As described above, the second data for determining a distance may be a value corresponding to a distance between the second electronic device (420) and the first electronic device (410). Alternatively, as described above, the second data for verifying the distance may be the reference RSSI of the communication circuit (421) of the second electronic device (420).
[0114] In operation 709, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may determine a noise level around the second electronic device (420) and a distance between the second electronic device (420) and the first electronic device (410) based on data received from the second electronic device (420) (e.g., first data for determining a noise level and second data for determining a distance). The operation of determining the noise level and distance may be understood with reference to the description of operations 503 and 505 of FIG. 5.
[0115] In operation 711, according to one embodiment, the first electronic device (410) (e.g., the processor (412)) may determine the volume of the speaker (414) of the first electronic device (410) based on a noise level (e.g., a noise level around the second electronic device (420)) and a distance (e.g., a distance between the second electronic device (420) and the first electronic device (410)). The operation of determining the volume may be understood with reference to the description of operation 507 of FIG. 5. The first electronic device (410) may adjust the volume of the speaker (414) based on the determined volume. The operation of determining the volume may include an operation of adjusting the volume from a preset volume to the determined volume.
[0116] In one embodiment, the first electronic device (410) (e.g., processor (412)) may output a signal corresponding to media (e.g., music, video, radio) through the speaker (414) based on a determined volume (e.g., a volume adjusted in operation 711, or a preset volume).
[0117] Fig. 8 is a flowchart of a method of operating a second electronic device according to one embodiment. Fig. 8 can be explained with reference to the previously described embodiments and the embodiments described below.
[0118] At least some of the operations of FIG. 8 may be omitted. The order of the operations of FIG. 8 may be changed. Operations other than those of FIG. 8 may be performed before, during, or after the operations of FIG. 8.
[0119] Referring to FIG. 8, in operation 801, according to one embodiment, the second electronic device (420) (e.g., the processor 422) may receive a first signal requesting data (e.g., first data for determining a noise level and second data for determining a distance) from the first electronic device (410) through the communication circuit (421). For example, the first electronic device (410) may transmit a first signal requesting the first data for determining a noise level and the second data for determining a distance to the second electronic device (420) through the communication circuit (411) based on obtaining a voice command. For example, the first electronic device (410) may periodically transmit a first signal requesting the first data for determining a noise level and the second data for determining a distance to the second electronic device (420) through the communication circuit (411) while playing media.
[0120] In operation 803, according to one embodiment, the second electronic device (420) (e.g., the processor (422)) can determine whether the second electronic device (420) is worn by the user. The second electronic device (420) can determine whether the second electronic device (420) is worn by the user based on receiving the first signal of operation 801. For example, the second electronic device (420) can determine whether the user is wearing the device based on confirming the user's biometric signal using the biometric sensor (176). For example, the second electronic device (420) can determine whether the user is wearing the device based on confirming the proximity of the user to the second electronic device (420) using the optical sensor (176). For example, the second electronic device (420) may determine whether the user is wearing the second electronic device (420) based on determining the movement of the second electronic device (420) using an acceleration sensor (176) or a gyro sensor (176). In one embodiment, the second electronic device (420) may not provide data (e.g., first data for determining a noise level and second data for determining a distance) to the first electronic device (410) based on determining that the second electronic device (420) is not being worn by the user.
[0121] In operation 805, according to one embodiment, the second electronic device (420) (e.g., the processor (422)) may use the noise sensor (424) to check the first data (e.g., the sensed value, or the noise level determined based on the sensed value) (e.g., the signal to noise ratio (SNR), the sound pressure level)). The second electronic device (420) may use the noise sensor (424) to check the first data (e.g., the sensed value, or the noise level determined based on the sensed value) (e.g., the signal to noise ratio (SNR), the sound pressure level)) based on confirming that the user is wearing the device. For example, the second electronic device (420) may check the sensed value obtained using the noise sensor (424) as the first data. For example, the second electronic device (420) may determine the noise level around the second electronic device (420) as first data based on the sensing value obtained using the noise sensor (424).
[0122] In operation 807, according to one embodiment, the second electronic device (420) (e.g., processor (422)) may check second data for verifying the distance. The second electronic device (420) may check the second data for verifying the distance based on verification of the user's wearing. For example, the second electronic device (420) may measure the distance between the second electronic device (420) and the first electronic device (410) using a distance measurement sensor (425). The second electronic device (420) may check a value corresponding to the measured distance as the second data. For example, the second electronic device (420) may check the reference RSSI (e.g., the reference RSSI of the communication circuit (411) of the first electronic device (410)) included in the first signal of operation 801. The second electronic device (420) can calculate the distance between the second electronic device (420) and the first electronic device (410) by comparing the RSSI of the first signal with the reference RSSI. The second electronic device (420) can confirm a value corresponding to the distance calculated based on the reference RSSI as the second data. For example, the second electronic device (420) can confirm the reference RSSI of the communication circuit (421) of the second electronic device (420) as the second data.
[0123] In operation 809, according to one embodiment, the second electronic device (420) (e.g., processor (422)) may serialize the first data and the second data. Serialization of the data may be an operation for transmitting a plurality of data as a single signal. For example, the second electronic device (420) may serialize data (e.g., a sensing value, or a noise level determined based on the sensing value) (e.g., a signal to noise ratio (SNR), a sound pressure level) identified using a noise sensor (424) and a value corresponding to a distance between the second electronic device (420) and the first electronic device (410). For example, the second electronic device (420) can serialize data (e.g., a sensing value, or a noise level determined based on a sensing value) (e.g., a signal to noise ratio (SNR), a sound pressure level) confirmed using a noise sensor (424) and a reference RSSI of a communication circuit (421) of the second electronic device (420).
[0124] In operation 811, according to one embodiment, the second electronic device (420) (e.g., processor (422)) may transmit a second signal including first data (e.g., sensed value, or noise level determined based on sensed value) (e.g., signal to noise ratio (SNR), sound pressure level) and second data for determining distance to the first electronic device (410) using the communication circuit (421) using the noise sensor (424).
[0125] FIG. 9 is a flowchart of a method of operating a second electronic device according to one embodiment. FIG. 9 can be described with reference to the previously described embodiments and the embodiments described below.
[0126] At least some of the operations of FIG. 9 may be omitted. The order of the operations of FIG. 9 may be changed. Operations other than those of FIG. 9 may be performed before, during, or after the operations of FIG. 9.
[0127] Referring to FIG. 9, in operation 901, according to one embodiment, the second electronic device (420) (e.g., the processor 422) may receive a first signal requesting data (e.g., first data for determining a noise level and second data for determining a distance) from the first electronic device (410) through the communication circuit (421). The first electronic device (410) may transmit a first signal requesting data (e.g., first data for determining a noise level and second data for determining a distance) to the second electronic device (420) through the communication circuit (411). The operation of receiving the first signal requesting data may be understood with reference to the description of operation 801 of FIG. 8.
[0128] In operation 903, according to one embodiment, the second electronic device (420) (e.g., processor (422)) may check the RSSI of the first signal of operation 901. The second electronic device (420) may check the RSSI of the first signal received through the communication circuit (421).
[0129] In operation 905, according to one embodiment, the second electronic device (420) (e.g., the processor (422)) may check the reference RSSI (e.g., the reference RSSI of the communication circuit (411) of the first electronic device (410)) included in the first signal of operation 901. The first signal transmitted from the first electronic device (410) to the second electronic device (420) may include the reference RSSI of the communication circuit (411) of the first electronic device (410).
[0130] In operation 907, according to one embodiment, the second electronic device (420) (e.g., the processor (422)) can determine the distance between the second electronic device (420) and the first electronic device (410) by comparing the RSSI of operation 903 with the reference RSSI of operation 905. The reference RSSI may be an RSSI measured at the reference distance. For example, if the RSSI of operation 903 is smaller than the reference RSSI of operation 905, the distance between the second electronic device (420) and the first electronic device (410) may be determined to be further than the reference distance. For example, if the RSSI of operation 903 is greater than the reference RSSI of operation 905, the distance between the second electronic device (420) and the first electronic device (410) may be determined to be closer than the reference distance. For example, the ratio of the RSSI of operation 903 to the reference RSSI of operation 905 may correspond to the ratio of the distance between the second electronic device (420) and the first electronic device (410) to the reference distance.
[0131] According to one embodiment, the second electronic device (420) can identify a value corresponding to the distance identified based on the reference RSSI according to operation 907 as second data of operation 807 (e.g., second data for measuring the distance).
[0132] FIG. 10 is a flowchart of a method of operating a first electronic device according to one embodiment.
[0133] Figure 10 can be explained with reference to the previously described embodiments and the embodiments described below.
[0134] At least some of the operations of FIG. 10 may be omitted. The order of the operations of FIG. 10 may be changed. Operations other than those of FIG. 10 may be performed before, during, or after the operations of FIG. 10.
[0135] Referring to FIG. 10, in operation 1001, according to one embodiment, a first electronic device (410) (e.g., processor (412)) may receive a signal including data including a value corresponding to a distance from a second electronic device (420) via a communication circuit (411). The second electronic device (420) may calculate a distance between the second electronic device (420) and the first electronic device (410). As described above, the calculation of the distance may be performed using a distance measurement sensor (425) or may be performed using a reference RSSI. The second electronic device (420) may transmit a signal including data including a value corresponding to the calculated distance to the first electronic device (410).
[0136] In operation 1003, according to one embodiment, the first electronic device (410) (e.g., processor (412)) can determine the distance between the second electronic device (420) and the first electronic device (410) based on the value corresponding to the distance in operation 1001. In this case, the first electronic device (410) can determine the distance between the second electronic device (420) and the first electronic device (410) without consuming resources required for the calculation operation.
[0137] FIG. 11 is a flowchart of a method of operating a first electronic device according to one embodiment.
[0138] Figure 11 can be explained with reference to the previously described embodiments and the embodiments described below.
[0139] At least some of the operations of FIG. 11 may be omitted. The order of the operations of FIG. 11 may be changed. Operations other than those of FIG. 11 may be performed before, during, or after the operations of FIG. 11.
[0140] Referring to FIG. 11, in operation 1101, according to one embodiment, a first electronic device (410) (e.g., processor (412)) may receive a signal including data including a reference RSSI (e.g., a reference RSSI of the communication circuit (421) of the second electronic device (420)) from a second electronic device (420) via a communication circuit (411). The second electronic device (420) may transmit a signal including data including the reference RSSI of the communication circuit (421) of the second electronic device (420) to the first electronic device (410).
[0141] In operation 1103, according to one embodiment, the first electronic device (410) (e.g., the processor (412)) can determine the distance between the second electronic device (420) and the first electronic device (410) by comparing the RSSI of the signal of operation 1101 with a reference RSSI included in the signal of operation 1101. The reference RSSI may be an RSSI measured at the reference distance. For example, when the RSSI of the received signal is smaller than the reference RSSI included in the received signal, the distance between the second electronic device (420) and the first electronic device (410) may be determined to be further than the reference distance. For example, when the RSSI of the received signal is larger than the reference RSSI included in the received signal, the distance between the second electronic device (420) and the first electronic device (410) may be determined to be closer than the reference distance. For example, the ratio of the RSSI of the received signal to the reference RSSI included in the received signal may correspond to the ratio of the distance between the second electronic device (420) and the first electronic device (410) to the reference distance.
[0142] FIG. 12 is a flowchart of a method of operating a second electronic device according to one embodiment. FIG. 12 can be described with reference to the previously described embodiments and the embodiments described below.
[0143] At least some of the operations of FIG. 12 may be omitted. The order of the operations of FIG. 12 may be changed. Operations other than those of FIG. 12 may be performed before, during, or after the operations of FIG. 12.
[0144] Referring to FIG. 12, in operation 1201, according to one embodiment, the second electronic device (420) (e.g., processor (422)) may verify a communication connection between the second electronic device (420) and the first electronic device (410). A communication connection may be established between the second electronic device (420) and the first electronic device (410). A communication connection may be established between a communication circuit (421) of the second electronic device (420) and a communication circuit (411) of the first electronic device (410).
[0145] In operation 1203, according to one embodiment, the second electronic device (420) (e.g., the processor (422)) can determine whether the second electronic device (420) is worn by the user. The second electronic device (420) can determine whether the second electronic device (420) is worn by the user based on confirming a communication connection between the second electronic device (420) and the first electronic device (410). For example, the second electronic device (420) can determine whether the user is wearing the device based on confirming a biometric signal of the user using a biometric sensor (176). For example, the second electronic device (420) can determine whether the user is wearing the device based on confirming a proximity of the user to the second electronic device (420) using a light sensor (176). For example, the second electronic device (420) can confirm the user's wearing based on confirming the movement of the second electronic device (420) using an acceleration sensor (176) or a gyro sensor (176).
[0146] In operation 1205, according to one embodiment, the second electronic device (420) (e.g., the processor (422)) may use the noise sensor (424) to determine first data (e.g., a sensed value, or a noise level determined based on the sensed value) (e.g., a signal to noise ratio (SNR), a sound pressure level)). The second electronic device (420) may use the noise sensor (424) to determine first data (e.g., a sensed value, or a noise level determined based on the sensed value) (e.g., a signal to noise ratio (SNR), a sound pressure level)) based on confirming that the user is wearing the device. For example, the second electronic device (420) may determine a sensed value obtained using the noise sensor (424) as the first data. For example, the second electronic device (420) may determine the noise level around the second electronic device (420) as first data based on the sensing value obtained using the noise sensor (424).
[0147] In operation 1207, according to one embodiment, the second electronic device (420) (e.g., processor (422)) may check second data for verifying the distance. The second electronic device (420) may check the second data for verifying the distance based on verification of the user's wearing. For example, the second electronic device (420) may measure the distance between the second electronic device (420) and the first electronic device (410) using a distance measurement sensor (425). The second electronic device (420) may check a value corresponding to the measured distance as the second data. For example, the second electronic device (420) may check the reference RSSI (e.g., the reference RSSI of the communication circuit (411) of the first electronic device (410)) included in the first signal of operation 801. The second electronic device (420) can calculate the distance between the second electronic device (420) and the first electronic device (410) by comparing the RSSI of the first signal with the reference RSSI. The second electronic device (420) can confirm a value corresponding to the distance calculated based on the reference RSSI as the second data. For example, the second electronic device (420) can confirm the reference RSSI of the communication circuit (421) of the second electronic device (420) as the second data.
[0148] In operation 1209, according to one embodiment, the second electronic device (420) (e.g., processor (422)) may serialize the first data and the second data. Serialization of the data may be an operation for transmitting a plurality of data as a single signal. For example, the second electronic device (420) may serialize data (e.g., a sensing value, or a noise level determined based on the sensing value) (e.g., a signal to noise ratio (SNR), a sound pressure level) identified using a noise sensor (424) and a value corresponding to a distance between the second electronic device (420) and the first electronic device (410). For example, the second electronic device (420) can serialize data (e.g., a sensing value, or a noise level determined based on a sensing value) (e.g., a signal to noise ratio (SNR), a sound pressure level) confirmed using a noise sensor (424) and a reference RSSI of a communication circuit (421) of the second electronic device (420).
[0149] In operation 1211, according to one embodiment, the second electronic device (420) (e.g., processor 422) may transmit a signal including first data (e.g., a sensed value, or a noise level determined based on the sensed value) (e.g., signal to noise ratio (SNR), sound pressure level) and second data for determining a distance, to the first electronic device (410) using the communication circuit (421) and the noise sensor (424). The operations of FIG. 12 may be continuously performed while the communication connection of operation 1201 is maintained. Accordingly, operation 1211 (e.g., an operation of transmitting a signal including the first data and the second data) may be performed periodically. The second electronic device (420) can periodically transmit a signal including first data for determining a noise level and second data for determining a distance to the first electronic device (410) while the second electronic device (420) is worn by the user.
[0150] FIG. 13 is a flowchart of a method of operating a second electronic device according to one embodiment. FIG. 13 can be described with reference to the previously described embodiments and the embodiments described below.
[0151] At least some of the operations of FIG. 13 may be omitted. The order of the operations of FIG. 13 may be changed. Operations other than those of FIG. 13 may be performed before, during, or after the operations of FIG. 13.
[0152] Referring to FIG. 13, in operation 1301, according to one embodiment, a first electronic device (410) (e.g., processor 412) may periodically receive a signal including data (e.g., first data for determining a noise level and second data for determining a distance). As in FIG. 12, a second electronic device (420) may periodically transmit a signal including data (e.g., first data for determining a noise level and second data for determining a distance) to the first electronic device (410). The first electronic device (410) may periodically receive a signal including data (e.g., first data for determining a noise level and second data for determining a distance) from the second electronic device (420).
[0153] In operation 1303, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may store the data received in operation 1301 in the memory (413). The stored data may be used in an operation for determining volume. For example, as the data of operation 1301 is periodically received, previously stored data may be updated with newly received data. For example, as the data of operation 1301 is periodically received, data may be accumulated.
[0154] In operation 1305, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may identify a delete event. The delete event may be an event requesting deletion of data stored in the memory (413) (e.g., first data for determining a noise level and second data for determining a distance). For example, the delete event may include the lapse of a specified period. In relation to the delete event, the lapse of the specified period may mean that no other data is received until the specified period has elapsed since the last data was received from an external device (e.g., second electronic device (420)). The data stored in the memory (413) may not be suitable for use in an operation for determining a volume upon the lapse of the specified period. Accordingly, the first electronic device (410) may identify the lapse of the specified period as a delete event. For example, the delete event may include the release of a communication connection. If the communication connection between the second electronic device (420) and the first electronic device (410) is disconnected, the data provided by the second electronic device (420) may not be suitable for use in the operation of determining the volume of the first electronic device (410). Accordingly, the first electronic device (410) may identify the disconnection of the communication connection as a deletion event.
[0155] In operation 1307, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may delete data (e.g., first data for determining a noise level and second data for determining a distance) stored in the memory (413) based on confirmation of a deletion event. By deleting the data stored in the memory (413) based on confirmation of a deletion event, the problem of volume being determined based on inappropriate data can be resolved.
[0156] In operation 1309, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may set the volume of the speaker (414) to a default volume. The default volume may be a preset volume before the volume is adjusted, or a volume designated as a default.
[0157] In operation 1311, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may output a signal through the speaker (414) based on the base volume.
[0158] In operation 1313, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may determine a noise level (e.g., noise level around the second electronic device (420)) and a distance (e.g., distance between the second electronic device (420) and the first electronic device (410)) based on data stored in the memory (413) based on the deletion event not being confirmed.
[0159] In operation 1315, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may determine the volume of the speaker (414) based on the noise level and distance.
[0160] In operation 1317, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may output a signal through the speaker (414) based on the determined volume.
[0161] FIG. 14 is a flowchart of a method of operating a first electronic device, a server, and external device(s) according to one embodiment.
[0162] Figure 14 can be explained with reference to the previously described embodiments and the embodiments described below.
[0163] At least some of the operations of FIG. 14 may be omitted. The order of the operations of FIG. 14 may be changed. Operations other than those of FIG. 14 may be performed before, during, or after the operations of FIG. 14.
[0164] Referring to FIG. 14, in operation 1401, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may obtain a voice command from a user. The first electronic device (410) may receive a voice command spoken by the user (e.g., “Hi Bixby. Tell me the weather today”) through a microphone (415).
[0165] In operation 1403, according to one embodiment, the first electronic device (410) (e.g., the processor (412)) may transmit a first signal requesting a response to the server (108) through the communication circuit (411) based on obtaining the voice command of operation 1401. The server (108) may receive the first signal requesting a response from the first electronic device (410). The “first signal requesting a response” of operation 1403 may include a first request requesting a response result corresponding to the voice command, and / or a second request requesting information about the volume of the speaker (414) of the first electronic device (410). According to one embodiment, the first electronic device (410) may confirm the response result corresponding to the voice command of operation 1401 through the server (108). In this case, the “first signal requesting a response” of operation 1403 may include a first request requesting a response result corresponding to the voice command, and a second request requesting information about the volume of the speaker (414) of the first electronic device (410). For example, the first electronic device (410) may transmit a signal (e.g., the first signal of operation 1403) including the first request requesting a response result corresponding to the voice command and the second request requesting information about the volume of the speaker (414) of the first electronic device (410) to the server (108) via the communication circuit (411). According to one embodiment, the first electronic device (410) may confirm the response result corresponding to the voice command of operation 1401 based on an artificial intelligence model built into the first electronic device (410). In this case, the “first signal requesting a response” of operation 1403 may include a second request requesting information about the volume of the speaker (414) of the first electronic device (410).For example, the first electronic device (410) may transmit a signal (e.g., the first signal of operation 1403) to the server (108) via the communication circuit (411) that includes a second request requesting information about the volume of the speaker (414) of the first electronic device (410).
[0166] If the “first signal requesting a response” of operation 1403 includes a first request requesting a response result corresponding to the voice command, operation 1405 may be performed. If the “first signal requesting a response” of operation 1403 does not include a first request requesting a response result corresponding to the voice command, operation 1405 may be omitted.
[0167] In operation 1405, according to one embodiment, the server (108) may confirm a response result corresponding to the voice command acquired by the first electronic device (410) based on receiving a signal including a first request requesting a response result corresponding to the voice command (e.g., the first signal of operation 1403). The first request requesting a response result corresponding to the voice command may include information about the voice command acquired by the first electronic device (410). The server (108) may confirm a response result (e.g., “Today’s weather is clear”) corresponding to the voice command acquired by the first electronic device (410) based on an artificial intelligence model of the server (108).
[0168] In operation 1407, according to one embodiment, the server (108) may wait for a specified period of time. The specified period of operation 1407 may be a period of time during which the server (108) waits to receive a signal from an external device (e.g., the first external device (1410) and / or the second external device (1420)). The server (108) may wait for the specified period of time based on receiving a signal (e.g., the first signal of operation 1403) including a second request requesting information about the volume of the speaker (414) of the first electronic device (410).
[0169] In operation 1409, according to one embodiment, the first electronic device (410) (e.g., the processor (412)) may transmit a second signal to the first external device (1410) (e.g., a device similar to the second electronic device (420) of FIG. 4) through the communication circuit (411) based on obtaining the voice command of operation 1401, requesting that the first external device (1410) provide data (e.g., first data for determining a noise level and second data for determining a distance) to the server (108). According to one embodiment, the second signal of operation 1409 may include information about a reference RSSI of the communication circuit (411) of the first electronic device (410). According to one embodiment, the second signal of operation 1409 may not include information about the reference RSSI. The operation of transmitting a signal requesting to provide data to the server (108), including operation 1409, may be an operation of the first electronic device (410) transmitting a signal requesting to provide data to the server (108) to external devices located around the first electronic device (410) via short-range communication. The first external device (1410) (e.g., a device similar to the second electronic device (420) of FIG. 4 ) may receive a second signal from the first electronic device (410) requesting to provide data (e.g., first data for determining a noise level and second data for determining a distance) to the server (108).
[0170] In operation 1411, according to one embodiment, the first external device (1410) (e.g., the processor (422) of FIG. 4 ) can determine whether the first external device (1410) is worn by the user. The first external device (1410) (e.g., a device similar to the second electronic device (420) of FIG. 4 ) can determine whether the first external device (1410) is worn by the user based on receiving the second signal of operation 1409. For example, the first external device (1410) can determine whether the user is wearing the device based on checking a biometric signal of the user using a biometric sensor (e.g., 176). For example, the first external device (1410) can determine whether the user is wearing the device based on checking a proximity of the user to the first external device (1410) using a light sensor (e.g., 176). For example, the first external device (1410) may determine whether the user is wearing the device based on detecting movement of the first external device (1410) using an acceleration sensor (e.g., 176) or a gyro sensor (e.g., 176). In one embodiment, the first external device (1410) may not provide data (e.g., first data for determining a noise level and second data for determining a distance) based on detecting that the first external device (1410) is not being worn by the user.
[0171] In operation 1413, according to one embodiment, the first external device (1410) (e.g., the processor (422) of FIG. 4) may verify data (e.g., first data for verifying a noise level and second data for verifying a distance) based on verification of the user's wearing. The operation of verifying data (e.g., first data for verifying a noise level and second data for verifying a distance) may be understood with reference to the descriptions of operations 805 and 807 of FIG. 8.
[0172] In operation 1415, according to one embodiment, the first external device (1410) (e.g., the processor (422) of FIG. 4) may transmit the data identified in operation 1413 (e.g., the first data for identifying the noise level and the second data for identifying the distance) to the server (108). The server (108) may receive the data (e.g., the first data for identifying the noise level and the second data for identifying the distance) from the first external device (1410).
[0173] In operation 1417, according to one embodiment, the first electronic device (410) (e.g., the processor (412)) may transmit a third signal to a second external device (1420) (e.g., a device similar to the second electronic device (420) of FIG. 4 ) via the communication circuit (411) based on obtaining the voice command of operation 1401, requesting that the second external device (1420) provide data (e.g., third data for determining a noise level and fourth data for determining a distance) to the server (108). The second external device (1420) (e.g., a device similar to the second electronic device (420) of FIG. 4 ) may receive the third signal from the first electronic device (410) requesting that the server (108) provide data (e.g., first data for determining a noise level and second data for determining a distance). Action 1417 is similar to action 1409, so any duplicate explanation will be omitted.
[0174] In operation 1419, according to one embodiment, the second external device (1420) (e.g., the processor (422) of FIG. 4 ) can determine whether the second external device (1420) is worn by the user. The second external device (1420) (e.g., a device similar to the second electronic device (420) of FIG. 4 ) can determine whether the second external device (1420) is worn by the user based on receiving the third signal of operation 1417. For example, the second external device (1420) can determine whether the user is wearing the device based on checking a biometric signal of the user using a biometric sensor (e.g., 176). For example, the second external device (1420) can determine whether the user is wearing the device based on checking a proximity of the user to the second external device (1420) using a light sensor (e.g., 176). For example, the second external device (1420) may determine whether the user is wearing the device based on detecting movement of the second external device (1420) using an acceleration sensor (e.g., 176) or a gyro sensor (e.g., 176). In one embodiment, the second external device (1420) may not provide data (e.g., third data for determining noise level and fourth data for determining distance) based on detecting that the second external device (1420) is not being worn by the user.
[0175] In operation 1421, according to one embodiment, the second external device (1420) (e.g., the processor (422) of FIG. 4) may verify data (e.g., third data for verifying a noise level and fourth data for verifying a distance) based on verification of the user's wearing. The operation of verifying data (e.g., third data for verifying a noise level and fourth data for verifying a distance) may be understood with reference to the descriptions of operations 805 and 807 of FIG. 8.
[0176] In operation 1423, according to one embodiment, the second external device (1420) (e.g., the processor (422) of FIG. 4) may transmit the data identified in operation 1421 (e.g., the third data for identifying the noise level and the fourth data for identifying the distance) to the server (108). The server (108) may receive the data (e.g., the third data for identifying the noise level and the fourth data for identifying the distance) from the second external device (1420).
[0177] In operation 1425, according to one embodiment, the server (108) may determine whether a specified period of time (e.g., a specified period of operation 1407) has elapsed. The server (108) may perform an operation of determining a volume, which will be described later, based on data received during the specified period of time (e.g., a specified period of operation 1407).
[0178] In operation 1427, according to one embodiment, the server (108) may determine the volume of the speaker (414) of the first electronic device (410) based on data (e.g., data of operation 1415 and data of operation 1423) received from external devices (e.g., the first external device (1410) and the second external device (1420)) based on the passage of a specified time (e.g., a specified period of operation 1407). The server (108) may determine a noise level and a distance based on the received data. For example, the server (108) may determine a first noise level around the first external device (1410) and a first distance between the first external device (1410) and the first electronic device (410) based on the data received from the first external device (1410). For example, the server (108) can determine a second noise level around the second external device (1420) and a second distance between the second external device (1420) and the first electronic device (410) based on data received from the second external device (1420). The server (108) can determine the volume of the speaker (414) of the first electronic device (410) based on the first noise level, the first distance, the second noise level, and the second distance. Meanwhile, there is no limitation on the method for determining the volume based on the noise level and the distance. For example, the server (108) can determine the volume based on the noise level and the distance based on a pre-stored algorithm. For example, the server (108) can determine the volume based on the noise level and the distance based on an artificial intelligence model.
[0179] In operation 1429, according to one embodiment, the server (108) may transmit a fourth signal including a response to the first electronic device (410). The first electronic device (410) may receive the fourth signal including the response from the server (108) via the communication circuit (411). The “fourth signal including the response” of operation 1429 may include a first response corresponding to a response result corresponding to the voice command, and / or a second response corresponding to information about the volume of the speaker (414) of the first electronic device (410) (e.g., information about the volume determined in operation 1427). According to one embodiment, the first electronic device (410) may confirm the response result corresponding to the voice command of operation 1401 via the server (108). In this case, the “fourth signal including a response” of operation 1429 may include a first response corresponding to a response result corresponding to the voice command, and a second response corresponding to information about the volume of the speaker (414) of the first electronic device (410). For example, the first electronic device (410) may receive a signal (e.g., the fourth signal of operation 1429) including a first response corresponding to a response result corresponding to the voice command, and a second response corresponding to information about the volume of the speaker (414) of the first electronic device (410) from the server (108) via the communication circuit (411). According to one embodiment, the first electronic device (410) may confirm the response result corresponding to the voice command of operation 1401 based on an artificial intelligence model built into the first electronic device (410). In this case, the “fourth signal including response” of operation 1429 may include a second response corresponding to information about the volume of the speaker (414) of the first electronic device (410).For example, the first electronic device (410) may receive a signal (e.g., a fourth signal of operation 1429) from the server (108) via the communication circuit (411) that includes a second response corresponding to information about the volume of the speaker (414) of the first electronic device (410).
[0180] In operation 1431, according to one embodiment, the first electronic device (410) (e.g., the processor (412)) may adjust the volume of the speaker (414) based on a fourth signal including a response to operation 1429. The fourth signal including a response to operation 1429 may include information about the volume of the speaker (414) of the first electronic device (410) (e.g., information about the volume determined in operation 1427). The first electronic device (410) may adjust the volume of the speaker (414) based on the volume determined by the server (108).
[0181] In operation 1433, according to one embodiment, the first electronic device (410) (e.g., the processor (412)) may output a response result corresponding to the voice command of operation 1401 through the speaker (414) based on the adjusted volume. According to one embodiment, the first electronic device (410) may confirm a response result corresponding to the voice command of operation 1401 based on the fourth signal including the response of operation 1429, and output the confirmed response result through the speaker (414) based on the adjusted volume. According to one embodiment, the first electronic device (410) may confirm a response result corresponding to the voice command based on an artificial intelligence model built into the first electronic device (410), and output the confirmed response result through the speaker (414) based on the adjusted volume.
[0182] FIG. 15 is a flowchart of a method of operating a first electronic device, a server, and external device(s) according to one embodiment.
[0183] Figure 15 can be explained with reference to the previously described embodiments and the embodiments described below.
[0184] At least some of the operations of FIG. 15 may be omitted. The order of the operations of FIG. 15 may be changed. Operations other than those of FIG. 15 may be performed before, during, or after the operations of FIG. 15.
[0185] Referring to FIG. 15, in operation 1501, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may play media (e.g., music, video, radio) through the speaker (414). The first electronic device (410) may play media (e.g., music, video, radio) through the speaker (414) based on a preset volume.
[0186] In operation 1503, according to one embodiment, the first electronic device (410) (e.g., processor (412)) may transmit a first signal requesting a response to the server (108) via the communication circuit (411) while playing the media of operation 1501. The server (108) may receive the first signal requesting a response from the first electronic device (410). The “first signal requesting a response” of operation 1503 may be a signal requesting information about the volume of the speaker (414) of the first electronic device (410).
[0187] In operation 1505, according to one embodiment, the server (108) may wait for a specified period of time. The specified period of operation 1505 may be a period of time during which the server (108) waits to receive a signal from an external device (e.g., the first external device (1510) and / or the second external device (1520)). The server (108) may wait for the specified period of time based on receiving a signal requesting information about the volume of the speaker (414) of the first electronic device (410) (e.g., the first signal of operation 1503).
[0188] In operation 1507, according to one embodiment, the first electronic device (410) (e.g., the processor (412)) may transmit a second signal to the first external device (1510) (e.g., a device similar to the second electronic device (420) of FIG. 4) via the communication circuit (411) while playing the media of operation 1501, requesting that the first external device (1510) provide data (e.g., first data for determining a noise level and second data for determining a distance) to the server (108). In one embodiment, the second signal of operation 1507 may include information about a reference RSSI of the communication circuit (411) of the first electronic device (410). In one embodiment, the second signal of operation 1507 may not include information about the reference RSSI. The operation of transmitting a signal requesting to provide data to the server (108), including operation 1507, may be an operation of the first electronic device (410) transmitting a signal requesting to provide data to the server (108) to external devices located around the first electronic device (410) via short-range communication. The first external device (1510) (e.g., a device similar to the second electronic device (420) of FIG. 4 ) may receive a second signal from the first electronic device (410) requesting to provide data (e.g., first data for determining a noise level and second data for determining a distance) to the server (108).
[0189] In operation 1509, according to one embodiment, the first external device (1510) (e.g., the processor (422) of FIG. 4 ) may determine whether the first external device (1510) is worn by the user. The first external device (1510) (e.g., a device similar to the second electronic device (420) of FIG. 4 ) may determine whether the first external device (1510) is worn by the user based on receiving the second signal of operation 1507. For example, the first external device (1510) may determine whether the user is wearing the device based on determining a biometric signal of the user using a biometric sensor (e.g., 176). For example, the first external device (1510) may determine whether the user is wearing the device based on determining a proximity of the user to the first external device (1510) using a light sensor (e.g., 176). For example, the first external device (1510) may determine whether the user is wearing the device based on detecting movement of the first external device (1510) using an acceleration sensor (e.g., 176) or a gyro sensor (e.g., 176). In one embodiment, the first external device (1510) may not provide data (e.g., first data for determining a noise level and second data for determining a distance) based on detecting that the first external device (1510) is not being worn by the user.
[0190] In operation 1511, according to one embodiment, the first external device (1510) (e.g., the processor (422) of FIG. 4) may verify data (e.g., first data for verifying a noise level and second data for verifying a distance) based on verification of the user's wearing. The operation of verifying data (e.g., first data for verifying a noise level and second data for verifying a distance) may be understood with reference to the descriptions of operations 805 and 807 of FIG. 8.
[0191] In operation 1513, according to one embodiment, the first external device (1510) (e.g., the processor (422) of FIG. 4) may transmit data identified in operation 1511 (e.g., first data for identifying a noise level and second data for identifying a distance) to the server (108). The server (108) may receive data (e.g., first data for identifying a noise level and second data for identifying a distance) from the first external device (1510).
[0192] In operation 1515, according to one embodiment, the first electronic device (410) (e.g., the processor (412)) may transmit a third signal to a second external device (1520) (e.g., a device similar to the second electronic device (420) of FIG. 4 ) via the communication circuit (411) while playing the media of operation 1501, requesting that the second external device (1520) provide data (e.g., third data for determining a noise level and fourth data for determining a distance) to the server (108). The second external device (1520) (e.g., a device similar to the second electronic device (420) of FIG. 4 ) may receive the third signal from the first electronic device (410) requesting that the server (108) provide data (e.g., first data for determining a noise level and second data for determining a distance). Action 1515 is similar to action 1507, so any duplicate explanation will be omitted.
[0193] In operation 1517, according to one embodiment, the second external device (1520) (e.g., the processor (422) of FIG. 4 ) can determine whether the second external device (1520) is worn by the user. The second external device (1520) (e.g., a device similar to the second electronic device (420) of FIG. 4 ) can determine whether the second external device (1520) is worn by the user based on receiving the third signal of operation 1515. For example, the second external device (1520) can determine whether the user is wearing the device based on determining a biometric signal of the user using a biometric sensor (e.g., 176). For example, the second external device (1520) can determine whether the user is wearing the device based on determining a proximity of the user to the second external device (1520) using a light sensor (e.g., 176). For example, the second external device (1520) may determine whether the user is wearing the device based on detecting movement of the second external device (1520) using an acceleration sensor (e.g., 176) or a gyro sensor (e.g., 176). In one embodiment, the second external device (1520) may not provide data (e.g., third data for determining noise level and fourth data for determining distance) based on detecting that the second external device (1520) is not being worn by the user.
[0194] In operation 1519, according to one embodiment, the second external device (1520) (e.g., the processor (422) of FIG. 4) may verify data (e.g., third data for verifying a noise level and fourth data for verifying a distance) based on verification of the user's wearing. The operation of verifying data (e.g., third data for verifying a noise level and fourth data for verifying a distance) may be understood with reference to the descriptions of operations 805 and 807 of FIG. 8.
[0195] In operation 1521, according to one embodiment, the second external device (1520) (e.g., the processor (422) of FIG. 4) may transmit the data identified in operation 1519 (e.g., the third data for identifying the noise level and the fourth data for identifying the distance) to the server (108). The server (108) may receive the data (e.g., the third data for identifying the noise level and the fourth data for identifying the distance) from the second external device (1520).
[0196] In operation 1523, according to one embodiment, the server (108) may determine whether a specified period of time (e.g., a specified period of operation 1505) has elapsed. The server (108) may perform an operation of determining a volume, which will be described later, based on data received during the specified period of time (e.g., a specified period of operation 1505).
[0197] In operation 1525, according to one embodiment, the server (108) may determine the volume of the speaker (414) of the first electronic device (410) based on data (e.g., data of operation 1513 and data of operation 1521) received from external devices (e.g., the first external device (1510) and the second external device (1520)) based on the passage of a specified time (e.g., a specified period of operation 1505). The server (108) may determine a noise level and a distance based on the received data. For example, the server (108) may determine a first noise level around the first external device (1510) and a first distance between the first external device (1510) and the first electronic device (410) based on the data received from the first external device (1510). For example, the server (108) can determine a second noise level around the second external device (1520) and a second distance between the second external device (1520) and the first electronic device (410) based on data received from the second external device (1520). The server (108) can determine the volume of the speaker (414) of the first electronic device (410) based on the first noise level, the first distance, the second noise level, and the second distance. Meanwhile, there is no limitation on the method for determining the volume based on the noise level and the distance. For example, the server (108) can determine the volume based on the noise level and the distance based on a pre-stored algorithm. For example, the server (108) can determine the volume based on the noise level and the distance based on an artificial intelligence model.
[0198] In operation 1527, according to one embodiment, the server (108) may transmit a fourth signal including a response to the first electronic device (410). The first electronic device (410) may receive the fourth signal including the response from the server (108) via the communication circuit (411). The “fourth signal including the response” of operation 1527 may include a response corresponding to information about the volume of the speaker (414) of the first electronic device (410) (e.g., information about the volume determined in operation 1525).
[0199] In operation 1531, according to one embodiment, the first electronic device (410) (e.g., the processor (412)) may adjust the volume of the speaker (414) based on a fourth signal including a response to operation 1527. The fourth signal including a response to operation 1527 may include information about the volume of the speaker (414) of the first electronic device (410) (e.g., information about the volume determined in operation 1525). The first electronic device (410) may adjust the volume of the speaker (414) based on the volume determined by the server (108).
[0200] In one embodiment, the first electronic device (410) (e.g., processor (412)) may play media through the speaker (414) based on the adjusted volume.
[0201] According to one embodiment, the first electronic device (410) (e.g., processor (412)) may periodically perform the operations of FIG. 15 while playing media.
[0202] Those skilled in the art will appreciate that the embodiments described herein may be applied interchangeably, within the scope of their applicability. For example, those skilled in the art will appreciate that at least some operations of one embodiment described herein may be omitted and applied, or at least some operations of one embodiment may be applied in conjunction.
[0203] The technical tasks to be achieved in this document are not limited to the technical tasks mentioned above, and other technical tasks not mentioned will be clearly understood by those with ordinary skill in the technical field to which this document pertains from the description below.
[0204] The effects that can be obtained from the present disclosure are not limited to the effects mentioned above, and other effects that are not mentioned can be clearly understood by a person having ordinary skill in the art to which the present disclosure belongs from the description below.
[0205] According to one embodiment, a first electronic device (101; 210; 310; 410) may include a communication circuit (190; 411), a speaker (155; 414), at least one processor (120; 412), and a memory (130; 413) including instructions. The instructions, when executed by the at least one processor (120; 412), may cause the first electronic device (101; 210; 310; 410) to perform at least one operation. The at least one operation may include receiving a first signal including first data confirmed using a noise sensor (424) of a second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and second data for confirming a distance from the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) through the communication circuit (190; 411). The at least one operation may include an operation of checking a noise level around the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) based on the first data. The at least one operation may include an operation of checking a distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) based on the second data. The at least one operation may include an operation of determining a volume of the speaker (155; 414) based on the noise level and the distance. The at least one action may include outputting a signal through the speaker (155; 414) based on the determined volume.
[0206] According to one embodiment, the first electronic device (101; 210; 310; 410) may include a microphone (150; 415). In the first electronic device (101; 210; 310; 410), the at least one operation may include an operation of obtaining a voice command from a user through the microphone (150; 415). The at least one operation may include an operation of requesting the first data and the second data to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) through the communication circuit (190; 411) based on obtaining the voice command. In the first electronic device (101; 210; 310; 410), the operation of outputting the signal through the speaker (155; 414) may include an operation of outputting a response result corresponding to the voice command through the speaker (155; 414) based on the volume determined based on the first data and the second data.
[0207] In one embodiment, in the first electronic device (101; 210; 310; 410), the at least one operation may include an operation of playing media through the speaker (155; 414). The at least one operation may include an operation of periodically requesting the first data and the second data from the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) through the communication circuit (190; 411) while playing the media. In the first electronic device (101; 210; 310; 410), the operation of outputting the signal through the speaker (155; 414) may include an operation of playing the media through the speaker (155; 414) based on the volume determined based on the first data and the second data.
[0208] According to one embodiment, the second data may include a value corresponding to the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410).
[0209] According to one embodiment, the second data may include a first value corresponding to a distance determined using a distance measurement sensor (176; 425) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520).
[0210] According to one embodiment, in the first electronic device (101; 210; 310; 410), the at least one operation may include transmitting a second signal requesting the first data and the second data to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) via the communication circuit (190; 411). The second signal may include an operation of a first reference received signal strength indicator (RSSI) of the first electronic device (101; 210; 310; 410). The second data may include a second value corresponding to the distance determined by comparing the first reference RSSI with the RSSI of the second signal received from the first electronic device (101; 210; 310; 410) in the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520).
[0211] In one embodiment, the second data may include a second reference RSSI of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). In the first electronic device (101; 210; 310; 410), the operation of checking the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) may include an operation of checking the RSSI of the first signal received from the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). The operation of checking the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) may include an operation of checking the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) by comparing the RSSI of the first signal with the second reference RSSI.
[0212] According to one embodiment, a method of operating a first electronic device (101; 210; 310; 410) may include receiving a first signal including first data confirmed using a noise sensor (424) of a second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and second data for confirming a distance, from the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). The method may include an operation of checking a noise level around the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) based on the first data. The method may include an operation of checking a distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) based on the second data. The method may include an operation of determining a volume of a speaker (155; 414) of the first electronic device (101; 210; 310; 410) based on the noise level and the distance. The method may include an operation of outputting a signal through the speaker (155; 414) based on the determined volume.
[0213] According to one embodiment, in the first electronic device (101; 210; 310; 410), the method may include an operation of obtaining a voice command from a user through the microphone (150; 415). Based on obtaining the voice command, the method may include an operation of requesting the first data and the second data to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) through the communication circuit (190; 411). In the first electronic device (101; 210; 310; 410), the operation of outputting the signal through the speaker (155; 414) may include an operation of outputting a response result corresponding to the voice command through the speaker (155; 414) based on the volume determined based on the first data and the second data.
[0214] In one embodiment, in the first electronic device (101; 210; 310; 410), the method may include an operation of playing media through the speaker (155; 414). The method may include an operation of periodically requesting the first data and the second data from the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) through the communication circuit (190; 411) while playing the media. In the first electronic device (101; 210; 310; 410), the operation of outputting the signal through the speaker (155; 414) may include an operation of playing the media through the speaker (155; 414) based on the volume determined based on the first data and the second data.
[0215] According to one embodiment, the second data may include a value corresponding to the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410).
[0216] According to one embodiment, the second data may include a first value corresponding to a distance determined using a distance measurement sensor (176; 425) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520).
[0217] In one embodiment, in the first electronic device (101; 210; 310; 410), the method may include transmitting a second signal requesting the first data and the second data to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) via the communication circuit (190; 411). The second signal may include a first reference received signal strength indicator (RSSI) of the first electronic device (101; 210; 310; 410). The second data may include a second value corresponding to the distance determined by comparing the first reference RSSI with the RSSI of the second signal received from the first electronic device (101; 210; 310; 410) in the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520).
[0218] In one embodiment, the second data may include a second reference RSSI of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). In the first electronic device (101; 210; 310; 410), the operation of checking the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) may include an operation of checking the RSSI of the first signal received from the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). The operation of checking the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) may include an operation of checking the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) by comparing the RSSI of the first signal with the second reference RSSI.
[0219] According to one embodiment, a storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor (120; 412) of a first electronic device (101; 210; 310; 410), cause the first electronic device (101; 210; 310; 410) to perform at least one operation. The at least one operation may include receiving a first signal including first data confirmed using a noise sensor (424) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and second data for confirming a distance, from the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). The at least one operation may include an operation of checking a noise level around the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) based on the first data. The at least one operation may include an operation of checking a distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) based on the second data. The at least one operation may include an operation of determining a volume of a speaker (155; 414) of the first electronic device (101; 210; 310; 410) based on the noise level and the distance. The at least one operation may include an operation of outputting a signal through the speaker (155; 414) based on the determined volume.
[0220] According to one embodiment, in relation to the first electronic device (101; 210; 310; 410), in the storage medium, the at least one operation may include an operation of obtaining a voice command from a user via the microphone (150; 415). The at least one operation may include an operation of requesting the first data and the second data to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) via the communication circuit (190; 411) based on obtaining the voice command. In the above storage medium, the operation of outputting the signal through the speaker (155; 414) may include an operation of outputting a response result corresponding to the voice command through the speaker (155; 414) based on the volume determined based on the first data and the second data.
[0221] In one embodiment, with respect to the first electronic device (101; 210; 310; 410), in the storage medium, the at least one operation may include an operation of playing media through the speaker (155; 414). The at least one operation may include an operation of periodically requesting the first data and the second data from the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) through the communication circuit (190; 411) while playing the media. In the above storage medium, the operation of outputting the signal through the speaker (155; 414) may include an operation of playing the media through the speaker (155; 414) based on the volume determined based on the first data and the second data.
[0222] According to one embodiment, the second data may include a value corresponding to the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410).
[0223] According to one embodiment, the second data may include a first value corresponding to a distance determined using a distance measurement sensor (176; 425) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520).
[0224] In one embodiment, with respect to the first electronic device (101; 210; 310; 410), in the storage medium, the at least one operation may include transmitting a second signal requesting the first data and the second data to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) via the communication circuit (190; 411). The second signal may include a first reference RSSI (received signal strength indicator) of the first electronic device (101; 210; 310; 410). The second data may include a second value corresponding to the distance determined by comparing the first reference RSSI with the RSSI of the second signal received from the first electronic device (101; 210; 310; 410) in the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520).
[0225] In one embodiment, the second data may include a second reference RSSI of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). In relation to the first electronic device (101; 210; 310; 410), the operation of checking the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) in the storage medium may include an operation of checking the RSSI of the first signal received from the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). The operation of checking the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) may include an operation of checking the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) by comparing the RSSI of the first signal with the second reference RSSI.
[0226] According to one embodiment, a first electronic device (101; 210; 310; 410) may include a communication circuit (190; 411), a speaker (155; 414), at least one processor (120; 412), and a memory (130; 413) including instructions. The instructions, when executed by the at least one processor (120; 412), may cause the first electronic device (101; 210; 310; 410) to perform at least one operation. The at least one operation may include transmitting a first signal requesting a response to a server (108) via the communication circuit (190; 411). The at least one operation may include transmitting a second signal to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) via the communication circuit (190; 411), requesting that the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) provide data to the server (108). The at least one operation may include receiving the response from the server (108) via the communication circuit (190; 411). Here, the response may include information about a volume determined by the server (108) based on the data received from the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). The data may include first data confirmed using a noise sensor (424) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), and second data for confirming a distance.The at least one action may include outputting a signal through the speaker (155; 414) based on the information about the volume included in the response.
[0227] According to one embodiment, the first electronic device (101; 210; 310; 410) may include a microphone (150; 415). In the first electronic device (101; 210; 310; 410), the operation of transmitting the first signal requesting the response may include an operation of transmitting the first signal requesting the response to the server (108) through the communication circuit (190; 411) based on obtaining a voice command from a user through the microphone (150; 415). The first signal may include a first request requesting a response result corresponding to the voice command, and a second request requesting information about the volume. In the first electronic device (101; 210; 310; 410), the operation of outputting the signal through the speaker (155; 414) may include an operation of outputting the response result corresponding to the voice command included in the response through the speaker (155; 414).
[0228] In one embodiment, in the first electronic device (101; 210; 310; 410), the operation of transmitting the first signal requesting the response may include an operation of periodically transmitting the first signal requesting the response to the server (108) through the communication circuit (190; 411) while playing media through the speaker (155; 414). In the first electronic device (101; 210; 310; 410), the operation of outputting the signal through the speaker (155; 414) may include an operation of playing the media through the speaker (155; 414) based on the information about the volume included in the response.
[0229] According to one embodiment, a method of operating a first electronic device (101; 210; 310; 410) may include transmitting a first signal requesting a response to a server (108) via a communication circuit (190; 411) of the first electronic device (101; 210; 310; 410). The method may include an operation of transmitting a second signal requesting that the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) provide data to the server (108) via the communication circuit (190; 411) to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). The method may include an operation of receiving the response from the server (108) via the communication circuit (190; 411). Here, the response may include information about a volume determined by the server (108) based on the data received from the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). The data may include first data confirmed using a noise sensor (424) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), and second data for confirming a distance. The method may include an operation of outputting a signal through the speaker (155; 414) based on the information about the volume included in the response.
[0230] According to one embodiment, the first electronic device (101; 210; 310; 410) may include a microphone (150; 415). The operation of transmitting the first signal requesting the response may include an operation of transmitting the first signal requesting the response to the server (108) through the communication circuit (190; 411) based on obtaining a voice command from a user through the microphone (150; 415). The first signal may include a first request requesting a response result corresponding to the voice command, and a second request requesting information about the volume. The operation of outputting the signal through the speaker (155; 414) may include an operation of outputting the response result corresponding to the voice command included in the response through the speaker (155; 414).
[0231] In one embodiment, the operation of transmitting the first signal requesting the response may include an operation of periodically transmitting the first signal requesting the response to the server (108) via the communication circuit (190; 411) while playing media through the speaker (155; 414). The operation of outputting the signal through the speaker (155; 414) may include an operation of playing the media through the speaker (155; 414) based on the information about the volume included in the response.
[0232] According to one embodiment, a storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor (120; 412) of a first electronic device (101; 210; 310; 410), cause the first electronic device (101; 210; 310; 410) to perform at least one operation. The at least one operation may include transmitting a first signal requesting a response to a server (108) via a communication circuit (190; 411) of the first electronic device (101; 210; 310; 410). The at least one operation may include transmitting a second signal to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) via the communication circuit (190; 411), requesting that the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) provide data to the server (108). The at least one operation may include receiving the response from the server (108) via the communication circuit (190; 411). Here, the response may include information about a volume determined by the server (108) based on the data received from the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). The data may include first data confirmed using a noise sensor (424) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), and second data for confirming a distance.The at least one action may include outputting a signal through the speaker (155; 414) based on the information about the volume included in the response.
[0233] According to one embodiment, the first electronic device (101; 210; 310; 410) may include a microphone (150; 415). With respect to the first electronic device (101; 210; 310; 410), the operation of transmitting the first signal requesting the response in the storage medium may include an operation of transmitting the first signal requesting the response to the server (108) through the communication circuit (190; 411) based on obtaining a voice command from a user through the microphone (150; 415). The first signal may include a first request requesting a response result corresponding to the voice command, and a second request requesting information about the volume. In the above storage medium, the operation of outputting the signal through the speaker (155; 414) may include an operation of outputting the response result corresponding to the voice command included in the response through the speaker (155; 414).
[0234] In one embodiment, with respect to the first electronic device (101; 210; 310; 410), the operation of transmitting the first signal requesting the response in the storage medium may include an operation of periodically transmitting the first signal requesting the response to the server (108) via the communication circuit (190; 411) while playing media through the speaker (155; 414). In the storage medium, the operation of outputting the signal through the speaker (155; 414) may include an operation of playing the media through the speaker (155; 414) based on the information about the volume included in the response.
[0235] According to one embodiment, the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) may include a communication circuit (190; 421), a noise sensor (176; 424), at least one sensor (176; 426) configured to confirm wearing by a user, at least one processor (120; 422), and a memory (130; 423) including instructions. The above instructions, when executed by the at least one processor (120; 422), may cause the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) to perform at least one operation. The at least one operation may include receiving a first signal requesting data from the first electronic device (101; 210; 310; 410) via the communication circuit (190; 421). The at least one operation may include an operation of confirming, based on reception of the first signal, wearing of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) by the user using the at least one sensor (176; 426). The at least one operation may include an operation of transmitting, based on confirmation of the wearing, a second signal including first data confirmed using the noise sensor (176; 424) and second data for confirming a distance to the first electronic device (101; 210; 310; 410) via the communication circuit (190; 421).
[0236] According to one embodiment, in the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), the first signal may be transmitted from the first electronic device (101; 210; 310; 410) to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) based on a voice command being obtained from the user through a microphone (150; 415) of the first electronic device (101; 210; 310; 410).
[0237] According to one embodiment, in the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), the first signal may be periodically transmitted from the first electronic device (101; 210; 310; 410) to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) while playing media through a speaker (155; 414) of the first electronic device (101; 210; 310; 410).
[0238] According to one embodiment, in the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), the second data may include a value corresponding to a distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410).
[0239] According to one embodiment, the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) may include a distance measurement sensor (176; 425). In the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), the second data may include a first value corresponding to a distance determined using the distance measurement sensor (176; 425) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520).
[0240] According to one embodiment, in the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), the first signal may include a first reference RSSI of the first electronic device (101; 210; 310; 410). In the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), the at least one operation may include an operation of checking the RSSI of the first signal received from the first electronic device (101; 210; 310; 410). The at least one operation may include an operation of determining a distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) by comparing the RSSI of the first signal with the first reference RSSI. The second data may include a second value corresponding to the distance determined by comparing the RSSI of the first signal with the first reference RSSI.
[0241] According to one embodiment, in the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), the second data may include a second reference RSSI of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520).
[0242] According to one embodiment, in the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), the at least one sensor (176; 426) may include at least one of a biometric sensor (176), a light sensor (176), an acceleration sensor (176), or a gyro sensor (176). An operation of confirming that the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) is worn by the user may include an operation of confirming the wearing based on confirming a biometric signal of the user using the biometric sensor (176). The operation of confirming that the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) is worn by the user may include an operation of confirming the wearing based on confirming proximity of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the user using the light sensor (176). The operation of confirming that the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) is worn by the user may include an operation of confirming the wearing based on confirming the movement of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) using the acceleration sensor (176) or the gyro sensor (176).
[0243] According to one embodiment, a method of operating a second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) may include receiving a first signal requesting data from a first electronic device (101; 210; 310; 410) via a communication circuit (190; 421) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). The method may include an operation of confirming wearing of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) by the user using at least one sensor (176; 426) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), based on reception of the first signal. The method may include an operation of transmitting a second signal including first data confirmed using a noise sensor (176; 424) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and second data for confirming a distance, to the first electronic device (101; 210; 310; 410) through the communication circuit (190; 421), based on the confirmation of the wearing.
[0244] According to one embodiment, in the method of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), the first signal may be transmitted from the first electronic device (101; 210; 310; 410) to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) based on a voice command being obtained from the user through a microphone (150; 415) of the first electronic device (101; 210; 310; 410).
[0245] According to one embodiment, in the method of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), the first signal may be periodically transmitted from the first electronic device (101; 210; 310; 410) to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) while playing media through a speaker (155; 414) of the first electronic device (101; 210; 310; 410).
[0246] According to one embodiment, in the method of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), the second data may include a value corresponding to a distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410).
[0247] According to one embodiment, the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) may include a distance measuring sensor (176; 425). In the method of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), the second data may include a first value corresponding to a distance confirmed using the distance measuring sensor (176; 425) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520).
[0248] According to one embodiment, in the method of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), the first signal may include a first reference RSSI of the first electronic device (101; 210; 310; 410). The method of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) may include an operation of checking the RSSI of the first signal received from the first electronic device (101; 210; 310; 410). The method may include an operation of determining a distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) by comparing the RSSI of the first signal with the first reference RSSI. The second data may include a second value corresponding to the distance determined by comparing the RSSI of the first signal with the first reference RSSI.
[0249] According to one embodiment, in the method of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), the second data may include a second reference RSSI of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520).
[0250] According to one embodiment, the at least one sensor (176; 426) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) may include at least one of a biometric sensor (176), a light sensor (176), an acceleration sensor (176), or a gyro sensor (176). In the method of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), the operation of confirming that the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) is worn by the user may include an operation of confirming the wearing based on confirming the user's bio-signal using the bio-sensor (176). The operation of confirming that the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) is worn by the user may include an operation of confirming the wearing based on confirming proximity of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the user using the light sensor (176). The operation of confirming that the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) is worn by the user may include an operation of confirming the wearing based on confirming the movement of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) using the acceleration sensor (176) or the gyro sensor (176).
[0251] According to one embodiment, a storage medium storing computer-readable instructions, wherein the instructions, when executed by at least one processor (120; 422) of a second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), cause the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) to perform at least one operation. The at least one operation may include receiving a first signal requesting data from the first electronic device (101; 210; 310; 410) via a communication circuit (190; 421) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). The at least one operation may include an operation of confirming wearing of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) by the user using at least one sensor (176; 426) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), based on reception of the first signal. The at least one operation may include an operation of transmitting a second signal including first data confirmed using a noise sensor (176; 424) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and second data for confirming a distance, to the first electronic device (101; 210; 310; 410) through the communication circuit (190; 421), based on the confirmation of the wearing.
[0252] According to one embodiment, in relation to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), in the storage medium, the first signal may be transmitted from the first electronic device (101; 210; 310; 410) to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) based on a voice command being obtained from the user through a microphone (150; 415) of the first electronic device (101; 210; 310; 410).
[0253] In one embodiment, with respect to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), in the storage medium, the first signal may be periodically transmitted from the first electronic device (101; 210; 310; 410) to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) while playing media through a speaker (155; 414) of the first electronic device (101; 210; 310; 410).
[0254] According to one embodiment, in relation to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), in the storage medium, the second data may include a value corresponding to a distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410).
[0255] According to one embodiment, the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) may include a distance measuring sensor (176; 425). In relation to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), in the storage medium, the second data may include a first value corresponding to a distance determined using the distance measuring sensor (176; 425) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520).
[0256] In one embodiment, with respect to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), in the storage medium, the first signal may include a first reference RSSI of the first electronic device (101; 210; 310; 410). With respect to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), in the storage medium, the at least one operation may include an operation of checking the RSSI of the first signal received from the first electronic device (101; 210; 310; 410). The at least one operation may include an operation of determining a distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) by comparing the RSSI of the first signal with the first reference RSSI. The second data may include a second value corresponding to the distance determined by comparing the RSSI of the first signal with the first reference RSSI.
[0257] According to one embodiment, in relation to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), in the storage medium, the second data may include a second reference RSSI of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520).
[0258] According to one embodiment, the at least one sensor (176; 426) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) may include at least one of a biometric sensor (176), a light sensor (176), an acceleration sensor (176), or a gyro sensor (176). In relation to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), in the storage medium, the operation of confirming that the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) is worn by the user may include an operation of confirming the wearing based on confirming the user's bio-signal using the bio-sensor (176). The operation of confirming that the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) is worn by the user may include an operation of confirming the wearing based on confirming proximity of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the user using the light sensor (176). The operation of confirming that the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) is worn by the user may include an operation of confirming the wearing based on confirming the movement of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) using the acceleration sensor (176) or the gyro sensor (176).
[0259] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.
[0260] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
[0261] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0262] Various embodiments of the present document may be implemented as software (e.g., a program) including one or more instructions stored on a storage medium that can be read by a machine (e.g., an electronic device). For example, a processor (e.g., a controller) of the machine may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic waves), and this term does not distinguish between cases where data is stored semi-permanently and cases where it is stored temporarily in the storage medium.
[0263] According to one embodiment, the method according to various embodiments disclosed in the present document may be provided as included in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0264] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
Claims
1. In the first electronic device (101; 210; 310; 410), Communication circuit (190; 411); Speaker (155; 414); At least one processor (120; 412); and Contains a memory (130; 413) containing instructions, The above instructions, when executed by the at least one processor (120; 412), cause the first electronic device (101; 210; 310; 410) to perform at least one operation, At least one of the above actions: An operation of receiving a first signal including first data confirmed by using a noise sensor (424) of a second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and second data for confirming a distance from the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) through the communication circuit (190; 411), An operation of checking the noise level around the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) based on the first data, An operation of checking the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) based on the second data, An operation of determining the volume of the speaker (155; 414) based on the above noise level and the above distance, An operation of outputting a signal through the speaker (155; 414) based on the determined volume. First electronic device (101; 210; 310; 410).
2. In paragraph 1, Including additional microphones (150; 415), At least one of the above actions: An operation of obtaining a voice command from a user through the above microphone (150; 415), Based on obtaining the above voice command, the operation of requesting the first data and the second data to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) through the communication circuit (190; 411) is included. The operation of outputting the signal through the above speaker (155; 414) is as follows: An operation of outputting a response result corresponding to the voice command through the speaker (155; 414) based on the volume determined based on the first data and the second data, First electronic device (101; 210; 310; 410).
3. In paragraph 1 or 2, At least one of the above actions: An operation of playing media through the above speaker (155; 414), During the playback of the above media, the operation of periodically requesting the first data and the second data to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) through the communication circuit (190; 411) includes, The operation of outputting the signal through the above speaker (155; 414) is as follows: An operation of playing the media through the speaker (155; 414) based on the volume determined based on the first data and the second data, First electronic device (101; 210; 310; 410).
4. In any one of paragraphs 1 to 3, The second data includes a value corresponding to the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410). First electronic device (101; 210; 310; 410).
5. In any one of paragraphs 1 to 4, The second data includes a first value corresponding to a distance detected by a distance measuring sensor (176; 425) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). First electronic device (101; 210; 310; 410).
6. In any one of paragraphs 1 to 5, At least one of the above actions, An operation of transmitting a second signal requesting the first data and the second data to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) through the communication circuit (190; 411), The second signal comprises a first reference RSSI (received signal strength indicator) of the first electronic device (101; 210; 310; 410), The second data includes a second value corresponding to the distance, which is confirmed by comparing the first reference RSSI with the RSSI of the second signal received from the first electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). First electronic device (101; 210; 310; 410).
7. In any one of paragraphs 1 to 6, The second data includes a second reference RSSI of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), The operation of checking the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) is, An operation of checking the RSSI of the first signal received from the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), An operation of checking the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) by comparing the RSSI of the first signal with the second reference RSSI, First electronic device (101; 210; 310; 410).
8. In the operating method of the first electronic device (101; 210; 310; 410), An operation of receiving a first signal including first data confirmed by using a noise sensor (424) of a second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and second data for confirming a distance, from the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), An operation of checking the noise level around the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) based on the first data, An operation of checking the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) based on the second data, An operation of determining the volume of the speaker (155; 414) of the first electronic device (101; 210; 310; 410) based on the noise level and the distance, An operation of outputting a signal through the speaker (155; 414) based on the determined volume. method.
9. In paragraph 8, An action of obtaining a voice command from a user through a microphone (150; 415), Based on obtaining the above voice command, the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) includes an operation of requesting the first data and the second data, The operation of outputting the signal through the above speaker (155; 414) is as follows: An operation of outputting a response result corresponding to the voice command through the speaker (155; 414) based on the volume determined based on the first data and the second data, method.
10. In clause 8 or 9, An operation of playing media through the above speaker (155; 414), An operation of requesting the first data and the second data to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) periodically while playing the media, The operation of outputting the signal through the above speaker (155; 414) is as follows: An operation of playing the media through the speaker (155; 414) based on the volume determined based on the first data and the second data, method.
11. In any one of paragraphs 8 to 10, The second data includes a value corresponding to the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410). method.
12. In any one of paragraphs 8 to 11, The second data includes a first value corresponding to a distance detected by a distance measuring sensor (176; 425) of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). method.
13. In any one of paragraphs 8 to 12, An operation of transmitting a second signal requesting the first data and the second data to the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), The second signal comprises a first reference RSSI (received signal strength indicator) of the first electronic device (101; 210; 310; 410), The second data includes a second value corresponding to the distance, which is confirmed by comparing the first reference RSSI with the RSSI of the second signal received from the first electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520). method.
14. In any one of paragraphs 8 to 13, The second data includes a second reference RSSI of the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), The operation of checking the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) is, An operation of checking the RSSI of the first signal received from the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), An operation of checking the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) by comparing the RSSI of the first signal with the second reference RSSI, method.
15. In a storage medium storing computer-readable instructions, the instructions, when executed by at least one processor (120; 412) of a first electronic device (101; 210; 310; 410), cause the first electronic device (101; 210; 310; 410) to perform at least one operation, At least one of the above actions: An operation of receiving a first signal including first data confirmed by using a noise sensor (424) of a second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and second data for confirming a distance, from the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520), An operation of checking the noise level around the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) based on the first data, An operation of checking the distance between the second electronic device (101; 220; 230; 320; 330; 420; 1410; 1420; 1510; 1520) and the first electronic device (101; 210; 310; 410) based on the second data, An operation of determining the volume of the speaker (155; 414) of the first electronic device (101; 210; 310; 410) based on the noise level and the distance, An operation of outputting a signal through the speaker (155; 414) based on the determined volume. Storage medium.
Citation Information
Patent Citations
Volume adjusting method, wearable equipment, terminal equipment, and volume adjusting system
CN106470374A
Computer auxiliary support
CN112904986A
Volume adjusting method and system and electronic equipment
CN115145527A
Acoustic processing device and method
JP2011123376A
IoT Weighing device for resource circulation
KR102703797B1