KR20220106643A - Electronic device controlled based on sound data and method of controlling electronic device based on sound data - Google Patents

Electronic device controlled based on sound data and method of controlling electronic device based on sound data Download PDF

Info

Publication number
KR20220106643A
KR20220106643A KR1020210048760A KR20210048760A KR20220106643A KR 20220106643 A KR20220106643 A KR 20220106643A KR 1020210048760 A KR1020210048760 A KR 1020210048760A KR 20210048760 A KR20210048760 A KR 20210048760A KR 20220106643 A KR20220106643 A KR 20220106643A
Authority
KR
South Korea
Prior art keywords
electronic device
sound
wearable electronic
display
surrounding environment
Prior art date
Application number
KR1020210048760A
Other languages
Korean (ko)
Inventor
민순기
네이선 로버트 포크먼
션 라이언 본하이머
고아름
도영욱
성주일
장시학
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to EP22742828.1A priority Critical patent/EP4206900A4/en
Priority to PCT/KR2022/000993 priority patent/WO2022158852A1/en
Priority to US17/581,389 priority patent/US20220239269A1/en
Publication of KR20220106643A publication Critical patent/KR20220106643A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/03Cooperating elements; Interaction or communication between different cooperating elements or between cooperating elements and receivers
    • G01S19/04Cooperating elements; Interaction or communication between different cooperating elements or between cooperating elements and receivers providing carrier phase data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/163Wearable computers, e.g. on a belt
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences

Abstract

According to various embodiments, an electronic device includes a communication circuit, a display, at least one sensor, and at least one processor. The at least one processor may be configured to obtain sound data regarding a surrounding environment from a wearable electronic device through the communication circuit, obtain sensor data through the at least one sensor, identify whether the surrounding environment matches one of a plurality of preset contexts, based on the sound data and the sensor data, and perform at least one of transmission, to the wearable electronic device, of a signal for controlling the wearable electronic device through the communication circuit or display of a notification message on the display, based on the matching context, a state of the display, or a state whether the wearable electronic device outputs a sound, in response to identifying that the surrounding environment matches one of the plurality of preset contexts. Various embodiments are possible.

Description

소리 데이터에 기초하여 제어되는 전자 장치 및 소리 데이터에 기초하여 전자 장치를 제어하는 방법{ELECTRONIC DEVICE CONTROLLED BASED ON SOUND DATA AND METHOD OF CONTROLLING ELECTRONIC DEVICE BASED ON SOUND DATA}An electronic device controlled based on sound data and a method for controlling an electronic device based on sound data

다양한 실시예는 소리 데이터에 기초하여 제어되는 전자 장치 및 소리 데이터에 기초하여 전자 장치를 제어하는 방법에 관한 것이다.Various embodiments relate to an electronic device controlled based on sound data and a method for controlling an electronic device based on sound data.

최근 무선 블루투스 이어폰과 같은 웨어러블 전자 장치가 널리 보급되고 있다. 웨어러블 전자 장치는 마이크와 같은 소리 입력 장치를 포함하고, 소리 입력 장치를 통하여 외부 소리를 감지하고, 감지된 외부 소리에 기초하여 동작을 제어할 수 있다. 예를 들어, 웨어러블 전자 장치는 감지된 외부 소리에 기초하여 외부 소음이 사용자에게 들리지 않게 하는 노이즈 캔슬링 기능을 활성화 또는 비활성화거나, 출력 중인 소리의 크기를 조절하거나, 외부 소리 듣기 기능을 활성화 또는 비활성화시키거나, 사용자의 주의를 끌기 위한 알림음을 출력할 수 있다.Recently, wearable electronic devices such as wireless Bluetooth earphones have been widely used. The wearable electronic device may include a sound input device such as a microphone, sense an external sound through the sound input device, and control an operation based on the sensed external sound. For example, the wearable electronic device activates or deactivates a noise canceling function that prevents external noise from being heard by the user based on the detected external sound, adjusts the volume of the sound being output, or enables or disables the external sound listening function. Alternatively, a notification sound to draw the user's attention may be output.

웨어러블 전자 장치는 감지된 외부 소리에 기초하여 상황을 판단하고, 판단된 상황에 따라 사용자의 주의를 끌기 위한 알림음을 출력할 수 있으나, 사용자의 부주의로 알림음에 주의를 기울이지 않은 경우 알림음을 출력한 효과가 떨어질 수 있다. The wearable electronic device may determine a situation based on the sensed external sound and output a notification sound to draw the user's attention according to the determined situation. The printed effect may be reduced.

또한, 웨어러블 전자 장치가 감지된 외부 소리에 기초하여 동작을 제어하는 경우, 사용자가 처한 상황을 나타낼 수 있는 다른 파라미터들이 고려되지 않고, 외부 소리에만 의존하여 상황을 판단하므로, 상황 판단의 정확도에 한계가 있을 수 있다.In addition, when the wearable electronic device controls an operation based on a sensed external sound, other parameters that may indicate the user's situation are not considered and the wearable electronic device determines the situation only based on the external sound, thereby limiting the accuracy of situation determination there may be

다양한 실시예에 따른 전자 장치는 웨어러블 전자 장치로부터 획득된 소리 데이터에, 센서 데이터를 함께 고려하여 사용자가 처한 상황을 판단하고, 일치하는 상황, 디스플레이의 상태, 및 웨어러블 전자 장치에서 소리를 출력 중인지 여부를 고려하여, 디스플레이 상에 알림 메시지를 표시하거나, 웨어러블 전자 장치를 제어할 수 있다.The electronic device according to various embodiments determines a situation of a user by considering sensor data together with sound data obtained from the wearable electronic device, a matching situation, a state of a display, and whether the wearable electronic device is outputting a sound In consideration of this, a notification message may be displayed on the display or the wearable electronic device may be controlled.

다양한 실시예에 따른 전자 장치는, 통신 회로, 디스플레이, 적어도 하나의 센서, 및 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 통신 회로를 통하여, 웨어러블 전자 장치로부터 주변 환경에 관한 소리 데이터를 획득하고, 상기 적어도 하나의 센서를 통하여 센서 데이터를 획득하고, 상기 소리 데이터 및 상기 센서 데이터에 기초하여, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하고, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치한다고 확인되는 것에 응답하여, 상기 일치하는 상황, 상기 디스플레이의 상태, 및 상기 웨어러블 전자 장치에서 소리를 출력 중인지 여부에 기초하여, 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 통신 회로를 통하여 상기 웨어러블 전자 장치에 송신하는 것, 또는 상기 디스플레이 상에 알림 메시지를 표시하는 것 중 적어도 하나를 수행하도록 설정될 수 있다.An electronic device according to various embodiments of the present disclosure includes a communication circuit, a display, at least one sensor, and at least one processor, wherein the at least one processor receives a sound related to the surrounding environment from the wearable electronic device through the communication circuit. acquiring data, acquiring sensor data through the at least one sensor, and determining whether the surrounding environment matches one of a plurality of preset situations based on the sound data and the sensor data, and In response to determining that the environment matches one of a plurality of preset situations, controlling the wearable electronic device based on the matching situation, the state of the display, and whether the wearable electronic device is outputting a sound It may be configured to perform at least one of transmitting a signal to the wearable electronic device through the communication circuit and displaying a notification message on the display.

다양한 실시예에 따른, 전자 장치에서 수행되는 방법은, 웨어러블 전자 장치로부터 주변 환경에 관한 소리 데이터를 획득하는 동작, 상기 전자 장치의 적어도 하나의 센서를 통하여 센서 데이터를 획득하는 동작, 상기 소리 데이터 및 상기 센서 데이터에 기초하여, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하는 동작, 및 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치한다고 확인되는 것에 응답하여, 상기 일치하는 상황, 상기 전자 장치의 디스플레이의 상태, 및 상기 웨어러블 전자 장치에서 소리를 출력 중인지 여부에 기초하여, 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하는 것, 또는 상기 디스플레이 상에 알림 메시지를 표시하는 것 중 적어도 하나를 수행하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, a method performed in an electronic device includes an operation of acquiring sound data about a surrounding environment from a wearable electronic device, an operation of acquiring sensor data through at least one sensor of the electronic device, the sound data and determining, based on the sensor data, whether the surrounding environment matches one of a plurality of preset situations; and in response to determining that the surrounding environment matches one of a plurality of preset situations, the matching transmitting a signal for controlling the wearable electronic device to the wearable electronic device, or on the display, based on a situation in which the electronic device is outputting a sound; It may include an operation of performing at least one of displaying a notification message.

다양한 실시예에 따른 웨어러블 전자 장치는, 통신 회로, 소리 입력 장치, 소리 출력 장치, 적어도 하나의 센서, 및 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 통신 회로를 통하여, 외부 전자 장치와 통신 연결을 형성하고, 상기 소리 입력 장치를 통하여 주변 환경에 관한 소리 데이터를 획득하고, 상기 적어도 하나의 센서를 통하여 센서 데이터를 획득하고, 상기 소리 데이터 및 상기 센서 데이터에 기초하여, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하고, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치한다고 확인되는 것에 응답하여, 상기 일치하는 상황, 상기 외부 전자 장치의 디스플레이의 상태, 및 상기 소리 출력 장치에서 소리를 출력 중인지 여부에 기초하여, 상기 소리 출력 장치를 제어하는 것, 또는 상기 디스플레이 상에 알림을 표시하도록 상기 외부 전자 장치에 신호를 송신하는 것 중 적어도 하나를 수행하도록 설정될 수 있다.A wearable electronic device according to various embodiments of the present disclosure includes a communication circuit, a sound input device, a sound output device, at least one sensor, and at least one processor, wherein the at least one processor includes an external electronic device through the communication circuit. establish a communication connection with a device, obtain sound data about the surrounding environment through the sound input device, obtain sensor data through the at least one sensor, based on the sound data and the sensor data, It is checked whether an environment matches one of a plurality of preset situations, and in response to determining that the surrounding environment matches one of a plurality of preset situations, the matching situation, a state of a display of the external electronic device and, based on whether the sound output device is outputting sound, at least one of controlling the sound output device or transmitting a signal to the external electronic device to display a notification on the display can be set.

다양한 실시예에 따라서, 소리 데이터에 기초하여 제어되는 전자 장치 및 소리 데이터에 기초하여 전자 장치를 제어하는 방법이 제공된다. 다양한 실시예에 따른 전자 장치는 웨어러블 전자 장치로부터 획득된 소리 데이터에, 센서 데이터를 함께 고려하여 사용자가 처한 상황을 판단하고, 상황, 디스플레이의 상태, 및 웨어러블 전자 장치에서 소리를 출력 중인지 여부를 고려하여, 디스플레이 상에 알림 메시지를 표시하거나, 웨어러블 전자 장치를 제어할 수 있다.According to various embodiments, an electronic device controlled based on sound data and a method for controlling an electronic device based on sound data are provided. The electronic device according to various embodiments determines a user's situation by considering the sensor data together with the sound data obtained from the wearable electronic device, and considers the situation, the state of the display, and whether the wearable electronic device is outputting sound Accordingly, a notification message may be displayed on the display or the wearable electronic device may be controlled.

다양한 실시예에 따른 전자 장치는 디스플레이 상에 알림 메시지를 표시할 수 있으므로, 사용자가 부주의로 웨어러블 전자 장치에서 출력되는 알림음에 주의를 기울이지 않았더라도, 디스플레이 상에 표시된 알림 메시지를 인식할 수 있으므로, 사용자의 주의를 효과적으로 끌 수 있다.Since the electronic device according to various embodiments may display a notification message on the display, even if the user inadvertently does not pay attention to the notification sound output from the wearable electronic device, the notification message displayed on the display may be recognized, It can effectively attract the user's attention.

다양한 실시예에 따른 전자 장치는 웨어러블 전자 장치로부터 획득된 소리 데이터에, 센서 데이터를 함께 고려하여 사용자가 처한 상황을 판단하므로, 소리 데이터에만 의존하는 것에 비하여 사용자가 처한 상황을 정확하게 판단할 수 있다.Since the electronic device according to various embodiments determines the user's situation in consideration of the sensor data and the sound data obtained from the wearable electronic device, it is possible to accurately determine the user's situation as compared to relying only on the sound data.

도 1은 다양한 실시예에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 다양한 실시예에 따른, 웨어러블 전자 장치의 블록도이다.
도 3은 다양한 실시예에 따른 전자 장치에서 수행되는 동작들을 도시한다.
도 4는 다양한 실시예에 따른 전자 장치에서 수행되는 동작들을 도시한다.
도 5는 다양한 실시예에 따른 전자 장치에서 수행되는 동작들을 도시한다.
도 6a 내지 도 6c는 다양한 실시예에 따른 전자 장치에서 표시되는 예시적인 화면을 도시한다.
도 7은 다양한 실시예에 따른, 웨어러블 전자 장치의 블록도이다.
도 8은 다양한 실시예에 따른 웨어러블 전자 장치에서 수행되는 동작들을 도시한다.
도 9는 다양한 실시예에 따른 웨어러블 전자 장치에서 수행되는 동작들을 도시한다.
도 10은 다양한 실시예에 따른 웨어러블 전자 장치에서 수행되는 동작들을 도시한다.
도 11은 일 실시예에 따른 웨어러블 전자 장치에 포함될 수 있는 제1 무선 오디오 장치의 정면도 및 배면도를 도시한다.
1 is a block diagram of an electronic device in a network environment, according to various embodiments of the present disclosure;
2 is a block diagram of a wearable electronic device according to various embodiments of the present disclosure;
3 illustrates operations performed by an electronic device according to various embodiments.
4 illustrates operations performed by an electronic device according to various embodiments.
5 illustrates operations performed by an electronic device according to various embodiments.
6A to 6C illustrate exemplary screens displayed on an electronic device according to various embodiments.
7 is a block diagram of a wearable electronic device according to various embodiments of the present disclosure;
8 illustrates operations performed by a wearable electronic device according to various embodiments of the present disclosure.
9 illustrates operations performed by a wearable electronic device according to various embodiments of the present disclosure.
10 illustrates operations performed by a wearable electronic device according to various embodiments of the present disclosure.
11 is a front view and a rear view of a first wireless audio device that may be included in a wearable electronic device according to an exemplary embodiment.

도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 in a network environment 100, according to various embodiments. Referring to FIG. 1 , in a network environment 100 , an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an antenna module 197 . In some embodiments, at least one of these components (eg, the connection terminal 178 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components (eg, sensor module 176 , camera module 180 , or antenna module 197 ) are integrated into one component (eg, display module 160 ). can be

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, a program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be stored in , process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 . According to an embodiment, the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, when the electronic device 101 includes the main processor 121 and the sub-processor 123 , the sub-processor 123 uses less power than the main processor 121 or is set to be specialized for a specified function. can The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The secondary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to an embodiment, the coprocessor 123 (eg, an image signal processor or a communication processor) may be implemented as part of another functionally related component (eg, the camera module 180 or the communication module 190 ). have. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example. The artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176 ) of the electronic device 101 . The data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto. The memory 130 may include a volatile memory 132 or a non-volatile memory 134 .

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. 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 .

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive a command or data to be used by a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 . The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output a sound signal to the outside of the electronic device 101 . The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.

디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 . The display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device. According to an embodiment, the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 , or an external electronic device (eg, a sound output module 155 ) connected directly or wirelessly with the electronic device 101 . The electronic device 102) (eg, a speaker or headphones) may output a sound.

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to an embodiment, the sensor module 176 may 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, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ). According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ). According to an embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication performance through the established communication channel. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a local area network (LAN) communication module, or a power line communication module). A corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 . The electronic device 101 may be identified or authenticated.

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR). NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)). The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 uses various techniques for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication module 192 may support various requirements defined in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ). According to an embodiment, the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: Downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) can be supported.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas (eg, 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 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) other than the radiator may be additionally formed as a part of the antenna module 197 .

다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( e.g. commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or a part of operations executed in the electronic device 101 may be executed in one or more external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a function or service automatically or in response to a request from a user or other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 . The electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an Internet of things (IoT) device. The server 108 may be an intelligent server using machine learning and/or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199 . The electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

도 2는 다양한 실시예에 따른, 웨어러블 전자 장치의 블록도이다. 도 2를 참조하면, 웨어러블 전자 장치(200)는 소리 입력 장치(210), 소리 출력 장치(220), 통신 회로(230), 및 프로세서(240)를 포함할 수 있다. 다양한 실시예에 따라서, 소리 입력 장치(210)는 웨어러블 전자 장치(200) 주변에서 발생하는 소리를 감지하여 소리에 대응하는 데이터를 생성할 수 있다. 다양한 실시예에 따라서, 소리 입력 장치(210)는 생성된 데이터를 프로세서(240)에 전달할 수 있다. 예를 들어, 소리 입력 장치(210)는 적어도 하나의 마이크를 포함할 수 있다. 2 is a block diagram of a wearable electronic device according to various embodiments of the present disclosure; Referring to FIG. 2 , the wearable electronic device 200 may include a sound input device 210 , a sound output device 220 , a communication circuit 230 , and a processor 240 . According to various embodiments, the sound input device 210 may detect a sound generated in the vicinity of the wearable electronic device 200 and generate data corresponding to the sound. According to various embodiments, the sound input device 210 may transmit the generated data to the processor 240 . For example, the sound input device 210 may include at least one microphone.

다양한 실시예에 따라서, 소리 출력 장치(220)는 프로세서(240)로부터 전달받은 전기 신호에 기초하여 소리를 출력할 수 있다. 다양한 실시예에 따라서, 소리 입력 장치(210)는 스피커를 포함할 수 있다.According to various embodiments, the sound output device 220 may output a sound based on an electrical signal received from the processor 240 . According to various embodiments, the sound input device 210 may include a speaker.

다양한 실시예에 따라서, 통신 회로(230)는 웨어러블 전자 장치(200) 외의 다른 전자 장치들과 웨어러블 전자 장치(200) 사이의 무선 통신을 지원할 수 있다. 다양한 실시예에 따라서, 통신 회로(230)에 의하여 지원되는 무선 통신의 종류는 제한되지 않는다. 예를 들어서, 통신 회로(230)는 블루투스 및 BLE(bluetooth low energy) 방식의 통신을 지원할 수 있다.According to various embodiments, the communication circuit 230 may support wireless communication between the wearable electronic device 200 and other electronic devices other than the wearable electronic device 200 . According to various embodiments, the type of wireless communication supported by the communication circuit 230 is not limited. For example, the communication circuit 230 may support Bluetooth and Bluetooth low energy (BLE) communication.

다양한 실시예에 따라서, 프로세서(240)는 웨어러블 전자 장치(200)의 다른 구성요소들로부터 데이터를 획득하고, 획득된 데이터에 기초하여 다양한 데이터 처리 또는 연산을 수행하고, 다른 구성요소들의 동작을 제어하기 위한 신호를 다른 구성요소들에 전달할 수 있다. 다양한 실시예에 따라서, 웨어러블 전자 장치(200)는 복수 개의 프로세서(240)를 포함할 수 있다.According to various embodiments, the processor 240 obtains data from other components of the wearable electronic device 200 , performs various data processing or operations based on the obtained data, and controls operations of other components. It may transmit a signal to other components. According to various embodiments, the wearable electronic device 200 may include a plurality of processors 240 .

도 3은 다양한 실시예에 따른 전자 장치에서 수행되는 동작들을 도시한다. 310 동작에서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는, 통신 회로(예를 들어, 통신 모듈(190))을 통하여 웨어러블 전자 장치(예를 들어, 웨어러블 전자 장치(200))로부터 주변 환경에 관한 소리 데이터를 획득할 수 있다. 다양한 실시예에 따라서, 소리 데이터는 웨어러블 전자 장치(200)의 소리 입력 장치(210)를 통하여 획득되고, 통신 회로(230)를 통하여 전자 장치(101)에 전달될 수 있다.3 illustrates operations performed by an electronic device according to various embodiments. In operation 310 , at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) performs a wearable device through a communication circuit (eg, the communication module 190 ). Sound data regarding the surrounding environment may be obtained from the electronic device (eg, the wearable electronic device 200 ). According to various embodiments, sound data may be acquired through the sound input device 210 of the wearable electronic device 200 and transmitted to the electronic device 101 through the communication circuit 230 .

320 동작에서, 전자 장치(101)의 적어도 하나의 프로세서(120)는, 적어도 하나의 센서(예를 들어, 센서 모듈(176))을 통하여 센서 데이터를 획득할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 센서(176)는 GPS 센서를 포함하고, 센서 데이터는 전자 장치(101)의 위치 정보를 나타낼 수 있다. 다양한 실시예에 따라서, 적어도 하나의 센서(176)는 진동 센서를 포함할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 센서(176)는 마이크를 포함할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 센서(176)는 가속도 센서 및/또는 자이로 센서와 같은, 전자 장치(101)의 운동 상태를 검출하는 센서를 포함할 수 있다.In operation 320 , the at least one processor 120 of the electronic device 101 may acquire sensor data through at least one sensor (eg, the sensor module 176 ). According to various embodiments, the at least one sensor 176 may include a GPS sensor, and the sensor data may indicate location information of the electronic device 101 . According to various embodiments, the at least one sensor 176 may include a vibration sensor. According to various embodiments, the at least one sensor 176 may include a microphone. According to various embodiments, the at least one sensor 176 may include a sensor that detects a motion state of the electronic device 101 , such as an acceleration sensor and/or a gyro sensor.

330 동작에서, 전자 장치(101)의 적어도 하나의 프로세서(120)는 소리 데이터 및 센서 데이터에 기초하여, 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인할 수 있다. 다양한 실시예에 따라서, 미리 설정된 복수의 상황은, 전자 장치(101)의 사용자가 발화하는 상황, 실내에서 타인이 전자 장치(101)의 사용자를 부르고 있는 상황, 전자 장치(101)의 사용자가 활동 중인 상황, 실내 이벤트 상황, 실내에서 안전 이슈가 있는 상황, 또는 전자 장치(101)의 사용자가 교통 수단을 이용중인 상황 중 적어도 하나를 포함할 수 있다.In operation 330 , the at least one processor 120 of the electronic device 101 may determine whether the surrounding environment matches one of a plurality of preset situations based on the sound data and the sensor data. According to various embodiments of the present disclosure, the plurality of preset situations may include a situation in which the user of the electronic device 101 speaks, a situation in which another person calls the user of the electronic device 101 indoors, and an activity of the user of the electronic device 101 . It may include at least one of a current situation, an indoor event situation, a situation where there is a safety issue indoors, or a situation in which the user of the electronic device 101 is using a means of transportation.

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 진동 센서를 통하여 획득한 진동 센서 데이터 및 소리 데이터에 기초하여, 주변 환경이 사용자가 발화하는 상황에 일치하는 것을 확인할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 소리 데이터가 나타내는 발화가 일어난 때 진동이 발생한 것으로 확인되는 경우 주변 환경이 사용자가 발화하는 상황에 일치하는 것을 확인할 수 있다. According to various embodiments, the at least one processor 120 may confirm that the surrounding environment matches the situation in which the user speaks, based on the vibration sensor data and the sound data acquired through the vibration sensor. According to various embodiments, when it is confirmed that vibration has occurred when the utterance indicated by the sound data occurs, the at least one processor 120 may confirm that the surrounding environment matches the situation in which the user utters the utterance.

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 소리 데이터에 기초하여, 사용자가 웨어러블 전자 장치(200)에서 출력되는 음악에 따라 노래하고 있다고 확인되는 경우, 주변 환경이 사용자가 발화하는 상황에 일치하지 않는다고 확인할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 소리 데이터에 기초하여 STT(Speaking-To-Text) 기능을 수행하고, STT 정확도가 특정 수준 미만인 경우 사용자가 웨어러블 전자 장치(200)에서 출력되는 음악에 따라 노래하고 있다고 확인할 수 있다.According to various embodiments, when it is confirmed that the user is singing according to the music output from the wearable electronic device 200 based on the sound data, the at least one processor 120 may change the surrounding environment according to a situation in which the user speaks. You can see that they don't match. According to various embodiments, the at least one processor 120 performs a STT (Speaking-To-Text) function based on sound data, and when the STT accuracy is less than a specific level, the user is output from the wearable electronic device 200 You can confirm that you are singing according to the music.

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 GPS 센서를 통하여 획득한 GPS 센서 데이터 및 소리 데이터에 기초하여, 주변 환경이 실내에서 타인이 전자 장치(101)의 사용자를 부르고 있는 상황에 일치하는 것을 확인할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 GPS 센서 데이터가 전자 장치(101)가 실내에 있음을 나타내고, 소리 데이터가 전자 장치(101)의 사용자에 대응하는 미리 결정된 키워드 중 하나를 나타낸다고 확인되는 경우, 주변 환경이 실내에서 타인이 전자 장치(101)의 사용자를 부르고 있는 상황에 일치하는 것을 확인할 수 있다. 다양한 실시예에 따라서, 미리 결정된 키워드는 전자 장치(101)에 대한 입력으로써 설정될 수 있다. 예를 들어, 미리 결정된 키워드는 전자 장치(101)의 사용자의 이름, 별명, 또는 직급 중 적어도 하나를 포함할 수 있다.According to various embodiments of the present disclosure, the at least one processor 120 matches a situation in which another person is calling the user of the electronic device 101 in an indoor environment based on the GPS sensor data and sound data acquired through the GPS sensor. can confirm that According to various embodiments, the at least one processor 120 indicates that the GPS sensor data indicates that the electronic device 101 is indoors, and that the sound data indicates one of predetermined keywords corresponding to the user of the electronic device 101 . If it is confirmed, it may be confirmed that the surrounding environment matches a situation in which another person is calling the user of the electronic device 101 indoors. According to various embodiments, the predetermined keyword may be set as an input to the electronic device 101 . For example, the predetermined keyword may include at least one of a name, a nickname, or a job title of the user of the electronic device 101 .

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 진동 센서를 통하여 획득된 진동 센서 데이터 및 소리 데이터에 기초하여, 주변 환경이 전자 장치(101)의 사용자가 활동 중인 상황에 일치하는 것을 확인할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 진동 센서 데이터에 기반하여 다양한 활동을 구분할 수 있는 프로그램을 저장할 수 있고, 진동 센서 데이터에 프로그램을 적용하여, 진동 센서 데이터가 특정한 활동에 대응되는지 여부를 확인할 수 있다. 다양한 실시예에 따라서, 진동 센서 데이터가 프로그램에 의하여 구분될 수 있는 다양한 활동 중 달리기 및 걷기와 같은 일부 활동들에 대응되는 경우, GPS 센서 데이터를 더 참조하여 주변 환경이 전자 장치(101)의 사용자가 활동 중인 상황에 일치하는 것을 확인할 수 있다. 예를 들어, 진동 센서 데이터가 달리기에 대응되는 경우, 적어도 하나의 프로세서(120)는 GPS 센서 데이터에 기초하여 전자 장치(101)의 이동 속도가 일반적인 달리기 속도 범위 내에 있는지 확인하고, 전자 장치(101)의 이동 속도가 일반적인 달리기 속도 범위 내에 있다면 주변 환경이 전자 장치(101)의 사용자가 활동 중인 상황에 일치하는 것을 확인할 수 있다. According to various embodiments, the at least one processor 120 may confirm that the surrounding environment matches the situation in which the user of the electronic device 101 is active, based on the vibration sensor data and sound data acquired through the vibration sensor. have. According to various embodiments, the at least one processor 120 may store a program for classifying various activities based on the vibration sensor data, and apply the program to the vibration sensor data to determine whether the vibration sensor data corresponds to a specific activity. can check whether According to various embodiments, when the vibration sensor data corresponds to some activities such as running and walking among various activities that can be distinguished by a program, the surrounding environment is determined by the user of the electronic device 101 by further referring to the GPS sensor data. You can check that it matches the active situation. For example, when the vibration sensor data corresponds to running, the at least one processor 120 determines whether the moving speed of the electronic device 101 is within a general running speed range based on the GPS sensor data, and the electronic device 101 ) is within the general running speed range, it may be confirmed that the surrounding environment matches the situation in which the user of the electronic device 101 is active.

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 진동 센서 데이터가 특정한 활동에 대응되고, 진동 센서 데이터의 반복 주기와 소리 데이터의 반복 주기가 유사한 경우, 전자 장치(101)의 사용자가 활동 중인 상황에 일치하는 것을 확인할 수 있다. 예를 들어, 사용자가 달리기를 하고 있을 때, 진동 센서 데이터는 사용자가 발을 주기적으로 내딛음에 따라 일정한 주기로 반복되고, 소리 데이터 또한 사용자의 발이 주기적으로 땅에 닿음에 따라 일정한 주기로 반복될 수 있다. 달리기 외에도 줄넘기, 걷기, 또는 수영과 같이 일정한 동작이 반복되는 운동을 수행하는 경우, 진동 센서 데이터와 소리 데이터가 일정하게 반복될 수 있고, 적어도 하나의 프로세서(120)는 진동 센서 데이터의 반복 주기와 소리 데이터의 반복 주기가 유사함에 따라 전자 장치(101)의 사용자가 특정한 활동 중이라는 것을 확인할 수 있다.According to various embodiments, when the vibration sensor data corresponds to a specific activity and the repetition cycle of the vibration sensor data and the repetition cycle of the sound data are similar, the at least one processor 120 determines that the user of the electronic device 101 is active. You can check that it matches the situation. For example, when the user is running, the vibration sensor data may be repeated at a constant cycle as the user periodically steps on his/her foot, and the sound data may also be repeated at a regular cycle as the user's foot periodically touches the ground. . In addition to running, when performing an exercise in which a constant motion is repeated, such as jumping rope, walking, or swimming, vibration sensor data and sound data may be constantly repeated, and at least one processor 120 may As the repetition period of the sound data is similar, it may be confirmed that the user of the electronic device 101 is in a specific activity.

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 진동 센서 데이터가 특정한 활동에 대응되고, GPS 센서 데이터에 의하여 확인되는 전자 장치(101)의 이동 속도가 특정 활동으로 가질 수 있는 일반적인 속도 범위 내에 있고, 진동 센서 데이터의 반복 주기와 소리 데이터의 반복 주기가 유사한 경우, 전자 장치(101)의 사용자가 활동 중인 상황에 일치하는 것을 확인할 수 있다.According to various embodiments, the at least one processor 120 may determine that the vibration sensor data corresponds to a specific activity, and the moving speed of the electronic device 101 confirmed by the GPS sensor data is within a general speed range that may be of the specific activity. and, when the repetition period of the vibration sensor data and the repetition period of the sound data are similar, it may be confirmed that the user of the electronic device 101 is active.

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 GPS 센서 데이터 및 소리 데이터에 기초하여, 주변 환경이 실내 이벤트 상황에 일치하는 것을 확인할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 GPS 센서 데이터가 미리 지정된 위치를 나타내고, 소리 데이터가 미리 설정된 소리들 중 하나를 나타내는 경우, 주변 환경이 실내 이벤트 상황에 일치하는 것을 확인할 수 있다. 다양한 실시예에 따라서, 미리 지정된 위치는 전자 장치(101)의 사용자의 입력에 의하여 특정되는 위치 또는 전자 장치(101)의 사용자가 자주 방문하는 위치 중 적어도 하나를 포함할 수 있다. 다양한 실시예에 따라서, 미리 설정된 소리들은 도어벨 소리, 문을 노크하는 소리, 사람이 소리지르는 소리, 개 짖는 소리, 고양이 울음소리, 유리 깨지는 소리, 총성, 또는 아기 울음 소리 중 적어도 하나를 포함할 수 있다. 다양한 실시예에 따라서, 실내 이벤트 상황은 미리 설정된 소리 각각에 대응하여 정의될 수 있다. 예를 들어, 실내 이벤트 상황은 도어벨이 울린 상황, 누군가가 문을 노크한 상황, 사람이 소리지르는 상황, 개가 짖는 상황, 고양이가 우는 상황, 유리가 깨진 상황, 총이 발사된 상황, 또는 아기가 우는 상황 중 적어도 하나를 포함할 수 있다.According to various embodiments, the at least one processor 120 may confirm that the surrounding environment matches the indoor event situation based on the GPS sensor data and the sound data. According to various embodiments, when the GPS sensor data indicates a predetermined location and the sound data indicates one of the preset sounds, the at least one processor 120 may confirm that the surrounding environment matches the indoor event situation. . According to various embodiments, the predetermined location may include at least one of a location specified by a user input of the electronic device 101 or a location frequently visited by the user of the electronic device 101 . According to various embodiments, the preset sounds may include at least one of a doorbell sound, a door knocking sound, a human screaming sound, a dog barking sound, a cat cry, a glass breaking sound, a gunshot, or a baby crying sound. can According to various embodiments, the indoor event situation may be defined corresponding to each preset sound. For example, an indoor event situation might be a doorbell rang, someone knocks on the door, a person screams, a dog barks, a cat cries, a glass is broken, a gun fires, or a baby. It may include at least one of a crying situation.

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 GPS 센서 데이터 및 소리 데이터에 기초하여, 주변 환경이 실내에서 안전 이슈가 있는 상황에 일치하는 것을 확인할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 GPS 센서 데이터가 전자 장치(101)가 실내에 위치함을 나타내고, 소리 데이터가 미리 설정된 소리들 중 하나를 나타내는 경우, 주변 환경이 실내에서 안전 이슈가 있는 상황에 일치하는 것을 확인할 수 있다. 다양한 실시예에 따라서, 미리 설정된 소리들은 실내에서 발생할 수 있는 안전 이슈에 관련된 소리들일 수 있다. 예를 들어, 미리 설정된 소리들은 화재 경보기 소리 또는 소방차 소리 중 적어도 하나를 포함할 수 있다. 다양한 실시예에 따라서, 실내에서 안전 이슈가 있는 상황은 미리 설정된 소리 각각에 대응하여 정의될 수 있다. 예를 들어, 실내에서 안전 이슈가 있는 상황은 화재 경보기가 울린 상황, 또는 소방차 소리가 들리는 상황 중 적어도 하나를 포함할 수 있다.According to various embodiments, the at least one processor 120 may confirm that the surrounding environment matches a situation in which there is a safety issue indoors, based on the GPS sensor data and the sound data. According to various embodiments, when the GPS sensor data indicates that the electronic device 101 is located indoors, and the sound data indicates one of preset sounds, the at least one processor 120 may determine that the surrounding environment is safe indoors. You can check that it matches the situation with the issue. According to various embodiments, the preset sounds may be sounds related to safety issues that may occur indoors. For example, the preset sounds may include at least one of a fire alarm sound and a fire engine sound. According to various embodiments, a situation in which there is a safety issue in the room may be defined corresponding to each preset sound. For example, the situation in which there is a safety issue in the room may include at least one of a situation in which a fire alarm sounds or a situation in which a sound of a fire engine is heard.

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 GPS 센서 데이터, 진동 센서 데이터, 및 소리 데이터에 기초하여, 주변 환경이 사용자가 교통 수단을 이용중인 상황에 일치하는 것을 확인할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 진동 센서 데이터가 교통 수단에 대응되는 진동 패턴을 나타내고, GPS 센서 데이터가 나타내는 전자 장치(101)의 이동 속도가 교통 수단의 일반적인 이동 속도 범위 내에 있고, 소리 데이터가 교통 수단에서 발생하는 특징적인 소리를 나타내는 경우, 주변 환경이 사용자가 교통 수단을 이용중인 상황에 일치하는 것을 확인할 수 있다. 예를 들어, 교통 수단은 버스 및 지하철을 포함할 수 있다.According to various embodiments, the at least one processor 120 may determine that the surrounding environment matches the situation in which the user is using the transportation means, based on the GPS sensor data, the vibration sensor data, and the sound data. According to various embodiments, the at least one processor 120 may determine that the vibration sensor data indicates a vibration pattern corresponding to the transportation means, and the movement speed of the electronic device 101 indicated by the GPS sensor data is within the general movement speed range of the transportation means. And, when the sound data represents a characteristic sound generated by the means of transportation, it can be confirmed that the surrounding environment matches the situation in which the user is using the means of transportation. For example, the means of transportation may include buses and subways.

340 동작에서, 전자 장치(101)의 적어도 하나의 프로세서(120)는 디스플레이(예를 들어, 디스플레이 모듈(160))의 상태 및 웨어러블 전자 장치(200)에서 소리를 출력 중인지 여부를 확인할 수 있다. 다양한 실시예에 따라서, 디스플레이(160)의 상태는 디스플레이(160)가 켜져 있는 상태 및 디스플레이(160)가 꺼져 있는 상태를 포함할 수 있다. In operation 340 , the at least one processor 120 of the electronic device 101 may check the state of the display (eg, the display module 160 ) and whether the wearable electronic device 200 is outputting a sound. According to various embodiments, the state of the display 160 may include a state in which the display 160 is turned on and a state in which the display 160 is turned off.

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 통신 회로(190)를 통하여 웨어러블 전자 장치(200)에서 출력 중인 소리에 관한 정보를 수신함으로써, 웨어러블 전자 장치(200)에서 소리를 출력 중인지 여부를 확인할 수 있다. 340 동작에서, 웨어러블 전자 장치(200)에서 소리를 출력 중인지 여부를 확인한다는 의미는, 웨어러블 전자 장치(200)에서 음악 또는 동영상에 대응되는 소리와 같이, 사용자에게 인식되기 위한 소리를 출력 중인지 여부를 확인한다는 의미일 수 있다. 예를 들어, 웨어러블 전자 장치(200)에서 노이즈 캔슬링 기능을 수행하기 위하여 주변 소음을 상쇄시키기 위한 소리를 출력 중인 경우, 적어도 하나의 프로세서(120)는 웨어러블 전자 장치(200)에서 소리를 출력하고 있지 않다고 확인할 수 있다.According to various embodiments, the at least one processor 120 receives information about the sound being output from the wearable electronic device 200 through the communication circuit 190 to determine whether the wearable electronic device 200 is outputting a sound can be checked. In operation 340, the meaning of checking whether the wearable electronic device 200 is outputting a sound means whether the wearable electronic device 200 is outputting a sound to be recognized by the user, such as a sound corresponding to music or a video. It could mean to confirm. For example, when the wearable electronic device 200 is outputting a sound for canceling ambient noise in order to perform a noise canceling function, the at least one processor 120 is not outputting the sound from the wearable electronic device 200 can confirm that it is not.

350 동작에서, 적어도 하나의 프로세서(120)는 330 동작에서 확인된 일치하는 상황 및 340 동작에서 확인된 디스플레이(160)의 상태 및 웨어러블 전자 장치(200)에서 소리를 출력 중인지 여부에 기초하여, 웨어러블 전자 장치(200)를 제어하기 위한 신호를 통신 회로(190)를 통하여 웨어러블 전자 장치(200)에 송신하는 것, 또는 디스플레이(160) 상에 알림을 표시하는 것 중 적어도 하나를 수행할 수 있다.In operation 350 , the at least one processor 120 determines whether the wearable electronic device 200 is outputting a sound and the state of the display 160 confirmed in operation 340 and the matching situation confirmed in operation 330 . At least one of transmitting a signal for controlling the electronic device 200 to the wearable electronic device 200 through the communication circuit 190 or displaying a notification on the display 160 may be performed.

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는, 웨어러블 전자 장치(200)에서 소리를 출력 중인지 여부와 관계 없이 디스플레이(160)가 켜져 있다고 확인되면 제1 상태로 확인하고, 디스플레이(160)가 꺼져 있고 웨어러블 전자 장치(200)에서 소리를 출력 중인 경우 제2 상태로 확인하고, 디스플레이(160)가 꺼져 있고 웨어러블 전자 장치(200)에서 소리를 출력 중이지 않은 경우 제3 상태로 확인할 수 있다.According to various embodiments, the at least one processor 120 checks the first state when it is confirmed that the display 160 is turned on regardless of whether the wearable electronic device 200 is outputting a sound, and the display 160 . When is off and the wearable electronic device 200 is outputting sound, the second state is checked, and when the display 160 is off and the wearable electronic device 200 is not outputting sound, the third state can be checked. .

다양한 실시예에 따라서, 330 동작에서 주변 환경이 사용자가 발화하는 상황에 일치한다고 확인된 경우에, 적어도 하나의 프로세서(120)는 350 동작에서 제1 상태, 제2 상태, 및 제3 상태에 따라서, 웨어러블 전자 장치(200)로 하여금 표 1에 도시된 동작을 수행하도록 하는 제어 신호를 웨어러블 전자 장치(200)에 송신할 수 있다.According to various embodiments, when it is determined in operation 330 that the surrounding environment matches the situation in which the user utters, the at least one processor 120 performs the steps according to the first state, the second state, and the third state in operation 350 . , a control signal for causing the wearable electronic device 200 to perform the operation shown in Table 1 may be transmitted to the wearable electronic device 200 .

제1 상태first state 제2 상태second state 제3 상태third state 노이즈 캔슬링 기능noise canceling function 비활성화Disabled 비활성화Disabled 비활성화Disabled 주변 소리 듣기 기능Ambient sound listening function 활성화activate 활성화activate 활성화activate 소리 출력sound output 중지stop 중지stop --

다양한 실시예에 따라서, 350 동작 수행 후, 사용자가 중지되었던 소리 출력을 재개하기 위한 입력을 수행하는 경우, 적어도 하나의 프로세서(120)는 제어 신호 전송 이전의 상태로 되돌아가도록 웨어러블 전자 장치(200)를 제어할 수 있다.According to various embodiments, when the user performs an input for resuming the stopped sound output after performing operation 350, the at least one processor 120 returns to a state prior to transmission of the control signal. can control

다양한 실시예에 따라서, 330 동작에서 주변 환경이 실내에서 타인이 전자 장치(101)의 사용자를 부르고 있는 상황에 일치한다고 확인된 경우에, 적어도 하나의 프로세서(120)는 350 동작에서 제1 상태, 제2 상태, 및 제3 상태에 따라서, 표 2에 도시된 동작을 수행할 수 있다.According to various embodiments, when it is determined in operation 330 that the surrounding environment matches a situation in which another person is calling the user of the electronic device 101 in the room, in operation 330 , the at least one processor 120 sets the first state, According to the second state and the third state, the operations shown in Table 2 may be performed.

제1 상태first state 제2 상태second state 제3 상태third state 제어 신호control signal -- 알림음 출력Alert sound output TTS 음성 출력TTS audio output 메시지 표시message display "누군가 당신을 부르고 있어요""Someone is calling you" 메시지 유형message type 토스트 메시지toast message 헤드 업(heads-up) 메시지heads-up message 임의 유형any type

표 2에 기재된 바와 같이, 제1 상태에서, 적어도 하나의 프로세서(120)는 누군가 사용자를 부르고 있다는 내용의 토스트 메시지를 디스플레이(160) 상에 표시할 수 있다. 제2 상태에서, 적어도 하나의 프로세서(120)는 누군가 사용자를 부르고 있다는 내용의 헤드 업(heads-up) 메시지를 디스플레이(160) 상에 표시하고, 웨어러블 전자 장치(200)로 하여금 알림음을 출력하도록 하는 제어 신호를 웨어러블 전자 장치(200)에 송신할 수 있다. 제3 상태에서, 적어도 하나의 프로세서(120)는 누군가 사용자를 부르고 있다는 내용의 메시지를 임의의 유형으로 디스플레이(160) 상에 표시하고, 웨어러블 전자 장치(200)로 하여금 누군가 사용자를 부르고 있다는 내용의 TTS 음성을 출력하도록 하는 제어 신호를 웨어러블 전자 장치(200)에 송신할 수 있다.As shown in Table 2, in the first state, the at least one processor 120 may display a toast message indicating that someone is calling the user on the display 160 . In the second state, the at least one processor 120 displays a heads-up message indicating that someone is calling the user on the display 160 and causes the wearable electronic device 200 to output a notification sound. A control signal to be executed may be transmitted to the wearable electronic device 200 . In the third state, the at least one processor 120 displays a message indicating that someone is calling the user on the display 160 in any type, and causes the wearable electronic device 200 to indicate that someone is calling the user. A control signal for outputting TTS voice may be transmitted to the wearable electronic device 200 .

다양한 실시예에 따라서, 330 동작에서 주변 환경이 사용자가 활동 중인 상황에 일치한다고 확인된 경우에, 적어도 하나의 프로세서(120)는 350 동작에서 제1 상태, 제2 상태, 및 제3 상태에 무관하게, 웨어러블 전자 장치(200)로 하여금 노이즈 캔슬링 기능을 비활성화시키고 주변 소리 듣기 기능을 활성화시키도록 하는 제어 신호를 웨어러블 전자 장치(200)에 송신할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 제1 상태에서 사용자가 활동 중이므로 노이즈 캔슬링 기능이 비활성화되고 주변 소리 듣기 기능이 활성화되었다는 내용의 메시지를 디스플레이(160) 상에 표시할 수 있다. 다양한 실시예에 따라서, 350 동작 수행 후, 사용자가 활동을 종료하였다고 확인되는 경우에, 적어도 하나의 프로세서(120)는 제어 신호 전송 이전의 상태로 되돌아가도록 웨어러블 전자 장치(200)를 제어할 수 있다. According to various embodiments, if it is determined in operation 330 that the surrounding environment matches a situation in which the user is active, the at least one processor 120 is irrespective of the first state, the second state, and the third state in operation 350 . Thus, a control signal for causing the wearable electronic device 200 to deactivate the noise canceling function and activate the ambient sound listening function may be transmitted to the wearable electronic device 200 . According to various embodiments, the at least one processor 120 may display, on the display 160 , a message indicating that the noise canceling function is deactivated and the ambient sound listening function is activated because the user is active in the first state. According to various embodiments, when it is confirmed that the user has finished the activity after performing operation 350, the at least one processor 120 may control the wearable electronic device 200 to return to a state prior to transmission of the control signal. .

다양한 실시예에 따라서, 330 동작에서 주변 환경이 실내 이벤트 상황에 일치한다고 확인된 경우에, 적어도 하나의 프로세서(120)는 350 동작에서 제1 상태, 제2 상태, 및 제3 상태에 따라서, 표 3에 도시된 동작을 수행할 수 있다.According to various embodiments, when it is determined in operation 330 that the surrounding environment matches the indoor event situation, in operation 350 , the at least one processor 120 performs a table according to the first state, the second state, and the third state. 3 may be performed.

제1 상태first state 제2 상태second state 제3 상태third state 제어 신호control signal -- 알림음 출력Alert sound output TTS 음성 출력TTS audio output 메시지 표시message display 실내 이벤트 상황에 대응되는 메시지Messages corresponding to indoor event situations 메시지 유형message type 토스트 메시지toast message 헤드 업 메시지head up message 임의 유형any type

표 3에 기재된 바와 같이, 제1 상태에서, 적어도 하나의 프로세서(120)는 실내 이벤트 상황, 예를 들어, 도어벨이 울린 상황에 대응되는 메시지를 토스트 메시지 형식으로 디스플레이(160) 상에 표시할 수 있다. 제2 상태에서, 적어도 하나의 프로세서(120)는 실내 이벤트 상황에 대응되는 메시지를 헤드 업 메시지 형식으로 디스플레이(160) 상에 표시하고, 웨어러블 전자 장치(200)로 하여금 알림음을 출력하도록 하는 제어 신호를 웨어러블 전자 장치(200)에 송신할 수 있다. 제3 상태에서, 적어도 하나의 프로세서(120)는 실내 이벤트 상황에 대응되는 메시지를 임의의 유형으로 디스플레이(160) 상에 표시하고, 웨어러블 전자 장치(200)로 하여금 실내 이벤트 상황에 대응되는 메시지에 대응하는 TTS 소리를 출력하도록 하는 제어 신호를 웨어러블 전자 장치(200)에 송신할 수 있다.다양한 실시예에 따라서, 330 동작에서 주변 환경이 실내에서 안전 이슈가 있는 상황에 일치한다고 확인된 경우에, 적어도 하나의 프로세서(120)는 350 동작에서 제1 상태, 제2 상태, 및 제3 상태에 따라서, 표 4에 기재된 동작을 수행할 수 있다.As shown in Table 3, in the first state, the at least one processor 120 displays a message corresponding to an indoor event situation, for example, a doorbell ringing situation on the display 160 in the form of a toast message. can In the second state, the at least one processor 120 displays a message corresponding to an indoor event situation on the display 160 in the form of a head-up message, and controls the wearable electronic device 200 to output a notification sound A signal may be transmitted to the wearable electronic device 200 . In the third state, the at least one processor 120 displays a message corresponding to the indoor event situation on the display 160 in an arbitrary type, and causes the wearable electronic device 200 to respond to the message corresponding to the indoor event situation. A control signal for outputting a corresponding TTS sound may be transmitted to the wearable electronic device 200. According to various embodiments, when it is determined in operation 330 that the surrounding environment matches a situation in which there is a safety issue in the room, The at least one processor 120 may perform the operations shown in Table 4 according to the first state, the second state, and the third state in operation 350 .

제1 상태first state 제2 상태second state 제3 상태third state 제어 신호control signal 노이즈 캔슬링 기능 비활성화
주변 소리 듣기 기능 활성화
Disable noise canceling function
Activate the ambient sound function
메시지 표시message display 안전 이슈에 대응되는 메시지Messages in response to safety issues -- --

표 4에 기재된 바와 같이, 적어도 하나의 프로세서(120)는 제1 상태, 제2 상태, 및 제3 상태에 무관하게, 웨어러블 전자 장치(200)로 하여금 노이즈 캔슬링 기능을 비활성화시키고 주변 소리 듣기 기능을 활성화시키도록 하는 제어 신호를 웨어러블 전자 장치(200)에 송신할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 제1 상태에서 안전 이슈, 예를 들어, 화재 경보기가 울린 상황에 대응되는 메시지를 디스플레이(160) 상에 표시할 수 있다.As shown in Table 4, the at least one processor 120 causes the wearable electronic device 200 to deactivate the noise canceling function and perform the ambient sound listening function regardless of the first state, the second state, and the third state. A control signal for activation may be transmitted to the wearable electronic device 200 . According to various embodiments, the at least one processor 120 may display a message corresponding to a safety issue, for example, a situation in which a fire alarm sounds, on the display 160 in the first state.

다양한 실시예에 따라서, 330 동작에서 주변 환경이 사용자가 교통 수단을 이용중인 상황에 일치한다고 확인된 경우에, 적어도 하나의 프로세서(120)는 350 동작에서 제1 상태, 제2 상태, 및 제3 상태에 따라서, 표 5에 도시된 동작을 수행할 수 있다.According to various embodiments, if it is determined in operation 330 that the surrounding environment matches a situation in which the user is using a means of transportation, the at least one processor 120 performs the first state, the second state, and the third state in operation 350 . Depending on the state, the operations shown in Table 5 may be performed.

제1 상태first state 제2 상태second state 제3 상태third state 제어 신호control signal 노이즈 캔슬링 기능 비활성화
주변 소리 듣기 기능 활성화
Disable noise canceling function
Activate the ambient sound function
메시지message 메시지 표시message display 메시지 표시+알림음Show message + beep sound TTS 메시지TTS message

표 5에 기재된 바와 같이, 적어도 하나의 프로세서(120)는 제1 상태, 제2 상태, 및 제3 상태에 무관하게, 웨어러블 전자 장치(200)로 하여금 노이즈 캔슬링 기능을 비활성화시키고 주변 소리 듣기 기능을 활성화시키도록 하는 제어 신호를 웨어러블 전자 장치(200)에 송신할 수 있다. As shown in Table 5, the at least one processor 120 causes the wearable electronic device 200 to deactivate the noise canceling function and perform the ambient sound listening function regardless of the first state, the second state, and the third state. A control signal for activation may be transmitted to the wearable electronic device 200 .

표 5에 기재된 바와 같이, 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 제1 상태에서 사용자의 행선지를 묻는 메시지를 디스플레이(160) 상에 표시할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 제2 상태에서 디스플레이(160)를 온 상태로 제어하고, 사용자의 행선지를 묻는 메시지를 디스플레이(160) 상에 표시하고, 웨어러블 전자 장치(200)로 하여금 사용자가 디스플레이(160)를 보도록 촉구하는 알림음을 출력하게 하는 제어 신호를 웨어러블 전자 장치(200)에 송신할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 제3 상태에서 웨어러블 전자 장치(200)로 하여금 사용자의 행선지를 묻는 메시지에 대응되는 TTS 음성을 출력하게 하는 제어 신호를 웨어러블 전자 장치(200)에 송신할 수 있다. As shown in Table 5, according to various embodiments, the at least one processor 120 may display a message asking the user's destination on the display 160 in the first state. According to various embodiments, the at least one processor 120 controls the display 160 in the on state in the second state, displays a message asking the user's destination on the display 160, and the wearable electronic device 200 ) to output a notification sound prompting the user to look at the display 160 may be transmitted to the wearable electronic device 200 . According to various embodiments, the at least one processor 120 outputs a control signal that causes the wearable electronic device 200 to output a TTS voice corresponding to a message asking for a user's destination in the third state. can be sent to

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 사용자의 행선지를 음성 또는 텍스트의 형태로 입력받고, GPS 센서 데이터가 나타내는 전자 장치(101)의 위치가 사용자의 행선지에 근접하였을 때, 목적지에 곧 도착한다는 내용의 메시지를 디스플레이(160) 상에 표시하거나, 메시지에 대응하는 TTS 음성을 출력하도록 웨어러블 전자 장치(200)를 제어할 수 있다.According to various embodiments, the at least one processor 120 receives the user's destination in the form of voice or text, and when the location of the electronic device 101 indicated by the GPS sensor data approaches the user's destination, The wearable electronic device 200 may be controlled to display a message indicating that it will arrive soon on the display 160 or to output a TTS voice corresponding to the message.

도 4는 다양한 실시예에 따른 전자 장치에서 수행되는 동작들을 도시한다. 410 동작에서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는, 통신 회로(예를 들어, 통신 모듈(190))을 통하여 웨어러블 전자 장치(예를 들어, 웨어러블 전자 장치(200))로부터 주변 환경에 관한 소리 데이터를 획득할 수 있다. 410 동작에 대해서는, 도 3의 310 동작에 관한 세부 사항들이 적용될 수 있다.4 illustrates operations performed by an electronic device according to various embodiments. In operation 410 , at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) performs a wearable device through a communication circuit (eg, the communication module 190 ). Sound data regarding the surrounding environment may be obtained from the electronic device (eg, the wearable electronic device 200 ). For operation 410 , details regarding operation 310 of FIG. 3 may be applied.

420 동작에서, 전자 장치(101)의 적어도 하나의 프로세서(120)는 소리 데이터에 기초하여, 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인할 수 있다. 다양한 실시예에 따라서, 미리 설정된 복수의 상황은 타인이 전자 장치(101)의 사용자를 부르고 있는 상황, 큰 소음이 발생하는 상황, 또는 안전 이슈가 있는 상황 중 적어도 하나를 포함할 수 있다.In operation 420 , the at least one processor 120 of the electronic device 101 may determine whether the surrounding environment matches one of a plurality of preset situations based on the sound data. According to various embodiments, the plurality of preset situations may include at least one of a situation in which another person is calling the user of the electronic device 101 , a situation in which a loud noise is generated, or a situation in which there is a safety issue.

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 소리 데이터가 전자 장치(101)의 사용자에 대응하는 미리 결정된 키워드 중 하나를 나타낸다고 확인되는 경우, 주변 환경이 타인이 전자 장치(101)의 사용자를 부르고 있는 상황에 일치하는 것을 확인할 수 있다.According to various embodiments, when it is determined that the sound data represents one of the predetermined keywords corresponding to the user of the electronic device 101 , the at least one processor 120 determines that the surrounding environment is the user of the electronic device 101 . You can check that it matches the situation in which you are calling .

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 소리 데이터가 임계 크기 이상의 소리를 나타내는 경우 주변 환경이 큰 소음이 발생하는 상황에 일치하는 것을 확인할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 소리 데이터가 임계 크기 이상의 소리를 나타내고, 미리 설정된 패턴을 나타낸다고 확인되는 것에 응답하여, 주변 환경이 큰 소음이 발생하는 상황에 일치하는 것을 확인할 수 있다. 다양한 실시예에 따라서, 미리 설정된 패턴은 공사장 주변 소음 또는 공항 소음과 같이, 큰 소음이 발생할 가능성이 있는 상황에 대응하여 미리 학습된 패턴일 수 있다.According to various embodiments, when the sound data indicates a sound having a threshold level or higher, the at least one processor 120 may confirm that the surrounding environment matches a situation in which a large noise is generated. According to various embodiments, the at least one processor 120 may confirm that the surrounding environment matches a situation in which a large noise is generated in response to confirming that the sound data represents a sound having a threshold level or more and represents a preset pattern. have. According to various embodiments, the preset pattern may be a pattern learned in advance in response to a situation in which a large noise is likely to occur, such as noise around a construction site or airport noise.

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 소리 데이터가 미리 설정된 소리들 중 하나를 나타내는 경우, 주변 환경이 안전 이슈가 있는 상황에 일치하는 것을 확인할 수 있다. 다양한 실시예에 따라서, 미리 설정된 소리들은 안전 이슈에 관련된 소리들일 수 있다. 예를 들어, 미리 설정된 소리들은 화재 경보기 소리, 소방차 소리, 경찰차 소리, 구급차 소리, 또는 트럭과 같은 대형 차량이 후진할 때 발생하는 소리 중 적어도 하나를 포함할 수 있다.According to various embodiments, when the sound data represents one of preset sounds, the at least one processor 120 may confirm that the surrounding environment matches a situation in which there is a safety issue. According to various embodiments, the preset sounds may be sounds related to safety issues. For example, the preset sounds may include at least one of a fire alarm sound, a fire engine sound, a police car sound, an ambulance sound, or a sound generated when a large vehicle such as a truck is reversing.

430 동작에서, 전자 장치(101)의 적어도 하나의 프로세서(120)는 디스플레이(예를 들어, 디스플레이 모듈(160))의 상태 및 웨어러블 전자 장치(200)에서 소리를 출력 중인지 여부를 확인할 수 있다. 도 3의 340 동작에 관한 세부 사항들이 430 동작에 동일하게 적용될 수 있다.In operation 430 , the at least one processor 120 of the electronic device 101 may check the state of the display (eg, the display module 160 ) and whether the wearable electronic device 200 is outputting a sound. Details regarding operation 340 of FIG. 3 may be equally applied to operation 430 .

440 동작에서, 적어도 하나의 프로세서(120)는 420 동작에서 확인된 일치하는 상황 및 430 동작에서 확인된 디스플레이(160)의 상태 및 웨어러블 전자 장치(200)에서 소리를 출력 중인지 여부에 기초하여, 웨어러블 전자 장치(200)를 제어하기 위한 신호를 통신 회로(190)를 통하여 웨어러블 전자 장치(200)에 송신하는 것, 또는 디스플레이(160) 상에 알림을 표시하는 것 중 적어도 하나를 수행할 수 있다.In operation 440 , the at least one processor 120 determines whether the wearable electronic device 200 is outputting a sound and the state of the display 160 confirmed in operation 430 and the matching situation confirmed in operation 420 . At least one of transmitting a signal for controlling the electronic device 200 to the wearable electronic device 200 through the communication circuit 190 or displaying a notification on the display 160 may be performed.

다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는, 웨어러블 전자 장치(200)에서 소리를 출력 중인지 여부와 관계 없이 디스플레이(160)가 켜져 있다고 확인되면 제1 상태로 확인하고, 디스플레이(160)가 꺼져 있고 웨어러블 전자 장치(200)에서 소리를 출력 중인 경우 제2 상태로 확인하고, 디스플레이(160)가 꺼져 있고 웨어러블 전자 장치(200)에서 소리를 출력 중이지 않은 경우 제3 상태로 확인할 수 있다.According to various embodiments, the at least one processor 120 checks the first state when it is confirmed that the display 160 is turned on regardless of whether the wearable electronic device 200 is outputting a sound, and the display 160 . When is off and the wearable electronic device 200 is outputting sound, the second state is checked, and when the display 160 is off and the wearable electronic device 200 is not outputting sound, the third state can be checked. .

다양한 실시예에 따라서, 420 동작에서 주변 환경이 타인이 전자 장치(101)의 사용자를 부르고 있는 상황에 일치한다고 확인된 경우에, 적어도 하나의 프로세서(120)는 440 동작에서 제1 상태, 제2 상태, 및 제3 상태에 따라서, 표 2에 기재된 동작을 수행할 수 있다. 표 2에 기재된 동작들에 관하여, 도 3을 참조하여 상술한 세부 사항들이 440 동작에 동일하게 적용될 수 있다.According to various embodiments, when it is determined in operation 420 that the surrounding environment matches a situation in which another person is calling the user of the electronic device 101 , in operation 440 , the at least one processor 120 determines the first state and the second state. According to the state and the third state, the operations described in Table 2 may be performed. With respect to the operations shown in Table 2, the details described above with reference to FIG. 3 may be equally applied to operation 440 .

다양한 실시예에 따라서, 420 동작에서 주변 환경이 큰 소음이 발생하는 상황에 일치한다고 확인된 경우에, 적어도 하나의 프로세서(120)는 440 동작에서 제1 상태, 제2 상태, 및 제3 상태에 따라서 웨어러블 전자 장치(200)로 하여금 표 6에 기재된 동작들을 수행하도록 하는 제어 신호를 웨어러블 전자 장치(200)에 전송할 수 있다. 440 동작을 수행한 후, 적어도 하나의 프로세서(120)는 소리 데이터가 임계 크기 미만의 소리를 나타내는 상태가 일정 시간 이상 지속되는 경우, 제어 신호 전송 이전의 상태로 되돌아가도록 웨어러블 전자 장치(200)를 제어할 수 있다.According to various embodiments, when it is determined in operation 420 that the surrounding environment corresponds to a situation in which a large noise is generated, the at least one processor 120 enters the first state, the second state, and the third state in operation 440 . Accordingly, a control signal for causing the wearable electronic device 200 to perform the operations shown in Table 6 may be transmitted to the wearable electronic device 200 . After performing operation 440, the at least one processor 120 controls the wearable electronic device 200 to return to the state before the control signal transmission when the state in which the sound data indicates the sound less than the threshold level continues for a predetermined time or longer. can be controlled

제1 상태first state 제2 상태second state 제3 상태third state 노이즈 캔슬링 기능noise canceling function 활성화activate 활성화activate 활성화activate 주변 소리 듣기 기능Ambient sound listening function 비활성화Disabled 비활성화Disabled 비활성화Disabled 소리 출력sound output 볼륨 증가volume increase 볼륨 감소decrease in volume --

다양한 실시예에 따라서, 420 동작에서 주변 환경이 안전 이슈가 있는 상황에 일치한다고 확인된 경우에, 적어도 하나의 프로세서(120)는 440 동작에서 제1 상태, 제2 상태, 및 제3 상태에 따라서 표 4에 기재된 동작을 수행할 수 있다. 표 4에 기재된 동작들에 관하여, 도 3을 참조하여 상술한 세부 사항들이 440 동작에 동일하게 적용될 수 있다.According to various embodiments, if it is determined in operation 420 that the surrounding environment matches a situation in which there is a safety issue, in operation 440 , the at least one processor 120 is configured according to the first state, the second state, and the third state. The operations described in Table 4 may be performed. With respect to the operations shown in Table 4, the details described above with reference to FIG. 3 may be equally applied to operation 440 .

도 5는 다양한 실시예에 따른 전자 장치에서 수행되는 동작들을 도시한다. 510 동작에서, 전자 장치(예를 들어, 전자 장치(101))의 적어도 하나의 프로세서(예를 들어, 프로세서(120))는, 통신 회로(예를 들어, 통신 모듈(190))을 통하여 웨어러블 전자 장치(예를 들어, 웨어러블 전자 장치(200))로부터 주변 환경에 관한 소리 데이터를 획득할 수 있다. 도 3의 310 동작에 관한 세부 사항들이 510 동작에 적용될 수 있다.5 illustrates operations performed by an electronic device according to various embodiments. In operation 510 , at least one processor (eg, the processor 120 ) of the electronic device (eg, the electronic device 101 ) performs a wearable device through a communication circuit (eg, the communication module 190 ). Sound data regarding the surrounding environment may be obtained from the electronic device (eg, the wearable electronic device 200 ). Details regarding operation 310 of FIG. 3 may be applied to operation 510 .

520 동작에서, 전자 장치(101)의 적어도 하나의 프로세서(120)는 소리 데이터가 전자 장치(101) 외의 다른 전자 장치에서 재생되는 소리에 관련된 데이터인지 확인할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 소리 데이터를 log-mel 신호로 변환하고, 변환된 log-mel 신호에 기초하여, 사운드 특성 벡터 및 주변 잡음 특성 벡터를 추출할 수 있다. 적어도 하나의 프로세서(120)는 log-mel 신호, 사운드 특성 벡터, 및 주변 잡음 특성 벡터에 기초하여 소리 데이터가 다른 전자 장치에서 재생되는 소리에 관련된 데이터인지 아니면 실제 존재하는 소음원에 관련된 데이터인지 여부를 확인할 수 있다. 다양한 실시예에 따라서, 적어도 하나의 프로세서(120)는 소리 데이터의 주파수 대역을 분석하고, 특정 주파수 대역의 성분이 존재하지 않는 것에 기초하여 소리 데이터가 다른 전자 장치에서 재생되는 소리에 관련된 데이터임을 확인할 수 있다.In operation 520 , the at least one processor 120 of the electronic device 101 may determine whether the sound data is data related to a sound reproduced in an electronic device other than the electronic device 101 . According to various embodiments, the at least one processor 120 may convert sound data into a log-mel signal, and extract a sound characteristic vector and an ambient noise characteristic vector based on the converted log-mel signal. The at least one processor 120 determines whether the sound data is data related to a sound reproduced by another electronic device or data related to an actual noise source based on the log-mel signal, the sound characteristic vector, and the ambient noise characteristic vector. can be checked According to various embodiments, the at least one processor 120 analyzes a frequency band of the sound data, and determines that the sound data is data related to a sound reproduced by another electronic device based on the absence of a component of a specific frequency band. can

530 동작에서, 소리 데이터가 전자 장치(101) 외의 다른 전자 장치에서 재생되는 소리에 관련된 데이터인 경우, 적어도 하나의 프로세서(120)는 실제 존재하는 소음원에 관련된 소리 데이터가 확인될 때까지 510 동작 내지 530 동작을 반복할 수 있다. 달리 말하면, 적어도 하나의 프로세서(120)는 주변 환경을 판단함에 있어서, 다른 전자 장치에서 재생되는 소리에 관련된 소리 데이터는 활용하지 않을 수 있다.In operation 530 , if the sound data is data related to a sound reproduced by an electronic device other than the electronic device 101 , the at least one processor 120 performs operations 510 through 510 until sound data related to an actual noise source is identified. Operation 530 may be repeated. In other words, in determining the surrounding environment, the at least one processor 120 may not utilize sound data related to a sound reproduced by another electronic device.

530 동작에서, 소리 데이터가 전자 장치(101) 외의 다른 전자 장치에서 재생되는 소리에 관련된 데이터가 아닌 경우, 적어도 하나의 프로세서(120)는 540 동작을 수행할 수 있다. 540 동작에서, 적어도 하나의 프로세서(120)는 적어도 하나의 센서(예를 들어, 센서 모듈(176))를 통하여 센서 데이터를 획득할 수 있다. 도 3의 320 동작에 관한 세부 사항들이 540 동작에 동일하게 적용될 수 있다.In operation 530 , when the sound data is not data related to a sound reproduced in an electronic device other than the electronic device 101 , the at least one processor 120 may perform operation 540 . In operation 540 , the at least one processor 120 may acquire sensor data through at least one sensor (eg, the sensor module 176 ). Details regarding operation 320 of FIG. 3 may be equally applied to operation 540 .

550 동작에서, 적어도 하나의 프로세서(120)는 소리 데이터 및 센서 데이터에 기초하여, 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인할 수 있다. 도 3의 330 동작에 관한 세부 사항들이 550 동작에 동일하게 적용될 수 있다.In operation 550 , the at least one processor 120 may determine whether the surrounding environment matches one of a plurality of preset situations based on the sound data and the sensor data. Details regarding operation 330 of FIG. 3 may be equally applied to operation 550 .

560 동작에서, 적어도 하나의 프로세서(120)는 디스플레이(예를 들어, 디스플레이 모듈(160))의 상태 및 웨어러블 전자 장치(200)에서 소리를 출력 중인지 여부를 확인할 수 있다. 도 3의 340 동작에 관한 세부 사항들이 560 동작에 동일하게 적용될 수 있다.In operation 560 , the at least one processor 120 may check the state of the display (eg, the display module 160 ) and whether the wearable electronic device 200 is outputting a sound. Details regarding operation 340 of FIG. 3 may be equally applied to operation 560 .

570 동작에서, 적어도 하나의 프로세서(120)는 550 동작에서 확인된 일치하는 상황 및 560 동작에서 확인된 디스플레이(160)의 상태 및 웨어러블 전자 장치(200)에서 소리를 출력 중인지 여부에 기초하여, 웨어러블 전자 장치(200)를 제어하기 위한 신호를 통신 회로(190)를 통하여 웨어러블 전자 장치(200)에 송신하는 것, 또는 디스플레이(160) 상에 알림을 표시하는 것 중 적어도 하나를 수행할 수 있다. 도 3의 350 동작에 관한 세부 사항들이 570 동작에 동일하게 적용될 수 있다.In operation 570 , the at least one processor 120 determines whether the wearable electronic device 200 is outputting a sound and the state of the display 160 confirmed in operation 560 and the matching situation confirmed in operation 550 . At least one of transmitting a signal for controlling the electronic device 200 to the wearable electronic device 200 through the communication circuit 190 or displaying a notification on the display 160 may be performed. Details regarding operation 350 of FIG. 3 may be equally applied to operation 570 .

도 5에서는 적어도 하나의 프로세서(120)에서 소리 데이터가 다른 전자 장치에서 재생되는 소리에 관련된 소리 데이터인지 여부를 확인하는 것으로 도시되었으나, 다양한 실시예에 따라서, 소리 데이터가 다른 전자 장치에서 재생되는 소리에 관련된 소리 데이터인지 여부는 웨어러블 전자 장치(200)의 프로세서(240)에 의하여 확인될 수도 있다. 이 경우, 웨어러블 전자 장치(200)는 소리 데이터가 다른 전자 장치에서 재생되는 소리에 관련된 소리 데이터인지 여부를 나타내는 정보를 전자 장치(101)에 전송할 수 있다. 다양한 실시예에 따라서, 웨어러블 전자 장치(200)는 다른 전자 장치에서 재생되는 소리에 관련된 소리 데이터는 전자 장치(101)에 전송하지 않고, 실제 존재하는 소음원에 관련된 소리 데이터만 전자 장치(101)에 전송할 수 있다.In FIG. 5 , the at least one processor 120 confirms whether the sound data is sound data related to a sound reproduced in another electronic device. However, according to various embodiments, the sound data is a sound reproduced in another electronic device. Whether or not it is sound data related to may be checked by the processor 240 of the wearable electronic device 200 . In this case, the wearable electronic device 200 may transmit information indicating whether the sound data is sound data related to a sound reproduced by another electronic device to the electronic device 101 . According to various embodiments, the wearable electronic device 200 does not transmit sound data related to a sound reproduced by another electronic device to the electronic device 101 , but only transmits sound data related to an actual noise source to the electronic device 101 . can be transmitted

다양한 실시예에 따른 전자 장치(101)는 주변 환경을 판단함에 있어서, 다른 전자 장치에서 재생되는 소리에 관련된 소리 데이터는 무시하고 실제 존재하는 소음원에 관련된 소리 데이터만 고려할 수 있다. 다른 전자 장치에서 재생 중인 컨텐츠에 의하여 발생하는 소음은 전자 장치(101)의 주변 환경을 대표하지 못하므로, 전자 장치(101)는 다른 전자 장치에서 재생되는 소리에 관련된 소리 데이터를 무시함으로써 주변 환경을 정확하게 판단할 수 있다.When determining the surrounding environment, the electronic device 101 according to various embodiments may ignore sound data related to a sound reproduced by another electronic device and consider only sound data related to an actual noise source. Since noise generated by content being reproduced in another electronic device does not represent the surrounding environment of the electronic device 101 , the electronic device 101 ignores sound data related to sounds reproduced in the other electronic device to improve the surrounding environment. can be judged accurately.

도 6a 내지 도 6c는 다양한 실시예에 따른 전자 장치에서 표시되는 예시적인 화면을 도시한다. 도 6a는 전자 장치(101)의 디스플레이(160)에 표시되는, 주변 환경의 시나리오별로 전자 장치(101)에 의하여 인식할 것인지 여부를 설정할 수 있는 설정 인터페이스(600a)를 도시한다. 도 6a를 참조하면, 설정 인터페이스는 상황 인식 기능의 온/오프를 제어할 수 있는 인터페이스(610a), 상황 인식 기능이 켜진 경우, 실내 소리 인식을 활성화할 것인지 아니면 비활성화할 것인지를 제어할 수 있는 인터페이스(620a) 및 실외 소리 인식을 활성화할 것인지 아니면 비활성화할 것인지를 제어할 수 있는 인터페이스(630a)를 포함할 수 있다.6A to 6C illustrate exemplary screens displayed on an electronic device according to various embodiments. FIG. 6A illustrates a setting interface 600a displayed on the display 160 of the electronic device 101 for setting whether or not to be recognized by the electronic device 101 for each scenario of the surrounding environment. Referring to FIG. 6A , the setting interface is an interface 610a for controlling on/off of the context recognition function, and an interface for controlling whether to activate or deactivate indoor sound recognition when the context recognition function is turned on It may include a 620a and an interface 630a that can control whether to activate or deactivate outdoor sound recognition.

도 6b는 실외 소리 인식에 관하여, 실외에서 발생할 수 있는 구체적인 시나리오별로 전자 장치(101)에 의하여 인식할 것인지 여부를 설정할 수 있는 실외 소리 인식 설정 인터페이스(600b)를 도시한다. 도 6b를 참조하면, 실외 소리 인식 설정 인터페이스(600b)는 실외 소리 인식을 활성화할 것인지 아니면 비활성화할 것인지를 제어할 수 있는 인터페이스(610b)를 포함할 수 있다. 다양한 실시예에 따라서, 실외 소리 인식 설정 인터페이스(600b)는 화재 경보를 인식하는 기능을 활성화할 것인지 아니면 비활성화할 것인지를 제어할 수 있는 인터페이스(621b) 및 앰뷸런스 사이렌을 인식하는 기능을 활성화할 것인지 아니면 비활성화할 것인지를 제어할 수 있는 인터페이스(622b)를 포함할 수 있다. 다양한 실시예에 따라서, 실외 소리 인식 설정 인터페이스(600b)는 사용자가 지하철에 탑승한 상황을 인식하는 기능을 활성화할 것인지 아니면 비활성화할 것인지를 제어할 수 있는 인터페이스(631b) 및 자전거 벨이 울리는 상황을 인식하는 기능을 활성화할 것인지 아니면 비활성화할 것인지를 제어할 수 있는 인터페이스(632b)를 포함할 수 있다.6B illustrates an outdoor sound recognition setting interface 600b that can set whether or not to be recognized by the electronic device 101 for each specific scenario that may occur outdoors with respect to outdoor sound recognition. Referring to FIG. 6B , the outdoor sound recognition setting interface 600b may include an interface 610b that can control whether to activate or deactivate outdoor sound recognition. According to various embodiments, the outdoor sound recognition setting interface 600b activates the interface 621b that can control whether to activate or deactivate the function to recognize the fire alarm and to activate the function to recognize the ambulance siren or not. It may include an interface 622b that can control whether to deactivate. According to various embodiments, the outdoor sound recognition setting interface 600b includes an interface 631b that can control whether to activate or deactivate a function for recognizing a situation in which the user boards the subway, and a situation in which a bicycle bell rings. An interface 632b capable of controlling whether to activate or deactivate the recognition function may be included.

도 6c는 사용자가 지하철에 탑승한 상황을 인식하는 기능과 관련하여, 사용자가 지하철에 탑승한 상황을 인식하기 위한 인식 키워드를 설정하는 인터페이스(600c)를 포함할 수 있다. 인터페이스(600c)는 기존에 설정된 인식 키워드들(611c, 612c, 613c)을 표시할 수 있으며, 새로운 키워드를 추가하기 위한 인터페이스(620c)를 포함할 수 있다. 다양한 실시예에 따라서, 전자 장치(101)의 적어도 하나의 프로세서(120)는 소리 데이터에 기초하여, 설정된 인식 키워드들(611c, 612c, 613c)이 감지되는 것을, 사용자가 지하철에 탑승한 상황이라고 확인하기 위한 조건 중 적어도 일부로 할 수 있다.6C may include an interface 600c for setting recognition keywords for recognizing a situation in which the user boards the subway in relation to the function of recognizing the situation in which the user boards the subway. The interface 600c may display previously set recognition keywords 611c, 612c, and 613c, and may include an interface 620c for adding a new keyword. According to various embodiments of the present disclosure, the at least one processor 120 of the electronic device 101 determines that the set recognition keywords 611c , 612c , and 613c are detected based on the sound data as a situation in which the user is boarding the subway. It can be done as at least part of the conditions for confirmation.

도 7은 다양한 실시예에 따른, 웨어러블 전자 장치의 블록도이다. 도 7을 참조하면, 웨어러블 전자 장치(700)는 소리 입력 장치(710), 소리 출력 장치(720), 통신 회로(730), 프로세서(740), 및 센서(750)를 포함할 수 있다. 소리 입력 장치(710), 소리 출력 장치(720), 통신 회로(730), 및 프로세서(740)에 대해서는 도 2를 참조하여 상술한 소리 입력 장치(210), 소리 출력 장치(220), 통신 회로(230), 및 프로세서(240)에 관한 세부 사항들이 적용될 수 있다. 다양한 실시예에 따라서, 센서(750)는 자이로 센서(751), 가속도 센서(752), GPS 센서(753), 및 진동 센서(754)를 포함할 수 있다.7 is a block diagram of a wearable electronic device according to various embodiments of the present disclosure; Referring to FIG. 7 , the wearable electronic device 700 may include a sound input device 710 , a sound output device 720 , a communication circuit 730 , a processor 740 , and a sensor 750 . The sound input device 710 , the sound output device 720 , the communication circuit 730 , and the processor 740 are the sound input device 210 , the sound output device 220 , and the communication circuit described above with reference to FIG. 2 . Details regarding 230 and processor 240 may apply. According to various embodiments, the sensor 750 may include a gyro sensor 751 , an acceleration sensor 752 , a GPS sensor 753 , and a vibration sensor 754 .

도 8은 다양한 실시예에 따른 웨어러블 전자 장치에서 수행되는 동작들을 도시한다. 810 동작에서, 웨어러블 전자 장치(예를 들어, 웨어러블 전자 장치(700))의 적어도 하나의 프로세서(예를 들어, 프로세서(740))는 소리 입력 장치(710)를 통하여 주변 환경에 관한 소리 데이터를 획득할 수 있다.8 illustrates operations performed by a wearable electronic device according to various embodiments of the present disclosure. In operation 810 , at least one processor (eg, processor 740 ) of the wearable electronic device (eg, wearable electronic device 700 ) receives sound data regarding the surrounding environment through the sound input device 710 . can be obtained

820 동작에서, 적어도 하나의 프로세서(740)는 적어도 하나의 센서(예를 들어, 센서(750))를 통하여 센서 데이터를 획득할 수 있다.In operation 820 , the at least one processor 740 may acquire sensor data through at least one sensor (eg, the sensor 750 ).

830 동작에서, 적어도 하나의 프로세서(740)는 소리 데이터 및 센서 데이터에 기초하여, 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인할 수 있다. 도 3의 330 동작에 관한 세부 사항이 830 동작에 적용될 수 있다. 도 3의 330 동작은 웨어러블 전자 장치(700)와 상호작용하는 전자 장치(예를 들어, 전자 장치(101))에 의하여 수행되는 동작인 반면, 830 동작은 웨어러블 전자 장치(700)에 의하여 수행되는 동작이라는 점에서 차이가 있다.In operation 830 , the at least one processor 740 may determine whether the surrounding environment matches one of a plurality of preset situations based on the sound data and the sensor data. Details regarding operation 330 of FIG. 3 may be applied to operation 830 . While operation 330 of FIG. 3 is an operation performed by an electronic device (eg, the electronic device 101) interacting with the wearable electronic device 700, operation 830 is performed by the wearable electronic device 700 There is a difference in action.

840 동작에서, 적어도 하나의 프로세서(740)는 외부 전자 장치(예를 들어, 전자 장치(101))의 디스플레이(예를 들어, 디스플레이 모듈(160))의 상태 및 웨어러블 전자 장치(700)의 소리 출력 장치(720)를 통하여 소리를 출력 중인지 여부를 확인할 수 있다. 적어도 하나의 프로세서(740)는 통신 회로(730)를 통하여 외부 전자 장치(101)로부터 디스플레이(160)의 상태에 관한 정보를 수신함으로써 디스플레이(160)의 상태를 확인할 수 있다. 다양한 실시예에 따라서, 디스플레이(160)의 상태는 디스플레이(160)가 켜져 있는 상태 및 디스플레이(160)가 꺼져 있는 상태를 포함할 수 있다.In operation 840 , the at least one processor 740 determines the state of the display (eg, the display module 160 ) of the external electronic device (eg, the electronic device 101 ) and the sound of the wearable electronic device 700 . It can be checked whether sound is being output through the output device 720 . The at least one processor 740 may check the state of the display 160 by receiving information about the state of the display 160 from the external electronic device 101 through the communication circuit 730 . According to various embodiments, the state of the display 160 may include a state in which the display 160 is turned on and a state in which the display 160 is turned off.

340 동작에서와 마찬가지로, 웨어러블 전자 장치(700)의 소리 출력 장치(720)를 통하여 소리를 출력 중인지 여부를 확인한다는 의미는, 음악 또는 동영상에 대응되는 소리와 같이, 사용자에게 인식되기 위한 소리를 출력 중인지 여부를 확인한다는 의미일 수 있다.As in operation 340 , checking whether a sound is being output through the sound output device 720 of the wearable electronic device 700 means outputting a sound to be recognized by the user, such as a sound corresponding to music or a video This may mean checking whether or not it is in progress.

850 동작에서, 적어도 하나의 프로세서(740)는 소리 출력 장치(720)를 제어하는 것, 또는 외부 전자 장치(101)의 디스플레이(160) 상에 알림을 표시하도록 외부 전자 장치에 신호를 송신하는 것 중 적어도 하나를 수행할 수 있다. 도 3의 350 동작에 관한 세부 사항이 850 동작에 적용될 수 있으나, 350 동작에 관하여 디스플레이(160) 상에 표시한다는 것은, 850 동작에서는 외부 전자 장치(101)로 하여금 디스플레이(160) 상에 표시하도록 하는 신호를 외부 전자 장치(101)에 전송하는 것으로 대체될 수 있고, 350 동작에 관하여 웨어러블 전자 장치(200)가 특정한 동작을 수행하도록 웨어러블 전자 장치(200)에 제어 신호를 송신한다는 것은, 850 동작에서는 적어도 하나의 프로세서(740)에서 특정한 동작을 수행하도록 소리 출력 장치(720)를 제어하는 것으로 대체될 수 있다.In operation 850 , the at least one processor 740 controls the sound output device 720 , or transmits a signal to the external electronic device to display a notification on the display 160 of the external electronic device 101 . at least one of The details of operation 350 of FIG. 3 may be applied to operation 850 , but displaying on the display 160 in operation 350 means that the external electronic device 101 displays on the display 160 in operation 850 . may be replaced with transmitting a signal to the external electronic device 101, and in operation 350 , transmitting the control signal to the wearable electronic device 200 so that the wearable electronic device 200 performs a specific operation includes operation 850 may be replaced with controlling the sound output device 720 so that at least one processor 740 performs a specific operation.

도 9는 다양한 실시예에 따른 웨어러블 전자 장치에서 수행되는 동작들을 도시한다. 910 동작에서, 웨어러블 전자 장치(예를 들어, 웨어러블 전자 장치(700))의 적어도 하나의 프로세서(예를 들어, 프로세서(740))는 소리 입력 장치(710)를 통하여 주변 환경에 관한 소리 데이터를 획득할 수 있다.9 illustrates operations performed by a wearable electronic device according to various embodiments of the present disclosure. In operation 910 , at least one processor (eg, the processor 740 ) of the wearable electronic device (eg, the wearable electronic device 700 ) receives sound data regarding the surrounding environment through the sound input device 710 . can be obtained

920 동작에서, 적어도 하나의 프로세서(740)는 소리 데이터에 기초하여, 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인할 수 있다. 도 4의 420 동작에 관한 세부 사항이 920 동작에 적용될 수 있다. 도 4의 420 동작은 웨어러블 전자 장치(700)와 상호작용하는 전자 장치(예를 들어, 전자 장치(101))에 의하여 수행되는 동작인 반면, 920 동작은 웨어러블 전자 장치(700)에 의하여 수행되는 동작이라는 점에서 차이가 있다In operation 920 , the at least one processor 740 may determine whether the surrounding environment matches one of a plurality of preset situations based on the sound data. Details regarding operation 420 of FIG. 4 may be applied to operation 920 . Operation 420 of FIG. 4 is an operation performed by an electronic device (eg, the electronic device 101) interacting with the wearable electronic device 700 , while operation 920 is performed by the wearable electronic device 700 . There is a difference in the action

930 동작에서, 적어도 하나의 프로세서(740)는 외부 전자 장치(예를 들어, 전자 장치(101))의 디스플레이(예를 들어, 디스플레이 모듈(160))의 상태 및 웨어러블 전자 장치(700)의 소리 출력 장치(720)를 통하여 소리를 출력 중인지 여부를 확인할 수 있다. 도 8의 840 동작에 관한 세부 사항들이 930 동작에 적용될 수 있다.In operation 930 , the at least one processor 740 determines the state of the display (eg, the display module 160 ) of the external electronic device (eg, the electronic device 101 ) and the sound of the wearable electronic device 700 . It can be checked whether sound is being output through the output device 720 . Details regarding operation 840 of FIG. 8 may be applied to operation 930 .

940 동작에서, 적어도 하나의 프로세서(740)는 소리 출력 장치(720)를 제어하는 것, 또는 외부 전자 장치(101)의 디스플레이(160) 상에 알림을 표시하도록 외부 전자 장치에 신호를 송신하는 것 중 적어도 하나를 수행할 수 있다. 도 4의 440 동작에 관한 세부 사항이 940 동작에 적용될 수 있으나, 440 동작에 관하여 디스플레이(160) 상에 표시한다는 것은, 940 동작에서는 외부 전자 장치(101)로 하여금 디스플레이(160) 상에 표시하도록 하는 신호를 외부 전자 장치(101)에 전송하는 것으로 대체될 수 있고, 440 동작에 관하여 웨어러블 전자 장치(200)가 특정한 동작을 수행하도록 웨어러블 전자 장치(200)에 제어 신호를 송신한다는 것은, 940 동작에서는 적어도 하나의 프로세서(740)에서 특정한 동작을 수행하도록 소리 출력 장치(720)를 제어하는 것으로 대체될 수 있다.In operation 940 , the at least one processor 740 controls the sound output device 720 , or transmits a signal to the external electronic device to display a notification on the display 160 of the external electronic device 101 . at least one of The details of operation 440 of FIG. 4 may be applied to operation 940 , but displaying on the display 160 in operation 440 means that the external electronic device 101 displays on the display 160 in operation 940 . may be replaced with transmitting a signal to the external electronic device 101, and in operation 440 , transmitting the control signal to the wearable electronic device 200 so that the wearable electronic device 200 performs a specific operation is performed in operation 940 may be replaced with controlling the sound output device 720 so that at least one processor 740 performs a specific operation.

도 10은 다양한 실시예에 따른 웨어러블 전자 장치에서 수행되는 동작들을 도시한다. 1010 동작에서, 웨어러블 전자 장치(예를 들어, 웨어러블 전자 장치(700))의 적어도 하나의 프로세서(예를 들어, 프로세서(740))는 소리 입력 장치(710)를 통하여 주변 환경에 관한 소리 데이터를 획득할 수 있다.10 illustrates operations performed by a wearable electronic device according to various embodiments of the present disclosure. In operation 1010 , at least one processor (eg, processor 740 ) of the wearable electronic device (eg, wearable electronic device 700 ) receives sound data regarding the surrounding environment through the sound input device 710 . can be obtained

1020 동작에서, 적어도 하나의 프로세서(740)는 소리 데이터가 웨어러블 전자 장치(700) 외의 다른 전자 장치에서 재생되는 소리에 관련된 데이터인지 확인할 수 있다. 도 5의 520 동작에 관한 세부 사항들이 1020 동작에 적용될 수 있다. 520 동작이 전자 장치(101)의 적어도 하나의 프로세서(120)에서 수행되는 반면, 1020 동작은 웨어러블 전자 장치(700)의 적어도 하나의 프로세서(740)에서 수행된다는 점에서 차이가 있다.In operation 1020 , the at least one processor 740 may determine whether the sound data is data related to a sound reproduced in an electronic device other than the wearable electronic device 700 . Details regarding operation 520 of FIG. 5 may be applied to operation 1020 . There is a difference in that operation 520 is performed by at least one processor 120 of the electronic device 101 , while operation 1020 is performed by at least one processor 740 of the wearable electronic device 700 .

1030 동작에서, 소리 데이터가 웨어러블 전자 장치(700) 외의 다른 전자 장치에서 재생되는 소리에 관련된 데이터인 경우, 적어도 하나의 프로세서(740)는 실제 존재하는 소음원에 관련된 소리 데이터가 확인될 때까지 1010 동작 내지 1030 동작을 반복할 수 있다. 달리 말하면, 적어도 하나의 프로세서(740)는 주변 환경을 판단함에 있어서, 다른 전자 장치에서 재생되는 소리에 관련된 소리 데이터는 활용하지 않을 수 있다.In operation 1030 , when the sound data is data related to a sound reproduced in an electronic device other than the wearable electronic device 700 , the at least one processor 740 performs operation 1010 until sound data related to an actual noise source is identified. Operations 1030 to 1030 may be repeated. In other words, in determining the surrounding environment, the at least one processor 740 may not utilize sound data related to sounds reproduced by other electronic devices.

1030 동작에서, 소리 데이터가 웨어러블 전자 장치(700) 외의 다른 전자 장치에서 재생되는 소리에 관련된 데이터가 아닌 경우, 적어도 하나의 프로세서(740)는 1040 동작을 수행할 수 있다. 540 동작에서, 적어도 하나의 프로세서(740)는 적어도 하나의 센서(예를 들어, 센서(750))를 통하여 센서 데이터를 획득할 수 있다. In operation 1030 , when the sound data is not data related to a sound reproduced in an electronic device other than the wearable electronic device 700 , the at least one processor 740 may perform operation 1040 . In operation 540 , the at least one processor 740 may acquire sensor data through at least one sensor (eg, the sensor 750 ).

1050 동작에서, 적어도 하나의 프로세서(740)는 소리 데이터 및 센서 데이터에 기초하여, 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인할 수 있다. 도 8의 830 동작에 관한 세부 사항들이 1050 동작에 적용될 수 있다.In operation 1050 , the at least one processor 740 may determine whether the surrounding environment matches one of a plurality of preset situations based on the sound data and the sensor data. Details regarding operation 830 of FIG. 8 may be applied to operation 1050 .

1060 동작에서, 적어도 하나의 프로세서(740)는 외부 전자 장치(예를 들어, 전자 장치(101))의 디스플레이(예를 들어, 디스플레이 모듈(160))의 상태 및 웨어러블 전자 장치(700)의 소리 출력 장치(720)를 통하여 소리를 출력 중인지 여부를 확인할 수 있다. 도 8의 840 동작에 관한 세부 사항들이 1060 동작에 적용될 수 있다.In operation 1060 , the at least one processor 740 determines the state of the display (eg, the display module 160 ) of the external electronic device (eg, the electronic device 101 ) and the sound of the wearable electronic device 700 . It can be checked whether sound is being output through the output device 720 . Details regarding operation 840 of FIG. 8 may be applied to operation 1060 .

1070 동작에서, 적어도 하나의 프로세서(740)는 적어도 하나의 프로세서(740)는 소리 출력 장치(720)를 제어하는 것, 또는 외부 전자 장치(101)의 디스플레이(160) 상에 알림을 표시하도록 외부 전자 장치에 신호를 송신하는 것 중 적어도 하나를 수행할 수 있다. 도 8의 850 동작에 관한 세부 사항들이 1070 동작에 적용될 수 있다.In operation 1070 , the at least one processor 740 controls the sound output device 720 , or displays a notification on the display 160 of the external electronic device 101 . At least one of transmitting a signal to the electronic device may be performed. Details regarding operation 850 of FIG. 8 may be applied to operation 1070 .

다양한 실시예에 따른 웨어러블 전자 장치(700)는 주변 환경을 판단함에 있어서, 웨어러블 전자 장치(700) 외 다른 전자 장치에서 재생되는 소리에 관련된 소리 데이터는 무시하고 실제 존재하는 소음원에 관련된 소리 데이터만 고려할 수 있다. 다른 전자 장치에서 재생 중인 컨텐츠에 의하여 발생하는 소음은 웨어러블 전자 장치(700)의 주변 환경을 대표하지 못하므로, 웨어러블 전자 장치(700)는 다른 전자 장치에서 재생되는 소리에 관련된 소리 데이터를 무시함으로써 주변 환경을 정확하게 판단할 수 있다.In determining the surrounding environment, the wearable electronic device 700 according to various embodiments ignores sound data related to sounds reproduced by other electronic devices other than the wearable electronic device 700 and considers only sound data related to an actual noise source. can Since noise generated by content being reproduced in another electronic device does not represent the surrounding environment of the wearable electronic device 700 , the wearable electronic device 700 ignores sound data related to sounds reproduced in the other electronic device. environment can be accurately assessed.

도 11은 일 실시예에 따른 웨어러블 전자 장치에 포함될 수 있는 제1 무선 오디오 장치의 정면도 및 배면도를 도시한다. 11 is a front view and a rear view of a first wireless audio device that may be included in a wearable electronic device according to an exemplary embodiment.

도 11을 참조하여, 웨어러블 전자 장치(200)에 포함될 수 있는 제1 무선 오디오 장치(1100)의 구조가 설명된다. 설명의 편의를 위하여 중복된 설명은 생략되나, 웨어러블 전자 장치(200)는 제1 무선 오디오 장치(1100)와 동일 또는 유사한 구조를 가지는 제2 무선 오디오 장치(미도시)를 더 포함할 수 있다. A structure of the first wireless audio device 1100 that may be included in the wearable electronic device 200 will be described with reference to FIG. 11 . Although redundant description is omitted for convenience of description, the wearable electronic device 200 may further include a second wireless audio device (not shown) having the same or similar structure to the first wireless audio device 1100 .

참조 번호 1101은 제1 무선 오디오 장치(1100)의 정면도를 도시한다. 제1 무선 오디오 장치(1100)는 하우징(1110)을 포함할 수 있다. 하우징(1110)은 제1 무선 오디오 장치(1100)의 외관의 적어도 일부를 형성할 수 있다. 하우징(1110)의 제1 면(예: 착용 되었을 때 외부를 향하는 면)에 배치된 버튼(1113) 및 복수의 마이크(1181a, 1181b)를 포함할 수 있다. 버튼(1113)은 사용자 입력(예: 터치 입력 또는 푸시 입력)을 수신하도록 설정될 수 있다. 제1 마이크(1181a) 및 제2 마이크(1181b)는 도 3의 오디오 수신 회로(1181)에 포함될 수 있다. 제1 마이크(1181a) 및 제2 마이크(1181b)는, 제1 무선 오디오 장치(1100)가 착용 되었을 때, 사용자의 외부를 향하는 방향으로 소리를 감지하도록 배치될 수 있다. 제1 마이크(1181a) 및 제2 마이크(1181b)는 외부 마이크로 참조될 수 있다. 제1 마이크(1181a) 및 제2 마이크(1181b)는 하우징(1110) 외부의 소리를 감지할 수 있다. 예를 들어, 제1 마이크(1181a) 및 제2 마이크(1181b)는 제1 무선 오디오 장치(1100)의 주변에서 발생되는 소리를 감지할 수 있다. 제1 무선 오디오 장치(1100)에 의해 감지된 주변 환경의 소리는 스피커(1170)에 의해 출력될 수도 있다. 일 실시 예에서, 제1 마이크(1181a) 및 제2 마이크(1181b)는 제1 무선 오디오 장치(1100)의 노이즈 캔슬 기능(예: ANC; active noise cancellation)을 위한 수음용 마이크일 수 있다. 또한, 제1 마이크(1181a) 및 제2 마이크(1181b)는 제1 무선 오디오 장치(1100)의 주변 소리 듣기 기능(예: transparency 기능 또는 ambient aware 기능)을 위한 수음용 마이크일 수 있다. 예를 들어, 제1 마이크(1181a) 및 제2 마이크(1181b)는 전자 콘덴서 마이크(ECM; electronic condenser microphone) 및 MEMS(micro electro mechanical system) 마이크를 포함하는 다양한 종류의 마이크를 포함할 수 있다. 하우징(1110)의 둘레에는 윙팁(wing tip, 1111)이 결합될 수 있다. 윙 팁(1111)은 탄성 소재로 형성될 수 있다. 윙팁(1111)은 하우징(1110)으로부터 탈착되거나 하우징(1110)에 부착될 수 있다. 윙팁(1111)은 제1 무선 오디오 장치(1100)의 착용성을 개선할 수 있다. Reference numeral 1101 shows a front view of the first wireless audio device 1100 . The first wireless audio device 1100 may include a housing 1110 . The housing 1110 may form at least a part of the exterior of the first wireless audio device 1100 . It may include a button 1113 and a plurality of microphones 1181a and 1181b disposed on the first surface of the housing 1110 (eg, the surface facing the outside when worn). The button 1113 may be set to receive a user input (eg, a touch input or a push input). The first microphone 1181a and the second microphone 1181b may be included in the audio receiving circuit 1181 of FIG. 3 . The first microphone 1181a and the second microphone 1181b may be arranged to sense a sound in a direction facing the outside of the user when the first wireless audio device 1100 is worn. The first microphone 1181a and the second microphone 1181b may be referred to as external microphones. The first microphone 1181a and the second microphone 1181b may sense a sound outside the housing 1110 . For example, the first microphone 1181a and the second microphone 1181b may detect a sound generated in the vicinity of the first wireless audio device 1100 . The sound of the surrounding environment sensed by the first wireless audio device 1100 may be output by the speaker 1170 . In an embodiment, the first microphone 1181a and the second microphone 1181b may be sound-collecting microphones for a noise canceling function (eg, active noise cancellation (ANC)) of the first wireless audio device 1100 . In addition, the first microphone 1181a and the second microphone 1181b may be sound pickup microphones for a function of listening to an ambient sound (eg, a transparency function or an ambient aware function) of the first wireless audio device 1100 . For example, the first microphone 1181a and the second microphone 1181b may include various types of microphones including an electronic condenser microphone (ECM) and a micro electro mechanical system (MEMS) microphone. A wing tip 1111 may be coupled to the circumference of the housing 1110 . The wing tip 1111 may be formed of an elastic material. The wing tip 1111 may be detached from the housing 1110 or attached to the housing 1110 . The wingtip 1111 may improve wearability of the first wireless audio device 1100 .

참조 번호 1102는 제1 무선 오디오 장치(1100)의 배면도를 도시한다. 하우징(1110)의 제2 면(예: 착용 되었을 때 사용자를 향하는 면)에 배치된 제1 전극(1114), 제2 전극(1115), 근접 센서(1150), 제3 마이크(1181c), 및 스피커(1170)를 포함할 수 있다. 스피커(1170)는 도 3의 오디오 출력 회로(1171)에 포함될 수 있다. 스피커(1170)는 전기 신호를 소리 신호로 변환할 수 있다. 스피커(1170)는 제1 무선 오디오 장치(1100) 외부로 소리를 출력할 수 있다. 예를 들어, 스피커(1170)는 전기 신호를 사용자가 청각적으로 인식할 수 있는 소리로 변환하여 출력할 수 있다. 스피커(1170)의 적어도 일부는 하우징(1110) 내부에 배치될 수 있다. 스피커(1170)는 하우징(1110)의 일 단부를 통하여 이어팁(1112)과 결합될 수 있다. 이어팁(1112)은 내부에 중공이 형성된 원통 형상으로 형성될 수 있다. 예를 들어, 이어팁(1112)이 하우징(1110)과 결합된 경우에, 스피커(1170)로부터 출력되는 소리(오디오)는 이어팁(1112)의 중공을 통해 외부 객체(예: 사용자)에게 전달 될 수 있다.Reference numeral 1102 shows a rear view of the first wireless audio device 1100 . A first electrode 1114, a second electrode 1115, a proximity sensor 1150, a third microphone 1181c, and A speaker 1170 may be included. The speaker 1170 may be included in the audio output circuit 1171 of FIG. 3 . The speaker 1170 may convert an electrical signal into a sound signal. The speaker 1170 may output sound to the outside of the first wireless audio device 1100 . For example, the speaker 1170 may convert an electrical signal into a sound that the user can audibly recognize and output. At least a portion of the speaker 1170 may be disposed inside the housing 1110 . The speaker 1170 may be coupled to the ear tip 1112 through one end of the housing 1110 . The ear tip 1112 may be formed in a cylindrical shape with a hollow formed therein. For example, when the ear tip 1112 is coupled to the housing 1110, the sound (audio) output from the speaker 1170 can be transmitted to an external object (eg, a user) through the hollow of the ear tip 1112 . have.

일 실시예에 따르면, 제1 무선 오디오 장치(1100)는 하우징(1110)의 제2 면에 배치된 센서(1151a)(예: 가속도 센서, 골전도 센서 및/또는 자이로 센서)를 포함할 수 있다. 도 11에 도시된 센서(1151a)의 위치 및 형태는 예시적인 것으로서, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 센서(1151a)는 하우징(1110)의 내부에 배치되어 외부에 노출되지 않을 수도 있다. 센서(1151a)는, 착용되었을 때, 착용자의 귀에 접촉할 수 있는 위치 또는 착용자의 귀에 접촉하는 하우징(1110)의 일 부분에 위치될 수 있다.According to an embodiment, the first wireless audio device 1100 may include a sensor 1151a (eg, an acceleration sensor, a bone conduction sensor, and/or a gyro sensor) disposed on the second surface of the housing 1110 . . The position and shape of the sensor 1151a illustrated in FIG. 11 are exemplary, and embodiments of the present document are not limited thereto. For example, the sensor 1151a may be disposed inside the housing 1110 and may not be exposed to the outside. The sensor 1151a, when worn, may be located at a position capable of contacting the wearer's ear or at a portion of the housing 1110 contacting the wearer's ear.

이어팁(1112)은 탄성 소재(또는 가요성 재질)로 형성될 수 있다. 이어팁(1112)은 제1 무선 오디오 장치(1100)가 사용자의 귀에 밀착하여 삽입되도록 보조할 수 있다. 예를 들어, 이어팁(1112)은 실리콘(silicon) 재질로 형성될 수 있다. 이어팁(1112)의 적어도 일 영역은 외부 객체의 형상(예: 귀의 커널 모양)에 따라 변형될 수 있다. 본 발명의 다양한 실시 예에 따라서, 이어팁(1112)은 실리콘, 폼(foam) 및 플라스틱 재질 중 적어도 둘의 조합에 의하여 형성될 수도 있다. 예를 들어, 이어팁(1112) 중 사용자 귀에 삽입되어 맞닿는 영역은 실리콘 재질로 형성되고, 하우징(1110)이 삽입되는 영역은 플라스틱 재질로 형성될 수 있다. 이어팁(1112)은 하우징(1110)으로부터 탈착되거나 하우징(1110)에 부착될 수 있다. 제1 전극(1114) 및 제2 전극(1115)은, 외부 전력원(예: 케이스)과 연결되고, 외부 전력원으로부터 전기 신호를 수신할 수 있다. 근접 센서(1150)는, 사용자의 착용 상태를 감지하기 위하여 이용될 수 있다. 근접 센서(1150)는 하우징(1110)의 내부에 배치될 수 있다. 근접 센서(1150)는 적어도 일부가 제1 무선 오디오 장치(1100)의 외관으로 노출되도록 배치될 수 있다. 제1 무선 오디오 장치(1100)는 근접 센서(1150)에 의해 측정된 데이터에 기반하여, 제1 무선 오디오 장치(1100)의 사용자에게 착용 여부를 판단할 수 있다. 예를 들어, 근접 센서(1150)는 IR 센서를 포함할 수 있다. IR 센서는 하우징(1110)이 사용자의 신체에 접촉되었는지 여부를 감지할 수 있고, 제1 무선 오디오 장치(1100)는 IR 센서의 감지에 기초하여 제1 무선 오디오 장치(1100)의 착용 여부를 판단할 수 있다. 근접 센서(1150)는 IR 센서에 한정되지 않고, 다양한 종류의 센서(예: 가속도 센서 또는 자이로 센서)를 이용하여 구현될 수 있다. 제3 마이크(1181c)는 제1 무선 오디오 장치(1100)가 착용 되었을 때, 사용자를 향하는 방향으로 소리를 감지하도록 배치될 수 있다. 제3 마이크(1181c)는 내부 마이크로 참조될 수 있다.The ear tip 1112 may be formed of an elastic material (or a flexible material). The ear tip 1112 may assist the first wireless audio device 1100 to be inserted in close contact with the user's ear. For example, the ear tip 1112 may be formed of a silicon material. At least one region of the ear tip 1112 may be deformed according to the shape of the external object (eg, the shape of the ear kernel). According to various embodiments of the present disclosure, the ear tip 1112 may be formed by a combination of at least two of silicone, foam, and plastic material. For example, a region in which the ear tip 1112 is inserted into and abuts against a user's ear may be formed of a silicone material, and a region into which the housing 1110 is inserted may be formed of a plastic material. The ear tip 1112 may be detached from the housing 1110 or attached to the housing 1110 . The first electrode 1114 and the second electrode 1115 may be connected to an external power source (eg, a case) and receive an electrical signal from the external power source. The proximity sensor 1150 may be used to detect a wearing state of the user. The proximity sensor 1150 may be disposed inside the housing 1110 . At least a portion of the proximity sensor 1150 may be disposed to be exposed to the exterior of the first wireless audio device 1100 . The first wireless audio device 1100 may determine whether the first wireless audio device 1100 is worn by the user based on data measured by the proximity sensor 1150 . For example, the proximity sensor 1150 may include an IR sensor. The IR sensor may detect whether the housing 1110 is in contact with the user's body, and the first wireless audio device 1100 determines whether the first wireless audio device 1100 is worn based on the detection of the IR sensor. can do. The proximity sensor 1150 is not limited to the IR sensor, and may be implemented using various types of sensors (eg, an acceleration sensor or a gyro sensor). The third microphone 1181c may be disposed to detect a sound in a direction toward the user when the first wireless audio device 1100 is worn. The third microphone 1181c may be referred to as an internal microphone.

도 12는 일 실시예에 따른 무선 오디오 장치의 블록도를 도시한다. 12 shows a block diagram of a wireless audio device according to an embodiment.

다양한 실시예에 따라서, 도 12의 무선 오디오 장치(1200)는 웨어러블 전자 장치(200)의 일종일 수 있다. 도 12의 무선 오디오 장치(1200)의 구성들은 예시적인 소프트웨어 모듈들을 포함할 수 있다. 예를 들어, 상기 구성들은 제1 무선 오디오 장치(1100) 또는 제2 무선 오디오 장치에 의하여 구현될 수 있다. 상기 구성들의 적어도 일부는 생략될 수 있다. 상기 구성들 중 적어도 일부는 하나의 소프트웨어 모듈로 구현될 수 있다. 상기 구성들의 구분은 논리적인 것으로서, 동일한 기능을 수행하는 임의의 프로그램, 쓰레드(thread), 어플리케이션, 또는 코드(code)가 상기 구성들에 대응할 수 있다. According to various embodiments, the wireless audio device 1200 of FIG. 12 may be a type of the wearable electronic device 200 . Configurations of the wireless audio device 1200 of FIG. 12 may include exemplary software modules. For example, the above configurations may be implemented by the first wireless audio device 1100 or the second wireless audio device. At least some of the components may be omitted. At least some of the components may be implemented as one software module. The division of the components is logical, and any program, thread, application, or code that performs the same function may correspond to the components.

전처리(pre-processing) 모듈 (1210)은 오디오 수신 회로(예: 도 2의 소리 입력 장치(210))를 이용하여 수신된 소리(audio)(또는, 오디오 신호)에 대한 전처리를 수행할 수 있다. 예를 들어, 전처리 모듈(1210)은 AEC(acoustic echo canceller, 1211)를 이용하여 획득된 오디오 신호의 에코를 제거할 수 있다. 전처리 모듈(1210)은 NS(noise suppression, 1212)를 이용하여 획득된 오디오 신호의 잡음을 감소시킬 수 있다. 전처리 모듈(1210)은 HPF(high pass filter, 1213)를 이용하여 획득된 오디오 신호의 지정된 대역의 신호를 감소시킬 수 있다. 전처리 모듈(1210)은 컨버터(1214)를 이용하여 오디오 입력 신호의 샘플링 레이트(sampling rate)를 변경할 수 있다. 예를 들어, 컨버터(1214)는 오디오 입력 신호에 대한 다운샘플링 또는 업샘플링을 수행하도록 설정될 수 있다. 전처리 모듈(1210)은 AEC(1211), NS(1212), HPF(1213), 또는 컨버터(1214) 중 적어도 하나를 오디오 신호에 선택적으로 적용시킬 수 있다. The pre-processing module 1210 may perform pre-processing on the received audio (or audio signal) using an audio receiving circuit (eg, the sound input device 210 of FIG. 2 ). . For example, the preprocessing module 1210 may cancel an echo of an audio signal obtained by using an acoustic echo canceller (AEC) 1211 . The preprocessing module 1210 may reduce noise of the acquired audio signal using noise suppression (NS) 1212 . The preprocessing module 1210 may reduce a signal of a specified band of the acquired audio signal using a high pass filter (HPF) 1213 . The preprocessing module 1210 may change a sampling rate of the audio input signal by using the converter 1214 . For example, the converter 1214 may be configured to perform downsampling or upsampling on an audio input signal. The preprocessing module 1210 may selectively apply at least one of the AEC 1211 , the NS 1212 , the HPF 1213 , and the converter 1214 to the audio signal.

대화 모드 모듈(dialog mode module, 1220)은 대화 모드의 개시 및 종료를 결정할 수 있다. 예를 들어, 대화 모드 모듈(1220)은 제1 VAD(voice activity detection, 1221)을 이용하여, 무선 오디오 장치(1200)의 착용자(예: 사용자)의 발화 여부를 감지할 수 있다. 대화 모드 모듈(1220)은 제2 VAD(1222)를 이용하여, 착용자의 발화 및 외부인의 발화 여부를 감지할 수 있다. 대화 모드 모듈(1220)은 제1 VAD(1221)를 통하여 착용자의 발화 구간을 식별 및/또는 특정할 수 있다. 대화 모드 모듈(1220)은 제1 VAD(1221) 및 제2 VAD(1222)를 통하여 외부인의 발화 구간을 식별 및/또는 특정할 수 있다. 예를 들어, 대화 모드 모듈(1220)은 제2 VAD(1222)를 통하여 발화가 식별된 구간 중, 제1 VAD(1221)를 통하여 착용자의 발화가 식별된 구간을 제외함으로써 외부인의 발화 구간을 식별 및/또는 특정할 수 있다. 대화 모드 모듈(1220)은 제1 VAD(1221), 제2 VAD(1222), 및 대화 모드 기능(1223)을 이용하여 소리 에이전트의 실행 및 종료 여부를 결정할 수 있다. The dialog mode module 1220 may determine initiation and termination of the dialog mode. For example, the conversation mode module 1220 may detect whether a wearer (eg, a user) of the wireless audio device 1200 speaks by using a first voice activity detection (VAD) 1221 . The conversation mode module 1220 may use the second VAD 1222 to detect whether the wearer's utterance and an outsider's utterance are uttered. The conversation mode module 1220 may identify and/or specify the utterance section of the wearer through the first VAD 1221 . The conversation mode module 1220 may identify and/or specify an outsider's utterance section through the first VAD 1221 and the second VAD 1222 . For example, the conversation mode module 1220 identifies the utterance section of an outsider by excluding the section in which the utterance of the wearer is identified through the first VAD 1221 from the section where the utterance is identified through the second VAD 1222 . and/or may be specified. The conversation mode module 1220 may determine whether to execute or terminate the sound agent by using the first VAD 1221 , the second VAD 1222 , and the conversation mode function 1223 .

일 실시예에 따르면, 대화 모드 모듈(1220)은 제1 VAD(1221) 및 제2 VAD(1222)를 이용하여 사용자의 발화 여부 및 외부인의 발화 여부를 감지할 수 있다. 일 예에서, 대화 모드 모듈(1220)은 전처리 모듈(1210)에 의하여 전처리된 오디오 신호 또는 전처리 모듈(1210)에 의하여 처리되지 않은 오디오 신호를 이용하여 제1 VAD(1221) 또는 제2 VAD(1222) 중 적어도 하나를 수행할 수 있다. 무선 오디오 장치(1200)는 센서 (1151a)(예: 모션 센서, 가속도 센서 및/또는 자이로 센서)를 이용하여 무선 오디오 장치(1200)의 움직임을 감지할 수 있다. 일 예를 들어, 지정된 대역(예: 사람의 음역 대역)에서, 지정된 크기 이상의 오디오 신호(예: 소리 신호)가 감지되면, 무선 오디오 장치(1200)는 오디오 신호로부터 소리 신호를 감지할 수 있다. 소리 신호가 감지되는 동안, 동시에 또는 실질적으로 동시에, 지정된 움직임이 감지되는 경우, 무선 오디오 장치(1200)는 소리 신호에 기반한 사용자 발화(예: 착용자 발화)를 감지할 수 있다. 예를 들어, 지정된 움직임은 무선 오디오 장치(1200)의 착용자의 발화로 인하여 무선 오디오 장치(1200)에 의하여 감지되는 움직임일 수 있다. 예를 들어, 착용자의 발화로 인한 움직임은 움직임 또는 진동의 형태로 모션 센서, 가속도 센서, 및/또는 자이로 센서에 전달될 수 있다. 착용자의 발화로 인한 움직임은 골전도 마이크로폰의 입력과 유사한 형태로 모션 센서, 가속도 센서, 및/또는 자이로 센서에 유입될 수 있다. 무선 오디오 장치(1200)는 지정된 움직임과 소리 신호에 기반하여 착용자의 발화의 시작 시간과 끝 시간에 대한 정보를 획득할 수 있다. 소리 신호가 감지되는 동안, 동시에 또는 실질적으로 동시에, 지정된 움직임이 감지되지 않는 경우, 무선 오디오 장치(1200)는 소리 신호에 기반한 외부인 발화(예: 착용자가 아닌 사람(예: 외부인 또는 상대방)의 발화)를 감지할 수 있다. 무선 오디오 장치(1200)는 지정된 움직임과 소리 신호에 기반하여 외부인의 발화의 시작 시간과 끝 시간에 대한 정보를 획득할 수 있다. 대화 모드 모듈(1220)은 사용자 또는 외부인의 발화의 시작 시작과 끝 시간에 대한 정보를 메모리에 저장하고, 메모리에 저장된 정보에 기반하여 대화 모드의 시작 또는 종료를 결정할 수 있다. According to an embodiment, the conversation mode module 1220 may detect whether the user's utterance and whether an outsider's utterance is uttered by using the first VAD 1221 and the second VAD 1222 . In one example, the interactive mode module 1220 uses the audio signal pre-processed by the pre-processing module 1210 or the audio signal not processed by the pre-processing module 1210 to the first VAD 1221 or the second VAD 1222 . ) can be performed at least one of. The wireless audio device 1200 may detect the movement of the wireless audio device 1200 using the sensor 1151a (eg, a motion sensor, an acceleration sensor, and/or a gyro sensor). For example, when an audio signal (eg, a sound signal) having a specified size or larger is detected in a specified band (eg, a human voice range), the wireless audio device 1200 may detect the sound signal from the audio signal. When a designated movement is sensed simultaneously or substantially simultaneously while a sound signal is detected, the wireless audio device 1200 may detect a user's utterance (eg, a wearer's utterance) based on the sound signal. For example, the designated movement may be a movement sensed by the wireless audio device 1200 due to the utterance of the wearer of the wireless audio device 1200 . For example, movement due to the wearer's utterance may be transmitted to a motion sensor, an acceleration sensor, and/or a gyro sensor in the form of movement or vibration. The motion caused by the wearer's utterance may be input to the motion sensor, the acceleration sensor, and/or the gyro sensor in a form similar to the input of the bone conduction microphone. The wireless audio device 1200 may acquire information on the start time and end time of the wearer's utterance based on the specified motion and sound signal. While a sound signal is sensed, simultaneously or substantially simultaneously, if a designated movement is not detected, the wireless audio device 1200 may utter an outsider's utterance based on the sound signal (eg, a utterance of a person other than the wearer (eg, an outsider or a counterpart)). ) can be detected. The wireless audio device 1200 may acquire information on the start time and end time of an outsider's utterance based on a designated motion and sound signal. The conversation mode module 1220 may store information on start and end times of the user's or an outsider's utterance in a memory, and determine the start or end of the conversation mode based on the information stored in the memory.

일 예를 들어, 제1 VAD(1221)와 제2 VAD(1222)는 직렬적인 프로세스일 수 있다. 무선 오디오 장치(1200)는 제2 VAD(1222)를 이용하여 소리 신호가 감지되면 움직임 센서(예: 가속도 센서 및/또는 자이로 센서)를 이용하여 움직임을 감지함으로써, 소리 신호가 사용자의 발화에 대응하는 것인지 식별할 수 있다. For example, the first VAD 1221 and the second VAD 1222 may be a serial process. When a sound signal is detected using the second VAD 1222 , the wireless audio device 1200 detects a motion using a motion sensor (eg, an acceleration sensor and/or a gyro sensor) so that the sound signal corresponds to the user's utterance. It can be identified whether

일 예를 들어, 제1 VAD(1221)와 제2 VAD(1222)는 병렬적인 프로세스일 수 있다. 예를 들어, 제1 VAD(1221)는 제2 VAD(1222)와는 독립적으로 사용자 발화를 감지하도록 설정될 수 있다. 제2 VAD(1222)는 사용자의 발화 여부와 무관하게 소리 신호를 감지하도록 설정될 수 있다. For example, the first VAD 1221 and the second VAD 1222 may be parallel processes. For example, the first VAD 1221 may be configured to detect a user's utterance independently of the second VAD 1222 . The second VAD 1222 may be set to detect a sound signal regardless of whether a user speaks.

일 예를 들어, 무선 오디오 장치(1200)는 사용자의 발화와 외부인의 발화를 감지함에 있어서 상이한 마이크를 이용할 수 있다. 무선 오디오 장치(1200)는 외부인의 발화를 감지하기 위하여 외부 마이크(예: 도 11의 제1 마이크(1181a) 및 제2 마이크(1181b))를 이용할 수 있다. 무선 오디오 장치(1200)는 사용자의 발화를 감지하기 위하여 내부 마이크(예: 도 11의 제3 마이크(1181c))를 이용할 수 있다. 내부 마이크를 이용하는 경우, 전자 장치(1200)는 내부 마이크에 기반한 소리 신호와 움직임 정보에 기반하여 착용자의 발화 여부를 결정할 수 있다. 무선 오디오 장치(1200)는 사용자의 발화를 감지하기 위하여 센서 입력으로 유입된 소리 신호에 기반하여 착용자의 발화 여부를 결정할 수 있다. 센서 입력으로 유입되는 신호로는 가속도 센서, 자이로 센서 입력을 적어도 하나 포함할 수 있다.For example, the wireless audio device 1200 may use different microphones to detect the user's utterance and the utterance of an outsider. The wireless audio device 1200 may use an external microphone (eg, the first microphone 1181a and the second microphone 1181b of FIG. 11 ) to detect an outsider's utterance. The wireless audio device 1200 may use an internal microphone (eg, the third microphone 1181c of FIG. 11 ) to detect a user's utterance. When using the internal microphone, the electronic device 1200 may determine whether the wearer speaks based on a sound signal and motion information based on the internal microphone. The wireless audio device 1200 may determine whether the wearer is uttering based on a sound signal input through a sensor input in order to detect the user's utterance. The signal flowing into the sensor input may include at least one of an acceleration sensor and a gyro sensor input.

일 실시예에 따르면, 대화 모드 모듈(1220)은 제1 VAD(1221) 및/또는 제2 VAD(1222)를 이용하여 대화 모드의 시작을 결정할 수 있다. 대화 모드 OFF 상태에서, 대화 모드 모듈(1220)은 대화 모드의 시작 여부를 결정할 수 있다. 예를 들어, 대화 모드 모듈(1220)은 사용자의 발화가 지정된 시간 구간 동안 유지되면 대화 모드의 시작을 결정할 수 있다. 다른 예를 들어, 대화 모드 모듈(1220)은 사용자의 발화 종료 후, 상대방의 발화가 지정된 시간 구간 동안 유지되면 대화 모드의 시작을 결정할 수 있다.According to an embodiment, the conversation mode module 1220 may determine the start of the conversation mode by using the first VAD 1221 and/or the second VAD 1222 . In the conversation mode OFF state, the conversation mode module 1220 may determine whether to start the conversation mode. For example, the conversation mode module 1220 may determine the start of the conversation mode when the user's utterance is maintained for a specified time period. As another example, the conversation mode module 1220 may determine the start of the conversation mode when the other party's utterance is maintained for a specified time period after the user's utterance is terminated.

일 실시예에 따르면, 대화 모드 모듈(1220)은 제1 VAD(1221) 및/또는 제2 VAD(1222)를 이용하여 대화 모드의 유지 또는 종료를 결정할 수 있다. 대화 모드 ON 상태에서, 대화 모드 모듈(1220)은 대화 모드의 유지 또는 종료 여부를 결정할 수 있다. 예를 들어, 대화 모드 중에, 대화 모드 모듈(1220)은 지정된 시간 구간동안 소리 신호가 감지되지 않으면 대화 모드의 종료를 결정할 수 있다. 대화 모드 중에, 대화 모드 모듈(1220)은 이전 소리 신호의 종료로부터 지정된 시간 구간내에 소리 신호가 감지되면 대화 모드의 유지를 결정할 수 있다. According to an embodiment, the conversation mode module 1220 may determine whether to maintain or terminate the conversation mode by using the first VAD 1221 and/or the second VAD 1222 . In the conversation mode ON state, the conversation mode module 1220 may determine whether to maintain or terminate the conversation mode. For example, during the conversation mode, the conversation mode module 1220 may determine the end of the conversation mode if no sound signal is detected for a specified time period. During the conversation mode, the conversation mode module 1220 may determine to maintain the conversation mode when a sound signal is detected within a specified time period from the end of the previous sound signal.

일 실시예에 따르면, 대화 모드 모듈(1220)은 대화 모드 기능(1223)에 기반하여 대화 모드의 시작 및/또는 종료를 결정할 수 있다. 대화 모드 기능(1223)은 사용자 입력에 기반한 대화 모드 시작 및/또는 종료를 감지할 수 있다. 예를 들어, 사용자 입력은 사용자의 소리 명령, 사용자의 터치 입력, 또는 사용자의 버튼 입력을 포함할 수 있다. According to an embodiment, the conversation mode module 1220 may determine the start and/or end of the conversation mode based on the conversation mode function 1223 . The conversation mode function 1223 may detect the start and/or end of the conversation mode based on a user input. For example, the user input may include a user's sound command, a user's touch input, or a user's button input.

일 실시예에 따르면, 대화 모드 모듈(1220)은 지정된 시간 구간의 길이를 주변 소리에 기반하여 결정할 수 있다. 예를 들어, 대화 모드 모듈(1220)은 외부 마이크를 이용하여 획득되는 소리의 배경 잡음의 감도, SNR의 값 또는 잡음의 종류 중 적어도 하나에 기반하여 지정된 시간 구간의 길이를 결정할 수 있다. 잡음이 큰 환경에서, 대화 모드 모듈(1220)은 지정된 시간 구간의 길이를 증가시킬 수 있다.According to an embodiment, the conversation mode module 1220 may determine the length of the specified time period based on the ambient sound. For example, the conversation mode module 1220 may determine the length of the designated time period based on at least one of a background noise sensitivity, an SNR value, and a noise type of a sound acquired using an external microphone. In a noisy environment, the conversation mode module 1220 may increase the length of the designated time interval.

일 실시예에 따르면, 대화 모드 모듈(1220)은 사용자의 소리 명령에 기반하여 대화 모드의 시작 및/또는 종료를 결정할 수 있다. 일 예에서, 소리 에이전트 모듈(1230)은 사용자의 대화 모드 개시를 지시하는 소리 명령을 감지하고, 소리 명령의 감지에 응답하여 대화 모드의 개시를 지시하는 정보를 대화 모드 기능(1223)으로 전달할 수 있다. 대화 모드 개시를 지시하는 소리 명령은 소리 에이전트의 웨이크업을 위한 웨이크업 발화(예: 하이 빅스비) 및 소리 명령을 포함할 수 있다. 예를 들어, 상기 소리 명령은 “하이 빅스비, 대화 모드 시작해줘”와 같은 형태를 가질 수 있다. 다른 예를 들어, 대화 모드 개시를 지시하는 소리 명령은 웨이크업 발화를 포함하지 않는 “대화 모드 시작해줘”와 같은 형태를 가질 수 있다. 대화 모드 기능(1223)이 소리 에이전트 모듈(1230)로부터 대화 모드 개시를 지시하는 정보를 수신하는 경우, 대화 모드 모듈(1220)은 대화 모드의 개시를 결정할 수 있다. 일 예에서, 소리 에이전트 모듈(1230)은 사용자의 대화 모드 종료를 지시하는 소리 명령을 감지하고, 상기 소리 명령의 감지에 응답하여 대화 모드의 종료를 지시하는 정보를 대화 모드 기능(1223)으로 전달할 수 있다. 예를 들어, 대화 모드 종료를 지시하는 소리 명령은 소리 에이전트의 웨이크업을 위한 웨이크업 발화 및 소리 명령을 포함할 수 있다. 상기 소리 명령은 “하이 빅스비, 대화 모드 종료해줘”와 같은 형태를 가질 수 있다. 예를 들어, 대화 모드 종료를 지시하는 소리 명령은 웨이크업 발화를 포함하지 않는 “대화 모드 종료해줘”와 같은 형태를 가질 수 있다. 대화 모드 기능(1223)이 소리 에이전트 모듈(1230)로부터 대화 모드 종료를 지시하는 정보를 수신하는 경우, 대화 모드 모듈(1220)은 대화 모드의 종료를 결정할 수 있다. According to an embodiment, the conversation mode module 1220 may determine the start and/or end of the conversation mode based on a user's sound command. In one example, the sound agent module 1230 may detect a sound command instructing the user to initiate the conversation mode, and transmit information instructing the start of the conversation mode to the conversation mode function 1223 in response to the detection of the sound command. have. The sound command instructing initiation of the conversation mode may include a wake-up utterance (eg, high Bixby) and a sound command for waking up of the sound agent. For example, the sound command may have a form such as “Hi Bixby, start conversation mode”. As another example, the sound command instructing initiation of the conversation mode may have a form such as “start the conversation mode” that does not include a wake-up utterance. When the conversation mode function 1223 receives information instructing the start of the conversation mode from the sound agent module 1230 , the conversation mode module 1220 may determine the start of the conversation mode. In one example, the sound agent module 1230 detects a sound command instructing the user to end the conversation mode, and transmits information instructing the end of the conversation mode to the conversation mode function 1223 in response to the detection of the sound command. can For example, the sound command instructing end of the conversation mode may include a wake-up utterance and a sound command for waking up of the sound agent. The sound command may have a form such as “Hi Bixby, end the conversation mode”. For example, the sound command instructing the end of the conversation mode may have a form such as “End the conversation mode” that does not include a wake-up utterance. When the conversation mode function 1223 receives information instructing the end of the conversation mode from the sound agent module 1230 , the conversation mode module 1220 may determine the end of the conversation mode.

일 실시예에 따르면, 대화 모드 모듈(1220)은 사용자의 터치 입력에 기반하여 대화 모드의 시작 및/또는 종료를 결정할 수 있다. 예를 들어, 전자 장치(101)는 무선 오디오 장치(1200)의 대화 모드 제어를 위한 UI를 제공할 수 있다. UI를 통하여, 전자 장치(101)는 대화 모드의 활성화 또는 비활성화를 설정하는 사용자의 입력을 수신할 수 있다. 대화 모드의 활성화를 지시하는 사용자 입력이 수신되면, 전자 장치(101)는 무선 오디오 장치(1200)에 대화 모드의 개시를 지시하는 신호를 송신할 수 있다. 대화 모드 기능(1223)이 대화 모드의 개시를 지시하는 정보를 상기 신호로부터 획득하면, 대화 모드 모듈(1220)은 대화 모드의 개시를 결정할 수 있다. UI를 통하여 대화 모드의 비활성화를 지시하는 사용자 입력이 수신되면, 전자 장치(101)는 무선 오디오 장치(1200)에 대화 모드의 종료를 지시하는 신호를 송신할 수 있다. 대화 모드 기능(1223)이 상기 신호로부터 대화 모드의 종료를 지시하는 정보를 획득하면, 대화 모드 모듈(1220)은 대화 모드의 종료를 결정할 수 있다. According to an embodiment, the conversation mode module 1220 may determine the start and/or end of the conversation mode based on the user's touch input. For example, the electronic device 101 may provide a UI for controlling the conversation mode of the wireless audio device 1200 . Through the UI, the electronic device 101 may receive a user input for setting activation or deactivation of the conversation mode. When a user input instructing to activate the conversation mode is received, the electronic device 101 may transmit a signal instructing the start of the conversation mode to the wireless audio device 1200 . When the conversation mode function 1223 obtains information indicating the start of the conversation mode from the signal, the conversation mode module 1220 may determine the start of the conversation mode. When a user input instructing deactivation of the conversation mode is received through the UI, the electronic device 101 may transmit a signal instructing the end of the conversation mode to the wireless audio device 1200 . When the conversation mode function 1223 obtains information indicating the end of the conversation mode from the signal, the conversation mode module 1220 may determine the end of the conversation mode.

일 실시예에 따르면, 대화 모드 모듈(1230)이 대화 모드의 개시 또는 종료를 결정하면, 무선 오디오 장치(1200)는 전자 장치(101)에 대화 모드의 개시 또는 종료가 결정되었음을 지시하는 신호를 송신할 수 있다. 전자 장치(101)는 상기 신호로부터 획득된 대화 모드의 개시 또는 종료가 결정되었음을 지시하는 정보를 무선 오디오 장치(1200)의 대화 모드 제어를 위한 UI를 통하여 제공할 수 있다.According to an embodiment, when the conversation mode module 1230 determines the start or end of the conversation mode, the wireless audio device 1200 transmits a signal indicating that the start or end of the conversation mode is determined to the electronic device 101 can do. The electronic device 101 may provide information indicating that the start or end of the conversation mode has been determined obtained from the signal through the UI for controlling the conversation mode of the wireless audio device 1200 .

일 실시예에 따르면, 대화 모드 모듈(1220)은 사용자의 버튼 입력에 기반하여 대화 모드의 시작 및/또는 종료를 결정할 수 있다. 예를 들어, 무선 오디오 장치(1200)는 적어도 하나의 버튼(예: 도 11의 버튼 (1113))을 포함할 수 있다. 대화 모드 기능(1223)은 버튼에 대한 지정된 입력(예: 더블 탭(double tap) 또는 롱 프레스)을 감지하도록 설정될 수 있다. 버튼을 통하여 대화 모드의 개시를 지시하는 입력이 수신되면, 대화 모드 모듈(1220)은 대화 모드의 개시를 결정할 수 있다. 버튼을 통하여 대화 모드의 종료를 지시하는 입력이 수신되면, 대화 모드 모듈(1220)은 대화 모드의 종료를 결정할 수 있다. According to an embodiment, the conversation mode module 1220 may determine the start and/or end of the conversation mode based on the user's button input. For example, the wireless audio device 1200 may include at least one button (eg, the button 1113 of FIG. 11 ). The conversation mode function 1223 may be set to detect a designated input for a button (eg, a double tap or a long press). When an input indicating initiation of the conversation mode is received through the button, the conversation mode module 1220 may determine the start of the conversation mode. When an input instructing the end of the conversation mode is received through the button, the conversation mode module 1220 may determine the end of the conversation mode.

일 실시예에 따르면, 대화 모드 기능(1223)은 소리 에이전트 모듈(1230)과 상호작용하도록 설정될 수 있다. 예를 들어, 대화 모드 기능(1223)은 소리 에이전트 모듈(1230)로부터 발화가 소리 에이전트 호출에 대한 것인지를 지시하는 정보를 획득할 수 있다. 예를 들어, 지정된 시간 이상 유지되는 착용자의 발화가 제1 VAD(1221)에 의하여 감지될 수 있다. 이 경우, 대화 모드 모듈(1220)은 대화 모드 기능(1223)을 이용하여 해당 착용자의 발화가 소리 에이전트의 호출에 대한 것인지를 식별할 수 있다. 대화 모드 기능(1223)이 해당 발화에 의한 소리 에이전트 호출이 수행되었음을 소리 에이전트 모듈(1230)을 이용하여 확인하는 경우, 대화 모드 모듈(1220)은 해당 발화를 무시할 수 있다. 예를 들어, 해당 발화가 지정된 시간 이상 지속되었다고 하더라도, 대화 모드 모듈(1220)은 해당 발화만으로는 대화 모드를 시작하도록 결정하지 않을 수 있다. 예를 들어, 소리 에이전트 모듈(1230)은 해당 발화로부터 대화 모드의 개시를 지시하는 소리 명령을 식별할 수 있다. 이 경우, 소리 에이전트 모듈(1230)은 대화 모드의 개시를 지시하는 신호를 대화 모드 모듈(1220)로 전달하고, 대화 모드 모듈(1220)은 대화 모드의 시작을 결정할 수 있다. 즉, 이 경우, 대화 모드 모듈(1220)은 발화 자체의 길이가 아닌, 소리 에이전트 모듈(1230)의 지시에 기반하여 대화 모드의 시작을 결정할 수 있다. According to one embodiment, the conversation mode function 1223 may be configured to interact with the sound agent module 1230 . For example, the conversation mode function 1223 may obtain information indicating whether the utterance is for a sound agent call from the sound agent module 1230 . For example, the wearer's utterance maintained for a specified time or longer may be detected by the first VAD 1221 . In this case, the conversation mode module 1220 may use the conversation mode function 1223 to identify whether the wearer's utterance is for the call of the sound agent. When the conversation mode function 1223 confirms using the sound agent module 1230 that the sound agent call is performed by the corresponding utterance, the conversation mode module 1220 may ignore the utterance. For example, even if the corresponding utterance continues for a specified time or longer, the conversation mode module 1220 may not determine to start the conversation mode only with the corresponding utterance. For example, the sound agent module 1230 may identify a sound command instructing initiation of a conversation mode from the corresponding utterance. In this case, the sound agent module 1230 may transmit a signal instructing the start of the conversation mode to the conversation mode module 1220 , and the conversation mode module 1220 may determine the start of the conversation mode. That is, in this case, the conversation mode module 1220 may determine the start of the conversation mode based on the instruction of the sound agent module 1230 rather than the length of the utterance itself.

일 실시예에 따르면, 대화 모드 모듈(1220)은 대화 모드의 작동 시간에 기반하여 대화 모드의 종료를 결정할 수 있다. 예를 들어, 대화 모드가 ON된 후, 일정 시간이 경과되면, 대화 모드 모듈(1220)은 대화 모드의 종료를 결정할 수 있다. According to an embodiment, the conversation mode module 1220 may determine the end of the conversation mode based on the operation time of the conversation mode. For example, when a predetermined time elapses after the conversation mode is turned on, the conversation mode module 1220 may determine the end of the conversation mode.

일 실시예에 따르면, 소리 에이전트 모듈(1230)은 웨이크업 발화 인식 모듈(1231) 및 소리 에이전트 제어 모듈(1232)을 포함할 수 있다. 일 예에서, 소리 에이전트 모듈(1230)은 소리 명령 인식 모듈(1233)을 더 포함할 수 있다. 웨이크업 발화 인식 모듈(1231)은 오디오 수신 회로(210)를 이용하여 오디오 신호를 획득하고, 오디오 신호로부터 웨이크업 발화(예: 하이 빅스비)를 인식할 수 있다. 웨이크업 발화 인식 모듈(1231)은 지정된 소리 명령이 인식되면, 소리 에이전트 제어 모듈(1232)을 이용하여 소리 에이전트를 제어할 수 있다. 예를 들어, 소리 에이전트 제어 모듈(1232)은 전자 장치(예를 들어, 전자 장치(101))에 수신된 소리 신호를 전달하고, 전자 장치(101)로부터 소리 신호에 대응하는 태스크 또는 명령을 수신할 수 있다. 예를 들어, 소리 신호가 볼륨 조정을 지시하는 경우, 전자 장치(101)는 볼륨 조정을 지시하는 신호를 무선 오디오 장치(1200)에 전달할 수 있다. 소리 명령 인식 모듈(1233)은 오디오 수신 회로(210)를 이용하여 오디오 신호를 획득하고, 오디오 신호로부터 지정된 소리 명령을 인식할 수 있다. 일 예시에서, 지정된 소리 발화는, 대화 모드의 제어를 위한 소리 명령(예: 대화 모드 시작, 대화 모드 종료)을 포함할 수 있다. 소리 명령 인식 모듈(1233)은 웨이크업 발화의 인식 없이도 지정된 소리 명령이 인식되면 지정된 소리 명령에 대응하는 기능을 수행할 수 있다. 예를 들어, 소리 명령 인식 모듈(1233)은 “대화 모드 종료”와 같은 지정된 명령의 발화를 인식하면, 전자 장치(101)에 대화 모드의 종료를 지시하는 신호를 송신할 수 있다. 예를 들어, 소리 명령 인식 모듈(1233)은 소리 에이전트와의 상호작용 없이 지정된 소리 명령에 대응하는 기능을 수행할 수 있다. 전자 장치(101)는 대화 모드의 종료를 지시하는 신호에 응답하여, 후술되는 무선 오디오 장치(1200)의 소리 제어를 수행할 수 있다. According to an embodiment, the sound agent module 1230 may include a wakeup speech recognition module 1231 and a sound agent control module 1232 . In one example, the sound agent module 1230 may further include a sound command recognition module 1233 . The wake-up utterance recognition module 1231 may obtain an audio signal by using the audio receiving circuit 210 and recognize a wake-up utterance (eg, high Bixby) from the audio signal. When a specified sound command is recognized, the wakeup speech recognition module 1231 may control the sound agent using the sound agent control module 1232 . For example, the sound agent control module 1232 transmits a sound signal received to the electronic device (eg, the electronic device 101 ), and receives a task or command corresponding to the sound signal from the electronic device 101 . can do. For example, when a sound signal instructs to adjust the volume, the electronic device 101 may transmit a signal instructing to adjust the volume to the wireless audio device 1200 . The sound command recognition module 1233 may obtain an audio signal using the audio receiving circuit 210 and recognize a specified sound command from the audio signal. In one example, the designated sound utterance may include a sound command (eg, start the conversation mode, end the conversation mode) for controlling the conversation mode. The sound command recognition module 1233 may perform a function corresponding to the specified sound command when the specified sound command is recognized without recognizing the wake-up utterance. For example, the sound command recognition module 1233 may transmit a signal instructing the end of the conversation mode to the electronic device 101 when recognizing the utterance of a specified command such as “end of the conversation mode”. For example, the sound command recognition module 1233 may perform a function corresponding to a specified sound command without interaction with the sound agent. The electronic device 101 may perform sound control of the wireless audio device 1200, which will be described later, in response to a signal instructing the end of the conversation mode.

일 실시예에 따르면, 대화 모드 모듈(1220)은 대화 모드에 대한 결정(예: 대화 모드의 종료 또는 대화 모드의 시작)을 대화 모드 제어 모듈(1250)에 전달할 수 있다. 대화 모드 제어 모듈(1250)은 대화 모드의 활성화 및/또는 비활성화에 따른 무선 오디오 장치(1200)의 기능을 제어할 수 있다. 예를 들어, 대화 모드 제어 모듈(1250)은 대화 모드의 활성화 및/또는 비활성화에 따라서 소리 제어 모듈(1240)을 이용하여 무선 오디오 장치(1200)의 출력 소리를 제어할 수 있다. According to an embodiment, the conversation mode module 1220 may transmit a decision on the conversation mode (eg, the end of the conversation mode or the start of the conversation mode) to the conversation mode control module 1250 . The conversation mode control module 1250 may control the function of the wireless audio device 1200 according to the activation and/or deactivation of the conversation mode. For example, the conversation mode control module 1250 may control the output sound of the wireless audio device 1200 using the sound control module 1240 according to activation and/or deactivation of the conversation mode.

일 예를 들어, 소리 제어 모듈(1240)은 ANC(active noise cancelling) 모듈(1241) 및 주변 소리(ambient sound) 제어 모듈(1242)을 포함할 수 있다. ANC 모듈(1241)은 주변 소리를 획득하고, 주변 소리에 기반하여 잡음 제거를 수행하도록 설정될 수 있다. 예를 들어, ANC 모듈(1241)은 외부 마이크를 이용하여 주변 소리를 획득하고, 획득된 주변 소리를 이용하여 잡음 제거를 수행할 수 있다. 주변 소리 제어 모듈(1242)는 주변 소리를 착용자에게 제공하도록 설정될 수 있다. 예를 들어, 주변 소리 제어 모듈(1242)은 외부 마이크를 이용하여 주변 소리를 획득하고, 획득된 주변 소리를 무선 오디오 장치(1200)의 스피커를 이용하여 출력함으로써 주변 소리를 제공하도록 설정될 수 있다. For example, the sound control module 1240 may include an active noise canceling (ANC) module 1241 and an ambient sound control module 1242 . The ANC module 1241 may be configured to acquire an ambient sound and perform noise cancellation based on the ambient sound. For example, the ANC module 1241 may acquire an ambient sound using an external microphone and perform noise cancellation using the acquired ambient sound. The ambient sound control module 1242 may be configured to provide ambient sounds to the wearer. For example, the ambient sound control module 1242 may be set to provide ambient sound by acquiring ambient sound using an external microphone and outputting the obtained ambient sound using a speaker of the wireless audio device 1200. .

일 실시예에 따르면, 대화 모드가 시작되면, 대화 모드 제어 모듈(1250)은 소리 제어 모듈(1240)을 이용하여 무선 오디오 장치(1200)의 출력 소리를 제어할 수 있다. 예를 들어, 대화 모드 제어 모듈(1250)은 대화 모드의 시작에 응답하여 ANC을 비활성화하고, 주변 소리를 활성화할 수 있다. 다른 예를 들어, 대화 모드 제어 모듈(1250)은 무선 오디오 장치(1200)에서 음악이 출력 중인 경우, 대화 모드의 시작에 응답하여 출력 중인 음악의 음량 레벨을 일정 비율 이상 줄이거나, 최대 mute로 설정할 수 있다. 무선 오디오 장치(1200)의 사용자는, 대화 모드의 개시에 따라서 주변 소리를 선명하게 들을 수 있다. According to an embodiment, when the conversation mode starts, the conversation mode control module 1250 may control the output sound of the wireless audio device 1200 using the sound control module 1240 . For example, the conversation mode control module 1250 may deactivate ANC and activate ambient sounds in response to the start of the conversation mode. For another example, when music is being output from the wireless audio device 1200 , the conversation mode control module 1250 may reduce the volume level of the music being output by a certain percentage or more in response to the start of the conversation mode, or set it to maximum mute. can The user of the wireless audio device 1200 can clearly hear ambient sounds according to the initiation of the conversation mode.

일 실시예에 따르면, 대화 모드가 종료되면, 대화 모드 제어 모듈(1250)은 소리 제어 모듈(1240)을 이용하여 무선 오디오 장치(1200)의 출력 소리를 제어할 수 있다. 예를 들어, 대화 모드 제어 모듈(1250)은 대화 모드의 종료에 응답하여 ANC 설정 및/또는 주변 소리 설정을 대화 모드 개시 이전의 설정으로 복원하고, 주변 소리를 비활성화할 수 있다. 예를 들어, 대화 모드 시작 전에, 대화 모드 제어 모듈(1250)은 ANC 설정 및/또는 주변 소리 설정을 메모리에 저장할 수 있다. 대화 모드가 종료되면, 대화 모드 제어 모듈(1250)은 메모리에 저장된 ANC 설정 및/또는 주변 소리 설정에 따라서 ANC 및/또는 주변 소리를 활성화 또는 비활성화 할 수 있다. According to an embodiment, when the conversation mode ends, the conversation mode control module 1250 may control the output sound of the wireless audio device 1200 using the sound control module 1240 . For example, the conversation mode control module 1250 may restore the ANC setting and/or the ambient sound settings to the settings prior to initiation of the conversation mode in response to the end of the conversation mode, and inactivate the ambient sound. For example, before starting the conversation mode, the conversation mode control module 1250 may store the ANC setting and/or the ambient sound setting in the memory. When the conversation mode ends, the conversation mode control module 1250 may activate or deactivate the ANC and/or the ambient sound according to the ANC setting and/or the ambient sound setting stored in the memory.

다른 예를 들어, 대화 모드 제어 모듈(1250)은 대화 모드의 종료에 응답하여 무선 오디오 장치(1200)의 출력 소리를 대화 모드 개시 이전의 설정으로 복원할 수 있다. 예를 들어, 대화 모드 시작 전에, 무선 오디오 장치(1200)에서 음악이 출력 중인 경우, 대화 모드 제어 모듈(1250)은 음악 출력 소리 설정을 메모리에 저장할 수 있다. 대화 모드가 종료되면, 대화 모드 제어 모듈(1250)은 메모리에 저장된 음악 출력 소리 설정으로 음악 출력 소리를 복원할 수 있다. 대화 모드 제어 모듈(1250)은 대화 모드에서, 설정에 따라서 미디어 출력 볼륨을 지정된 값으로 감소시키거나 뮤트시킬 수 있다. 대화 모드에서, 무선 오디오 장치(1200)는 소리 에이전트의 알림(예: 사용자 발화에 대한 응답)을 대화 모드의 볼륨과는 독립적으로 출력할 수 있다. 예를 들어, 무선 오디오 장치(1200)는 대화 모드에서, 소리 에이전트의 알림(예: TTS 기반 응답)을 지정된 볼륨 값으로 출력할 수 있다.As another example, the conversation mode control module 1250 may restore the output sound of the wireless audio device 1200 to a setting prior to initiation of the conversation mode in response to the end of the conversation mode. For example, when music is being output from the wireless audio device 1200 before the conversation mode starts, the conversation mode control module 1250 may store the music output sound setting in the memory. When the conversation mode ends, the conversation mode control module 1250 may restore the music output sound to the music output sound setting stored in the memory. The conversation mode control module 1250 may decrease or mute the media output volume to a specified value according to a setting in the conversation mode. In the conversation mode, the wireless audio device 1200 may output a notification of the sound agent (eg, a response to a user's utterance) independently of the volume in the conversation mode. For example, in the conversation mode, the wireless audio device 1200 may output a notification (eg, a TTS-based response) of the sound agent as a specified volume value.

일 실시예에 따르면, 대화 모드 제어 모듈(1250)은 대화 모드의 동작 중에 소리 제어 모듈(1240)을 이용하여 출력 소리를 제어할 수 있다. 예를 들어, 대화 모드 제어 모듈(1250)은 ANC 및/또는 주변 소리의 강도를 제어할 수 있다. 대화 모드 제어 모듈(1250)은 주변 소리의 이득 값을 제어하여 주변 소리의 강도를 증폭시킬 수 있다. 대화 모드 제어 모듈(1250)은 주변 소리에서 소리가 존재하는 구간 또는 소리 대응 주파수 대역만을 증폭시킬 수 있다. 대화 모드에서, 대화 모드 제어 모듈(1250)은 ANC의 강도를 감소시킬 수 있다. 대화 모드 제어 모듈(1250)은 오디오 신호의 출력 볼륨을 제어할 수 있다. According to an embodiment, the conversation mode control module 1250 may control the output sound using the sound control module 1240 during the operation of the conversation mode. For example, the conversation mode control module 1250 may control the intensity of the ANC and/or ambient sound. The conversation mode control module 1250 may control the gain value of the ambient sound to amplify the intensity of the ambient sound. The conversation mode control module 1250 may amplify only a section in which a sound exists or a frequency band corresponding to the sound in the surrounding sound. In the conversation mode, the conversation mode control module 1250 may decrease the strength of the ANC. The conversation mode control module 1250 may control an output volume of an audio signal.

하기, 표 7 및 표 8은 대화 모드 시작(예: ON)과 종료(예: OFF)에 따른 대화 모드 제어 모듈(1250)의 소리 제어의 예시들을 나타낸다.Tables 7 and 8 below show examples of sound control of the conversation mode control module 1250 according to the start (eg, ON) and end (eg, OFF) of the conversation mode.

소리 제어sound control 이전 상태previous state 대화 모드 ONConversation Mode ON 대화 모드 OFFConversation Mode OFF ANCANC ONON OFFOFF ONON 주변 소리ambient sound OFFOFF ONON OFFOFF

표 7을 참조하여, 무선 오디오 장치(1200)의 착용자는 무선 오디오 장치(1200)를 이용하여 음악을 청취 중일 수 있다. 예를 들어, 무선 오디오 장치(1200)는 ANC를 수행하면서 음악을 출력할 수 있다. 예를 들어, 무선 오디오 장치(1200)는 제1 볼륨으로 음악을 출력할 수 있다. 대화 모드의 시작에 따라서, 대화 모드 제어 모듈(1250)은 주변 소리를 활성화하고, ANC를 비활성화할 수 있다. 이 경우, 대화 모드 제어 모듈(1250)은 출력 중인 음악의 볼륨을 지정된 값 이하로 감소시키거나, 지정된 비율만큼 감소시킬 수 있다. 예를 들어, 대화 모드 제어 모듈(1250)은, 대화 모드에서, 출력 중인 음악의 볼륨을 제2 값으로 감소시킬 수 있다. 대화 모드의 종료에 따라서, 대화 모드 제어 모듈(1250)은 출력 소리에 관련된 설정을 복원할 수 있다. 예를 들어, 대화 모드 제어 모듈(1250)은 ANC를 활성화하고 주변 소리를 비활성화할 수 있다. 또한, 대화 모드 제어 모듈(1250)은 출력 중인 음악의 볼륨을 제1 값으로 증가시킬 수 있다.Referring to Table 7, the wearer of the wireless audio device 1200 may be listening to music using the wireless audio device 1200 . For example, the wireless audio device 1200 may output music while performing ANC. For example, the wireless audio device 1200 may output music at a first volume. According to the start of the conversation mode, the conversation mode control module 1250 may activate an ambient sound and deactivate the ANC. In this case, the conversation mode control module 1250 may reduce the volume of the music being output to a specified value or less, or may decrease it by a specified ratio. For example, the conversation mode control module 1250 may decrease the volume of the music being output to a second value in the conversation mode. Upon termination of the conversation mode, the conversation mode control module 1250 may restore settings related to the output sound. For example, the conversation mode control module 1250 may activate ANC and deactivate ambient sounds. Also, the conversation mode control module 1250 may increase the volume of the music being output to the first value.

소리 제어sound control 이전 상태previous state 대화 모드 ONConversation Mode ON 대화 모드 OFFConversation Mode OFF ANCANC OFFOFF OFFOFF OFFOFF 주변 소리ambient sound OFFOFF ONON OFFOFF

표 8을 참조하여, 무선 오디오 장치(1200)의 착용자는 무선 오디오 장치(1200)를 이용하여 음악을 청취 중일 수 있다. 예를 들어, 무선 오디오 장치(1200)는 ANC를 적용하지 않고 음악을 출력할 수 있다. 예를 들어, 무선 오디오 장치(1200)는 제1 볼륨으로 음악을 출력할 수 있다. 대화 모드의 시작에 따라서, 대화 모드 제어 모듈(1250)은 주변 소리를 활성화하고, ANC를 비활성화 상태로 유지할 수 있다. 이 경우, 대화 모드 제어 모듈(1250)은 출력 중인 음악의 볼륨을 지정된 값 이하로 감소시키거나, 지정된 비율만큼 감소시킬 수 있다. 예를 들어, 대화 모드 제어 모듈(1250)은, 대화 모드에서, 출력 중인 음악의 볼륨을 제2 값으로 감소시킬 수 있다. 대화 모드의 종료에 따라서, 대화 모드 제어 모듈(1250)은 출력 소리에 관련된 설정을 복원할 수 있다. 예를 들어, 대화 모드 제어 모듈(1250)은 ANC를 비활성화 상태로 유지하고 주변 소리를 비활성화할 수 있다. 또한, 대화 모드 제어 모듈(1250)은 출력 중인 음악의 볼륨을 제1 값으로 증가시킬 수 있다.Referring to Table 8, the wearer of the wireless audio device 1200 may be listening to music using the wireless audio device 1200 . For example, the wireless audio device 1200 may output music without applying ANC. For example, the wireless audio device 1200 may output music at a first volume. According to the start of the conversation mode, the conversation mode control module 1250 may activate an ambient sound and maintain the ANC in an inactive state. In this case, the conversation mode control module 1250 may reduce the volume of the music being output to a specified value or less, or may decrease it by a specified ratio. For example, the conversation mode control module 1250 may reduce the volume of the music being output to a second value in the conversation mode. Upon termination of the conversation mode, the conversation mode control module 1250 may restore settings related to the output sound. For example, the conversation mode control module 1250 may maintain the ANC in a deactivated state and deactivate ambient sounds. Also, the conversation mode control module 1250 may increase the volume of the music being output to the first value.

표 7과 표 8의 예시에서, 대화 모드가 설정되지 않았을 때, 무선 오디오 장치(1200)가 주변 소리를 비활성화한 것으로 설명되었으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 무선 오디오 장치(1200)는, 대화 모드가 설정되지 않은 경우에도, 사용자의 설정에 따라서 주변 소리를 활성화할 수 있다.In the examples of Tables 7 and 8, it has been described that the wireless audio device 1200 deactivates the ambient sound when the conversation mode is not set, but embodiments of the present document are not limited thereto. For example, even when the conversation mode is not set, the wireless audio device 1200 may activate ambient sounds according to a user's setting.

일 실시예에 따르면, 환경 분류 모듈(1260)은 오디오 수신 회로를 이용하여 오디오 신호를 획득하고, 오디오 신호에 기반하여 환경을 분류할 수 있다. 예를 들어, 환경 분류 모듈(1260)은 오디오 신호로부터 배경 잡음, SNR(signal to noise ratio), 또는 잡음의 종류 중 적어도 하나를 획득할 수 있다. 환경 분류 모듈(1260)은 배경 잡음의 강도, SNR, 또는 잡음의 종류에 기반하여 환경을 감지할 수 있다. 예를 들어, 환경 분류 모듈(1260)은 메모리에 저장된 환경 정보와 배경 잡음의 강도, SNR, 또는 잡음의 종류 중 적어도 하나를 비교하여, 무선 오디오 장치(1200)의 환경을 식별할 수 있다. 예를 들어, 환경 분류 모듈(1260)은 식별된 환경에 기반하여 출력 소리를 제어할 수 있다. According to an embodiment, the environment classification module 1260 may obtain an audio signal using an audio receiving circuit and classify the environment based on the audio signal. For example, the environment classification module 1260 may obtain at least one of a background noise, a signal to noise ratio (SNR), and a type of noise from the audio signal. The environment classification module 1260 may detect the environment based on the intensity of the background noise, the SNR, or the type of noise. For example, the environment classification module 1260 may identify the environment of the wireless audio device 1200 by comparing the environment information stored in the memory with at least one of the background noise intensity, SNR, and noise type. For example, the environment classification module 1260 may control an output sound based on the identified environment.

일 예를 들어, 대화 모드가 활성화된 상태에서 환경 분류 모듈(1260)은 식별된 환경에 기반하여 출력 소리를 제어할 수 있다. 환경 분류 모듈(1260)은 배경 잡음의 강도 및/또는 SNR에 기반하여 주변 소리를 제어할 수 있다. 예를 들어, 환경 분류 모듈(1260)은 주변 소리의 전체 출력, 주변 소리 중 소리 대역의 증폭, 또는 주변 소리 중 지정된 소리(예: 알람 또는 사이렌)의 증폭을 결정할 수 있다. 예를 들어, 환경 분류 모듈(1260)은 ANC의 강도를 결정할 수 있다. 예를 들어, 환경 분류 모듈(1260)은 ANC를 위한 필터의 파라미터(예: 계수)를 조절할 수 있다. 상술된 예시에서, 환경 분류 모듈(1260)은 오디오 신호를 이용하여 환경을 식별하고 있으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 환경 분류 모듈(1260)은 와이파이 정보 및/또는 GPS 정보를 이용하여 환경을 식별할 수 있다. For example, in a state in which the conversation mode is activated, the environment classification module 1260 may control an output sound based on the identified environment. The environment classification module 1260 may control the ambient sound based on the intensity and/or SNR of the background noise. For example, the environment classification module 1260 may determine the overall output of the ambient sound, the amplification of a sound band among the ambient sounds, or the amplification of a specified sound (eg, an alarm or a siren) among the ambient sounds. For example, the environment classification module 1260 may determine the strength of the ANC. For example, the environment classification module 1260 may adjust parameters (eg, coefficients) of a filter for ANC. In the above-described example, the environment classification module 1260 identifies the environment using the audio signal, but embodiments of the present document are not limited thereto. For example, the environment classification module 1260 may identify the environment using Wi-Fi information and/or GPS information.

일 실시예에 따르면, 환경 분류 모듈(1260)은 식별된 환경에 기반하여 대화 모드를 제어할 수 있다. 예를 들어, 환경 분류 모듈(1260)은 식별된 환경에 기반하여 대화 모드를 활성화시킬 수 있다. 환경 분류 모듈(1260)은 사용자가 주변 소리를 들어야 할 환경에 있다고 판단되면, 대화 모드 제어 모듈(1250)을 이용하여 대화 모드를 활성화시키고, 대화 모드에 따라서 주변 소리를 사용자에게 제공할 수 있다. 예를 들어, 사용자가 위험한 환경(예: 사이렌 소리가 감지되는 환경)에 처한 경우, 환경 분류 모듈(1260)은 대화 모드를 활성화 시킬 수 있다. According to an embodiment, the environment classification module 1260 may control the conversation mode based on the identified environment. For example, the environment classification module 1260 may activate the conversation mode based on the identified environment. If the environment classification module 1260 determines that the user is in an environment in which ambient sounds are to be heard, the conversation mode control module 1250 may be used to activate the conversation mode, and may provide ambient sounds to the user according to the conversation mode. For example, when the user is in a dangerous environment (eg, an environment in which a siren sound is sensed), the environment classification module 1260 may activate a conversation mode.

일 실시예에 따르면, 전자 장치(101)는 대화 모드의 종료 또는 시작을 지시하는 유저 인터페이스를 디스플레이(360) 상에 디스플레이할 수 있다. 전자 장치(101)는 무선 오디오 장치(1200)의 대화 모드와 동기화된 방식으로 유저 인터페이스를 제공할 수 있다. 전자 장치(101)는 전자 장치(101)가 대화 모드의 종료 또는 시작을 결정하였을 때, 또는 무선 오디오 장치(1200)로부터 대화 모드의 종료 또는 시작을 지시하는 신호를 수신하였을 때 유저 인터페이스를 디스플레이할 수 있다. 예를 들어, 전자 장치(101)는 대화 모드가 시작되면, 대화 모드가 설정되었음을 알리는 정보를 포함하는 제1 유저 인터페이스를 디스플레이할 수 있다. 제1 유저 인터페이스는 대화 모드에서의 출력 소리 설정을 제어하기 위한 인터페이스를 포함할 수 있다. 예를 들어, 전자 장치(101)는 대화 모드가 종료되면, 대화 모드가 종료되었음을 알리는 정보를 포함하는 제2 유저 인터페이스를 디스플레이할 수 있다. 전자 장치(101)는 무선 오디오 장치(1200)의 제어를 위한 어플리케이션(예: 웨어러블 어플리케이션)의 실행 화면 상에 제1 유저 인터페이스 및 제2 유저 인터페이스를 디스플레이할 수 있다.According to an embodiment, the electronic device 101 may display a user interface instructing the end or start of the conversation mode on the display 360 . The electronic device 101 may provide the user interface in a manner synchronized with the conversation mode of the wireless audio device 1200 . The electronic device 101 may display the user interface when the electronic device 101 determines the end or start of the conversation mode or receives a signal instructing the end or start of the conversation mode from the wireless audio device 1200 . can For example, when the conversation mode starts, the electronic device 101 may display a first user interface including information indicating that the conversation mode has been set. The first user interface may include an interface for controlling output sound settings in the conversation mode. For example, when the conversation mode ends, the electronic device 101 may display a second user interface including information indicating that the conversation mode has ended. The electronic device 101 may display the first user interface and the second user interface on an execution screen of an application (eg, a wearable application) for controlling the wireless audio device 1200 .

일 실시예에 따르면, 대화 모드 모듈(1220)은 착용 여부에 더 기반하여 대화 모드의 개시 및 종료를 결정할 수 있다. 예를 들어, 대화 모드 모듈(1220)은 무선 오디오 장치(1200)가 사용자에 의하여 착용되었을 때에, 사용자(예: 착용자)의 발화 또는 사용자 입력에 기반하여 대화 모드를 개시할 수 있다. 무선 오디오 장치(1200)가 사용자에 의하여 착용되지 않은 경우, 대화 모드 모듈(1220)은 사용자의 발화가 감지되더라도 대화 모드의 개시하지 않을 수 있다. According to an embodiment, the conversation mode module 1220 may determine the start and end of the conversation mode further based on whether or not the user is wearing it. For example, when the wireless audio device 1200 is worn by a user, the conversation mode module 1220 may initiate a conversation mode based on a user's (eg, a wearer) utterance or a user input. When the wireless audio device 1200 is not worn by the user, the conversation mode module 1220 may not start the conversation mode even if the user's utterance is detected.

예를 들어, 제1 무선 오디오 장치(1100) 및 제2 무선 오디오 장치(미도시) 각각은 도 12에 도시된 무선 오디오 장치(1200)의 구성들을 포함할 수 있다. 제1 무선 오디오 장치(1100)와 제2 무선 오디오 장치 각각이 대화 모드의 개시 여부를 결정하도록 설정될 수 있다. 일 실시예에 따르면, 제1 무선 오디오 장치(1100) 또는 제2 무선 오디오 장치가 대화 모드의 개시를 결정하면, 제1 무선 오디오 장치(1100)와 제2 무선 오디오 장치가 대화 모드로 동작하도록 설정될 수 있다. 예를 들어, 대화 모드를 개시를 결정한 제1 무선 오디오 장치(1100) 또는 제2 무선 오디오 장치는 다른 무선 오디오 장치 및/또는 전자 장치(101)에 대화 모드의 개시를 지시하는 신호를 송신하도록 설정될 수 있다. 일 실시예에 따르면, 제1 무선 오디오 장치(1100) 및 제2 무선 오디오 장치 양자가 대화 모드의 개시를 결정하면, 제1 무선 오디오 장치(1100)와 제2 무선 오디오 장치가 대화 모드로 동작하도록 설정될 수 있다. 예를 들어, 대화 모드를 개시를 결정한 제1 무선 오디오 장치(1100) 또는 제2 무선 오디오 장치는 다른 무선 오디오 장치가 대화 모드의 개시를 결정하였는지 확인하고, 두 무선 오디오 장치 모두가 대화 모드의 개시를 결정한 경우에 제1 무선 오디오 장치(1100) 및 제2 무선 오디오 장치가 대화 모드로 동작할 수 있다. 다른 예를 들어, 대화 모드의 개시를 결정한 제1 무선 오디오 장치(1100) 또는 제2 무선 오디오 장치는 전자 장치(101)로 대화 모드의 개시를 지시하는 신호를 송신할 수 있다. 전자 장치(101)는 지정된 시간 내에 제1 무선 오디오 장치(1100) 및 제2 무선 오디오 장치 양자로부터 대화 모드를 개시를 지시하는 신호가 수신되면, 제1 무선 오디오 장치(1100) 및 제2 무선 오디오 장치가 대화 모드로 동작하도록 하는 신호를 송신할 수 있다.For example, each of the first wireless audio device 1100 and the second wireless audio device (not shown) may include the components of the wireless audio device 1200 shown in FIG. 12 . Each of the first wireless audio device 1100 and the second wireless audio device may be configured to determine whether to initiate a conversation mode. According to an embodiment, when the first wireless audio device 1100 or the second wireless audio device determines to start the conversation mode, the first wireless audio device 1100 and the second wireless audio device are configured to operate in the conversation mode can be For example, the first wireless audio device 1100 or the second wireless audio device having decided to initiate the conversation mode is set to transmit a signal instructing the initiation of the conversation mode to another wireless audio device and/or the electronic device 101 can be According to an embodiment, when both the first wireless audio device 1100 and the second wireless audio device decide to start the conversation mode, the first wireless audio device 1100 and the second wireless audio device operate in the conversation mode. can be set. For example, the first wireless audio device 1100 or the second wireless audio device that has decided to initiate the conversation mode checks whether another wireless audio device has decided to initiate the conversation mode, and both wireless audio devices initiate the conversation mode is determined, the first wireless audio device 1100 and the second wireless audio device may operate in a conversation mode. As another example, the first wireless audio device 1100 or the second wireless audio device that has decided to start the chat mode may transmit a signal instructing the start of the chat mode to the electronic device 101 . The electronic device 101 receives a signal instructing to initiate a conversation mode from both the first wireless audio device 1100 and the second wireless audio device within a specified time, the first wireless audio device 1100 and the second wireless audio device It may transmit a signal that causes the device to operate in an interactive mode.

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))는, 통신 회로(예를 들어, 통신 모듈(190)), 디스플레이(예를 들어, 디스플레이 모듈(160)), 적어도 하나의 센서(예를 들어, 센서 모듈(176)), 및 적어도 하나의 프로세서(예를 들어, 프로세서(120))를 포함하고, 상기 적어도 하나의 프로세서(120)는, 상기 통신 회로(190)를 통하여, 웨어러블 전자 장치(700)로부터 주변 환경에 관한 소리 데이터를 획득하고, 상기 적어도 하나의 센서(176)를 통하여 센서 데이터를 획득하고, 상기 소리 데이터 및 상기 센서 데이터에 기초하여, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하고, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치한다고 확인되는 것에 응답하여, 상기 일치하는 상황, 상기 디스플레이(160)의 상태, 및 상기 웨어러블 전자 장치(700)에서 소리를 출력 중인지 여부에 기초하여, 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 통신 회로(190)를 통하여 상기 웨어러블 전자 장치(700)에 송신하는 것, 또는 상기 디스플레이(160) 상에 알림 메시지를 표시하는 것 중 적어도 하나를 수행하도록 설정될 수 있다.According to various embodiments, the electronic device (eg, the electronic device 101 ) includes a communication circuit (eg, the communication module 190 ), a display (eg, the display module 160 ), and at least one of a sensor (eg, a sensor module 176), and at least one processor (eg, a processor 120), wherein the at least one processor 120 includes Through this, sound data regarding the surrounding environment is obtained from the wearable electronic device 700 , and sensor data is obtained through the at least one sensor 176 , and based on the sound data and the sensor data, the surrounding environment is determining whether the match matches one of a plurality of preset contexts, and in response to determining that the surrounding environment matches one of a plurality of preset contexts, the matching context, the state of the display 160, and the Transmitting a signal for controlling the wearable electronic device 700 to the wearable electronic device 700 through the communication circuit 190 based on whether the wearable electronic device 700 is outputting a sound, or At least one of displaying a notification message on the display 160 may be set.

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서(120)는, 상기 소리 데이터가 다른 전자 장치에서 재생되는 소리에 관련된 데이터인지 여부를 확인하고, 상기 소리 데이터가 다른 전자 장치에서 재생되는 소리에 관련된 데이터가 아니라고 확인되는 것에 기초하여, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하도록 구성될 수 있다.According to various embodiments, the at least one processor 120 checks whether the sound data is data related to a sound reproduced in another electronic device, and the sound data is data related to a sound reproduced in another electronic device. based on it is determined that not , it may be configured to check whether the surrounding environment matches one of a plurality of preset situations.

다양한 실시예에 따라서, 상기 적어도 하나의 센서(176)는 진동 센서를 포함하고, 상기 적어도 하나의 프로세서(120)는, 상기 진동 센서를 통하여 획득한 진동 센서 데이터 및 상기 소리 데이터에 기초하여, 상기 주변 환경이 상기 전자 장치(101)의 사용자가 발화하는 상황에 일치한다고 확인하고, 상기 주변 환경이 상기 전자 장치(101)의 사용자가 발화하는 상황에 일치한다고 확인되는 것에 응답하여: 상기 디스플레이(160)가 켜져 있는 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하고, 소리 출력을 중지하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하고, 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중인 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하고, 상기 소리 출력을 중지하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하고, 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중이지 않은 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하도록 구성될 수 있다.According to various embodiments, the at least one sensor 176 includes a vibration sensor, and the at least one processor 120, based on the vibration sensor data and the sound data obtained through the vibration sensor, In response to confirming that the surrounding environment matches the situation in which the user of the electronic device 101 speaks, and confirming that the surrounding environment matches the situation in which the user of the electronic device 101 speaks: the display 160 ) is on, transmitting a signal for controlling the wearable electronic device 700 to deactivate the noise canceling function, activate the ambient sound listening function, and stop sound output to the wearable electronic device 700, When the display 160 is turned off and the wearable electronic device 700 is outputting sound, the wearable electronic device 700 disables the noise canceling function, activates the ambient sound listening function, and stops the sound output. ) to the wearable electronic device 700, and when the display 160 is turned off and the wearable electronic device 700 is not outputting a sound, the noise canceling function is deactivated, It may be configured to transmit a signal for controlling the wearable electronic device 700 to the wearable electronic device 700 to activate an ambient sound listening function.

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서(120)는, 상기 소리 데이터가 미리 설정된 텍스트에 대응하는 소리를 나타낸다고 확인되는 것에 응답하여, 상기 주변 환경이 상기 미리 설정된 복수의 상황 중 타인이 상기 전자 장치(101)의 사용자를 부르고 있는 상황에 일치한다고 확인하고, 상기 주변 환경이 타인이 상기 전자 장치(101)의 사용자를 부르고 있는 상황에 일치한다고 확인되는 것에 응답하여: 상기 디스플레이(160)가 켜져 있는 경우, 상기 디스플레이(160) 상에 알림 메시지를 표시하고, 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중인 경우, 상기 디스플레이(160) 상에 알림 메시지를 표시하고, 알림음을 출력하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하고, 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중이지 않은 경우, 알림 메시지에 대응하는 소리를 출력하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하도록 구성될 수 있다.According to various embodiments, the at least one processor 120 is, in response to confirming that the sound data represents a sound corresponding to the preset text, the surrounding environment is the preset among the plurality of situations in which the electronic In response to confirming that the context in which the user of the device 101 is being called is consistent and the surrounding environment is consistent with the context in which another person is calling the user of the electronic device 101: the display 160 turns on If there is, a notification message is displayed on the display 160 , and when the display 160 is turned off and the wearable electronic device 700 is outputting a sound, a notification message is displayed on the display 160 . and transmits a signal for controlling the wearable electronic device 700 to output a notification sound to the wearable electronic device 700, the display 160 is turned off, and a sound is generated from the wearable electronic device 700 When not outputting, a signal for controlling the wearable electronic device 700 to output a sound corresponding to the notification message may be transmitted to the wearable electronic device 700 .

다양한 실시예에 따라서, 상기 주변 환경이 타인이 상기 전자 장치(101)의 사용자를 부르고 있는 상황에 일치한다고 확인되고, 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중인 경우, 상기 디스플레이(160) 상에 표시되는 상기 알림 메시지는 헤드 업(heads-up) 메시지일 수 있다.According to various embodiments, it is confirmed that the surrounding environment matches a situation in which another person is calling the user of the electronic device 101 , the display 160 is turned off, and a sound is output from the wearable electronic device 700 . In this case, the notification message displayed on the display 160 may be a heads-up message.

다양한 실시예에 따라서, 상기 주변 환경이 타인이 상기 전자 장치(101)의 사용자를 부르고 있는 상황에 일치한다고 확인되고, 상기 디스플레이(160)가 켜져 있는 경우, 상기 디스플레이(160) 상에 표시되는 상기 알림 메시지는 토스트(toast) 메시지일 수 있다.According to various embodiments, when it is confirmed that the surrounding environment matches a situation in which another person is calling the user of the electronic device 101 and the display 160 is turned on, the display 160 is displayed. The notification message may be a toast message.

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서(120)는, 상기 소리 데이터가 임계 크기 이상의 소리를 나타내고, 미리 설정된 제1 패턴을 나타낸다고 확인되는 것에 응답하여, 상기 주변 환경이 큰 소음이 발생하는 상황에 일치한다고 확인하고, 상기 주변 환경이 큰 소음이 발생하는 상황에 일치한다고 확인되는 것에 응답하여: 상기 디스플레이(160)가 켜져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중인 경우, 노이즈 캔슬링 기능을 활성화하고, 주변 소리 듣기 기능을 비활성화하고, 상기 웨어러블 전자 장치(700)에서 출력 중인 소리의 볼륨을 증가시키도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하고, 상기 디스플레이(160)가 켜져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중이지 않은 경우, 노이즈 캔슬링 기능을 활성화하고, 주변 소리 듣기 기능을 비활성화하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하고, 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중인 경우, 노이즈 캔슬링 기능을 활성화하고, 주변 소리 듣기 기능을 비활성화하고, 상기 웨어러블 전자 장치(700)에서 출력 중인 소리의 볼륨을 증가시키도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하고, 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중이지 않은 경우, 노이즈 캔슬링 기능을 활성화하고, 주변 소리 듣기 기능을 비활성화하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하도록 구성될 수 있다.According to various embodiments, the at least one processor 120, in response to confirming that the sound data represents a sound having a threshold level or more and represents a preset first pattern, a situation in which a large noise is generated in the surrounding environment , and in response to confirming that the surrounding environment matches a situation in which a loud noise is generated: When the display 160 is turned on and the wearable electronic device 700 is outputting a sound, noise canceling The wearable electronic device 700 transmits a signal for controlling the wearable electronic device 700 to activate a function, deactivate the ambient sound listening function, and increase the volume of the sound output from the wearable electronic device 700 . to activate the noise canceling function and deactivate the ambient sound listening function when the display 160 is turned on and the wearable electronic device 700 is not outputting sound. When a signal for controlling Deactivate a function and transmit a signal for controlling the wearable electronic device 700 to increase the volume of the sound output from the wearable electronic device 700 to the wearable electronic device 700, and the display 160 ) is turned off and the wearable electronic device 700 is not outputting a sound, a signal for controlling the wearable electronic device 700 to activate the noise canceling function and deactivate the ambient sound listening function is transmitted to the wearable electronic device 700 . It may be configured to transmit to the electronic device 700 .

다양한 실시예에 따라서, 상기 적어도 하나의 센서(176)는 GPS 센서를 포함하고, 상기 적어도 하나의 프로세서(120)는, 상기 GPS 센서를 통하여 획득한 GPS 센서 데이터가 미리 지정된 위치를 나타내고, 상기 소리 데이터가 미리 설정된 소리들 중 하나를 나타내는 경우, 상기 주변 환경이 상기 미리 설정된 복수의 상황 중 실내 이벤트 상황에 일치한다고 확인하고, 상기 주변 환경이 실내 이벤트 상황에 일치한다고 확인되는 것에 응답하여: 상기 디스플레이(160)가 켜져 있는 경우, 상기 미리 설정된 소리들 중 하나에 대응되는 알림 메시지를 상기 디스플레이(160) 상에 표시하고, 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중인 경우, 상기 미리 설정된 소리들 중 하나에 대응되는 알림 메시지를 상기 디스플레이(160) 상에 표시하고, 알림음을 출력하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하고, 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중이지 않은 경우, 상기 미리 설정된 소리들 중 하나에 대응되는 알림 메시지에 대응하는 소리를 출력하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하도록 구성될 수 있다.According to various embodiments, the at least one sensor 176 includes a GPS sensor, and the at least one processor 120 indicates a location where GPS sensor data acquired through the GPS sensor is preset, and the sound When the data indicates one of preset sounds, confirming that the surrounding environment matches an indoor event situation among the plurality of preset situations, and in response to confirming that the surrounding environment matches an indoor event situation: the display When 160 is turned on, a notification message corresponding to one of the preset sounds is displayed on the display 160 , the display 160 is turned off, and the wearable electronic device 700 emits a sound. When outputting, a notification message corresponding to one of the preset sounds is displayed on the display 160, and a signal for controlling the wearable electronic device 700 to output a notification sound is transmitted to the wearable electronic device ( 700), output a sound corresponding to a notification message corresponding to one of the preset sounds when the display 160 is turned off and the wearable electronic device 700 is not outputting a sound It may be configured to transmit a signal for controlling the wearable electronic device 700 to the wearable electronic device 700 .

다양한 실시예에 따라서, 상기 미리 지정된 위치는 상기 전자 장치(101)의 사용자의 입력에 의하여 특정되는 위치 또는 상기 전자 장치(101)의 상기 사용자가 자주 방문하는 위치 중 적어도 하나를 포함할 수 있다.According to various embodiments, the predetermined location may include at least one of a location specified by a user input of the electronic device 101 or a location frequently visited by the user of the electronic device 101 .

다양한 실시예에 따라서, 웨어러블 전자 장치(예를 들어, 웨어러블 전자 장치(700))는, 통신 회로(예를 들어, 통신 회로(730)), 소리 입력 장치(예를 들어, 소리 입력 장치(710)), 소리 출력 장치(예를 들어, 소리 출력 장치(720)), 적어도 하나의 센서(예를 들어, 센서(750)), 및 적어도 하나의 프로세서(예를 들어, 프로세서(740))를 포함하고, 상기 적어도 하나의 프로세서(740)는, 상기 통신 회로(730)를 통하여, 외부 전자 장치(101)와 통신 연결을 형성하고, 상기 소리 입력 장치(710)를 통하여 주변 환경에 관한 소리 데이터를 획득하고, 상기 적어도 하나의 센서(750)를 통하여 센서 데이터를 획득하고, 상기 소리 데이터 및 상기 센서 데이터에 기초하여, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하고, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치한다고 확인되는 것에 응답하여, 상기 일치하는 상황, 상기 외부 전자 장치(101)의 디스플레이(160)의 상태, 및 상기 소리 출력 장치(720)에서 소리를 출력 중인지 여부에 기초하여, 상기 소리 출력 장치(720)를 제어하는 것, 또는 상기 디스플레이(160) 상에 알림을 표시하도록 상기 외부 전자 장치(101)에 신호를 송신하는 것 중 적어도 하나를 수행하도록 설정될 수 있다.According to various embodiments, the wearable electronic device (eg, the wearable electronic device 700 ) includes a communication circuit (eg, the communication circuit 730 ) and a sound input device (eg, the sound input device 710 ). )), a sound output device (eg, sound output device 720), at least one sensor (eg, sensor 750), and at least one processor (eg, processor 740). The at least one processor 740 establishes a communication connection with the external electronic device 101 through the communication circuit 730 and provides sound data related to the surrounding environment through the sound input device 710 . obtains, acquires sensor data through the at least one sensor 750, and checks whether the surrounding environment matches one of a plurality of preset situations based on the sound data and the sensor data, In response to confirming that the surrounding environment matches one of a plurality of preset situations, the matching situation, the status of the display 160 of the external electronic device 101 , and a sound from the sound output device 720 . At least one of controlling the sound output device 720 or transmitting a signal to the external electronic device 101 so as to display a notification on the display 160 is performed based on whether the sound output device 720 is output. can be set to

다양한 실시예에 따라서, 상기 적어도 하나의 프로세서(740)는, 상기 소리 데이터가 다른 전자 장치에서 재생되는 소리에 관련된 데이터인지 여부를 확인하고, 상기 소리 데이터가 다른 전자 장치에서 재생되는 소리에 관련된 데이터가 아니라고 확인되는 것에 기초하여, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하도록 구성될 수 있다.According to various embodiments, the at least one processor 740 checks whether the sound data is data related to a sound reproduced by another electronic device, and the sound data is data related to a sound reproduced in another electronic device. based on it is determined that the surrounding environment does not correspond to one of a plurality of preset situations.

다양한 실시예에 따라서, 상기 적어도 하나의 센서(750)는 진동 센서(754)를 포함하고, 상기 적어도 하나의 프로세서(740)는, 상기 진동 센서(754)를 통하여 획득한 진동 센서 데이터 및 상기 소리 데이터에 기초하여, 상기 주변 환경이 상기 전자 장치의 사용자가 발화하는 상황에 일치한다고 확인하고, 상기 주변 환경이 상기 전자 장치의 사용자가 발화하는 상황에 일치한다고 확인되는 것에 응답하여: 상기 외부 전자 장치(101)의 디스플레이(160)가 켜져 있는 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하고, 소리 출력을 중지하도록 상기 소리 출력 장치(720)를 제어하고, 상기 외부 전자 장치(101)의 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중인 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하고, 상기 소리 출력을 중지하도록 상기 소리 출력 장치(720)를 제어하고, 상기 외부 전자 장치(101)의 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중이지 않은 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하도록 상기 소리 출력 장치(720)를 제어하도록 구성될 수 있다.According to various embodiments, the at least one sensor 750 includes a vibration sensor 754 , and the at least one processor 740 includes the vibration sensor data and the sound acquired through the vibration sensor 754 . In response to confirming that the surrounding environment matches a situation in which the user of the electronic device speaks, based on data, and confirming that the surrounding environment matches a situation in which the user of the electronic device speaks: the external electronic device When the display 160 of 101 is turned on, the sound output device 720 is controlled to deactivate the noise canceling function, activate the ambient sound listening function, and stop outputting the sound, and the external electronic device 101 ) is turned off and the wearable electronic device 700 is outputting sound, the sound output device ( 720), when the display 160 of the external electronic device 101 is turned off and the wearable electronic device 700 is not outputting a sound, the noise canceling function is deactivated and the ambient sound listening function is enabled. It may be configured to control the sound output device 720 to activate.

다양한 실시예에 따라서, 전자 장치(예를 들어, 전자 장치(101))에서 수행되는 방법은, 웨어러블 전자 장치(예를 들어, 웨어러블 전자 장치(700))로부터 주변 환경에 관한 소리 데이터를 획득하는 동작, 상기 전자 장치(101)의 적어도 하나의 센서(예를 들어, 센서 모듈(176))를 통하여 센서 데이터를 획득하는 동작, 상기 소리 데이터 및 상기 센서 데이터에 기초하여, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하는 동작, 및 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치한다고 확인되는 것에 응답하여, 상기 일치하는 상황, 상기 디스플레이(예를 들어, 디스플레이 모듈(160))의 상태, 및 상기 웨어러블 전자 장치(700)에서 소리를 출력 중인지 여부에 기초하여, 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하는 것, 또는 상기 디스플레이(160) 상에 알림 메시지를 표시하는 것 중 적어도 하나를 수행하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, a method performed in an electronic device (eg, the electronic device 101 ) includes obtaining sound data regarding a surrounding environment from a wearable electronic device (eg, the wearable electronic device 700 ). operation, acquiring sensor data through at least one sensor (eg, the sensor module 176) of the electronic device 101, based on the sound data and the sensor data, the surrounding environment is preset In response to an operation of ascertaining whether it matches one of a plurality of situations, and determining that the surrounding environment matches one of a plurality of preset situations, the matching situation, the display (eg, a display module ( 160)) and transmitting a signal for controlling the wearable electronic device 700 to the wearable electronic device 700 based on whether the wearable electronic device 700 is outputting a sound, or It may include an operation of performing at least one of displaying a notification message on the display 160 .

다양한 실시예에 따라서, 상기 방법은, 상기 소리 데이터가 다른 전자 장치에서 재생되는 소리에 관련된 데이터인지 여부를 확인하는 동작을 더 포함하고, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하는 동작은 상기 소리 데이터가 다른 전자 장치에서 재생되는 소리에 관련된 데이터가 아니라고 확인되는 것에 기초하여 수행될 수 있다.According to various embodiments, the method further includes checking whether the sound data is data related to a sound reproduced by another electronic device, and whether the surrounding environment matches one of a plurality of preset situations The confirming operation may be performed based on confirming that the sound data is not data related to a sound reproduced by another electronic device.

다양한 실시예에 따라서, 상기 적어도 하나의 센서(176)를 통하여 센서 데이터를 획득하는 동작은 진동 센서를 통하여 진동 센서 데이터를 획득하는 동작을 포함하고, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하는 동작은, 상기 진동 센서 데이터 및 상기 소리 데이터에 기초하여, 상기 주변 환경이 상기 전자 장치(101)의 사용자가 발화하는 상황에 일치한다고 확인하는 동작을 포함하고, 상기 주변 환경이 상기 전자 장치(101)의 사용자가 발화하는 상황에 일치한다고 확인되는 경우, 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하는 것, 또는 상기 디스플레이(160) 상에 알림 메시지를 표시하는 것 중 적어도 하나를 수행하는 동작은: 상기 디스플레이(160)가 켜져 있는 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하고, 소리 출력을 중지하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하는 동작, 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중인 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하고, 상기 소리 출력을 중지하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하는 동작, 및 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중이지 않은 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하는 동작을 포함할 수 있다.According to various embodiments, the operation of acquiring the sensor data through the at least one sensor 176 includes the operation of acquiring the vibration sensor data through a vibration sensor, and the surrounding environment is set in one of a plurality of preset situations; The operation of determining whether the match includes an operation of confirming that the surrounding environment matches a situation in which a user of the electronic device 101 speaks, based on the vibration sensor data and the sound data, and the surrounding environment When it is confirmed that the situation in which the user of the electronic device 101 is uttering, a signal for controlling the wearable electronic device 700 is transmitted to the wearable electronic device 700 , or the display 160 ), the operation of displaying at least one of displaying a notification message on When the operation of transmitting a signal for controlling the electronic device 700 to the wearable electronic device 700, the display 160 is turned off, and the wearable electronic device 700 is outputting a sound, the noise canceling function is performed transmitting, to the wearable electronic device 700, a signal for controlling the wearable electronic device 700 to deactivate, activate an ambient sound listening function, and stop outputting the sound to the wearable electronic device 700, and the display 160 is turned off and when the wearable electronic device 700 is not outputting a sound, a signal for controlling the wearable electronic device 700 to deactivate the noise canceling function and activate the ambient sound listening function is transmitted to the wearable electronic device ( 700) may include the operation of transmitting.

다양한 실시예에 따라서, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하는 동작은, 상기 소리 데이터가 미리 설정된 텍스트에 대응하는 소리를 나타낸다고 확인되는 것에 응답하여, 상기 주변 환경이 상기 미리 설정된 복수의 상황 중 타인이 상기 전자 장치(101)의 사용자를 부르고 있는 상황에 일치한다고 확인하는 동작을 포함하고, 상기 주변 환경이 타인이 상기 전자 장치(101)의 사용자를 부르고 있는 상황에 일치한다고 확인되는 경우, 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하는 것, 또는 상기 디스플레이(160) 상에 알림 메시지를 표시하는 것 중 적어도 하나를 수행하는 동작은: 상기 디스플레이(160)가 켜져 있는 경우, 상기 디스플레이(160) 상에 알림 메시지를 표시하는 동작, 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중인 경우, 상기 디스플레이(160) 상에 알림 메시지를 표시하고, 알림음을 출력하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하는 동작, 및 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중이지 않은 경우, 알림 메시지에 대응하는 소리를 출력하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하는 동작을 포함할 수 있다.According to various embodiments, the determining whether the surrounding environment matches one of a plurality of preset situations may include, in response to it being confirmed that the sound data represents a sound corresponding to a preset text, the surrounding environment and confirming that a situation in which another person is calling the user of the electronic device 101 among the plurality of preset situations matches, and the surrounding environment is a situation in which another person is calling the user of the electronic device 101 When it is confirmed that they match, at least one of transmitting a signal for controlling the wearable electronic device 700 to the wearable electronic device 700 or displaying a notification message on the display 160 is performed The operations to be performed include: when the display 160 is turned on, displaying a notification message on the display 160 , when the display 160 is off and the wearable electronic device 700 is outputting a sound , an operation of displaying a notification message on the display 160 and transmitting a signal for controlling the wearable electronic device 700 to output a notification sound to the wearable electronic device 700, and the display 160 is off and the wearable electronic device 700 is not outputting a sound, a signal for controlling the wearable electronic device 700 to output a sound corresponding to a notification message is transmitted to the wearable electronic device 700 It may include an operation of transmitting.

다양한 실시예에 따라서, 상기 주변 환경이 타인이 상기 전자 장치(101)의 사용자를 부르고 있는 상황에 일치한다고 확인되고, 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중인 경우, 상기 디스플레이(160) 상에 표시되는 상기 알림 메시지는 헤드 업(heads-up) 메시지일 수 있다.According to various embodiments, it is confirmed that the surrounding environment matches a situation in which another person is calling the user of the electronic device 101 , the display 160 is turned off, and a sound is output from the wearable electronic device 700 . In this case, the notification message displayed on the display 160 may be a heads-up message.

다양한 실시예에 따라서, 상기 주변 환경이 타인이 상기 전자 장치(101)의 사용자를 부르고 있는 상황에 일치한다고 확인되고, 상기 디스플레이(160)가 켜져 있는 경우, 상기 디스플레이(160) 상에 표시되는 상기 알림 메시지는 토스트(toast) 메시지일 수 있다.According to various embodiments, when it is confirmed that the surrounding environment matches a situation in which another person is calling the user of the electronic device 101 and the display 160 is turned on, the display 160 is displayed. The notification message may be a toast message.

다양한 실시예에 따라서, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하는 동작은, 상기 소리 데이터가 임계 크기 이상의 소리를 나타내고, 미리 설정된 제1 패턴을 나타낸다고 확인되는 것에 응답하여, 상기 주변 환경이 큰 소음이 발생하는 상황에 일치한다고 확인하는 동작을 포함하고, 상기 주변 환경이 큰 소음이 발생하는 상황에 일치한다고 확인되는 경우, 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하는 것, 또는 상기 디스플레이(160) 상에 알림 메시지를 표시하는 것 중 적어도 하나를 수행하는 동작은: 상기 디스플레이(160)가 켜져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중인 경우, 노이즈 캔슬링 기능을 활성화하고, 주변 소리 듣기 기능을 비활성화하고, 상기 웨어러블 전자 장치(700)에서 출력 중인 소리의 볼륨을 증가시키도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하는 동작, 상기 디스플레이(160)가 켜져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중이지 않은 경우, 노이즈 캔슬링 기능을 활성화하고, 주변 소리 듣기 기능을 비활성화하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하는 동작, 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중인 경우, 노이즈 캔슬링 기능을 활성화하고, 주변 소리 듣기 기능을 비활성화하고, 상기 웨어러블 전자 장치(700)에서 출력 중인 소리의 볼륨을 증가시키도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하는 동작, 및 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중이지 않은 경우, 노이즈 캔슬링 기능을 활성화하고, 주변 소리 듣기 기능을 비활성화하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하는 동작을 포함할 수 있다.According to various embodiments, the determining whether the surrounding environment matches one of a plurality of preset situations may include, in response to it being confirmed that the sound data represents a sound having a threshold level or higher and represents a preset first pattern. , a signal for controlling the wearable electronic device 700 when it is confirmed that the surrounding environment matches a situation in which a large noise is generated, and it is confirmed that the surrounding environment matches a situation in which a large noise is generated The operation of performing at least one of transmitting to the wearable electronic device 700 and displaying a notification message on the display 160 is: when the display 160 is turned on, the wearable electronic device ( When the sound is being output by the wearable electronic device 700 , the wearable electronic device 700 is controlled to activate the noise canceling function, deactivate the ambient sound listening function, and increase the volume of the sound being output from the wearable electronic device 700 . When the display 160 is turned on and the wearable electronic device 700 is not outputting a sound, the noise canceling function is activated, An operation of transmitting a signal for controlling the wearable electronic device 700 to the wearable electronic device 700 to deactivate a listening function, the display 160 is turned off, and the wearable electronic device 700 outputs a sound a signal for controlling the wearable electronic device 700 to activate the noise canceling function, deactivate the ambient sound listening function, and increase the volume of the sound output from the wearable electronic device 700 When the operation of transmitting to the electronic device 700 and the display 160 are turned off and the wearable electronic device 700 is not outputting sound, the noise canceling function is activated and the ambient sound listening function is deactivated. the above The operation may include transmitting a signal for controlling the wearable electronic device 700 to the wearable electronic device 700 .

다양한 실시예에 따라서, 상기 적어도 하나의 센서(176)를 통하여 센서 데이터를 획득하는 동작은 GPS 센서를 통하여 GPS 센서 데이터를 획득하는 동작을 포함하고, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하는 동작은, 상기 GPS 센서 데이터가 미리 지정된 위치를 나타내고, 상기 소리 데이터가 미리 설정된 소리들 중 하나를 나타내는 경우, 상기 주변 환경이 상기 미리 설정된 복수의 상황 중 실내 이벤트 상황에 일치한다고 확인하는 동작을 포함하고, 상기 주변 환경이 실내 이벤트 상황에 일치한다고 확인되는 경우, 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하는 것, 또는 상기 디스플레이(160) 상에 알림 메시지를 표시하는 것 중 적어도 하나를 수행하는 동작은: 상기 디스플레이(160)가 켜져 있는 경우, 상기 미리 설정된 소리들 중 하나에 대응되는 알림 메시지를 상기 디스플레이(160) 상에 표시하는 동작, 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중인 경우, 상기 미리 설정된 소리들 중 하나에 대응되는 알림 메시지를 상기 디스플레이(160) 상에 표시하고, 알림음을 출력하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하는 동작, 및 상기 디스플레이(160)가 꺼져 있고, 상기 웨어러블 전자 장치(700)에서 소리를 출력 중이지 않은 경우, 상기 미리 설정된 소리들 중 하나에 대응되는 알림 메시지에 대응하는 소리를 출력하도록 상기 웨어러블 전자 장치(700)를 제어하기 위한 신호를 상기 웨어러블 전자 장치(700)에 송신하는 동작을 포함할 수 있다.According to various embodiments, the operation of acquiring the sensor data through the at least one sensor 176 includes the operation of acquiring the GPS sensor data through the GPS sensor, and the surrounding environment is set in one of a plurality of preset situations; The operation of determining whether the match is performed may include, when the GPS sensor data indicates a predetermined location and the sound data indicates one of preset sounds, the surrounding environment matches an indoor event situation among the plurality of preset situations transmitting a signal for controlling the wearable electronic device 700 to the wearable electronic device 700 when it is confirmed that the surrounding environment matches the indoor event situation, or the display The performing of at least one of displaying a notification message on the display 160 is: when the display 160 is turned on, a notification message corresponding to one of the preset sounds is displayed on the display 160 When the display 160 is turned off and the wearable electronic device 700 is outputting a sound, a notification message corresponding to one of the preset sounds is displayed on the display 160, transmitting a signal for controlling the wearable electronic device 700 to output a notification sound to the wearable electronic device 700; When not outputting, transmitting a signal for controlling the wearable electronic device 700 to output a sound corresponding to a notification message corresponding to one of the preset sounds to the wearable electronic device 700 may include

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may have various types of devices. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but it should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, "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 "A , B, or C" each may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as “first”, “second”, or “first” or “second” may simply be used to distinguish an element from other such elements, and may refer elements to other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is "coupled" or "connected" to another (eg, second) component, with or without the terms "functionally" or "communicatively". When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.

본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit. can be used as A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document include one or more instructions stored in a storage medium (eg, the internal memory 136 or the external memory 138) readable by a machine (eg, the electronic device 101). may be implemented as software (eg, the program 140) including For example, the processor (eg, the processor 120 ) of the device (eg, the electronic device 101 ) may call at least one of one or more instructions stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the called at least one command. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-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 (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.

일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be provided as included in a computer program product. Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store™) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly or online between smartphones (eg: smartphones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, a module or a program) of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have. According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component 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, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.

Claims (20)

전자 장치에 있어서,
통신 회로,
디스플레이,
적어도 하나의 센서, 및
적어도 하나의 프로세서를 포함하고,
상기 적어도 하나의 프로세서는,
상기 통신 회로를 통하여, 웨어러블 전자 장치로부터 주변 환경에 관한 소리 데이터를 획득하고,
상기 적어도 하나의 센서를 통하여 센서 데이터를 획득하고,
상기 소리 데이터 및 상기 센서 데이터에 기초하여, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하고,
상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치한다고 확인되는 것에 응답하여, 상기 일치하는 상황, 상기 디스플레이의 상태, 및 상기 웨어러블 전자 장치에서 소리를 출력 중인지 여부에 기초하여, 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 통신 회로를 통하여 상기 웨어러블 전자 장치에 송신하는 것, 또는 상기 디스플레이 상에 알림 메시지를 표시하는 것 중 적어도 하나를 수행하도록 설정되는, 전자 장치.
In an electronic device,
communication circuit,
display,
at least one sensor, and
at least one processor;
the at least one processor,
Acquire sound data about the surrounding environment from the wearable electronic device through the communication circuit,
Obtaining sensor data through the at least one sensor,
based on the sound data and the sensor data, check whether the surrounding environment matches one of a plurality of preset situations,
In response to confirming that the surrounding environment matches one of a plurality of preset situations, based on the matching situation, the state of the display, and whether the wearable electronic device is outputting a sound, the wearable electronic device is configured The electronic device is configured to perform at least one of transmitting a control signal to the wearable electronic device through the communication circuit and displaying a notification message on the display.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 소리 데이터가 다른 전자 장치에서 재생되는 소리에 관련된 데이터인지 여부를 확인하고,
상기 소리 데이터가 다른 전자 장치에서 재생되는 소리에 관련된 데이터가 아니라고 확인되는 것에 기초하여, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하도록 구성되는, 전자 장치.
According to claim 1,
the at least one processor,
Checking whether the sound data is data related to a sound reproduced by another electronic device,
and check whether the surrounding environment matches one of a plurality of preset situations based on it being confirmed that the sound data is not data related to a sound reproduced by another electronic device.
제1항에 있어서,
상기 적어도 하나의 센서는 진동 센서를 포함하고,
상기 적어도 하나의 프로세서는,
상기 진동 센서를 통하여 획득한 진동 센서 데이터 및 상기 소리 데이터에 기초하여, 상기 주변 환경이 상기 전자 장치의 사용자가 발화하는 상황에 일치한다고 확인하고,
상기 주변 환경이 상기 전자 장치의 사용자가 발화하는 상황에 일치한다고 확인되는 것에 응답하여:
상기 디스플레이가 켜져 있는 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하고, 소리 출력을 중지하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하고,
상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중인 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하고, 상기 소리 출력을 중지하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하고,
상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중이지 않은 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하도록 구성되는, 전자 장치.
According to claim 1,
the at least one sensor comprises a vibration sensor,
the at least one processor,
Based on the vibration sensor data and the sound data acquired through the vibration sensor, it is confirmed that the surrounding environment matches a situation in which the user of the electronic device utters,
In response to determining that the surrounding environment matches a situation in which the user of the electronic device is uttering:
When the display is turned on, transmitting a signal for controlling the wearable electronic device to deactivate the noise canceling function, activate the ambient sound listening function, and stop outputting sound to the wearable electronic device,
When the display is turned off and the wearable electronic device is outputting a sound, a signal for controlling the wearable electronic device to deactivate a noise canceling function, activate an ambient sound listening function, and stop outputting the sound is transmitted to the wearable electronic device transmit to an electronic device;
When the display is turned off and the wearable electronic device is not outputting a sound, transmit a signal for controlling the wearable electronic device to deactivate the noise canceling function and activate the ambient sound listening function to the wearable electronic device Consisting of, an electronic device.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 소리 데이터가 미리 설정된 텍스트에 대응하는 소리를 나타낸다고 확인되는 것에 응답하여, 상기 주변 환경이 상기 미리 설정된 복수의 상황 중 타인이 상기 전자 장치의 사용자를 부르고 있는 상황에 일치한다고 확인하고,
상기 주변 환경이 타인이 상기 전자 장치의 사용자를 부르고 있는 상황에 일치한다고 확인되는 것에 응답하여:
상기 디스플레이가 켜져 있는 경우, 상기 디스플레이 상에 알림 메시지를 표시하고,
상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중인 경우, 상기 디스플레이 상에 알림 메시지를 표시하고, 알림음을 출력하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하고,
상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중이지 않은 경우, 알림 메시지에 대응하는 소리를 출력하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하도록 구성되는, 전자 장치.
According to claim 1,
the at least one processor,
In response to confirming that the sound data represents a sound corresponding to the preset text, confirming that the surrounding environment matches a situation in which another person is calling a user of the electronic device from among the plurality of preset situations,
In response to determining that the surrounding environment is consistent with a situation in which another person is calling the user of the electronic device:
When the display is turned on, display a notification message on the display,
When the display is turned off and the wearable electronic device is outputting a sound, displaying a notification message on the display and transmitting a signal for controlling the wearable electronic device to output a notification sound to the wearable electronic device,
When the display is turned off and the wearable electronic device is not outputting a sound, the electronic device is configured to transmit a signal for controlling the wearable electronic device to output a sound corresponding to a notification message to the wearable electronic device .
제4항에 있어서,
상기 주변 환경이 타인이 상기 전자 장치의 사용자를 부르고 있는 상황에 일치한다고 확인되고, 상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중인 경우, 상기 디스플레이 상에 표시되는 상기 알림 메시지는 헤드 업(heads-up) 메시지인, 전자 장치.
5. The method of claim 4,
When it is confirmed that the surrounding environment matches a situation in which another person is calling the user of the electronic device, the display is turned off, and the wearable electronic device is outputting a sound, the notification message displayed on the display is a head-up (heads-up) message, an electronic device.
제4항에 있어서,
상기 주변 환경이 타인이 상기 전자 장치의 사용자를 부르고 있는 상황에 일치한다고 확인되고, 상기 디스플레이가 켜져 있는 경우, 상기 디스플레이 상에 표시되는 상기 알림 메시지는 토스트(toast) 메시지인, 전자 장치.
5. The method of claim 4,
If it is confirmed that the surrounding environment matches a situation in which another person is calling the user of the electronic device, and the display is turned on, the notification message displayed on the display is a toast message.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 소리 데이터가 임계 크기 이상의 소리를 나타내고, 미리 설정된 제1 패턴을 나타낸다고 확인되는 것에 응답하여, 상기 주변 환경이 큰 소음이 발생하는 상황에 일치한다고 확인하고,
상기 주변 환경이 큰 소음이 발생하는 상황에 일치한다고 확인되는 것에 응답하여:
상기 디스플레이가 켜져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중인 경우, 노이즈 캔슬링 기능을 활성화하고, 주변 소리 듣기 기능을 비활성화하고, 상기 웨어러블 전자 장치에서 출력 중인 소리의 볼륨을 증가시키도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하고,
상기 디스플레이가 켜져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중이지 않은 경우, 노이즈 캔슬링 기능을 활성화하고, 주변 소리 듣기 기능을 비활성화하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하고,
상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중인 경우, 노이즈 캔슬링 기능을 활성화하고, 주변 소리 듣기 기능을 비활성화하고, 상기 웨어러블 전자 장치에서 출력 중인 소리의 볼륨을 증가시키도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하고,
상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중이지 않은 경우, 노이즈 캔슬링 기능을 활성화하고, 주변 소리 듣기 기능을 비활성화하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하도록 구성되는, 전자 장치.
According to claim 1,
the at least one processor,
In response to confirming that the sound data represents a sound above a threshold level and represents a preset first pattern, confirming that the surrounding environment is consistent with a situation in which a loud noise is generated,
In response to confirming that the surrounding environment is consistent with a loud noise situation:
When the display is turned on and the wearable electronic device is outputting a sound, the wearable electronic device activates a noise canceling function, disables an ambient sound listening function, and increases the volume of a sound output by the wearable electronic device Transmitting a signal for controlling the wearable electronic device,
When the display is turned on and the wearable electronic device is not outputting a sound, a signal for controlling the wearable electronic device to activate a noise canceling function and deactivate an ambient sound listening function is transmitted to the wearable electronic device, ,
When the display is turned off and the wearable electronic device is outputting a sound, the wearable electronic device activates a noise canceling function, disables an ambient sound listening function, and increases the volume of a sound output by the wearable electronic device Transmitting a signal for controlling the wearable electronic device,
When the display is turned off and the wearable electronic device is not outputting a sound, transmit a signal for controlling the wearable electronic device to activate a noise canceling function and deactivate an ambient sound listening function to the wearable electronic device Consisting of, an electronic device.
제1항에 있어서,
상기 적어도 하나의 센서는 GPS 센서를 포함하고,
상기 적어도 하나의 프로세서는,
상기 GPS 센서를 통하여 획득한 GPS 센서 데이터가 미리 지정된 위치를 나타내고, 상기 소리 데이터가 미리 설정된 소리들 중 하나를 나타내는 경우, 상기 주변 환경이 상기 미리 설정된 복수의 상황 중 실내 이벤트 상황에 일치한다고 확인하고,
상기 주변 환경이 실내 이벤트 상황에 일치한다고 확인되는 것에 응답하여:
상기 디스플레이가 켜져 있는 경우, 상기 미리 설정된 소리들 중 하나에 대응되는 알림 메시지를 상기 디스플레이 상에 표시하고,
상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중인 경우, 상기 미리 설정된 소리들 중 하나에 대응되는 알림 메시지를 상기 디스플레이 상에 표시하고, 알림음을 출력하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하고,
상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중이지 않은 경우, 상기 미리 설정된 소리들 중 하나에 대응되는 알림 메시지에 대응하는 소리를 출력하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하도록 구성되는, 전자 장치.
According to claim 1,
The at least one sensor comprises a GPS sensor,
the at least one processor,
When the GPS sensor data obtained through the GPS sensor indicates a predetermined location and the sound data indicates one of the preset sounds, confirm that the surrounding environment matches the indoor event situation among the plurality of preset situations, and ,
In response to determining that the surrounding environment is consistent with an indoor event situation:
When the display is turned on, a notification message corresponding to one of the preset sounds is displayed on the display,
When the display is turned off and the wearable electronic device is outputting a sound, displaying a notification message corresponding to one of the preset sounds on the display and controlling the wearable electronic device to output a notification sound sending a signal to the wearable electronic device;
When the display is turned off and the wearable electronic device is not outputting a sound, a signal for controlling the wearable electronic device to output a sound corresponding to a notification message corresponding to one of the preset sounds is transmitted to the wearable electronic device. An electronic device configured to transmit to an electronic device.
제8항에 있어서,
상기 미리 지정된 위치는 상기 전자 장치의 사용자의 입력에 의하여 특정되는 위치 또는 상기 전자 장치의 상기 사용자가 자주 방문하는 위치 중 적어도 하나를 포함하는, 전자 장치.
9. The method of claim 8,
The electronic device, wherein the predetermined location includes at least one of a location specified by a user input of the electronic device and a location frequently visited by the user of the electronic device.
전자 장치에서 수행되는 방법에 있어서,
웨어러블 전자 장치로부터 주변 환경에 관한 소리 데이터를 획득하는 동작,
상기 전자 장치의 적어도 하나의 센서를 통하여 센서 데이터를 획득하는 동작,
상기 소리 데이터 및 상기 센서 데이터에 기초하여, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하는 동작, 및
상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치한다고 확인되는 것에 응답하여, 상기 일치하는 상황, 상기 전자 장치의 디스플레이의 상태, 및 상기 웨어러블 전자 장치에서 소리를 출력 중인지 여부에 기초하여, 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하는 것, 또는 상기 디스플레이 상에 알림 메시지를 표시하는 것 중 적어도 하나를 수행하는 동작을 포함하는 방법.
A method performed in an electronic device, comprising:
acquiring sound data about the surrounding environment from the wearable electronic device;
acquiring sensor data through at least one sensor of the electronic device;
based on the sound data and the sensor data, determining whether the surrounding environment matches one of a plurality of preset situations; and
In response to determining that the surrounding environment matches one of a plurality of preset situations, based on the matching situation, a state of a display of the electronic device, and whether the wearable electronic device is outputting a sound, the wearable A method comprising: transmitting a signal for controlling an electronic device to the wearable electronic device; and performing at least one of displaying a notification message on the display.
제10항에 있어서,
상기 방법은, 상기 소리 데이터가 다른 전자 장치에서 재생되는 소리에 관련된 데이터인지 여부를 확인하는 동작을 더 포함하고,
상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하는 동작은 상기 소리 데이터가 다른 전자 장치에서 재생되는 소리에 관련된 데이터가 아니라고 확인되는 것에 기초하여 수행되는, 방법.
11. The method of claim 10,
The method further includes the operation of confirming whether the sound data is data related to a sound reproduced in another electronic device,
The operation of determining whether the surrounding environment matches one of a plurality of preset situations is performed based on confirming that the sound data is not data related to a sound reproduced in another electronic device.
제10항에 있어서,
상기 적어도 하나의 센서를 통하여 센서 데이터를 획득하는 동작은 진동 센서를 통하여 진동 센서 데이터를 획득하는 동작을 포함하고,
상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하는 동작은, 상기 진동 센서 데이터 및 상기 소리 데이터에 기초하여, 상기 주변 환경이 상기 전자 장치의 사용자가 발화하는 상황에 일치한다고 확인하는 동작을 포함하고,
상기 주변 환경이 상기 전자 장치의 사용자가 발화하는 상황에 일치한다고 확인되는 경우, 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하는 것, 또는 상기 디스플레이 상에 알림 메시지를 표시하는 것 중 적어도 하나를 수행하는 동작은:
상기 디스플레이가 켜져 있는 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하고, 소리 출력을 중지하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하는 동작,
상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중인 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하고, 상기 소리 출력을 중지하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하는 동작, 및
상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중이지 않은 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하는 동작을 포함하는, 방법.
11. The method of claim 10,
The operation of acquiring sensor data through the at least one sensor includes the operation of acquiring vibration sensor data through a vibration sensor,
The operation of determining whether the surrounding environment matches one of a plurality of preset situations may include, based on the vibration sensor data and the sound data, confirming that the surrounding environment matches a situation uttered by the user of the electronic device including actions to
Transmitting a signal for controlling the wearable electronic device to the wearable electronic device or displaying a notification message on the display when it is confirmed that the surrounding environment matches a situation in which the user of the electronic device utters The action of performing at least one of:
transmitting, to the wearable electronic device, a signal for controlling the wearable electronic device to deactivate a noise canceling function, activate an ambient sound listening function, and stop outputting sound when the display is turned on;
When the display is turned off and the wearable electronic device is outputting a sound, a signal for controlling the wearable electronic device to deactivate a noise canceling function, activate an ambient sound listening function, and stop outputting the sound is transmitted to the wearable electronic device sending to the electronic device, and
When the display is turned off and the wearable electronic device is not outputting a sound, transmitting a signal for controlling the wearable electronic device to deactivate the noise canceling function and activate the ambient sound listening function to the wearable electronic device A method comprising an action.
제1항에 있어서,
상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하는 동작은, 상기 소리 데이터가 미리 설정된 텍스트에 대응하는 소리를 나타낸다고 확인되는 것에 응답하여, 상기 주변 환경이 상기 미리 설정된 복수의 상황 중 타인이 상기 전자 장치의 사용자를 부르고 있는 상황에 일치한다고 확인하는 동작을 포함하고,
상기 주변 환경이 타인이 상기 전자 장치의 사용자를 부르고 있는 상황에 일치한다고 확인되는 경우, 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하는 것, 또는 상기 디스플레이 상에 알림 메시지를 표시하는 것 중 적어도 하나를 수행하는 동작은:
상기 디스플레이가 켜져 있는 경우, 상기 디스플레이 상에 알림 메시지를 표시하는 동작,
상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중인 경우, 상기 디스플레이 상에 알림 메시지를 표시하고, 알림음을 출력하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하는 동작, 및
상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중이지 않은 경우, 알림 메시지에 대응하는 소리를 출력하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하는 동작을 포함하는, 방법.
According to claim 1,
The operation of determining whether the surrounding environment matches one of the plurality of preset situations may include, in response to it being confirmed that the sound data represents a sound corresponding to the preset text, that the surrounding environment matches the one of the plurality of preset situations. and confirming that it matches the situation in which another person is calling the user of the electronic device,
When it is confirmed that the surrounding environment matches a situation in which another person is calling the user of the electronic device, transmitting a signal for controlling the wearable electronic device to the wearable electronic device, or displaying a notification message on the display An action that does at least one of:
displaying a notification message on the display when the display is turned on;
When the display is turned off and the wearable electronic device is outputting a sound, displaying a notification message on the display and transmitting a signal for controlling the wearable electronic device to output a notification sound to the wearable electronic device , and
When the display is turned off and the wearable electronic device is not outputting a sound, transmitting a signal for controlling the wearable electronic device to output a sound corresponding to a notification message to the wearable electronic device, Way.
제13항에 있어서,
상기 주변 환경이 타인이 상기 전자 장치의 사용자를 부르고 있는 상황에 일치한다고 확인되고, 상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중인 경우, 상기 디스플레이 상에 표시되는 상기 알림 메시지는 헤드 업(heads-up) 메시지인, 방법.
14. The method of claim 13,
When it is confirmed that the surrounding environment matches a situation in which another person is calling the user of the electronic device, the display is turned off, and the wearable electronic device is outputting a sound, the notification message displayed on the display is a head-up The (heads-up) message, the method.
제13항에 있어서,
상기 주변 환경이 타인이 상기 전자 장치의 사용자를 부르고 있는 상황에 일치한다고 확인되고, 상기 디스플레이가 켜져 있는 경우, 상기 디스플레이 상에 표시되는 상기 알림 메시지는 토스트(toast) 메시지인, 방법.
14. The method of claim 13,
If it is confirmed that the surrounding environment matches a situation in which another person is calling the user of the electronic device, and the display is turned on, the notification message displayed on the display is a toast message.
제1항에 있어서,
상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하는 동작은, 상기 소리 데이터가 임계 크기 이상의 소리를 나타내고, 미리 설정된 제1 패턴을 나타낸다고 확인되는 것에 응답하여, 상기 주변 환경이 큰 소음이 발생하는 상황에 일치한다고 확인하는 동작을 포함하고,
상기 주변 환경이 큰 소음이 발생하는 상황에 일치한다고 확인되는 경우, 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하는 것, 또는 상기 디스플레이 상에 알림 메시지를 표시하는 것 중 적어도 하나를 수행하는 동작은:
상기 디스플레이가 켜져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중인 경우, 노이즈 캔슬링 기능을 활성화하고, 주변 소리 듣기 기능을 비활성화하고, 상기 웨어러블 전자 장치에서 출력 중인 소리의 볼륨을 증가시키도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하는 동작,
상기 디스플레이가 켜져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중이지 않은 경우, 노이즈 캔슬링 기능을 활성화하고, 주변 소리 듣기 기능을 비활성화하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하는 동작,
상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중인 경우, 노이즈 캔슬링 기능을 활성화하고, 주변 소리 듣기 기능을 비활성화하고, 상기 웨어러블 전자 장치에서 출력 중인 소리의 볼륨을 증가시키도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하는 동작, 및
상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중이지 않은 경우, 노이즈 캔슬링 기능을 활성화하고, 주변 소리 듣기 기능을 비활성화하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하는 동작을 포함하는, 방법.
According to claim 1,
The operation of determining whether the surrounding environment matches one of a plurality of preset situations may include, in response to it being confirmed that the sound data represents a sound having a threshold level or higher and represents a preset first pattern, the surrounding environment is large including actions to ensure that the noise is consistent with the situation in which it occurs;
At least one of transmitting a signal for controlling the wearable electronic device to the wearable electronic device or displaying a notification message on the display when it is confirmed that the surrounding environment matches a situation in which a loud noise is generated The action to perform is:
When the display is turned on and the wearable electronic device is outputting a sound, the wearable electronic device activates a noise canceling function, disables an ambient sound listening function, and increases the volume of a sound output by the wearable electronic device transmitting a signal for controlling the wearable electronic device,
When the display is turned on and the wearable electronic device is not outputting sound, a signal for controlling the wearable electronic device to activate the noise canceling function and deactivate the ambient sound listening function to the wearable electronic device movement,
When the display is turned off and the wearable electronic device is outputting a sound, the wearable electronic device activates a noise canceling function, disables an ambient sound listening function, and increases the volume of a sound output by the wearable electronic device transmitting a signal for controlling the wearable electronic device to the wearable electronic device, and
When the display is turned off and the wearable electronic device is not outputting a sound, transmitting a signal for controlling the wearable electronic device to activate a noise canceling function and deactivate an ambient sound listening function to the wearable electronic device A method comprising an action.
제1항에 있어서,
상기 적어도 하나의 센서를 통하여 센서 데이터를 획득하는 동작은 GPS 센서를 통하여 GPS 센서 데이터를 획득하는 동작을 포함하고,
상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하는 동작은, 상기 GPS 센서 데이터가 미리 지정된 위치를 나타내고, 상기 소리 데이터가 미리 설정된 소리들 중 하나를 나타내는 경우, 상기 주변 환경이 상기 미리 설정된 복수의 상황 중 실내 이벤트 상황에 일치한다고 확인하는 동작을 포함하고,
상기 주변 환경이 실내 이벤트 상황에 일치한다고 확인되는 경우, 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하는 것, 또는 상기 디스플레이 상에 알림 메시지를 표시하는 것 중 적어도 하나를 수행하는 동작은:
상기 디스플레이가 켜져 있는 경우, 상기 미리 설정된 소리들 중 하나에 대응되는 알림 메시지를 상기 디스플레이 상에 표시하는 동작,
상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중인 경우, 상기 미리 설정된 소리들 중 하나에 대응되는 알림 메시지를 상기 디스플레이 상에 표시하고, 알림음을 출력하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하는 동작, 및
상기 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중이지 않은 경우, 상기 미리 설정된 소리들 중 하나에 대응되는 알림 메시지에 대응하는 소리를 출력하도록 상기 웨어러블 전자 장치를 제어하기 위한 신호를 상기 웨어러블 전자 장치에 송신하는 동작을 포함하는, 방법.
According to claim 1,
The operation of acquiring sensor data through the at least one sensor includes the operation of acquiring GPS sensor data through a GPS sensor,
The operation of determining whether the surrounding environment coincides with one of a plurality of preset situations may include, if the GPS sensor data indicates a preset location, and the sound data indicates one of preset sounds, the surrounding environment Including the operation of confirming that it matches the indoor event situation among the plurality of preset situations,
When it is confirmed that the surrounding environment matches the indoor event situation, at least one of transmitting a signal for controlling the wearable electronic device to the wearable electronic device or displaying a notification message on the display The action is:
displaying a notification message corresponding to one of the preset sounds on the display when the display is turned on;
When the display is turned off and the wearable electronic device is outputting a sound, displaying a notification message corresponding to one of the preset sounds on the display and controlling the wearable electronic device to output a notification sound transmitting a signal to the wearable electronic device; and
When the display is turned off and the wearable electronic device is not outputting a sound, a signal for controlling the wearable electronic device to output a sound corresponding to a notification message corresponding to one of the preset sounds is transmitted to the wearable electronic device. A method comprising transmitting to an electronic device.
웨어러블 전자 장치에 있어서,
통신 회로,
소리 입력 장치,
소리 출력 장치,
적어도 하나의 센서, 및
적어도 하나의 프로세서를 포함하고,
상기 적어도 하나의 프로세서는,
상기 통신 회로를 통하여, 외부 전자 장치와 통신 연결을 형성하고,
상기 소리 입력 장치를 통하여 주변 환경에 관한 소리 데이터를 획득하고,
상기 적어도 하나의 센서를 통하여 센서 데이터를 획득하고,
상기 소리 데이터 및 상기 센서 데이터에 기초하여, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하고,
상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치한다고 확인되는 것에 응답하여, 상기 일치하는 상황, 상기 외부 전자 장치의 디스플레이의 상태, 및 상기 소리 출력 장치에서 소리를 출력 중인지 여부에 기초하여, 상기 소리 출력 장치를 제어하는 것, 또는 상기 디스플레이 상에 알림을 표시하도록 상기 외부 전자 장치에 신호를 송신하는 것 중 적어도 하나를 수행하도록 설정되는, 웨어러블 전자 장치.
A wearable electronic device comprising:
communication circuit,
sound input device,
sound output device,
at least one sensor, and
at least one processor;
the at least one processor,
Forming a communication connection with an external electronic device through the communication circuit,
Acquire sound data about the surrounding environment through the sound input device,
Obtaining sensor data through the at least one sensor,
based on the sound data and the sensor data, check whether the surrounding environment matches one of a plurality of preset situations,
In response to determining that the surrounding environment matches one of a plurality of preset situations, based on the matching situation, a state of a display of the external electronic device, and whether the sound output device is outputting a sound, the The wearable electronic device is configured to perform at least one of controlling a sound output device or transmitting a signal to the external electronic device to display a notification on the display.
제18항에 있어서,
상기 적어도 하나의 프로세서는,
상기 소리 데이터가 다른 전자 장치에서 재생되는 소리에 관련된 데이터인지 여부를 확인하고,
상기 소리 데이터가 다른 전자 장치에서 재생되는 소리에 관련된 데이터가 아니라고 확인되는 것에 기초하여, 상기 주변 환경이 미리 설정된 복수의 상황 중 하나와 일치하는지 여부를 확인하도록 구성되는, 웨어러블 전자 장치.
19. The method of claim 18,
the at least one processor,
Checking whether the sound data is data related to a sound reproduced by another electronic device,
and check whether the surrounding environment matches one of a plurality of preset situations based on it being confirmed that the sound data is not data related to a sound reproduced by another electronic device.
제18항에 있어서,
상기 적어도 하나의 센서는 진동 센서를 포함하고,
상기 적어도 하나의 프로세서는,
상기 진동 센서를 통하여 획득한 진동 센서 데이터 및 상기 소리 데이터에 기초하여, 상기 주변 환경이 상기 전자 장치의 사용자가 발화하는 상황에 일치한다고 확인하고,
상기 주변 환경이 상기 전자 장치의 사용자가 발화하는 상황에 일치한다고 확인되는 것에 응답하여:
상기 외부 전자 장치의 디스플레이가 켜져 있는 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하고, 소리 출력을 중지하도록 상기 소리 출력 장치를 제어하고,
상기 외부 전자 장치의 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중인 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하고, 상기 소리 출력을 중지하도록 상기 소리 출력 장치를 제어하고,
상기 외부 전자 장치의 디스플레이가 꺼져 있고, 상기 웨어러블 전자 장치에서 소리를 출력 중이지 않은 경우, 노이즈 캔슬링 기능을 비활성화하고, 주변 소리 듣기 기능을 활성화하도록 상기 소리 출력 장치를 제어하도록 구성되는, 웨어러블 전자 장치.
19. The method of claim 18,
the at least one sensor comprises a vibration sensor,
the at least one processor,
Based on the vibration sensor data and the sound data acquired through the vibration sensor, it is confirmed that the surrounding environment matches a situation in which the user of the electronic device utters,
In response to determining that the surrounding environment matches a situation in which the user of the electronic device is uttering:
when the display of the external electronic device is turned on, disable the noise canceling function, activate the ambient sound listening function, and control the sound output device to stop outputting sound,
When the display of the external electronic device is turned off and the wearable electronic device is outputting sound, the sound output device is controlled to deactivate the noise canceling function, activate the ambient sound listening function, and stop outputting the sound,
When the display of the external electronic device is turned off and the wearable electronic device is not outputting a sound, the wearable electronic device is configured to control the sound output device to deactivate a noise canceling function and activate an ambient sound listening function .
KR1020210048760A 2021-01-22 2021-04-14 Electronic device controlled based on sound data and method of controlling electronic device based on sound data KR20220106643A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP22742828.1A EP4206900A4 (en) 2021-01-22 2022-01-19 Electronic device controlled on basis of sound data, and method for controlling electronic device on basis of sound data
PCT/KR2022/000993 WO2022158852A1 (en) 2021-01-22 2022-01-19 Electronic device controlled on basis of sound data, and method for controlling electronic device on basis of sound data
US17/581,389 US20220239269A1 (en) 2021-01-22 2022-01-21 Electronic device controlled based on sound data and method for controlling electronic device based on sound data

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US202163140369P 2021-01-22 2021-01-22
US63/140,369 2021-01-22

Publications (1)

Publication Number Publication Date
KR20220106643A true KR20220106643A (en) 2022-07-29

Family

ID=82606422

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210048760A KR20220106643A (en) 2021-01-22 2021-04-14 Electronic device controlled based on sound data and method of controlling electronic device based on sound data

Country Status (1)

Country Link
KR (1) KR20220106643A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024058568A1 (en) * 2022-09-16 2024-03-21 삼성전자주식회사 Singing mode operation method and electronic device performing same
WO2024072136A1 (en) * 2022-09-27 2024-04-04 삼성전자 주식회사 Electronic device for processing audio, and operation method of electronic device
WO2024076043A1 (en) * 2022-10-07 2024-04-11 삼성전자주식회사 Electronic device and method for generating vibration sound signal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024058568A1 (en) * 2022-09-16 2024-03-21 삼성전자주식회사 Singing mode operation method and electronic device performing same
WO2024072136A1 (en) * 2022-09-27 2024-04-04 삼성전자 주식회사 Electronic device for processing audio, and operation method of electronic device
WO2024076043A1 (en) * 2022-10-07 2024-04-11 삼성전자주식회사 Electronic device and method for generating vibration sound signal

Similar Documents

Publication Publication Date Title
KR20220106643A (en) Electronic device controlled based on sound data and method of controlling electronic device based on sound data
EP4206900A1 (en) Electronic device controlled on basis of sound data, and method for controlling electronic device on basis of sound data
US10325614B2 (en) Voice-based realtime audio attenuation
KR20220034571A (en) Electronic device for identifying a command included in voice and method of opearating the same
KR20220012554A (en) Audio output device including microphone
US10916248B2 (en) Wake-up word detection
EP4258084A1 (en) Electronic device for reducing internal noise, and operation method thereof
KR20210001646A (en) Electronic device and method for determining audio device for processing audio signal thereof
KR20200101221A (en) Method for processing user input and electronic device supporting the same
CN114745624A (en) Wireless earphone searching method and device, earphone and storage medium
US20220189477A1 (en) Method for controlling ambient sound and electronic device therefor
KR20230038972A (en) Wearable electronic device including sensor and method of operating the same
US20230019110A1 (en) Method for controlling ambient sound and electronic device for the same
US20220405045A1 (en) Electronic device for responding to user reaction and outside sound and operating method thereof
KR20220084902A (en) Method for controlling ambient sound and electronic device therefor
WO2022158852A1 (en) Electronic device controlled on basis of sound data, and method for controlling electronic device on basis of sound data
US20220261218A1 (en) Electronic device including speaker and microphone and method for operating the same
US20240121333A1 (en) Electronic device and operating method thereof
US20220225449A1 (en) Electronic device for switching communication connections according to noise environment and method for controlling the same
US20230137857A1 (en) Method and electronic device for detecting ambient audio signal
KR20220168833A (en) Electronic device for responding user reaction and outside sound and operating mehtod thereof
KR20240039544A (en) Method for operating function based on external sound detection and electronic device supporting the same
KR20220142757A (en) Electronic device and method for determining whether an object is in proximity in the electronic device
KR20230125700A (en) Electronic device and method for controlling mic and sensor based on external noise
KR20240039520A (en) Electronic device and method for outputting sound signal

Legal Events

Date Code Title Description
A201 Request for examination