KR20230112014A - Electronic device for managing tinnitus and operation method thereof - Google Patents

Electronic device for managing tinnitus and operation method thereof Download PDF

Info

Publication number
KR20230112014A
KR20230112014A KR1020220020161A KR20220020161A KR20230112014A KR 20230112014 A KR20230112014 A KR 20230112014A KR 1020220020161 A KR1020220020161 A KR 1020220020161A KR 20220020161 A KR20220020161 A KR 20220020161A KR 20230112014 A KR20230112014 A KR 20230112014A
Authority
KR
South Korea
Prior art keywords
electronic device
tinnitus
information
sound source
user
Prior art date
Application number
KR1020220020161A
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 PCT/KR2022/021156 priority Critical patent/WO2023136503A1/en
Publication of KR20230112014A publication Critical patent/KR20230112014A/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61FFILTERS IMPLANTABLE INTO BLOOD VESSELS; PROSTHESES; DEVICES PROVIDING PATENCY TO, OR PREVENTING COLLAPSING OF, TUBULAR STRUCTURES OF THE BODY, e.g. STENTS; ORTHOPAEDIC, NURSING OR CONTRACEPTIVE DEVICES; FOMENTATION; TREATMENT OR PROTECTION OF EYES OR EARS; BANDAGES, DRESSINGS OR ABSORBENT PADS; FIRST-AID KITS
    • A61F11/00Methods or devices for treatment of the ears or hearing sense; Non-electric hearing aids; Methods or devices for enabling ear patients to achieve auditory perception through physiological senses other than hearing sense; Protective devices for the ears, carried on the body or in the hand
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/0002Remote monitoring of patients using telemetry, e.g. transmission of vital signals via a communication network
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/12Audiometering
    • A61B5/128Audiometering evaluating tinnitus
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6801Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
    • A61B5/6813Specially adapted to be attached to a specific body part
    • A61B5/6814Head
    • A61B5/6815Ear
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/74Details of notification to user or communication with user or patient ; user input means
    • A61B5/7465Arrangements for interactive communication between patient and care services, e.g. by using a telephone network
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/0008Associated control or indicating means
    • G10H1/0025Automatic or semi-automatic music composition, e.g. producing random music, applying rules from music theory or modifying a musical piece
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/20ICT specially adapted for the handling or processing of patient-related medical or healthcare data for electronic clinical trials or questionnaires
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/70ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to mental therapies, e.g. psychological therapy or autogenous training
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R25/00Deaf-aid sets, i.e. electro-acoustic or electro-mechanical hearing aids; Electric tinnitus maskers providing an auditory perception
    • H04R25/75Electric tinnitus maskers providing an auditory perception
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • A61M2021/0005Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus
    • A61M2021/0027Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus by the hearing sense
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2220/00Input/output interfacing specifically adapted for electrophonic musical tools or instruments
    • G10H2220/155User input interfaces for electrophonic musical instruments
    • G10H2220/371Vital parameter control, i.e. musical instrument control based on body signals, e.g. brainwaves, pulsation, temperature, perspiration; biometric information

Abstract

본 문서에서 개시되는 일 실시 예에 따른 전자 장치는, 적어도 하나의 외부 전자 장치와 통신을 하기 위한 통신 회로, 적어도 하나의 음원 및 이명 주파수 검사를 위한 적어도 하나의 테스트 음향을 저장하는 메모리, 및 상기 통신 회로 및 상기 메모리와 전기적으로 연결된 프로세서를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가 이명 증상이 있는 귀의 방향을 선택하는 제1 사용자 입력에 기초하여 좌측 귀와 우측 귀 중 이명 증상이 있는 귀를 식별하고, 상기 적어도 하나의 테스트 음향을 상기 식별된 귀에 대응하는 외부 전자 장치를 통해 출력되도록 제어하는 제1 제어 메시지를 상기 통신 회로를 통해 상기 외부 전자 장치로 전송하고, 상기 적어도 하나의 테스트 음향 중 하나의 테스트 음향을 선택하는 제2 사용자 입력에 기초하여 상기 선택된 테스트 음향에 대응하는 주파수를 이명 주파수로 결정하고, 상기 적어도 하나의 음원 중 제1 음원에서 상기 이명 주파수에 해당하는 부분을 제거한 제2 음원을 생성하고, 상기 제2 음원이 상기 외부 전자 장치를 통해 출력되도록 제어하는 제2 제어 메시지를 상기 통신 회로를 통해 상기 외부 전자 장치로 전송하도록 하는 인스트럭션들(instructions)을 저장할 수 있다.An electronic device according to an embodiment disclosed in this document includes a communication circuit for communicating with at least one external electronic device, a memory for storing at least one sound source and at least one test sound for testing a tinnitus frequency, and a processor electrically connected to the communication circuit and the memory, wherein the memory identifies an ear with a tinnitus symptom from among a left ear and a right ear based on a first user input for selecting a direction of the ear with tinnitus symptom when the processor is executed, and transmits the at least one test sound to the identified ear. A first control message for controlling output through a corresponding external electronic device is transmitted to the external electronic device through the communication circuit, a frequency corresponding to the selected test sound is determined as a tinnitus frequency based on a second user input for selecting one of the at least one test sound, a second sound source is generated by removing a part corresponding to the tinnitus frequency from the first sound source, and a second control message is output through the external electronic device through the communication circuit. You can store instructions (instructions) to send to.

Description

이명 관리를 위한 전자 장치 및 그의 동작 방법{ELECTRONIC DEVICE FOR MANAGING TINNITUS AND OPERATION METHOD THEREOF}Electronic device for tinnitus management and its operating method {ELECTRONIC DEVICE FOR MANAGING TINNITUS AND OPERATION METHOD THEREOF}

본 문서에서 개시되는 다양한 실시 예들은, 이명 관리를 위한 전자 장치 및 그의 동작 방법에 관한 것이다.Various embodiments disclosed in this document relate to an electronic device for tinnitus management and an operating method thereof.

이명(tinnitus)은 외부 소리 자극이 없는 경우에도 지속적인 소음의 청취로 인하여 고통을 받는 증상을 의미한다. 이명의 원인은 스트레스, 난청 등으로 다양하다. 우리나라에서는 총 인구의 약 15%가 이명을 경험하며, 약 8%는 수면에 심한 장애를 주는 이명 증상을, 약 1%는 일상생활에 극심한 지장을 주는 이명 증상을 경험한다고 한다. 이렇듯 이명은 개인의 삶에 부정적인 영향을 미치고 있다.Tinnitus refers to a symptom of suffering due to continuous hearing of noise even in the absence of an external sound stimulus. The causes of tinnitus are various, such as stress and hearing loss. In Korea, about 15% of the total population experiences tinnitus, and about 8% experience tinnitus symptoms that severely interfere with sleep, and about 1% experience tinnitus symptoms that severely interfere with daily life. As such, tinnitus has a negative impact on an individual's life.

본 문서에서 개시되는 실시 예들은, 전자 장치 내에서 시행되는 이명도 검사 및/또는 이명 설문 평가를 통해 획득한 정보를 기초로 개인별 이명 특성에 맞는 음원을 사용자에게 제공하는 전자 장치를 제공할 수 있다.Embodiments disclosed in this document may provide an electronic device that provides a user with a sound source suitable for individual tinnitus characteristics based on information obtained through a tinnitus level test and/or tinnitus questionnaire evaluation performed in the electronic device.

또한, 본 문서에서 개시되는 실시 예들은, 무선 이어폰과 연동하여 이명 증상이 있는 귀를 대상으로 이명도 검사를 시행하고, 이명 증상이 있는 귀에 착용된 무선 이어폰이 상기 음원을 출력하도록 하여 개인별 이명 특성에 맞는 이명 관리 방법을 제공하는 전자 장치를 제공할 수 있다.In addition, the embodiments disclosed in this document can provide an electronic device that provides a tinnitus management method suitable for individual tinnitus characteristics by interlocking with wireless earphones to perform a tinnitus test on ears with tinnitus symptoms and outputting the sound source from the wireless earphones worn on the ears with tinnitus symptoms.

다만, 본 개시에서 해결하고자 하는 과제는 상기 언급된 과제에 한정되는 것이 아니며, 본 개시의 사상 및 영역으로부터 벗어나지 않는 범위에서 다양하게 확장될 수 있을 것이다.However, the problem to be solved in the present disclosure is not limited to the above-mentioned problem, and may be expanded in various ways without departing from the spirit and scope of the present disclosure.

본 문서에서 개시되는 일 실시 예에 따른 전자 장치는, 적어도 하나의 외부 전자 장치와 통신을 하기 위한 통신 회로, 적어도 하나의 음원 및 이명 주파수 검사를 위한 적어도 하나의 테스트 음향을 저장하는 메모리, 및 상기 통신 회로 및 상기 메모리와 전기적으로 연결된 프로세서를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가 이명 증상이 있는 귀의 방향을 선택하는 제1 사용자 입력에 기초하여 좌측 귀와 우측 귀 중 이명 증상이 있는 귀를 식별하고, 상기 적어도 하나의 테스트 음향을 상기 식별된 귀에 대응하는 외부 전자 장치를 통해 출력되도록 제어하는 제1 제어 메시지를 상기 통신 회로를 통해 상기 외부 전자 장치로 전송하고, 상기 적어도 하나의 테스트 음향 중 하나의 테스트 음향을 선택하는 제2 사용자 입력에 기초하여 상기 선택된 테스트 음향에 대응하는 주파수를 이명 주파수로 결정하고, 상기 적어도 하나의 음원 중 제1 음원에서 상기 이명 주파수에 해당하는 부분을 제거한 제2 음원을 생성하고, 상기 제2 음원이 상기 외부 전자 장치를 통해 출력되도록 제어하는 제2 제어 메시지를 상기 통신 회로를 통해 상기 외부 전자 장치로 전송하도록 하는 인스트럭션들(instructions)을 저장할 수 있다.An electronic device according to an embodiment disclosed in this document includes a communication circuit for communicating with at least one external electronic device, a memory for storing at least one sound source and at least one test sound for testing a tinnitus frequency, and a processor electrically connected to the communication circuit and the memory, wherein the memory identifies an ear with a tinnitus symptom from among a left ear and a right ear based on a first user input for selecting a direction of the ear with tinnitus symptom when the processor is executed, and transmits the at least one test sound to the identified ear. A first control message for controlling output through a corresponding external electronic device is transmitted to the external electronic device through the communication circuit, a frequency corresponding to the selected test sound is determined as a tinnitus frequency based on a second user input for selecting one of the at least one test sound, a second sound source is generated by removing a part corresponding to the tinnitus frequency from the first sound source, and a second control message is output through the external electronic device through the communication circuit. You can store instructions (instructions) to send to.

본 문서에서 개시되는 일 실시 예에 따른 전자 장치의 동작 방법은, 이명 증상이 있는 귀의 방향을 선택하는 제1 사용자 입력에 기초하여 좌측 귀와 우측 귀 중 이명 증상이 있는 귀를 식별하고, 적어도 하나의 테스트 음향을 상기 식별된 귀에 대응하는 외부 전자 장치를 통해 출력되도록 제어하는 제1 제어 메시지를 상기 외부 전자 장치로 전송하고, 상기 적어도 하나의 테스트 음향 중 하나의 테스트 음향을 선택하는 제2 사용자 입력에 기초하여 상기 선택된 테스트 음향에 대응하는 주파수를 이명 주파수로 결정하고, 적어도 하나의 음원 중 제1 음원에서 상기 이명 주파수에 해당하는 부분을 제거한 제2 음원을 생성하고, 상기 제2 음원이 상기 외부 전자 장치를 통해 출력되도록 제어하는 제2 제어 메시지를 상기 외부 전자 장치로 전송할 수 있다.An operating method of an electronic device according to an embodiment disclosed in this document includes identifying an ear with a tinnitus symptom from among a left ear and a right ear based on a first user input for selecting a direction of the ear with tinnitus symptoms, transmitting a first control message for controlling output of at least one test sound through an external electronic device corresponding to the identified ear to the external electronic device, and determining a frequency corresponding to the selected test sound as the tinnitus frequency based on a second user input for selecting one test sound from among the at least one test sound. , Of at least one sound source, a second sound source is generated by removing a part corresponding to the tinnitus frequency from the first sound source, and a second control message for controlling the second sound source to be output through the external electronic device. Can be transmitted to the external electronic device.

본 문서에서 개시되는 실시 예들에 따르면, 전자 장치는 개인별 이명 특성에 맞는 음원을 제공함으로써 사용자에게 적합한 방법으로 이명을 관리할 수 있다.According to the embodiments disclosed in this document, an electronic device can manage tinnitus in a method suitable for a user by providing a sound source suitable for individual tinnitus characteristics.

이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition to this, various effects identified directly or indirectly through this document may be provided.

도 1은 다양한 실시 예에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 일 실시 예에 따른 전자 장치, 제1 외부 전자 장치, 및 제2 외부 전자 장치를 개략적으로 나타낸 도면이다.
도 3은 일 실시 예에 따른 제1 외부 전자 장치의 구성을 나타낸 블록도이다.
도 4는 일 실시 예에 따른 전자 장치의 동작 흐름도이다.
도 5는 일 실시 예에 따른 전자 장치의 동작 흐름도이다.
도 6은 일 실시 예에 따른 전자 장치가 개인별 이명 특성에 맞는 노치 음원을 생성하는 방법을 설명하기 위한 도면이다.
도 7은 일 실시 예에 따른 전자 장치, 외부 서버, 및 의료기관 서버를 개략적으로 나타낸 도면이다.
도 8은 일 실시 예에 따른 전자 장치의 동작 흐름도이다.
도 9는 일 실시 예에 따른 외부 서버가 개인별 이명 특성에 맞는 음원을 추출하는 방법을 설명하기 위한 도면이다.
1 is a block diagram of an electronic device in a network environment according to various embodiments.
2 is a diagram schematically illustrating an electronic device, a first external electronic device, and a second external electronic device according to an exemplary embodiment.
3 is a block diagram illustrating a configuration of a first external electronic device according to an exemplary embodiment.
4 is a flowchart of an operation of an electronic device according to an embodiment.
5 is a flowchart illustrating an operation of an electronic device according to an exemplary embodiment.
6 is a diagram for explaining a method of generating a notch sound source suitable for individual tinnitus characteristics by an electronic device according to an exemplary embodiment.
7 is a diagram schematically illustrating an electronic device, an external server, and a medical institution server according to an embodiment.
8 is a flowchart illustrating an operation of an electronic device according to an exemplary embodiment.
9 is a diagram for explaining a method of extracting a sound source suitable for individual tinnitus characteristics by an external server according to an embodiment.

이하, 본 문서의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 문서의 실시 예의 다양한 변경(modifications), 균등물(equivalents), 및/또는 대체물(alternatives)을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다.Hereinafter, various embodiments of this document will be described with reference to the accompanying drawings. However, this is not intended to limit the technology described in this document to specific embodiments, and it should be understood to include various modifications, equivalents, and/or alternatives of the embodiments of this document. In connection with the description of the drawings, like reference numerals may be used for like elements.

도 1은 다양한 실시 예에 따른 네트워크 환경 내의 전자 장치의 블록도이다.1 is a block diagram of an electronic device in a network environment according to various embodiments.

도 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))로 통합될 수 있다.Referring to FIG. 1 , in a network environment 100, an electronic device 101 may communicate with the electronic device 102 through a first network 198 (eg, a short-distance wireless communication network), or may communicate with at least one of the electronic device 104 and the server 108 through a second network 199 (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, a sensor module 176, an interface 177, a connection terminal 178, a haptic module 179, a camera module 180, a power management module 188, a battery 189, and a communication module 1. 90), a subscriber identification module 196, or an antenna module 197. In some embodiments, in the electronic device 101, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added. In some embodiments, some of these components (eg, sensor module 176, camera module 180, or antenna module 197) may be integrated into one component (eg, display module 160).

프로세서(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 may, for example, execute software (eg, program 140) to control at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120, and may perform various data processing or calculations. According to an embodiment, as at least part of data processing or operation, the processor 120 may store commands or data received from other components (e.g., the sensor module 176 or the communication module 190) in the volatile memory 132, process the commands or data stored in the volatile memory 132, and store the resulting data in the non-volatile memory 134. According to one embodiment, the processor 120 may include a main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that may operate independently or together with the main processor 121. For example, when the electronic device 101 includes the main processor 121 and the auxiliary processor 123, the auxiliary processor 123 may use less power than the main processor 121 or may be set to be specialized for a designated function. The secondary processor 123 may be implemented separately from or as 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 auxiliary processor 123 functions related to 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) along with the main processor 121 while the main processor 121 is in an active (eg, application execution) state or instead of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state. Alternatively, at least some of the states may be controlled. According to an embodiment, the auxiliary processor 123 (eg, an image signal processor or a communication processor) may be implemented as a part of other functionally related components (eg, the camera module 180 or the communication module 190). 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. AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where the artificial intelligence model 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 is not limited to the above examples. The artificial intelligence model may include a plurality of artificial neural network layers. The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), deep Q-networks, or a combination of two or more of the above, but is not limited to the above examples. The artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.

메모리(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, program 140) and commands related thereto. The memory 130 may include volatile memory 132 or 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 of the electronic device 101 (eg, a user). 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 sound signals 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. A receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.

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

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

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시 예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 may detect an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generate an electrical signal or data value corresponding to the detected state. According to one embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a bio sensor, 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 designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102). According to one embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

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

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

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시 예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to one 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 one embodiment, the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.

배터리(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, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, 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 may support establishment of a direct (e.g., wired) communication channel or wireless communication channel between the electronic device 101 and an external electronic device (e.g., the electronic device 102, the electronic device 104, or the server 108), and communication 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 an embodiment, the communication module 190 may include a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, a local area network (LAN) communication module or a power line communication module). A corresponding communication module among these communication modules may communicate with an external electronic device 104 through a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or an infrared data association (IrDA)) or a second network 199 (eg, a legacy cellular network, a 5G network, a next-generation communication network, a long-distance communication network such as the Internet, or a computer network (eg, a LAN or a WAN)). These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips). The wireless communication module 192 may identify or authenticate the electronic device 101 within a communication network such as the first network 198 or the second network 199 using subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196.

무선 통신 모듈(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, NR access technology (new radio access technology). NR access technology can support high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access to multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (URLLC (ultra-reliable and low-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 may support various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication module 192 may support various requirements defined for 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 support a peak data rate (e.g., 20 Gbps or more) for realizing eMBB, a loss coverage (e.g., 164 dB or less) for realizing mMTC, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for realizing URLLC.

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

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

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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 (e.g., a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signals (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, commands 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 part of operations executed in the electronic device 101 may be executed in one or more external electronic devices among the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to automatically perform a certain function or service or in response to a request from a user or another device, the electronic device 101 may request one or more external electronic devices to perform the function or at least part of the service, instead of or in addition to executing the function or service by itself. One or more external electronic devices receiving 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 deliver the execution result to the electronic device 101 . The electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed. To this end, 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. Server 108 may be an intelligent server using machine learning and/or neural networks. According to an embodiment, the external electronic device 104 or server 108 may be included in the second network 199 . The electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

이하, 도 2를 참고하여 일 실시 예에 따른 전자 장치, 제1 외부 전자 장치, 및 제2 외부 전자 장치에 대해 설명한다.Hereinafter, an electronic device, a first external electronic device, and a second external electronic device according to an exemplary embodiment will be described with reference to FIG. 2 .

도 2는 일 실시 예에 따른 전자 장치, 제1 외부 전자 장치, 및 제2 외부 전자 장치를 개략적으로 나타낸 도면이다.2 is a diagram schematically illustrating an electronic device, a first external electronic device, and a second external electronic device according to an exemplary embodiment.

도 2를 참조하면, 전자 장치(210)(예: 도 1의 전자 장치(101))는 통신 회로(예: 도 1의 무선 통신 모듈(192))를 통해 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230)와 데이터를 송수신할 수 있다. 일 실시 예에 따르면, 전자 장치(210)는 블루투스 SIG(special interest group)에 의하여 규정되는 블루투스 네트워크를 통해 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230)와 근거리에서 무선 통신을 수행할 수 있다. 블루투스 네트워크는 예를 들어, 블루투스 레거시(legacy) 네트워크와, BLE(bluetooth low energy) 네트워크를 포함할 수 있다. 일 실시 예에 따르면, 전자 장치(210)는 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230) 와 블루투스 레거시 네트워크와 BLE 네트워크 중 하나의 네트워크를 통해 무선 통신을 수행하거나, 두 개의 네트워크를 통해 무선 통신을 수행할 수 있다. Referring to FIG. 2 , the electronic device 210 (eg, the electronic device 101 of FIG. 1 ) may transmit/receive data with the first external electronic device 220 and/or the second external electronic device 230 through a communication circuit (eg, the wireless communication module 192 of FIG. 1 ). According to an embodiment, the electronic device 210 may perform wireless communication with the first external electronic device 220 and/or the second external electronic device 230 at a short distance through a Bluetooth network defined by a Bluetooth special interest group (SIG). The Bluetooth network may include, for example, a Bluetooth legacy network and a Bluetooth Low Energy (BLE) network. According to an embodiment, the electronic device 210 may perform wireless communication with the first external electronic device 220 and/or the second external electronic device 230 through one of a Bluetooth legacy network and a BLE network, or may perform wireless communication through two networks.

일 실시 예에 따르면, 제1 외부 전자 장치(220) 및 제2 외부 전자 장치(230)는 하나의 세트(set)를 구성하는 액세서리 장치(예: 이어폰)일 수 있다. 예를 들어, 제1 외부 전자 장치(220) 및 제2 외부 전자 장치(230)는 사용자의 양쪽 귀에 각각 착용 되는 스마트 이어폰일 수 있다. 이 경우, 제1 외부 전자 장치(220) 및 제2 외부 전자 장치(230)는 각각 착용 되는 귀의 방향 정보를 통신 회로(예: 도 3의 통신 회로(227))를 통해 전자 장치(210)로 전송할 수 있다. 전자 장치(210)는 수신된 귀의 방향 정보를 기초로 제1 외부 전자 장치(220) 및 제2 외부 전자 장치(230)가 각각 사용자의 어느 쪽(예: 오른쪽, 왼쪽) 귀에 착용 되는지 식별할 수 있다.According to an embodiment, the first external electronic device 220 and the second external electronic device 230 may be accessory devices (eg, earphones) constituting one set. For example, the first external electronic device 220 and the second external electronic device 230 may be smart earphones worn on both ears of the user. In this case, the first external electronic device 220 and the second external electronic device 230 may transmit direction information of the worn ear to the electronic device 210 through a communication circuit (eg, the communication circuit 227 of FIG. 3 ). The electronic device 210 can identify which ear (eg, right or left) of the user the first external electronic device 220 and the second external electronic device 230 are worn on, respectively, based on the received ear direction information.

제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230)는 통신 회로(예: 도 3의 통신 회로(227))를 통해 전자 장치(210)로부터 오디오 데이터를 수신할 수 있다. 일 실시 예에 따르면, 제1 외부 전자 장치(220) 및 제2 외부 전자 장치(230)는 전자 장치(210)로부터 동일한 오디오 데이터를 수신할 수 있다. 다른 일 실시 예에 따르면, 제1 외부 전자 장치(220) 및 제2 외부 전자 장치(230)는 전자 장치(210)로부터 각각 다른 오디오 데이터를 수신할 수도 있다. 예를 들어, 전자 장치(210)는 사용자의 왼쪽 귀에 출력되어야 하는 오디오 데이터를 제1 외부 전자 장치(220)로 전송할 수 있고, 사용자의 오른쪽 귀에 출력되어야 하는 오디오 데이터를 제2 외부 전자 장치(230)로 전송할 수 있다.The first external electronic device 220 and/or the second external electronic device 230 may receive audio data from the electronic device 210 through a communication circuit (eg, the communication circuit 227 of FIG. 3 ). According to an embodiment, the first external electronic device 220 and the second external electronic device 230 may receive the same audio data from the electronic device 210 . According to another embodiment, the first external electronic device 220 and the second external electronic device 230 may each receive different audio data from the electronic device 210 . For example, the electronic device 210 may transmit audio data to be output to the user's left ear to the first external electronic device 220, and audio data to be output to the user's right ear to the second external electronic device 230.

제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230)는 통신 회로(예: 도 3의 통신 회로(227))를 통해 전자 장치(210)로 데이터를 전송할 수 있다. The first external electronic device 220 and/or the second external electronic device 230 may transmit data to the electronic device 210 through a communication circuit (eg, the communication circuit 227 of FIG. 3 ).

일 실시 예에 따르면, 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230)는 마이크로폰(예: 도 3의 마이크로폰(225))을 통해 소리 또는 음성과 같은 음파를 획득하여 이에 대한 아날로그 오디오 신호를 생성할 수 있다. 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230)는 오디오 모듈(예: 도 3의 오디오 모듈(223))을 통해 아날로그 오디오 신호를 오디오 데이터로 변환할 수 있다. 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230)는 오디오 모듈에 의해 변환된 오디오 데이터를 전자 장치(210)로 전송할 수 있다.According to an embodiment, the first external electronic device 220 and/or the second external electronic device 230 may acquire sound waves such as sound or voice through a microphone (eg, the microphone 225 of FIG. 3 ) and generate an analog audio signal. The first external electronic device 220 and/or the second external electronic device 230 may convert an analog audio signal into audio data through an audio module (eg, the audio module 223 of FIG. 3 ). The first external electronic device 220 and/or the second external electronic device 230 may transmit audio data converted by the audio module to the electronic device 210 .

일 실시 예에 따르면, 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230)는 센서 모듈(예: 도 3의 센서 모듈(226))을 통해 획득한 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230)가 사용자의 귀에 착용 되었는지 여부에 관한 정보 또는 사용자의 생체 정보를 전자 장치(210)로 전송할 수 있다.According to an embodiment, the first external electronic device 220 and/or the second external electronic device 230 may transmit information about whether the first external electronic device 220 and/or the second external electronic device 230 is worn on the user's ear or biometric information of the user acquired through a sensor module (e.g., the sensor module 226 of FIG. 3) to the electronic device 210.

이하, 도 3을 참고하여 일 실시 예에 따른 제1 외부 전자 장치의 구성에 대해 설명한다.Hereinafter, a configuration of a first external electronic device according to an exemplary embodiment will be described with reference to FIG. 3 .

도 3은 일 실시 예에 따른 제1 외부 전자 장치의 구성을 나타낸 블록도이다.3 is a block diagram illustrating a configuration of a first external electronic device according to an exemplary embodiment.

도 3을 참조하면, 제1 외부 전자 장치(220)는 프로세서(221), 메모리(222), 오디오 모듈(223), 스피커(224), 마이크로폰(225), 센서 모듈(226), 통신 회로(227), 적어도 하나의 안테나(228)를 포함할 수 있다. 어떤 실시 예에 따르면, 제1 외부 전자 장치(220)는 도 3의 구성 요소들 중 적어도 하나가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시 예에 따르면, 이 구성 요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다.Referring to FIG. 3 , the first external electronic device 220 may include a processor 221, a memory 222, an audio module 223, a speaker 224, a microphone 225, a sensor module 226, a communication circuit 227, and at least one antenna 228. According to some embodiments, in the first external electronic device 220, at least one of the components of FIG. 3 may be omitted or one or more other components may be added. According to some embodiments, some of these components may be implemented as a single integrated circuit.

프로세서(221)는, 예를 들면, 소프트웨어를 실행하여 프로세서(221)에 연결된 제1 외부 전자 장치(220)의 적어도 하나의 다른 구성 요소(예: 하드웨어 또는 소프트웨어 구성 요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시 예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(221)는 다른 구성 요소(예: 센서 모듈(226) 또는 통신 회로(227))로부터 수신된 명령 또는 데이터를 메모리(222)의 휘발성 메모리(미도시)에 로드하고, 휘발성 메모리에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(미도시)에 저장할 수 있다.The processor 221 may, for example, execute software to control at least one other component (eg, hardware or software component) of the first external electronic device 220 connected to the processor 221, and perform various data processing or calculations. According to an embodiment, as at least part of data processing or operation, the processor 221 may load commands or data received from other components (e.g., the sensor module 226 or the communication circuit 227) into a volatile memory (not shown) of the memory 222, process the commands or data stored in the volatile memory, and store the resulting data in a non-volatile memory (not shown).

메모리(222)는, 예를 들어, 제1 외부 전자 장치(220)의 적어도 하나의 구성 요소(예: 프로세서(221) 또는 센서 모듈(226))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(222)는 휘발성 메모리 또는 비휘발성 메모리를 포함할 수 있다. 프로그램은 메모리(222)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제, 미들 웨어, 또는 어플리케이션을 포함할 수 있다.The memory 222 may store various data used by, for example, at least one component (eg, the processor 221 or the sensor module 226) of the first external electronic device 220 . The data may include, for example, input data or output data for software (eg, a program) and commands related thereto. Memory 222 may include volatile memory or non-volatile memory. The program may be stored as software in the memory 222 and may include, for example, an operating system, middleware, or applications.

스피커(224)는, 예를 들어, 오디오 신호를 제1 외부 전자 장치(220)의 외부로 출력할 수 있다. 소리, 또는 음성과 같은 음파는 마이크 홀을 통해 마이크로폰(225)으로 유입될 수 있고, 마이크로폰(225)은 이에 대한 전기적 신호를 생성할 수 있다. 오디오 모듈(223)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 오디오 모듈(223)은 마이크로폰(225)을 통해 소리를 획득하거나, 스피커(224)를 통해 소리를 출력할 수 있다.The speaker 224 may output, for example, an audio signal to the outside of the first external electronic device 220 . A sound or a sound wave such as a voice may flow into the microphone 225 through the microphone hole, and the microphone 225 may generate an electrical signal for it. The audio module 223 may convert sound into an electrical signal or vice versa. The audio module 223 may acquire sound through the microphone 225 or output sound through the speaker 224 .

일 실시 예에 따르면, 오디오 모듈(223)은 오디오 데이터 수집 기능을 지원할 수 있다. 오디오 모듈(223)은 수집한 오디오 데이터를 재생할 수 있다. 오디오 모듈(223)은 오디오 디코더(audio decoder), 오디오 인코더(audio encoder), D/A 컨버터(digital-to-analog converter), 또는 A/D 컨버터(analog-to-digital converter)를 포함할 수 있다. 오디오 디코더는 메모리(222)에 저장된 오디오 데이터를 디지털 오디오 신호로 변환할 수 있다. D/A 컨버터는 오디오 디코더에 의해 변환된 디지털 오디오 신호를 아날로그 오디오 신호로 변환시킬 수 있다. 스피커(224)는 D/A 컨버터에 의해 변환된 아날로그 오디오 신호를 출력할 수 있다. A/D 컨버터는 마이크로폰(225)을 통해 획득한 아날로그 오디오 신호를 디지털 오디오 신호로 변환할 수 있다. 오디오 인코더는 A/D 컨버터에 의해 변환된 디지털 오디오 신호를 오디오 데이터로 변환할 수 있다. 메모리(222)는 오디오 인코더에 의해 변환된 오디오 데이터를 저장할 수 있다. According to one embodiment, the audio module 223 may support an audio data collection function. The audio module 223 may reproduce the collected audio data. The audio module 223 may include an audio decoder, an audio encoder, a digital-to-analog converter, or an analog-to-digital converter. The audio decoder may convert audio data stored in the memory 222 into a digital audio signal. The D/A converter may convert a digital audio signal converted by an audio decoder into an analog audio signal. The speaker 224 may output an analog audio signal converted by the D/A converter. The A/D converter may convert an analog audio signal acquired through the microphone 225 into a digital audio signal. The audio encoder may convert the digital audio signal converted by the A/D converter into audio data. The memory 222 may store audio data converted by the audio encoder.

센서 모듈(226)은, 예를 들어, 제1 외부 전자 장치(220)의 작동 상태(예: 전력 또는 온도), 및/또는 외부의 환경 상태(예: 사용자 상태)를 감지할 수 있고, 감지된 상태에 대응하는 전기적 신호를 생성할 수 있다. 상기 전기적 신호는 감지된 상태에 대한 데이터 값을 포함할 수 있다. 일 실시예에 따르면, 센서 모듈(226)은 가속도 센서, 자이로 센서, 지자계 센서, 마그네틱 센서, 광학센서, 근접 센서, 온도 센서, 제스처 센서, 그립 센서 또는 생체 센서를 포함할 수 있다.The sensor module 226 may detect, for example, an operating state (eg, power or temperature) of the first external electronic device 220 and/or an external environmental state (eg, a user state), and generate an electrical signal corresponding to the detected state. The electrical signal may include a data value for a detected state. According to one embodiment, the sensor module 226 may include an acceleration sensor, a gyro sensor, a geomagnetic sensor, a magnetic sensor, an optical sensor, a proximity sensor, a temperature sensor, a gesture sensor, a grip sensor, or a biometric sensor.

예를 들어, 제1 외부 전자 장치(220)는 하우징의 내부 또는 하우징의 일면의 적어도 일부에 위치된 광학 센서를 포함할 수 있다. 광학 센서가 하우징의 내부에 위치되는 경우, 광학 센서와 대면하는 하우징의 일부 영역은 빛을 통과시킬 수 있도록 구현되거나 개구부를 포함할 수 있다. For example, the first external electronic device 220 may include an optical sensor located inside the housing or on at least a part of one surface of the housing. When the optical sensor is located inside the housing, a portion of the housing facing the optical sensor may be implemented to allow light to pass through or may include an opening.

광학 센서는 적어도 하나의 파장 대역의 광을 출력하는 발광부(예: LED(light emitting diode)), 및/또는 하나 이상의 파장 대역의 광을 수신하여 전기적 신호를 생성하는 수광부(예: 포토 다이오드(photodiode))를 포함할 수 있다. 일 실시 예에 따르면, 광학 센서는 제1 외부 전자 장치(220)가 사용자에게 착용 되었는지 여부를 감지할 수 있다.The optical sensor may include a light emitting unit (eg, a light emitting diode (LED)) outputting light of at least one wavelength band, and/or a light receiving unit (eg, a photodiode) generating an electrical signal by receiving light of one or more wavelength bands. According to an embodiment, the optical sensor may detect whether the first external electronic device 220 is worn by the user.

제1 외부 전자 장치(220)가 사용자의 귀에 착용 된 상태에서, 광학 센서의 발광부로부터 출력된 광은 사용자의 피부로부터 반사되어 광학 센서의 수광부로 유입될 수 있다. 광학 센서의 수광부는 유입된 광을 기초로 하는 전기적 신호를 프로세서(221)로 제공할 수 있다. 프로세서(221)는 광학 센서로부터 획득한 전기적 신호를 통신 회로(227)를 통해 전자 장치(210)로 전송할 수 있다. While the first external electronic device 220 is worn on the user's ear, light output from the light emitting unit of the optical sensor may be reflected from the user's skin and introduced into the light receiving unit of the optical sensor. The light receiving unit of the optical sensor may provide an electrical signal based on the introduced light to the processor 221 . The processor 221 may transmit the electrical signal obtained from the optical sensor to the electronic device 210 through the communication circuit 227 .

전자 장치(210)는 제1 외부 전자 장치(220)로부터 획득한 전기적 신호를 기초로 심박수, 또는 피부 온도와 같은 다양한 생체 정보를 획득할 수 있다. 어떤 실시 예에 따르면, 프로세서(221)는 광학 센서로부터 획득한 전기적 신호를 기초로 생체 정보를 획득할 수 있고, 획득한 생체 정보를 통신 회로(227)를 통해 전자 장치(210)로 전송하거나, 스피커(224)를 통해 출력할 수도 있다.The electronic device 210 may obtain various biometric information such as heart rate or skin temperature based on the electrical signal obtained from the first external electronic device 220 . According to an embodiment, the processor 221 may obtain biometric information based on an electrical signal obtained from an optical sensor, transmit the obtained biometric information to the electronic device 210 through the communication circuit 227, or output through the speaker 224.

다양한 실시 예에 따르면, 센서 모듈(226)을 통해 제1 외부 전자 장치(220)가 사용자의 귀에 착용 되었는지에 관한 정보 또는 신호가 획득될 수 있다. 다양한 실시 예에 따르면, 센서 모듈(226)을 통해 제1 외부 전자 장치(220)가 외부 장치(예: 제1 외부 전자 장치(220)의 충전 장치(미도시))에 결합 되었는지에 관한 정보 또는 신호가 획득될 수 있다.According to various embodiments, information or a signal about whether the first external electronic device 220 is worn on the user's ear may be obtained through the sensor module 226 . According to various embodiments, information or a signal regarding whether the first external electronic device 220 is coupled to an external device (eg, a charging device (not shown) of the first external electronic device 220) may be obtained through the sensor module 226.

통신 회로(227)는, 예를 들어, 제1 외부 전자 장치(220)와 전자 장치(210) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 다양한 실시 예에 따르면, 통신 회로(227)는 프로세서(221)와 독립적으로 운영될 수 있고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다.The communication circuit 227 may support, for example, establishing a direct (eg, wired) communication channel or a wireless communication channel between the first external electronic device 220 and the electronic device 210, and performing communication through the established communication channel. According to various embodiments, the communication circuit 227 may operate independently of the processor 221 and may include one or more communication processors supporting direct (eg, wired) communication or wireless communication.

통신 회로(227)는, 예를 들어, 적어도 하나의 안테나(또는 안테나 방사체)(228)를 통해 신호 또는 전력을 전자 장치(210)로 전송하거나 전자 장치(210)로부터 수신할 수 있다.The communication circuit 227 may transmit a signal or power to or receive a signal or power from the electronic device 210 through, for example, at least one antenna (or antenna radiator) 228 .

일 실시 예에 따르면, 통신 회로(227)는 무선 통신 모듈(예: 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈들 중 해당하는 통신 모듈은, 제1 네트워크(예: 블루투스(bluetooth), BLE(bluetooth low energy), NFC(near field communication), WiFi(wireless fidelity) direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크), 또는 제2 네트워크(예: 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN(wide area network))와 같은 원거리 통신 네트워크)를 통하여 전자 장치(210)와 통신할 수 있다. According to an embodiment, the communication circuit 227 may include a wireless communication module (eg, a short-range wireless communication module or a global navigation satellite system (GNSS) communication module) or a wired communication module (eg, a local area network (LAN) communication module or a power line communication module). A corresponding communication module among these communication modules may communicate with the electronic device 210 through a first network (eg, a short-distance communication network such as Bluetooth, bluetooth low energy (BLE), near field communication (NFC), wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (eg, a long-distance communication network such as the Internet or a computer network (eg, a LAN or a wide area network (WAN))).

이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 다양한 실시 예에 따르면, 제1 외부 전자 장치(220)는 복수의 안테나(228)들을 포함할 수 있고, 통신 회로(227)는 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나를 복수의 안테나(228)들로부터 선택할 수 있다. 신호 또는 전력은 선택된 적어도 하나의 안테나를 통해 통신 회로(227) 및 전자 장치(210) 간에 전송되거나 수신될 수 있다.These various types of communication modules may be integrated into one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips). According to various embodiments, the first external electronic device 220 may include a plurality of antennas 228, and the communication circuit 227 may select at least one antenna suitable for a communication method used in a communication network from the plurality of antennas 228. A signal or power may be transmitted or received between the communication circuit 227 and the electronic device 210 through the selected at least one antenna.

일 실시 예에 따르면, 제1 외부 전자 장치(220)에서 실행되는 동작들의 전부 또는 일부는 전자 장치(210)에서 실행될 수 있다. 예를 들면, 제1 외부 전자 장치(220)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 제1 외부 전자 장치(220)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 전자 장치(210)에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 전자 장치(210)는 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 제1 외부 전자 장치(220)로 전달할 수 있다. 제1 외부 전자 장치(220)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다.According to an embodiment, all or part of operations executed in the first external electronic device 220 may be executed in the electronic device 210 . For example, when the first external electronic device 220 needs to automatically perform a certain function or service or in response to a request from a user or another device, the first external electronic device 220 may request the electronic device 210 to perform at least a part of the function or service instead of or in addition to executing the function or service by itself. Upon receiving the request, the electronic device 210 may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver a result of the execution to the first external electronic device 220 . The first external electronic device 220 may provide the result as at least part of a response to the request as it is or additionally processed.

다양한 실시 예에 따르면, 프로세서(221)가 수신한 명령 또는 데이터는 제2 네트워크(예: 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)에 연결된 서버를 통해서 제1 외부 전자 장치(220)와 전자 장치(210) 간에 전송 또는 수신될 수도 있다.According to various embodiments, the command or data received by the processor 221 may be transmitted or received between the first external electronic device 220 and the electronic device 210 through a server connected to a second network (eg, the Internet or a long-distance communication network such as a computer network (eg, LAN or WAN)).

일 실시 예에 따르면, 프로세서(221)는 오디오 데이터에 관한 다양한 신호 흐름 제어와 정보 수집 및 출력을 제어하도록 설정될 수 있다. 프로세서(221)는 통신 회로(227)를 통하여 전자 장치(210)로부터 오디오 데이터를 수신하고, 수신한 오디오 데이터를 메모리(222)에 저장하도록 설정될 수 있다. 프로세서(221)는 전자 장치(210)로부터 비휘발성 오디오 데이터(또는, 다운로드 오디오 데이터)를 수신하고, 수신한 비휘발성 오디오 데이터를 비휘발성 메모리(미도시)에 저장하도록 설정될 수 있다. 프로세서(221)는 전자 장치(210)로부터 휘발성 오디오 데이터(또는, 스트리밍 오디오 데이터)를 수신하고, 수신한 휘발성 오디오 데이터를 휘발성 메모리(미도시)에 저장하도록 설정될 수 있다.According to an embodiment, the processor 221 may be set to control various signal flow control and information collection and output related to audio data. The processor 221 may receive audio data from the electronic device 210 through the communication circuit 227 and store the received audio data in the memory 222 . The processor 221 may be set to receive non-volatile audio data (or download audio data) from the electronic device 210 and store the received non-volatile audio data in a non-volatile memory (not shown). The processor 221 may be set to receive volatile audio data (or streaming audio data) from the electronic device 210 and store the received volatile audio data in a volatile memory (not shown).

일 실시 예에 따르면, 프로세서(221)는 메모리(222)에 저장된 오디오 데이터(예: 비휘발성 오디오 데이터 또는 휘발성 오디오 데이터)를 재생하여 스피커(224)를 통하여 출력하도록 설정될 수 있다. 예를 들어, 오디오 모듈(223)은 오디오 데이터를 디코딩하여 스피커(224)를 통해 출력 가능한 오디오 신호를 생성할 수 있고(예: 오디오 데이터 재생), 생성된 오디오 신호는 스피커(224)를 통해 출력될 수 있다.According to an embodiment, the processor 221 may be configured to reproduce audio data (eg, non-volatile audio data or volatile audio data) stored in the memory 222 and output the reproduced audio data through the speaker 224 . For example, the audio module 223 may decode audio data to generate an audio signal that can be output through the speaker 224 (eg, reproduce audio data), and the generated audio signal may be output through the speaker 224.

다양한 실시 예에 따르면, 제1 외부 전자 장치(220)가 메모리(222)에 저장된 휘발성 오디오 데이터 또는 비 휘발성 오디오 데이터를 재생하여 스피커(224)를 통해 출력하는 모드는, 제1 외부 전자 장치(220)가 사용자의 귀에 결합되지 않은 상태가 센서 모듈(226)을 통해 확인될 때 일시 중지될 수 있다. 제1 외부 전자 장치(220)가 사용자의 귀에 결합된 상태가 센서 모듈(226)을 통해 확인될 때, 상기 모드는 재개될 수 있다.According to various embodiments, a mode in which the first external electronic device 220 reproduces volatile audio data or non-volatile audio data stored in the memory 222 and outputs the volatile audio data or non-volatile audio data stored in the memory 222 through the speaker 224 may be paused when a state in which the first external electronic device 220 is not coupled to the user's ear is confirmed through the sensor module 226. When the state in which the first external electronic device 220 is coupled to the user's ear is confirmed through the sensor module 226, the mode may be resumed.

다양한 실시 예에 따르면, 제1 외부 전자 장치(220)는 마이크로폰(225)을 통해 수신된 아날로그 오디오 신호로부터 음성 명령을 생성하는 음성 인식 기능을 제공할 수 있다. 음성 명령은 오디오 데이터에 관한 다양한 기능에 활용될 수 있다.According to various embodiments, the first external electronic device 220 may provide a voice recognition function for generating a voice command from an analog audio signal received through the microphone 225 . Voice commands may be used for various functions related to audio data.

다양한 실시 예에 따르면, 프로세서(221)는 제1 외부 전자 장치(220)에 포함된 구성 요소(예: 메모리(222), 오디오 모듈(223), 센서 모듈(226), 및/또는 통신 회로(227))와 전기적으로 연결되고, 프로세서(221)와 전기적으로 연결되는 구성 요소를 제어할 수 있다.According to various embodiments, the processor 221 may be electrically connected to components included in the first external electronic device 220 (eg, the memory 222, the audio module 223, the sensor module 226, and/or the communication circuit 227) and may control components electrically connected to the processor 221.

도 3에 도시된 구성 요소(예: 프로세서(221), 메모리(222), 오디오 모듈(223), 스피커(224), 마이크로폰(225), 센서 모듈(226), 통신 회로(227), 및/또는 안테나(228)) 및 실시 예는 도 2의 제1 외부 전자 장치(220)를 예를 들어 설명했으나, 이는 설명의 편의를 위한 것일 뿐이고 도 2의 제2 외부 전자 장치(230)에도 동일하게 적용될 수 있다.The components shown in FIG. 3 (eg, processor 221, memory 222, audio module 223, speaker 224, microphone 225, sensor module 226, communication circuit 227, and/or antenna 228) and the embodiment have been described using the first external electronic device 220 of FIG. 2 as an example, but this is only for convenience of description and the second external electronic device 230 of FIG. 2 ) can be applied in the same way.

이하, 도 4를 참고하여 일 실시 예에 따른 전자 장치의 동작에 대해 설명한다.Hereinafter, an operation of an electronic device according to an exemplary embodiment will be described with reference to FIG. 4 .

도 4는 일 실시 예에 따른 전자 장치의 동작 흐름도이다.4 is a flowchart of an operation of an electronic device according to an embodiment.

도 4에 도시된 실시 예는 일 실시 예일 뿐이며, 본 문서에서 개시되는 다양한 실시 예에 따른 동작 순서는 도 4에 도시된 바와 다를 수 있고, 도 4에 도시된 일부 동작들이 생략되거나 동작들 간의 순서가 변경되거나 동작들이 병합될 수도 있다.The embodiment shown in FIG. 4 is only one embodiment, and the order of operations according to various embodiments disclosed in this document may be different from that shown in FIG. 4, and some operations shown in FIG. 4 may be omitted or the order between operations may be changed or operations may be merged.

일 실시 예에 따르면, 동작 405 내지 420은 전자 장치(예: 도 2의 전자 장치(210))의 프로세서(예: 도 1의 프로세서(120))에서 수행되는 것으로 이해될 수 있다.According to an embodiment, operations 405 to 420 may be understood to be performed by a processor (eg, the processor 120 of FIG. 1 ) of an electronic device (eg, the electronic device 210 of FIG. 2 ).

도 4를 참조하면, 동작 405에서, 전자 장치는 사용자의 좌측 귀와 우측 귀 중 이명 증상이 있는 귀를 식별할 수 있다. 전자 장치는 사용자가 이명 증상을 느끼는 귀의 방향을 선택하도록 하는 사용자 인터페이스를 제공할 수 있다. 일 실시 예에 따르면, 전자 장치는 좌측 귀에 대응하는 제1 오브젝트 및 우측 귀에 대응하는 제2 오브젝트를 포함하는 사용자 인터페이스(미도시)를 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시할 수 있다. 일 실시 예에 따르면, 전자 장치는 사용자가 이명 증상을 느끼는 귀의 방향을 선택하도록 하는 안내 음성을 포함하는 사용자 인터페이스를 제공할 수 있다. 예를 들어, 전자 장치는 상기 안내 음성을 포함하는 사용자 인터페이스를 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(220) 및/또는 도 2의 제2 외부 전자 장치(230))를 통해 음성으로 출력하도록 제어하는 제어 메시지를 통신 회로(예: 도 1의 통신 모듈(190))를 통해 외부 전자 장치로 전송할 수 있다.Referring to FIG. 4 , in operation 405, the electronic device may identify an ear with a tinnitus symptom among the user's left ear and right ear. The electronic device may provide a user interface allowing the user to select the direction of the ear in which tinnitus symptoms are felt. According to an embodiment, the electronic device may display a user interface (not shown) including a first object corresponding to the left ear and a second object corresponding to the right ear on a display (eg, the display module 160 of FIG. 1 ). According to an embodiment, the electronic device may provide a user interface including a guide voice that allows the user to select the direction of the ear in which tinnitus symptoms are felt. For example, the electronic device may transmit a control message for controlling a user interface including the guidance voice to be output as a voice through an external electronic device (e.g., the first external electronic device 220 of FIG. 2 and/or the second external electronic device 230 of FIG. 2) to the external electronic device through a communication circuit (e.g., the communication module 190 of FIG. 1).

일 실시 예에 따르면, 전자 장치는 좌측 귀와 우측 귀 중 이명 증상이 있는 귀의 방향을 선택하는 사용자 입력을 디스플레이를 통해 수신할 수 있다. 예를 들어, 전자 장치는 좌측 귀에 대응하는 제1 오브젝트 및 우측 귀에 대응하는 제2 오브젝트를 포함하는 사용자 인터페이스를 디스플레이에 표시함에 따라 디스플레이에 포함된 터치 센서(예: 도 1의 센서 모듈(176))를 통해 좌측 귀 및/또는 우측 귀에 대응하는 오브젝트를 선택하는 사용자 입력을 수신할 수 있다. 전자 장치는 터치 센서를 통해 수신한 사용자 입력을 기초로 이명 증상이 있는 귀가 좌측 귀인지, 우측 귀인지, 또는 양측 귀인지 식별할 수 있다.According to an embodiment, the electronic device may receive a user input for selecting a direction of the ear with tinnitus symptoms among the left ear and the right ear through the display. For example, as the electronic device displays a user interface including a first object corresponding to the left ear and a second object corresponding to the right ear on the display, the electronic device may receive a user input for selecting an object corresponding to the left ear and/or right ear through a touch sensor included in the display (e.g., the sensor module 176 of FIG. 1). The electronic device may identify whether the tinnitus symptom is the left ear, the right ear, or both ears based on the user input received through the touch sensor.

일 실시 예에 따르면, 전자 장치는 사용자의 음성을 통해 이명 증상이 있는 귀를 식별할 수 있다. 예를 들어, 전자 장치는 입력 모듈(예: 도 1의 입력 모듈(150))을 통해 사용자의 음성을 획득하고, 획득한 음성을 오디오 모듈(예: 도 1의 오디오 모듈(170))을 통해 전기 신호로 변환시킬 수 있다. 전자 장치는 오디오 모듈을 통해 변환된 전기 신호를 기초로 이명 증상이 있는 귀가 좌측 귀인지, 우측 귀인지, 또는 양측 귀인지 식별할 수 있다. According to an embodiment, the electronic device may identify an ear with a tinnitus symptom through a user's voice. For example, the electronic device may obtain a user's voice through an input module (eg, the input module 150 of FIG. 1 ), and convert the acquired voice into an electrical signal through an audio module (eg, the audio module 170 of FIG. 1 ). The electronic device may identify whether the tinnitus symptom is the left ear, the right ear, or both ears based on the electrical signal converted through the audio module.

일 실시 예에 따르면, 전자 장치는 외부 전자 장치로부터 수신한 오디오 데이터를 기초로 이명 증상이 있는 귀를 식별할 수 있다. 예를 들어, 외부 전자 장치는 마이크로폰(예: 도 3의 마이크로폰(225))을 통해 사용자의 음성을 획득하고, 획득한 음성을 오디오 모듈(예: 도 3의 오디오 모듈(223))을 통해 오디오 데이터로 변환할 수 있다. 전자 장치는 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230))의 오디오 모듈(예: 도 3의 오디오 모듈(223))을 통해 변환된 오디오 데이터를 수신할 수 있고, 수신된 오디오 데이터를 기초로 이명 증상이 있는 귀가 좌측 귀인지, 우측 귀인지, 또는 양측 귀인지 식별할 수 있다.According to an embodiment, the electronic device may identify an ear with a tinnitus symptom based on audio data received from an external electronic device. For example, the external electronic device may acquire a user's voice through a microphone (eg, the microphone 225 of FIG. 3), and convert the acquired voice into audio data through an audio module (eg, the audio module 223 of FIG. 3). The electronic device may receive audio data converted through an audio module (e.g., the audio module 223 of FIG. 3) of the external electronic device (e.g., the first external electronic device 220 and/or the second external electronic device 230 of FIG. 2), and based on the received audio data, it may identify whether the ear with tinnitus is the left ear, the right ear, or both ears.

동작 410에서, 전자 장치는 사용자의 이명 주파수를 결정할 수 있다. 전자 장치는 메모리(예: 도 1의 메모리(130))에 저장된 이명 주파수 검사를 위한 적어도 하나의 테스트 음향을 출력하여 사용자로 하여금 자신의 이명음과 동일하거나 유사한 음향을 선택하도록 함으로써 이명 주파수를 결정할 수 있다.In operation 410, the electronic device may determine the tinnitus frequency of the user. The electronic device may determine the tinnitus frequency by outputting at least one test sound for checking the tinnitus frequency stored in a memory (eg, the memory 130 of FIG. 1 ) and allowing the user to select a sound identical to or similar to the tinnitus sound.

일 실시 예에 따르면, 전자 장치의 메모리에 저장된 적어도 하나의 테스트 음향은 가청 주파수 범위(예: 20Hz 내지 20kHz의 범위) 내에서 지정된 주파수 대역을 갖는 음향일 수 있다. 전자 장치는 지정된 주파수 대역을 갖는 적어도 하나의 테스트 음향을 출력하고, 출력된 적어도 하나의 테스트 음향 중 자신의 이명음과 가장 유사한 음향을 선택하는 사용자 입력을 수신할 수 있다. 전자 장치는 수신된 사용자 입력에 기초하여 선택된 테스트 음향에 대응하는 주파수를 이명 주파수로 결정할 수 있다. 이 경우, 이명 주파수는 선택된 테스트 음향의 주파수 대역(예: 1000Hz 내지 1100Hz)으로 결정될 수 있다. According to an embodiment, at least one test sound stored in the memory of the electronic device may be a sound having a designated frequency band within an audible frequency range (eg, a range of 20 Hz to 20 kHz). The electronic device may output at least one test sound having a designated frequency band and receive a user input for selecting a sound most similar to the tinnitus sound of the electronic device from among the at least one output test sound. The electronic device may determine a frequency corresponding to the selected test sound as the tinnitus frequency based on the received user input. In this case, the tinnitus frequency may be determined as a frequency band (eg, 1000 Hz to 1100 Hz) of the selected test sound.

일 실시 예에 따르면, 전자 장치는 메모리에 저장된 적어도 하나의 테스트 음향을 주파수의 높낮이에 따라 복수의 그룹으로 분류하고, 분류된 각 그룹의 중심 주파수 대역을 갖는 음향들을 출력할 수 있다. 전자 장치는 출력된 음향들 중 자신의 이명음과 가장 유사한 음향을 선택하는 사용자 입력에 기초하여 선택된 음향이 포함된 제1 그룹을 결정할 수 있다. 전자 장치는 상기 제1 그룹에 속한 적어도 하나의 테스트 음향을 주파수의 높낮이에 따라 복수의 그룹으로 다시 분류하고, 분류된 각 그룹의 중심 주파수 대역을 갖는 음향들을 출력할 수 있다. 전자 장치는 출력된 음향들 중 자신의 이명음과 가장 유사한 음향을 선택하는 사용자 입력에 기초하여 선택된 음향이 포함된 제2 그룹을 결정할 수 있다. 전자 장치는 상기 제2 그룹에 속한 적어도 하나의 테스트 음향을 출력하고, 출력된 적어도 하나의 테스트 음향 중 자신의 이명음과 가장 유사한 음향을 선택하는 사용자 입력을 수신할 수 있다. 전자 장치는 수신된 사용자 입력에 기초하여 선택된 테스트 음향에 대응하는 주파수를 이명 주파수로 결정할 수 있다. 전자 장치는 사용자의 이명 주파수를 보다 정확하게 측정하기 위해 메모리에 저장된 적어도 하나의 테스트 음향을 주파수의 높낮이에 따라 복수의 그룹으로 분류하고 사용자의 이명음과 가장 유사한 음향이 포함된 그룹을 결정하는 과정을 지정된 횟수 및/또는 사용자가 설정한 횟수만큼 반복할 수 있다.According to an embodiment, the electronic device may classify at least one test sound stored in a memory into a plurality of groups according to high and low frequencies, and output sounds having a center frequency band of each group. The electronic device may determine a first group including the selected sound based on a user input for selecting a sound most similar to the tinnitus of the electronic device among output sounds. The electronic device may further classify at least one test sound belonging to the first group into a plurality of groups according to a frequency level, and output sounds having a central frequency band of each group. The electronic device may determine a second group including the selected sound based on a user input for selecting a sound most similar to the tinnitus of the electronic device among output sounds. The electronic device may output at least one test sound belonging to the second group and receive a user input for selecting a sound most similar to the tinnitus sound of the electronic device from among the at least one output test sound. The electronic device may determine a frequency corresponding to the selected test sound as the tinnitus frequency based on the received user input. In order to more accurately measure the frequency of the user's tinnitus, the electronic device classifies at least one test sound stored in the memory into a plurality of groups according to the high and low of the frequency, and determines the group including the sound most similar to the tinnitus sound of the user. The process may be repeated a specified number of times and/or a number of times set by the user.

예를 들어, 전자 장치의 메모리에 저장된 적어도 하나의 테스트 음향은 100Hz의 대역폭을 갖는 제1 테스트 음향(예: 주파수 대역이 20Hz 내지 120Hz인 음향), 제2 테스트 음향(예: 주파수 대역이 120Hz 내지 220Hz인 음향), 내지 제27 테스트 음향(예: 주파수 대역이 2620Hz 내지 2720Hz인 음향)을 포함할 수 있고, 사용자는 자신의 이명음과 가장 유사한 음향이 포함된 그룹을 결정하는 과정을 1회 반복하도록 설정할 수 있다. 이 경우 전자 장치는 주파수의 높낮이에 따라 제1 내지 제9 테스트 음향을 저주파 대역 그룹, 제10 내지 제18 테스트 음향을 중주파 대역 그룹, 제19 내지 제27 테스트 음향을 고주파 대역 그룹으로 분류할 수 있다. 전자 장치는 각 그룹의 중심 주파수 대역을 갖는 음향들(예: 저주파 대역 그룹의 경우 20Hz 내지 920Hz의 주파수 대역에서 중심 주파수 대역인 420Hz 내지 520Hz의 주파수 대역을 갖는 제5 테스트 음향)을 출력할 수 있다. 전자 장치는 출력된 음향들 중 자신의 이명음과 가장 유사한 제5 테스트 음향을 선택하는 사용자 입력에 기초하여 선택된 제5 테스트 음향이 포함된 저주파 대역 그룹을 결정할 수 있다. 전자 장치는 저주파 대역 그룹에 속한 제1 내지 제9 테스트 음향을 출력하고, 출력된 테스트 음향들 중 자신의 이명음과 가장 유사한 제3 테스트 음향을 선택하는 사용자 입력을 수신할 수 있다. 전자 장치는 제3 테스트 음향을 선택하는 사용자 입력에 기초하여 제3 테스트 음향에 대응하는 220Hz 내지 320Hz의 주파수 대역을 이명 주파수로 결정할 수 있다. For example, the at least one test sound stored in the memory of the electronic device may include a first test sound having a bandwidth of 100 Hz (eg, a sound having a frequency band of 20 Hz to 120 Hz), a second test sound (eg, a sound having a frequency band of 120 Hz to 220 Hz), and a 27th test sound (eg, a sound having a frequency band of 2620 Hz to 2720 Hz). The process of determining a group can be set to repeat once. In this case, the electronic device may classify the first to ninth test sounds into a low-frequency band group, the 10th to 18th test sounds into a mid-frequency band group, and the 19th to 27th test sounds into a high-frequency band group according to the height of the frequency. The electronic device may output sounds having a central frequency band of each group (eg, a fifth test sound having a frequency band of 420 Hz to 520 Hz, which is a central frequency band in a frequency band of 20 Hz to 920 Hz in the case of a low frequency band group). The electronic device may determine a low-frequency band group including the selected fifth test sound based on a user input for selecting a fifth test sound most similar to the tinnitus of the electronic device among output sounds. The electronic device may output first to ninth test sounds belonging to the low frequency band group and receive a user input for selecting a third test sound most similar to the tinnitus sound of the electronic device among the output test sounds. The electronic device may determine a frequency band of 220 Hz to 320 Hz corresponding to the third test sound as the tinnitus frequency based on a user input for selecting the third test sound.

일 실시 예에 따르면, 적어도 하나의 테스트 음향은 가청 주파수 범위(예: 20Hz 내지 20kHz의 범위) 내에서 주파수 대역폭이 0인 단일 주파수를 갖는 순음(純音)일 수 있다. 전자 장치는 단일 주파수를 갖는 적어도 하나의 테스트 음향을 출력하고, 출력된 적어도 하나의 테스트 음향 중 자신의 이명음과 동일하거나 유사한 음향을 선택하는 사용자 입력을 수신할 수 있다. 전자 장치는 수신된 사용자 입력에 기초하여 선택된 테스트 음향에 대응하는 단일 주파수를 이명 주파수로 결정할 수 있다.According to an embodiment, the at least one test sound may be a pure sound having a single frequency with a frequency bandwidth of 0 within an audible frequency range (eg, a range of 20 Hz to 20 kHz). The electronic device may output at least one test sound having a single frequency and receive a user input for selecting a sound identical to or similar to the tinnitus sound of the electronic device from among the outputted at least one test sound. The electronic device may determine a single frequency corresponding to the selected test sound as the tinnitus frequency based on the received user input.

적어도 하나의 테스트 음향의 주파수 대역폭은 다양한 값을 가질 수 있고, 상술한 실시 예에 따른 적어도 하나의 테스트 음향의 주파수 대역폭(예: 100Hz 또는 0Hz)은 설명의 편의를 위한 것일 뿐이며, 적어도 하나의 테스트 음향의 주파수 대역 및/또는 주파수 대역폭이 이에 제한되거나 한정되는 것은 아니다.The frequency bandwidth of the at least one test sound may have various values, and the frequency bandwidth (e.g., 100 Hz or 0 Hz) of the at least one test sound according to the above-described embodiment is only for convenience of description, and the frequency band and/or frequency bandwidth of the at least one test sound is not limited or limited thereto.

일 실시 예에 따르면, 전자 장치는 오디오 모듈(예: 도 1의 오디오 모듈(170))을 통해 메모리에 저장된 적어도 하나의 테스트 음향을 출력하여 사용자로 하여금 자신의 이명음과 동일하거나 유사한 음향을 선택하도록 할 수 있다. 일 실시 예에 따르면, 전자 장치는 메모리에 저장된 적어도 하나의 테스트 음향을 동작 405에서 이명 증상이 있는 것으로 식별된 귀에 대응하는 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230))를 통해 출력되도록 제어하는 제어 메시지를 통신 회로(예: 도 1의 통신 모듈(190))를 통해 외부 전자 장치로 전송할 수 있다. 이 경우, 전자 장치는 이명 증상이 있는 귀에 착용 된 외부 전자 장치를 통해서만 적어도 하나의 테스트 음향이 출력되도록 제어함으로써 보다 정확한 이명 주파수 검사를 수행할 수 있다.According to an embodiment, the electronic device may output at least one test sound stored in a memory through an audio module (eg, the audio module 170 of FIG. 1 ) so that the user selects a sound identical to or similar to his/her tinnitus sound. According to an embodiment, the electronic device may transmit a control message for controlling output of at least one test sound stored in a memory through an external electronic device (eg, the first external electronic device 220 and/or the second external electronic device 230 of FIG. 2 ) corresponding to the ear identified as having tinnitus in operation 405 to the external electronic device through a communication circuit (eg, the communication module 190 of FIG. 1 ). In this case, the electronic device may perform a more accurate tinnitus frequency test by controlling at least one test sound to be output only through an external electronic device worn on an ear having a tinnitus symptom.

동작 415에서, 전자 장치는 메모리에 저장된 적어도 하나의 음원 중 하나의 음원으로부터 노치 음원을 생성할 수 있다. 일 실시 예에 따르면, 전자 장치는 메모리에 저장된 적어도 하나의 음원 중 사용자가 듣고자 하는 하나의 음원을 선택하는 사용자 입력 또는 사용자의 생체 정보에 기초하여 제1 음원을 결정할 수 있다. 일 실시 예에 따르면, 전자 장치는 결정된 제1 음원으로부터 노치 음원을 생성할 수 있다. 노치 음원은, 예를 들면, 특정 음원에서 특정 주파수 대역에 해당하는 부분이 제거된 음원을 의미할 수 있다. 전자 장치는 제1 음원으로부터 노치 음원을 생성하는 노치 필터를 포함할 수 있다. 노치 필터는, 예를 들면, 특정 음원에서 특정 주파수 대역에 해당하는 부분을 제거할 수 있고, 제거하는 주파수 대역을 이동할 수 있도록 구성될 수 있다. 전자 장치는 노치 필터를 통해 제1 음원에서 동작 410에서 결정된 이명 주파수에 해당하는 부분을 제거한 노치 음원을 생성할 수 있다.In operation 415, the electronic device may generate a notch sound source from one of at least one sound source stored in the memory. According to an embodiment, the electronic device may determine the first sound source based on a user input for selecting one sound source that the user wants to hear from among at least one sound source stored in the memory or the user's biometric information. According to an embodiment, the electronic device may generate a notch sound source from the determined first sound source. The notch sound source may mean, for example, a sound source from which a part corresponding to a specific frequency band is removed from a specific sound source. The electronic device may include a notch filter that generates a notch sound source from the first sound source. The notch filter, for example, can remove a part corresponding to a specific frequency band from a specific sound source and can be configured to move the frequency band to be removed. The electronic device may generate a notch sound source by removing a portion corresponding to the tinnitus frequency determined in operation 410 from the first sound source through a notch filter.

일 실시 예에 따르면, 전자 장치는 동작 410에서 이명 주파수가 주파수 대역(예: 1000Hz 내지 1100Hz)으로 결정된 경우, 노치 필터를 통해 제1 음원에서 이명 주파수 대역(예: 1000Hz 내지 1100Hz)에 해당하는 부분을 제거한 노치 음원을 생성할 수 있다. 일 실시 예에 따르면, 전자 장치는 동작 410에서 이명 주파수가 주파수 대역폭이 0인 단일 주파수로 결정된 경우, 노치 필터를 통해 제1 음원에서 이명 주파수를 기준으로 지정된 대역폭을 갖는 주파수 대역에 해당하는 부분을 제거한 노치 음원을 생성할 수 있다. 지정된 대역폭은, 예를 들면, 사용자가 임의로 설정할 수 있다. 예를 들어, 이명 주파수가 1050Hz이고, 지정된 대역폭이 100Hz인 것으로 설정된 경우, 전자 장치는 노치 필터를 통해 제1 음원에서 1000Hz 내지 1100Hz의 주파수 대역에 해당하는 부분을 제거한 노치 음원을 생성할 수 있다.According to an embodiment, when the tinnitus frequency is determined to be a frequency band (eg, 1000 Hz to 1100 Hz) in operation 410, the electronic device may generate a notch sound source by removing a part corresponding to the tinnitus frequency band (eg, 1000 Hz to 1100 Hz) from the first sound source through a notch filter. According to an embodiment, when the tinnitus frequency is determined to be a single frequency having a frequency bandwidth of 0 in operation 410, the electronic device may generate a notch sound source by removing a part corresponding to a frequency band having a designated bandwidth from the first sound source through a notch filter. The designated bandwidth may be arbitrarily set by the user, for example. For example, when the tinnitus frequency is 1050 Hz and the designated bandwidth is set to 100 Hz, the electronic device may generate a notch sound source by removing a portion corresponding to a frequency band of 1000 Hz to 1100 Hz from the first sound source through a notch filter.

동작 420에서, 전자 장치는 동작 415에서 생성된 노치 음원이 외부 전자 장치를 통해 출력되도록 제어할 수 있다. 일 실시 예에 따르면, 전자 장치는 동작 415에서 생성된 노치 음원이 동작 405에서 이명 증상이 있는 것으로 식별된 귀에 대응하는 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230))를 통해 출력되도록 제어하는 제어 메시지를 통신 회로(예: 도 1의 통신 모듈(190))를 통해 외부 전자 장치로 전송할 수 있다. 이 경우, 전자 장치는 이명 증상이 있는 귀에 착용 된 외부 전자 장치를 통해서만 노치 음원이 출력되도록 제어함으로써 사용자의 이명 특성에 맞게 이명을 관리할 수 있다.In operation 420, the electronic device may control the notch sound source generated in operation 415 to be output through an external electronic device. According to an embodiment, the electronic device may transmit a control message for controlling the notch sound source generated in operation 415 to be output through an external electronic device (eg, the first external electronic device 220 of FIG. 2 and/or the second external electronic device 230) corresponding to the ear identified as having tinnitus in operation 405 to the external electronic device through a communication circuit (eg, the communication module 190 of FIG. 1 ). In this case, the electronic device can manage tinnitus according to the tinnitus characteristics of the user by controlling the notch sound source to be output only through the external electronic device worn on the ear with tinnitus symptoms.

이하, 도 5를 참고하여 일 실시 예에 따르면 전자 장치의 동작에 대해 설명한다.Hereinafter, an operation of an electronic device according to an embodiment will be described with reference to FIG. 5 .

도 5는 일 실시 예에 따른 전자 장치의 동작 흐름도이다.5 is a flowchart illustrating an operation of an electronic device according to an exemplary embodiment.

도 5에 도시된 실시 예는 일 실시 예일 뿐이며, 본 문서에서 개시되는 다양한 실시 예에 따른 동작 순서는 도 5에 도시된 바와 다를 수 있고, 도 5에 도시된 일부 동작들이 생략되거나 동작들 간의 순서가 변경되거나 동작들이 병합될 수도 있다.The embodiment shown in FIG. 5 is only one embodiment, and the sequence of operations according to various embodiments disclosed in this document may be different from that shown in FIG. 5, and some operations shown in FIG.

일 실시 예에 따르면, 동작 505 내지 동작 555는 전자 장치(예: 도 2의 전자 장치(210))의 프로세서(예: 도 1의 프로세서(120))에서 수행되는 것으로 이해될 수 있다.According to an embodiment, operations 505 to 555 may be understood to be performed by a processor (eg, processor 120 of FIG. 1 ) of an electronic device (eg, electronic device 210 of FIG. 2 ).

도 5를 참조하면, 동작 505에서, 전자 장치는 이명 관련 정보를 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시할 수 있다. 이명 관련 정보는, 예를 들면, 이명의 원인, 이명 증상 완화 방법, 및/또는 이명 관련 상담을 받을 수 있는 의료기관 정보를 포함할 수 있다. 일 실시 예에 따르면, 전자 장치는 외부 서버(예: 도 7의 외부 서버(710))로부터 이명 관련 정보를 수신할 수 있다. 외부 서버는 사용자 정보(예: 성별, 나이 등) 및/또는 개인별 이명 특성(예: 이명 증상이 있는 귀, 이명 주파수, 이명 강도, 이명 증상을 경험한 기간)에 기초하여 사용자에게 도움이 될 수 있는 이명 관련 정보를 추출하여 전자 장치로 송신할 수 있고, 전자 장치는 수신한 이명 관련 정보를 디스플레이에 표시함으로써 사용자 맞춤형 정보를 제공할 수 있다.Referring to FIG. 5 , in operation 505, the electronic device may display tinnitus-related information on a display (eg, the display module 160 of FIG. 1). The tinnitus-related information may include, for example, a cause of tinnitus, a method for alleviating tinnitus symptoms, and/or information on a medical institution where tinnitus-related counseling can be received. According to an embodiment, the electronic device may receive tinnitus related information from an external server (eg, the external server 710 of FIG. 7 ). The external server may extract tinnitus-related information that may be helpful to the user based on user information (eg, gender, age, etc.) and/or individual tinnitus characteristics (eg, tinnitus symptomatic ear, tinnitus frequency, tinnitus intensity, tinnitus symptom duration) and transmit the information to the electronic device, and the electronic device may provide user-customized information by displaying the received tinnitus-related information on a display.

동작 510에서, 전자 장치는 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230))가 사용자의 귀에 착용 된 상태인지 판단할 수 있다. 일 실시 예에 따르면, 전자 장치는 외부 전자 장치가 센서(예: 도 3의 센서 모듈(226))를 통해 획득한 외부 전자 장치가 사용자의 귀에 착용 된 상태인지에 관한 정보를 통신 회로(예: 도 1의 통신 모듈(190))를 통해 외부 전자 장치로부터 수신할 수 있다. 전자 장치는 외부 전자 장치로부터 수신한 정보를 기초로 외부 전자 장치가 사용자의 귀에 착용 된 상태인지 판단할 수 있다.In operation 510, the electronic device may determine whether the external electronic device (eg, the first external electronic device 220 and/or the second external electronic device 230 of FIG. 2 ) is worn on the user's ear. According to an embodiment, the electronic device may receive information about whether the external electronic device is worn on the user's ear, obtained by the external electronic device through a sensor (e.g., the sensor module 226 of FIG. 3), from the external electronic device through a communication circuit (e.g., the communication module 190 of FIG. 1). The electronic device may determine whether the external electronic device is worn on the user's ear based on information received from the external electronic device.

동작 510에서 외부 전자 장치가 사용자의 귀에 착용 된 상태인 것으로 판단한 경우, 동작 515에서, 전자 장치는 주변 소음이 지정된 수준 이상인지 판단할 수 있다. 일 실시 예에 따르면, 전자 장치는 오디오 모듈(예: 도 1의 오디오 모듈(170))을 통해 획득한 주변 소음 정보에 기초하여 주변 소음이 지정된 수준 이상인지 판단할 수 있다. 다른 일 실시 예에 따르면, 전자 장치는 통신 회로를 통해 외부 전자 장치로부터 수신한 오디오 데이터에 기초하여 주변 소음이 지정된 수준 이상인지 판단할 수 있다. 지정된 수준은, 예를 들면, 주변 소음에 의해 개인별 이명 특성 검사의 정확도가 미리 설정된 수준 이상으로 떨어지는 수준을 의미할 수 있다.When it is determined in operation 510 that the external electronic device is worn on the user's ear, in operation 515, the electronic device determines whether ambient noise is equal to or greater than a specified level. According to an embodiment, the electronic device may determine whether ambient noise is equal to or greater than a specified level based on ambient noise information obtained through an audio module (eg, the audio module 170 of FIG. 1 ). According to another embodiment, the electronic device may determine whether ambient noise is equal to or greater than a specified level based on audio data received from an external electronic device through a communication circuit. The designated level may mean, for example, a level at which the accuracy of the individual tinnitus characteristic test is lowered than a preset level due to ambient noise.

동작 515에서 주변 소음이 지정된 수준 이상인 것으로 판단한 경우, 동작 520에서, 전자 장치는 이명 특성 검사의 정확도와 관련된 사용자 인터페이스를 제공할 수 있고, 및/또는 외부 전자 장치가 ANC(active noise cancellation) 기능을 수행하도록 제어할 수 있다. When it is determined in operation 515 that the ambient noise is equal to or greater than the specified level, in operation 520, the electronic device may provide a user interface related to the accuracy of the tinnitus characteristic test and/or control the external electronic device to perform an active noise cancellation (ANC) function.

일 실시 예에 따르면, 전자 장치는 주변 소음으로 인해 이명 특성 검사가 부정확할 수 있으므로 주변 소음을 제거하도록 안내하는 사용자 인터페이스를 제공할 수 있다. 예를 들어, 전자 장치는 지정된 안내 문구를 포함하는 사용자 인터페이스를 디스플레이에 표시할 수 있다. 지정된 안내 문구는, 예를 들면, 주변 소음으로 인해 이명 특성 검사가 부정확할 수 있다는 안내 문구 및/또는 주변 소음을 제거하도록 하는 안내 문구를 포함할 수 있다. 다른 예로, 전자 장치는 지정된 안내 음성을 포함하는 사용자 인터페이스를 외부 전자 장치를 통해 음성으로 출력하도록 제어하는 제어 메시지를 통신 회로(예: 도 1의 통신 모듈(190))를 통해 외부 전자 장치로 전송할 수 있다. 지정된 안내 음성은, 예를 들면, 주변 소음으로 인해 이명 특성 검사가 부정확할 수 있다는 안내 음성 및/또는 주변 소음을 제거하도록 하는 안내 음성을 포함할 수 있다.According to an embodiment, since the tinnitus characteristic test may be inaccurate due to ambient noise, the electronic device may provide a user interface for guiding removal of ambient noise. For example, the electronic device may display a user interface including a designated guide phrase on the display. The designated guide phrase may include, for example, a guide phrase that the tinnitus characteristic test may be inaccurate due to ambient noise and/or a guide phrase to remove ambient noise. As another example, the electronic device may transmit a control message for controlling to output a user interface including a designated guide voice as a voice through the external electronic device to the external electronic device through a communication circuit (eg, the communication module 190 of FIG. 1 ). The designated guide voice may include, for example, a guide voice indicating that the tinnitus characteristic test may be inaccurate due to ambient noise and/or a guide voice for removing ambient noise.

일 실시 예에 따르면, 전자 장치는 외부 전자 장치가 주변 소음을 조절하는 ANC 기능을 수행하도록 제어할 수 있다. 예를 들어, 전자 장치는 외부 전자 장치가 사용자가 듣는 주변 소음이 지정된 수준 미만이 되도록 조절하는 ANC 기능을 수행하도록 제어하는 제어 메시지를 통신 회로(예: 도 1 의 통신 모듈(190))를 통해 외부 전자 장치로 전송할 수 있다.According to an embodiment, the electronic device may control an external electronic device to perform an ANC function of adjusting ambient noise. For example, the electronic device may transmit a control message to the external electronic device through a communication circuit (eg, the communication module 190 of FIG. 1 ) for controlling the external electronic device to perform an ANC function that adjusts the ambient noise heard by the user to be less than a specified level.

동작 520에서 이명 특성 검사의 정확도와 관련된 사용자 인터페이스를 제공하거나, 및/또는 외부 전자 장치가 ANC 기능을 수행하도록 제어한 경우, 동작 525에서, 전자 장치는 좌측 귀와 우측 귀 중 이명 증상이 있는 귀를 식별할 수 있다.In operation 520, when a user interface related to the accuracy of the tinnitus characteristic test is provided and/or the external electronic device is controlled to perform the ANC function, in operation 525, the electronic device can identify an ear with a tinnitus symptom among the left ear and the right ear.

동작 515에서 주변 소음이 지정된 수준 미만인 것으로 판단한 경우, 동작 525에서, 전자 장치는 사용자의 좌측 귀와 우측 귀 중 이명 증상이 있는 귀를 식별할 수 있다. When it is determined in operation 515 that the ambient noise is less than the specified level, in operation 525, the electronic device may identify an ear having a tinnitus symptom from among the left ear and the right ear of the user.

전자 장치는 사용자가 이명 증상을 느끼는 귀의 방향을 선택하도록 하는 사용자 인터페이스를 제공할 수 있다. 일 실시 예에 따르면, 전자 장치는 좌측 귀에 대응하는 제1 오브젝트 및 우측 귀에 대응하는 제2 오브젝트를 포함하는 사용자 인터페이스를 디스플레이에 표시할 수 있다. 일 실시 예에 따르면, 전자 장치는 사용자가 이명 증상을 느끼는 귀의 방향을 선택하도록 하는 안내 음성을 포함하는 사용자 인터페이스를 제공할 수 있다. 예를 들어, 전자 장치는 상기 안내 음성을 포함하는 사용자 인터페이스를 외부 전자 장치를 통해 음성으로 출력하도록 제어하는 제어 메시지를 통신 회로(예: 도 1의 통신 모듈(190))를 통해 외부 전자 장치로 전송할 수 있다.The electronic device may provide a user interface allowing the user to select the direction of the ear in which tinnitus symptoms are felt. According to an embodiment, the electronic device may display a user interface including a first object corresponding to the left ear and a second object corresponding to the right ear on the display. According to an embodiment, the electronic device may provide a user interface including a guide voice that allows the user to select the direction of the ear in which tinnitus symptoms are felt. For example, the electronic device may transmit a control message for controlling to output a user interface including the guidance voice as a voice through the external electronic device to the external electronic device through a communication circuit (eg, the communication module 190 of FIG. 1 ).

일 실시 예에 따르면, 전자 장치는 좌측 귀와 우측 귀 중 이명 증상이 있는 귀의 방향을 선택하는 사용자 입력을 디스플레이를 통해 수신할 수 있다. 예를 들어, 전자 장치는 좌측 귀에 대응하는 제1 오브젝트 및 우측 귀에 대응하는 제2 오브젝트를 포함하는 사용자 인터페이스를 디스플레이에 표시함에 따라 디스플레이에 포함된 터치 센서(예: 도 1의 센서 모듈(176))를 통해 좌측 귀 및/또는 우측 귀에 대응하는 오브젝트를 선택하는 사용자 입력을 수신할 수 있다. 전자 장치는 터치 센서를 통해 수신한 사용자 입력을 기초로 이명 증상이 있는 귀가 좌측 귀인지, 우측 귀인지, 또는 양측 귀인지 식별할 수 있다.According to an embodiment, the electronic device may receive a user input for selecting a direction of the ear with tinnitus symptoms among the left ear and the right ear through the display. For example, as the electronic device displays a user interface including a first object corresponding to the left ear and a second object corresponding to the right ear on the display, the electronic device may receive a user input for selecting an object corresponding to the left ear and/or right ear through a touch sensor included in the display (e.g., the sensor module 176 of FIG. 1). The electronic device may identify whether the tinnitus symptom is the left ear, the right ear, or both ears based on the user input received through the touch sensor.

일 실시 예에 따르면, 전자 장치는 사용자의 음성을 통해 이명 증상이 있는 귀를 식별할 수 있다. 예를 들어, 전자 장치는 입력 모듈(예: 도 1의 입력 모듈(150))을 통해 사용자의 음성을 획득하고, 획득한 음성을 오디오 모듈(예: 도 1의 오디오 모듈(170))을 통해 전기 신호로 변환시킬 수 있다. 전자 장치는 오디오 모듈을 통해 변환된 전기 신호를 기초로 이명 증상이 있는 귀가 좌측 귀인지, 우측 귀인지, 또는 양측 귀인지 식별할 수 있다. According to an embodiment, the electronic device may identify an ear with a tinnitus symptom through a user's voice. For example, the electronic device may obtain a user's voice through an input module (eg, the input module 150 of FIG. 1 ), and convert the acquired voice into an electrical signal through an audio module (eg, the audio module 170 of FIG. 1 ). The electronic device may identify whether the tinnitus symptom is the left ear, the right ear, or both ears based on the electrical signal converted through the audio module.

일 실시 예에 따르면, 전자 장치는 외부 전자 장치로부터 수신한 오디오 데이터를 기초로 이명 증상이 있는 귀를 식별할 수 있다. 예를 들어, 외부 전자 장치는 마이크로폰(예: 도 3의 마이크로폰(225))을 통해 사용자의 음성을 획득하고, 획득한 음성을 오디오 모듈(예: 도 3의 오디오 모듈(223))을 통해 오디오 데이터로 변환할 수 있다. 전자 장치는 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230))의 오디오 모듈(예: 도 3의 오디오 모듈(223))을 통해 변환된 오디오 데이터를 수신할 수 있고, 수신된 오디오 데이터를 기초로 이명 증상이 있는 귀가 좌측 귀인지, 우측 귀인지, 또는 양측 귀인지 식별할 수 있다.According to an embodiment, the electronic device may identify an ear with a tinnitus symptom based on audio data received from an external electronic device. For example, the external electronic device may acquire a user's voice through a microphone (eg, the microphone 225 of FIG. 3), and convert the acquired voice into audio data through an audio module (eg, the audio module 223 of FIG. 3). The electronic device may receive audio data converted through an audio module (e.g., the audio module 223 of FIG. 3) of the external electronic device (e.g., the first external electronic device 220 and/or the second external electronic device 230 of FIG. 2), and based on the received audio data, it may identify whether the ear with tinnitus is the left ear, the right ear, or both ears.

동작 530에서, 전자 장치는 사용자의 이명 주파수를 결정할 수 있다. 전자 장치는 메모리(예: 도 1의 메모리(130))에 저장된 이명 주파수 검사를 위한 적어도 하나의 테스트 음향을 출력하여 사용자로 하여금 자신의 이명음과 동일하거나 유사한 음향을 선택하도록 함으로써 이명 주파수를 결정할 수 있다.In operation 530, the electronic device may determine a tinnitus frequency of the user. The electronic device may determine the tinnitus frequency by outputting at least one test sound for checking the tinnitus frequency stored in a memory (eg, the memory 130 of FIG. 1 ) and allowing the user to select a sound identical to or similar to the tinnitus sound.

일 실시 예에 따르면, 전자 장치의 메모리에 저장된 적어도 하나의 테스트 음향은 가청 주파수 범위(예: 20Hz 내지 20kHz의 범위) 내에서 지정된 주파수 대역을 갖는 음향일 수 있다. 전자 장치는 지정된 주파수 대역을 갖는 적어도 하나의 테스트 음향을 출력하고, 출력된 적어도 하나의 테스트 음향 중 자신의 이명음과 가장 유사한 음향을 선택하는 사용자 입력을 수신할 수 있다. 전자 장치는 수신된 사용자 입력에 기초하여 선택된 테스트 음향에 대응하는 주파수를 이명 주파수로 결정할 수 있다. 이 경우, 이명 주파수는 선택된 테스트 음향의 주파수 대역(예: 1000Hz 내지 1100Hz)으로 결정될 수 있다. According to an embodiment, at least one test sound stored in the memory of the electronic device may be a sound having a designated frequency band within an audible frequency range (eg, a range of 20 Hz to 20 kHz). The electronic device may output at least one test sound having a designated frequency band and receive a user input for selecting a sound most similar to the tinnitus sound of the electronic device from among the at least one output test sound. The electronic device may determine a frequency corresponding to the selected test sound as the tinnitus frequency based on the received user input. In this case, the tinnitus frequency may be determined as a frequency band (eg, 1000 Hz to 1100 Hz) of the selected test sound.

일 실시 예에 따르면, 전자 장치는 메모리에 저장된 적어도 하나의 테스트 음향을 주파수의 높낮이에 따라 복수의 그룹으로 분류하고, 분류된 각 그룹의 중심 주파수 대역을 갖는 음향들을 출력할 수 있다. 전자 장치는 출력된 음향들 중 자신의 이명음과 가장 유사한 음향을 선택하는 사용자 입력에 기초하여 선택된 음향이 포함된 제1 그룹을 결정할 수 있다. 전자 장치는 상기 제1 그룹에 속한 적어도 하나의 테스트 음향을 주파수의 높낮이에 따라 복수의 그룹으로 다시 분류하고, 분류된 각 그룹의 중심 주파수 대역을 갖는 음향들을 출력할 수 있다. 전자 장치는 출력된 음향들 중 자신의 이명음과 가장 유사한 음향을 선택하는 사용자 입력에 기초하여 선택된 음향이 포함된 제2 그룹을 결정할 수 있다. 전자 장치는 상기 제2 그룹에 속한 적어도 하나의 테스트 음향을 출력하고, 출력된 적어도 하나의 테스트 음향 중 자신의 이명음과 가장 유사한 음향을 선택하는 사용자 입력을 수신할 수 있다. 전자 장치는 수신된 사용자 입력에 기초하여 선택된 테스트 음향에 대응하는 주파수를 이명 주파수로 결정할 수 있다. 전자 장치는 사용자의 이명 주파수를 보다 정확하게 측정하기 위해 메모리에 저장된 적어도 하나의 테스트 음향을 주파수의 높낮이에 따라 복수의 그룹으로 분류하고 사용자의 이명음과 가장 유사한 음향이 포함된 그룹을 결정하는 과정을 지정된 횟수 및/또는 사용자가 설정한 횟수만큼 반복할 수 있다.According to an embodiment, the electronic device may classify at least one test sound stored in a memory into a plurality of groups according to high and low frequencies, and output sounds having a center frequency band of each group. The electronic device may determine a first group including the selected sound based on a user input for selecting a sound most similar to the tinnitus of the electronic device among output sounds. The electronic device may further classify at least one test sound belonging to the first group into a plurality of groups according to a frequency level, and output sounds having a central frequency band of each group. The electronic device may determine a second group including the selected sound based on a user input for selecting a sound most similar to the tinnitus of the electronic device among output sounds. The electronic device may output at least one test sound belonging to the second group and receive a user input for selecting a sound most similar to the tinnitus sound of the electronic device from among the at least one output test sound. The electronic device may determine a frequency corresponding to the selected test sound as the tinnitus frequency based on the received user input. In order to more accurately measure the frequency of the user's tinnitus, the electronic device classifies at least one test sound stored in the memory into a plurality of groups according to the high and low of the frequency, and determines the group including the sound most similar to the tinnitus sound of the user. The process may be repeated a specified number of times and/or a number of times set by the user.

예를 들어, 전자 장치의 메모리에 저장된 적어도 하나의 테스트 음향은 100Hz의 대역폭을 갖는 제1 테스트 음향(예: 주파수 대역이 20Hz 내지 120Hz인 음향), 제2 테스트 음향(예: 주파수 대역이 120Hz 내지 220Hz인 음향), 내지 제27 테스트 음향(예: 주파수 대역이 2620Hz 내지 2720Hz인 음향)을 포함할 수 있고, 사용자는 자신의 이명음과 가장 유사한 음향이 포함된 그룹을 결정하는 과정을 1회 반복하도록 설정할 수 있다. 이 경우 전자 장치는 주파수의 높낮이에 따라 제1 내지 제9 테스트 음향을 저주파 대역 그룹, 제10 내지 제18 테스트 음향을 중주파 대역 그룹, 제19 내지 제27 테스트 음향을 고주파 대역 그룹으로 분류할 수 있다. 전자 장치는 각 그룹의 중심 주파수 대역을 갖는 음향들(예: 저주파 대역 그룹의 경우 20Hz 내지 920Hz의 주파수 대역에서 중심 주파수 대역인 420Hz 내지 520Hz의 주파수 대역을 갖는 제5 테스트 음향)을 출력할 수 있다. 전자 장치는 출력된 음향들 중 자신의 이명음과 가장 유사한 제5 테스트 음향을 선택하는 사용자 입력에 기초하여 선택된 제5 테스트 음향이 포함된 저주파 대역 그룹을 결정할 수 있다. 전자 장치는 저주파 대역 그룹에 속한 제1 내지 제9 테스트 음향을 출력하고, 출력된 테스트 음향들 중 자신의 이명음과 가장 유사한 제3 테스트 음향을 선택하는 사용자 입력을 수신할 수 있다. 전자 장치는 제3 테스트 음향을 선택하는 사용자 입력에 기초하여 제3 테스트 음향에 대응하는 220Hz 내지 320Hz의 주파수 대역을 이명 주파수로 결정할 수 있다. 일 실시 예에 따르면, 적어도 하나의 테스트 음향은 가청 주파수 범위(예: 20Hz 내지 20kHz의 범위) 내에서 주파수 대역폭이 0인 단일 주파수를 갖는 순음(純音)일 수 있다. 전자 장치는 단일 주파수를 갖는 적어도 하나의 테스트 음향을 출력하고, 출력된 적어도 하나의 테스트 음향 중 자신의 이명음과 동일하거나 유사한 음향을 선택하는 사용자 입력을 수신할 수 있다. 전자 장치는 수신된 사용자 입력에 기초하여 선택된 테스트 음향에 대응하는 단일 주파수를 이명 주파수로 결정할 수 있다.For example, the at least one test sound stored in the memory of the electronic device may include a first test sound having a bandwidth of 100 Hz (eg, a sound having a frequency band of 20 Hz to 120 Hz), a second test sound (eg, a sound having a frequency band of 120 Hz to 220 Hz), and a 27th test sound (eg, a sound having a frequency band of 2620 Hz to 2720 Hz). The process of determining a group can be set to repeat once. In this case, the electronic device may classify the first to ninth test sounds into a low-frequency band group, the 10th to 18th test sounds into a mid-frequency band group, and the 19th to 27th test sounds into a high-frequency band group according to the height of the frequency. The electronic device may output sounds having a central frequency band of each group (eg, a fifth test sound having a frequency band of 420 Hz to 520 Hz, which is a central frequency band in a frequency band of 20 Hz to 920 Hz in the case of a low frequency band group). The electronic device may determine a low-frequency band group including the selected fifth test sound based on a user input for selecting a fifth test sound most similar to the tinnitus of the electronic device among output sounds. The electronic device may output first to ninth test sounds belonging to the low frequency band group and receive a user input for selecting a third test sound most similar to the tinnitus sound of the electronic device among the output test sounds. The electronic device may determine a frequency band of 220 Hz to 320 Hz corresponding to the third test sound as the tinnitus frequency based on a user input for selecting the third test sound. According to an embodiment, the at least one test sound may be a pure sound having a single frequency with a frequency bandwidth of 0 within an audible frequency range (eg, a range of 20 Hz to 20 kHz). The electronic device may output at least one test sound having a single frequency and receive a user input for selecting a sound identical to or similar to the tinnitus sound of the electronic device from among the outputted at least one test sound. The electronic device may determine a single frequency corresponding to the selected test sound as the tinnitus frequency based on the received user input.

적어도 하나의 테스트 음향의 주파수 대역폭은 다양한 값을 가질 수 있고, 상술한 실시 예에 따른 적어도 하나의 테스트 음향의 주파수 대역폭(예: 100Hz 또는 0Hz)은 설명의 편의를 위한 것일 뿐이며, 적어도 하나의 테스트 음향의 주파수 대역 및/또는 주파수 대역폭이 이에 제한되거나 한정되는 것은 아니다.The frequency bandwidth of the at least one test sound may have various values, and the frequency bandwidth (e.g., 100 Hz or 0 Hz) of the at least one test sound according to the above-described embodiment is only for convenience of description, and the frequency band and/or frequency bandwidth of the at least one test sound is not limited or limited thereto.

일 실시 예에 따르면, 전자 장치는 오디오 모듈(예: 도 1의 오디오 모듈(170))을 통해 메모리에 저장된 적어도 하나의 테스트 음향을 출력하여 사용자로 하여금 자신의 이명음과 동일하거나 유사한 음향을 선택하도록 할 수 있다. 일 실시 예에 따르면, 전자 장치는 메모리에 저장된 적어도 하나의 테스트 음향을 동작 525에서 이명 증상이 있는 것으로 식별된 귀에 대응하는 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230))를 통해 출력되도록 제어하는 제어 메시지를 통신 회로(예: 도 1의 통신 모듈(190))를 통해 외부 전자 장치로 전송할 수 있다. 이 경우, 전자 장치는 이명 증상이 있는 귀에 착용 된 외부 전자 장치를 통해서만 적어도 하나의 테스트 음향이 출력되도록 제어함으로써 보다 정확한 이명 주파수 검사를 수행할 수 있다.According to an embodiment, the electronic device may output at least one test sound stored in a memory through an audio module (eg, the audio module 170 of FIG. 1 ) so that the user selects a sound identical to or similar to his/her tinnitus sound. According to an embodiment, the electronic device may transmit, in operation 525, a control message for controlling output of at least one test sound stored in a memory through an external electronic device (e.g., the first external electronic device 220 and/or the second external electronic device 230 of FIG. 2) corresponding to the ear identified as having tinnitus symptoms to the external electronic device through a communication circuit (e.g., the communication module 190 of FIG. 1). In this case, the electronic device may perform a more accurate tinnitus frequency test by controlling at least one test sound to be output only through an external electronic device worn on an ear having a tinnitus symptom.

동작 535에서, 전자 장치는 메모리에 저장된 적어도 하나의 음원 중 하나의 음원(예: 도 6의 음원(615))을 결정할 수 있다. 일 실시 예에 따르면, 전자 장치는 메모리에 저장된 적어도 하나의 음원 중 사용자가 듣고자 하는 하나의 음원을 선택하는 사용자 입력을 수신할 수 있고, 전자 장치는 수신된 사용자 입력에 기초하여 하나의 음원을 결정할 수 있다. 적어도 하나의 음원은, 예를 들면, 소음, 환경음, 음악, 알람음, 및/또는 통화음을 포함할 수 있다.In operation 535, the electronic device may determine one sound source (eg, the sound source 615 of FIG. 6) among at least one sound source stored in the memory. According to an embodiment, the electronic device may receive a user input for selecting one sound source that the user wants to hear from among at least one sound source stored in a memory, and the electronic device may determine one sound source based on the received user input. The at least one sound source may include, for example, noise, ambient sound, music, alarm sound, and/or call sound.

일 실시 예에 따르면, 전자 장치는 사용자가 상기 적어도 하나의 음원을 듣는 동안 외부 전자 장치가 감지한 사용자의 생체 정보(예: 심박수, 온도)를 통신 회로를 통해 외부 전자 장치로부터 수신할 수 있다. 전자 장치는 수신된 생체 정보에 기초하여 상기 적어도 하나의 음원 중 사용자가 듣는 동안 사용자의 스트레스가 감소하는 하나의 음원을 결정할 수 있다. 예를 들어, 전자 장치는 상기 적어도 하나의 음원 중 듣는 동안 사용자의 심박수가 감소하는 하나의 음원을 결정할 수 있다.According to an embodiment, the electronic device may receive the user's biometric information (eg, heart rate, temperature) sensed by the external electronic device while the user is listening to the at least one sound source from the external electronic device through a communication circuit. Based on the received biometric information, the electronic device may determine one sound source from among the at least one sound source to reduce the user's stress while the user is listening. For example, the electronic device may determine one sound source from among the at least one sound source to which the user's heart rate decreases while listening.

동작 540에서, 전자 장치는 동작 535에서 결정된 음원으로부터 노치 음원을 생성할 수 있다. 노치 음원은, 예를 들면, 특정 음원에서 특정 주파수 대역에 해당하는 부분이 제거된 음원을 의미할 수 있다. 일 실시 예에 따르면, 전자 장치는 동작 535에서 결정된 음원으로부터 노치 음원을 생성하는 노치 필터를 포함할 수 있다. 노치 필터는, 예를 들면, 특정 음원에서 특정 주파수 대역에 해당하는 부분을 제거할 수 있고, 제거하는 주파수 대역을 이동할 수 있도록 구성될 수 있다. 전자 장치는 노치 필터를 통해 동작 535에서 결정된 음원에서 동작 530에서 결정된 이명 주파수에 해당하는 부분을 제거한 노치 음원을 생성할 수 있다.In operation 540, the electronic device may generate a notch sound source from the sound source determined in operation 535. The notch sound source may mean, for example, a sound source from which a part corresponding to a specific frequency band is removed from a specific sound source. According to an embodiment, the electronic device may include a notch filter that generates a notch sound source from the sound source determined in operation 535. The notch filter, for example, can remove a part corresponding to a specific frequency band from a specific sound source and can be configured to move the frequency band to be removed. The electronic device may generate a notch sound source by removing a part corresponding to the tinnitus frequency determined in operation 530 from the sound source determined in operation 535 through a notch filter.

일 실시 예에 따르면, 전자 장치는 동작 530에서 이명 주파수가 주파수 대역(예: 1000Hz 내지 1100Hz)으로 결정된 경우, 노치 필터를 통해 동작 535에서 결정된 음원에서 이명 주파수 대역(예: 1000Hz 내지 1100Hz)에 해당하는 부분을 제거한 노치 음원을 생성할 수 있다. 일 실시 예에 따르면, 전자 장치는 동작 530에서 이명 주파수가 주파수 대역폭이 0인 단일 주파수로 결정된 경우, 노치 필터를 통해 동작 535에서 결정된 음원에서 이명 주파수를 기준으로 지정된 대역폭을 갖는 주파수 대역에 해당하는 부분을 제거한 노치 음원을 생성할 수 있다. 지정된 대역폭은, 예를 들면, 사용자가 임의로 설정할 수 있다. 예를 들어, 이명 주파수가 1050Hz이고, 지정된 대역폭이 100Hz인 것으로 설정된 경우, 전자 장치는 노치 필터를 통해 동작 535에서 결정된 음원에서 1000Hz 내지 1100Hz의 주파수 대역에 해당하는 부분을 제거한 노치 음원을 생성할 수 있다.According to an embodiment, when the tinnitus frequency is determined to be a frequency band (eg, 1000 Hz to 1100 Hz) in operation 530, the electronic device may generate a notch sound source by removing a part corresponding to the tinnitus frequency band (eg, 1000 Hz to 1100 Hz) from the sound source determined in operation 535 through a notch filter. According to an embodiment, when the tinnitus frequency is determined to be a single frequency with a frequency bandwidth of 0 in operation 530, the electronic device may generate a notch sound source by removing a part corresponding to a frequency band having a specified bandwidth based on the tinnitus frequency from the sound source determined in operation 535 through a notch filter. The designated bandwidth may be arbitrarily set by the user, for example. For example, when the tinnitus frequency is set to 1050 Hz and the designated bandwidth is set to 100 Hz, the electronic device may generate a notch sound source by removing a portion corresponding to a frequency band of 1000 Hz to 1100 Hz from the sound source determined in operation 535 through a notch filter.

동작 545에서, 전자 장치는 동작 540에서 생성된 노치 음원이 외부 전자 장치를 통해 출력되도록 제어할 수 있다. 일 실시 예에 따르면, 전자 장치는 동작 540에서 생성된 노치 음원이 동작 525에서 이명 증상이 있는 것으로 식별된 귀에 대응하는 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230))를 통해 출력되도록 제어하는 제어 메시지를 통신 회로(예: 도 1의 통신 모듈(190))를 통해 외부 전자 장치로 전송할 수 있다. 이 경우, 전자 장치는 이명 증상이 있는 귀에 착용 된 외부 전자 장치를 통해서만 노치 음원이 출력되도록 제어함으로써 사용자의 이명 특성에 맞게 이명을 관리할 수 있다.In operation 545, the electronic device may control the notch sound source generated in operation 540 to be output through an external electronic device. According to an embodiment, the electronic device may transmit a control message for controlling the notch sound source generated in operation 540 to be output through the external electronic device (eg, the first external electronic device 220 of FIG. 2 and/or the second external electronic device 230) corresponding to the ear identified as having tinnitus in operation 525 to the external electronic device through a communication circuit (eg, the communication module 190 of FIG. 1 ). In this case, the electronic device can manage tinnitus according to the tinnitus characteristics of the user by controlling the notch sound source to be output only through the external electronic device worn on the ear with tinnitus symptoms.

동작 550에서, 전자 장치는 이명 설문 평가를 통해 사용자의 이명 상태를 결정할 수 있다. 일 실시 예에 따르면, 전자 장치는 사용자의 이명 상태를 평가하기 위한 질문을 포함하는 사용자 인터페이스를 디스플레이에 표시할 수 있다. 사용자의 이명 상태를 평가하기 위한 질문은, 예를 들면, 이명의 발생 빈도, 이명의 지속시간, 이명 증상 완화 여부, 및/또는 이명 증상 완화 정도에 대한 질문을 포함할 수 있다. 전자 장치는 상기 질문에 대한 응답을 선택하는 사용자 입력에 기초하여 사용자의 이명 상태를 결정할 수 있다. 이명 상태는, 예를 들면, 일상생활에 지장이 없는 상태, 경도 장애, 중등도 장애, 및/또는 중증 장애를 포함할 수 있다.In operation 550, the electronic device may determine the tinnitus condition of the user through the tinnitus questionnaire evaluation. According to an embodiment, the electronic device may display a user interface including a question for evaluating a user's tinnitus condition on a display. Questions for evaluating the tinnitus condition of the user may include, for example, questions about the frequency of occurrence of tinnitus, the duration of tinnitus, relief of tinnitus symptoms, and/or the degree of relief of tinnitus symptoms. The electronic device may determine the tinnitus state of the user based on a user input for selecting a response to the question. The tinnitus condition may include, for example, a condition that does not interfere with daily life, a mild disability, a moderate disability, and/or a severe disability.

동작 555에서, 전자 장치는 피드백 정보를 표시할 수 있다. 일 실시 예에 따르면, 전자 장치는 동작 550에서 결정된 이명 상태에 대응하는 피드백 정보를 디스플레이에 표시할 수 있다. 예를 들어, 동작 550에서 결정된 이명 상태가 일상생활에 지장이 없는 상태인 경우 이명 관리가 필요하지 않다는 피드백 정보를 표시할 수 있다. 다른 예로, 동작 550에서 결정된 이명 상태가 경도 장애 이상인 경우 이명 관리가 필요하다는 피드백 정보를 표시할 수 있다. 피드백 정보는, 예를 들면, 이명 완화 여부, 이명 완화 정도, 이명 관리 필요 여부, 및/또는 사용자의 이명 상태에 최적화된 이명 완화 방법에 대한 정보를 포함할 수 있다.In operation 555, the electronic device may display feedback information. According to an embodiment, the electronic device may display feedback information corresponding to the tinnitus condition determined in operation 550 on the display. For example, if the tinnitus state determined in operation 550 is a state that does not interfere with daily life, feedback information indicating that tinnitus management is not required may be displayed. As another example, when the tinnitus condition determined in operation 550 is mild disability or higher, feedback information indicating that tinnitus management is necessary may be displayed. The feedback information may include, for example, information about tinnitus relief, degree of tinnitus relief, whether tinnitus management is necessary, and/or a tinnitus relief method optimized for the tinnitus condition of the user.

이하, 도 6을 참고하여 일 실시 예에 따른 전자 장치가 사용자의 이명 주파수를 제거한 노치 음원을 생성하는 방법에 대해 설명한다.Hereinafter, a method of generating a notch sound source from which a user's tinnitus frequency is removed by an electronic device according to an embodiment will be described with reference to FIG. 6 .

도 6은 일 실시 예에 따른 전자 장치가 개인별 이명 특성에 맞는 노치 음원을 생성하는 방법을 설명하기 위한 도면이다.6 is a diagram for explaining a method of generating a notch sound source suitable for individual tinnitus characteristics by an electronic device according to an exemplary embodiment.

도 6의 그래프(610)에 도시된 음원(615)은 도 5의 동작 535에서 사용자 입력에 기초하여 결정된 음원일 수 있다. 음원(615)은, 예를 들면, 소음, 환경음, 음악, 알람음, 및/또는 통화음을 포함할 수 있다.The sound source 615 shown in the graph 610 of FIG. 6 may be the sound source determined based on the user input in operation 535 of FIG. 5 . The sound source 615 may include, for example, noise, ambient sound, music, alarm sound, and/or call sound.

도 6의 그래프(620)에 도시된 이명 주파수 대역(625)은 도 5의 동작 530에서 사용자 입력에 기초하여 결정된 주파수 대역일 수 있다. 일 실시 예에 따르면, 동작 530에서 이명 주파수가 1000Hz 내지 1100Hz의 대역을 갖는 주파수 대역으로 결정된 경우, 이명 주파수 대역(625)은 1000Hz 내지 1100Hz의 대역을 갖는 주파수 대역일 수 있다. 다른 일 실시 예에 따르면, 동작 530에서 이명 주파수가 1050Hz의 단일 주파수로 결정되고, 사용자가 이명음의 주파수 대역폭이 100Hz인 것으로 설정한 경우, 이명 주파수 대역(625)은 1000Hz 내지 1100Hz의 대역을 갖는 주파수 대역일 수 있다.The tinnitus frequency band 625 shown in the graph 620 of FIG. 6 may be a frequency band determined based on a user input in operation 530 of FIG. 5 . According to an embodiment, when the tinnitus frequency is determined as a frequency band having a band of 1000 Hz to 1100 Hz in operation 530, the tinnitus frequency band 625 may be a frequency band having a band of 1000 Hz to 1100 Hz. According to another embodiment, when the tinnitus frequency is determined as a single frequency of 1050 Hz in operation 530 and the user sets the frequency bandwidth of the tinnitus sound to be 100 Hz, the tinnitus frequency band 625 is 1000 Hz to 1100 Hz. It may be a frequency band having a band.

도 6의 그래프(630)에 도시된 노치 음원(635)은 도 5의 동작 540에서 노치 필터를 통해 생성된 노치 음원일 수 있다. 일 실시 예에 따르면, 전자 장치는 노치 필터를 통해 음원(615)에서 이명 주파수 대역(625)에 해당하는 부분을 제거한 노치 음원(635)을 생성할 수 있다.The notch sound source 635 shown in the graph 630 of FIG. 6 may be a notch sound source generated through a notch filter in operation 540 of FIG. 5 . According to an embodiment, the electronic device may generate a notch sound source 635 by removing a portion corresponding to the tinnitus frequency band 625 from the sound source 615 through a notch filter.

이하, 도 7을 참고하여 일 실시 예에 따른 전자 장치, 외부 서버, 및 의료기관 서버에 대해 설명한다.Hereinafter, an electronic device, an external server, and a medical institution server according to an embodiment will be described with reference to FIG. 7 .

도 7은 일 실시 예에 따른 전자 장치, 외부 서버, 및 의료기관 서버를 개략적으로 나타낸 도면이다.7 is a diagram schematically illustrating an electronic device, an external server, and a medical institution server according to an embodiment.

도 7을 참조하면, 일 실시 예에 따른 이명 관리 시스템은 전자 장치(210)(예: 도 1의 전자 장치(101)), 외부 서버(710), 및/또는 의료기관 서버(720)를 포함할 수 있다.Referring to FIG. 7 , the tinnitus management system according to an embodiment may include an electronic device 210 (eg, the electronic device 101 of FIG. 1 ), an external server 710, and/or a medical institution server 720.

전자 장치(210)는 사용자 입력에 기초한 사용자 정보(예: 성별, 나이에 대한 정보), 개인별 이명 특성에 대한 정보(예: 이명 증상이 있는 귀, 이명 주파수, 이명 강도, 이명 증상을 경험한 기간에 대한 정보), 및/또는 설문 평가에 기초한 개인별 이명 상태 정보(예: 이명 완화 정도, 선호하는 음원에 대한 정보)를 통신 회로(예: 도 1의 통신 모듈(190))를 통해 외부 서버(710)로 전송할 수 있다.The electronic device 210 transmits user information based on user input (eg, information on gender and age), information on individual tinnitus characteristics (eg, ear with tinnitus symptoms, tinnitus frequency, tinnitus intensity, information on the duration of experiencing tinnitus symptoms), and/or individual tinnitus state information based on survey evaluation (eg, tinnitus relief degree, information on preferred sound sources) to the external server 710 through a communication circuit (eg, the communication module 190 of FIG. 1). can

외부 서버(710)는 복수의 하드웨어 및/또는 복수의 소프트웨어 장치를 포함할 수 있으며, 전자 장치(210) 및/또는 의료기관 서버(720)와 유선 또는 무선 통신 네트워크를 통해 통신을 수행할 수 있다. 일 실시 예에 따르면, 외부 서버(710)는 통신 네트워크를 통해 복수의 전자 장치(예: 전자 장치(210))들로부터 수신된 사용자와 관련된 정보 및/또는 복수의 의료기관 서버(예: 의료기관 서버(720))들로부터 수신된 의료기관과 관련된 정보를 저장하여 빅데이터를 생성할 수 있다. 일 실시 예에 따르면, 외부 서버(710)는 저장된 정보에 기초하여 개인별 이명 특성에 최적화된 이명 치료용 음원 및/또는 피드백 정보를 추출할 수 있다. 예를 들어, 외부 서버(710)는 사용자의 성별, 나이에 대한 정보에 기초하여 동일한 성별, 동일한 연령대에서 가장 선호되는 이명 치료용 음원 및/또는 이명 관리 방법을 추출할 수 있다. 다른 예로, 외부 서버(710)는 개인별 이명 특성에 대한 정보(예: 이명 증상이 있는 귀의 방향 정보, 이명 주파수 정보, 및/또는 이명 강도 정보) 및/또는 이명 설문 평가에 대한 사용자 응답 정보에 기초하여 특정 이명 특성에서 가장 이명 완화 정도가 높았던 이명 치료용 음원 및/또는 이명 관리 방법을 추출할 수 있다. 외부 서버(710)는 추출된 사용자 맞춤형 정보를 통신 네트워크를 통해 전자 장치(210)로 전송할 수 있다. The external server 710 may include a plurality of hardware and/or a plurality of software devices, and may communicate with the electronic device 210 and/or the medical institution server 720 through a wired or wireless communication network. According to an embodiment, the external server 710 may generate big data by storing user-related information received from a plurality of electronic devices (e.g., the electronic device 210) and/or medical institution-related information received from a plurality of medical institution servers (e.g., the medical institution server 720) through a communication network. According to an embodiment, the external server 710 may extract a sound source for tinnitus treatment and/or feedback information optimized for individual tinnitus characteristics based on the stored information. For example, the external server 710 may extract the most preferred sound source for tinnitus treatment and/or a tinnitus management method for the same gender and same age group based on information about the user's gender and age. As another example, the external server 710 may extract a tinnitus treatment sound source and/or a tinnitus management method having the highest degree of tinnitus relief in a specific tinnitus characteristic based on information on individual tinnitus characteristics (e.g., direction information, tinnitus frequency information, and/or tinnitus intensity information) and/or user response information for tinnitus questionnaire evaluation. The external server 710 may transmit the extracted user-customized information to the electronic device 210 through a communication network.

일 실시 예에 따르면, 외부 서버(710)는 저장된 정보를 통신 네트워크를 통해 의료기관 서버(720)와 공유함에 따라 의료기관 서버(720)로부터 사용자에 대한 정보(예: 사용자의 예약 정보, 사용자에 대한 이명 상담 정보, 및/또는 사용자에 대한 이명 진료 정보) 및/또는 의료기관에 대한 정보(예: 의료기관의 명칭, 위치, 및/또는 의사 정보)를 수신할 수 있다.According to an embodiment, the external server 710 shares stored information with the medical institution server 720 through a communication network, thereby receiving information about the user (eg, user reservation information, tinnitus counseling information about the user, and/or tinnitus treatment information about the user) and/or information about the medical institution (eg, name, location, and/or doctor information of the medical institution) from the medical institution server 720.

의료기관 서버(720)는 통신 네트워크를 통해 외부 서버(710)로부터 제공받은 정보를 기초로 개인별 맞춤형 의료 서비스를 제공할 수 있다. 일 실시 예에 따르면, 의료기관 서버(720)는 의사 등 이명 관련 전문가가 외부 서버(710)로부터 제공받은 사용자 정보(예: 성별, 나이에 대한 정보), 개인별 이명 특성에 대한 정보(예: 이명 증상이 있는 귀, 이명 주파수, 이명 강도, 이명 증상을 경험한 기간에 대한 정보), 및/또는 설문 평가에 기초한 개인별 이명 상태 정보(예: 이명 완화 정도, 선호하는 음원에 대한 정보)에 기초하여 생성한 사용자에게 최적화된 이명 치료용 음원 및/또는 이명 관리 방법 통신 네트워크를 통해 외부 서버(710)로 전송할 수 있다. 외부 서버(710)는 의료기관 서버(720)로부터 수신한 정보를 전자 장치(210)로 전송함으로써 개인별 맞춤형 이명 관리 방법을 제공할 수 있다. The medical institution server 720 may provide personalized medical services based on information provided from the external server 710 through a communication network. According to an embodiment, the medical institution server 720 provides optimized information for the user based on user information (eg, gender and age information) provided by a doctor or other tinnitus-related expert from the external server 710, information on individual tinnitus characteristics (eg, ear with tinnitus symptoms, tinnitus frequency, tinnitus intensity, information about the period of experiencing tinnitus symptoms), and/or individual tinnitus condition information based on survey evaluation (eg, tinnitus relief degree, information about preferred sound sources). A sound source for tinnitus treatment and/or a tinnitus management method may be transmitted to an external server 710 through a communication network. The external server 710 may provide a personalized tinnitus management method by transmitting information received from the medical institution server 720 to the electronic device 210 .

이하, 도 8을 참고하여 일 실시 예에 따른 전자 장치의 동작에 대해 설명한다.Hereinafter, an operation of an electronic device according to an embodiment will be described with reference to FIG. 8 .

도 8은 일 실시 예에 따른 전자 장치의 동작 흐름도이다.8 is a flowchart illustrating an operation of an electronic device according to an exemplary embodiment.

도 8에 도시된 실시 예는 일 실시 예일 뿐이며, 본 문서에서 개시되는 다양한 실시 예에 따른 동작 순서는 도 8에 도시된 바와 다를 수 있고, 도 8에 도시된 일부 동작들이 생략되거나 동작들 간의 순서가 변경되거나 동작들이 병합될 수도 있다.The embodiment shown in FIG. 8 is only one embodiment, and the sequence of operations according to various embodiments disclosed in this document may be different from that shown in FIG. 8, and some operations shown in FIG. 8 may be omitted or the order between operations may be changed or operations may be merged.

일 실시 예에 따르면, 동작 805 내지 동작 880은 전자 장치(예: 도 2의 전자 장치(210))의 프로세서(예: 도 1의 프로세서(120))에서 수행되는 것으로 이해될 수 있다.According to an embodiment, operations 805 to 880 may be understood to be performed by a processor (eg, the processor 120 of FIG. 1 ) of an electronic device (eg, the electronic device 210 of FIG. 2 ).

도 8을 참조하면, 동작 805에서, 전자 장치는 사용자로부터 사용자 정보 입력을 수신할 수 있다. 일 실시 예에 따르면, 전자 장치는 사용자 정보(예: 이름, 나이, 및/또는 성별)를 입력하도록 하는 사용자 인터페이스를 제공할 수 있다. 예를 들어, 전자 장치는 상기 사용자 인터페이스를 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시할 수 있다. 일 실시 예에 따르면, 전자 장치는 사용자 정보를 입력하는 사용자 입력을 디스플레이를 통해 수신할 수 있다. 일 실시 예에 따르면, 전자 장치는 수신된 사용자 입력에 기초하여 사용자 정보를 외부 서버(예: 도 7의 외부 서버(710))로 통신 회로(예: 도 1의 통신 모듈(190))를 통해 전송할 수 있다.Referring to FIG. 8 , in operation 805, the electronic device may receive user information input from the user. According to an embodiment, the electronic device may provide a user interface for inputting user information (eg, name, age, and/or gender). For example, the electronic device may display the user interface on a display (eg, the display module 160 of FIG. 1 ). According to an embodiment, an electronic device may receive a user input for inputting user information through a display. According to an embodiment, the electronic device may transmit user information to an external server (eg, the external server 710 of FIG. 7) based on the received user input through a communication circuit (eg, the communication module 190 of FIG. 1).

동작 810에서, 전자 장치는 이명 관련 정보를 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시할 수 있다. 이명 관련 정보는, 예를 들면, 이명의 원인, 이명 증상 완화 방법, 및/또는 이명 관련 상담을 받을 수 있는 의료기관 정보를 포함할 수 있다. 일 실시 예에 따르면, 전자 장치는 외부 서버(예: 도 7의 외부 서버(710))로부터 이명 관련 정보를 수신할 수 있다. 외부 서버는 사용자 정보(예: 성별, 나이 등) 및/또는 개인별 이명 특성(예: 이명 증상이 있는 귀, 이명 주파수, 이명 강도, 이명 증상을 경험한 기간)에 기초하여 사용자에게 도움이 될 수 있는 이명 관련 정보를 추출하여 전자 장치로 송신할 수 있고, 전자 장치는 수신한 이명 관련 정보를 디스플레이에 표시함으로써 사용자 맞춤형 정보를 제공할 수 있다.In operation 810, the electronic device may display tinnitus-related information on a display (eg, the display module 160 of FIG. 1). The tinnitus-related information may include, for example, a cause of tinnitus, a method for alleviating tinnitus symptoms, and/or information on a medical institution where tinnitus-related counseling can be received. According to an embodiment, the electronic device may receive tinnitus related information from an external server (eg, the external server 710 of FIG. 7 ). The external server may extract tinnitus-related information that may be helpful to the user based on user information (eg, gender, age, etc.) and/or individual tinnitus characteristics (eg, tinnitus symptomatic ear, tinnitus frequency, tinnitus intensity, tinnitus symptom duration) and transmit the information to the electronic device, and the electronic device may provide user-customized information by displaying the received tinnitus-related information on a display.

동작 815에서, 전자 장치는 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230))가 사용자의 귀에 착용 된 상태인지 판단할 수 있다. 일 실시 예에 따르면, 전자 장치는 외부 전자 장치가 센서(예: 도 3의 센서 모듈(226))를 통해 획득한 외부 전자 장치가 사용자의 귀에 착용 된 상태인지에 관한 정보를 통신 회로(예: 도 1의 통신 모듈(190))를 통해 외부 전자 장치로부터 수신할 수 있다. 전자 장치는 외부 전자 장치로부터 수신한 정보를 기초로 외부 전자 장치가 사용자의 귀에 착용 된 상태인지 판단할 수 있다.In operation 815, the electronic device may determine whether the external electronic device (eg, the first external electronic device 220 and/or the second external electronic device 230 of FIG. 2 ) is worn on the user's ear. According to an embodiment, the electronic device may receive information about whether the external electronic device is worn on the user's ear, obtained by the external electronic device through a sensor (e.g., the sensor module 226 of FIG. 3), from the external electronic device through a communication circuit (e.g., the communication module 190 of FIG. 1). The electronic device may determine whether the external electronic device is worn on the user's ear based on information received from the external electronic device.

동작 815에서 외부 전자 장치가 사용자의 귀에 착용 된 상태인 것으로 판단한 경우, 동작 820에서, 전자 장치는 노치 음원 또는 맞춤형 음원 중 어느 하나를 선택하는 사용자 입력을 수신할 수 있다. If it is determined in operation 815 that the external electronic device is worn on the user's ear, in operation 820, the electronic device may receive a user input for selecting one of a notch sound source and a customized sound source.

일 실시 예에 따르면, 전자 장치는 이명 관리를 위해 노치 음원을 청취할지, 맞춤형 음원을 청취할지 여부에 대해 선택하도록 하는 사용자 인터페이스를 제공할 수 있다. 일 실시 예에 따르면, 전자 장치는 노치 음원에 대응하는 제1 오브젝트 및 맞춤형 음원에 대응하는 제2 오브젝트를 포함하는 사용자 인터페이스를 디스플레이에 표시할 수 있다. 일 실시 예에 따르면, 전자 장치는 이명 관리를 위해 노치 음원을 청취할지, 맞춤형 음원을 청취할지 여부에 대해 선택하도록 하는 안내 음성을 포함하는 사용자 인터페이스를 제공할 수 있다. 예를 들어, 전자 장치는 상기 안내 음성을 포함하는 사용자 인터페이스를 외부 전자 장치를 통해 음성으로 출력하도록 제어하는 제어 메시지를 통신 회로(예: 도 1의 통 신 모듈(190))를 통해 외부 전자 장치로 전송할 수 있다.According to an embodiment, the electronic device may provide a user interface for selecting whether to listen to a notch sound source or a customized sound source for tinnitus management. According to an embodiment, the electronic device may display a user interface including a first object corresponding to a notch sound source and a second object corresponding to a customized sound source on a display. According to an embodiment, the electronic device may provide a user interface including a guide voice for selecting whether to listen to a notch sound source or a customized sound source for tinnitus management. For example, the electronic device may transmit a control message for controlling to output a user interface including the guidance voice as a voice through the external electronic device to the external electronic device through a communication circuit (eg, the communication module 190 of FIG. 1 ).

일 실시 예에 따르면, 전자 장치는 노치 음원 또는 맞춤형 음원 중 사용자가 청취할 음원을 선택하는 사용자 입력을 디스플레이를 통해 수신할 수 있다. 예를 들어, 전자 장치는 노치 음원에 대응하는 제1 오브젝트 및 맞춤형 음원에 대응하는 제2 오브젝트를 포함하는 사용자 인터페이스를 디스플레이에 표시함에 따라 디스플레이에 포함된 터치 센서(예: 도 1의 센서 모듈(176))를 통해 노치 음원 또는 맞춤형 음원을 선택하는 사용자 입력을 수신할 수 있다. 전자 장치는 터치 센서를 통해 수신한 사용자 입력을 기초로 사용자가 청취할 음원이 노치 음원인지 맞춤형 음원인지 판단할 수 있다.According to an embodiment, the electronic device may receive a user input for selecting a sound source to be listened to from among a notch sound source and a customized sound source through a display. For example, as the electronic device displays a user interface including a first object corresponding to a notch sound source and a second object corresponding to a customized sound source on a display, the electronic device may receive a user input for selecting a notch sound source or a customized sound source through a touch sensor included in the display (eg, the sensor module 176 of FIG. 1 ). The electronic device may determine whether a sound source to be listened to by the user is a notch sound source or a customized sound source based on the user input received through the touch sensor.

일 실시 예에 따르면, 전자 장치는 노치 음원 또는 맞춤형 음원 중 사용자가 청취할 음원을 선택하는 사용자 입력을 사용자의 음성으로 수신할 수 있다. 예를 들어, 전자 장치는 입력 모듈(예: 도 1의 입력 모듈(150))을 통해 사용자의 음성을 획득하고, 획득한 음성을 오디오 모듈(예: 도 1의 오디오 모듈(170))을 통해 전기 신호로 변환시킬 수 있다. 전자 장치는 오디오 모듈을 통해 변환된 전기 신호를 기초로 사용자가 청취할 음원이 노치 음원인지 맞춤형 음원인지 판단할 수 있다.According to an embodiment, the electronic device may receive a user input for selecting a sound source to be listened to from among a notch sound source and a customized sound source as the user's voice. For example, the electronic device may obtain a user's voice through an input module (eg, the input module 150 of FIG. 1 ), and convert the acquired voice into an electrical signal through an audio module (eg, the audio module 170 of FIG. 1 ). The electronic device may determine whether a sound source to be listened to by the user is a notch sound source or a customized sound source based on the electrical signal converted through the audio module.

일 실시 예에 따르면, 전자 장치는 외부 전자 장치로부터 수신한 오디오 데이터를 기초로 사용자가 청취할 음원이 노치 음원인지 맞춤형 음원인지 판단할 수 있다. 예를 들어, 외부 전자 장치는 마이크로폰(예: 도 3의 마이크로폰(225))을 통해 사용자의 음성을 획득하고, 획득한 음성을 오디오 모듈(예: 도 3의 오디오 모듈(223))을 통해 오디오 데이터로 변환할 수 있다. 전자 장치는 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230))의 오디오 모듈(예: 도 3의 오디오 모듈(223))을 통해 변환된 오디오 데이터를 수신할 수 있고, 수신된 오디오 데이터를 기초로 사용자가 청취할 음원이 노치 음원인지 맞춤형 음원인지 판단할 수 있다. 동작 820에서 노치 음원을 선택하는 사용자 입력을 수신한 경우, 동작 825에서, 전자 장치는 주변 소음이 지정된 수준 이상인지 판단할 수 있다. 일 실시 예에 따르면, 전자 장치는 오디오 모듈(예: 도 1의 오디오 모듈(170))을 통해 획득한 주변 소음 정보에 기초하여 주변 소음이 지정된 수준 이상인지 판단할 수 있다. 다른 일 실시 예에 따르면, 전자 장치는 통신 회로를 통해 외부 전자 장치로부터 수신한 오디오 데이터에 기초하여 주변 소음이 지정된 수준 이상인지 판단할 수 있다. 지정된 수준은, 예를 들면, 주변 소음에 의해 개인별 이명 특성 검사의 정확도가 미리 설정된 수준 이상으로 떨어지는 수준을 의미할 수 있다.According to an embodiment, the electronic device may determine whether a sound source to be listened to by a user is a notch sound source or a customized sound source based on audio data received from an external electronic device. For example, the external electronic device may acquire a user's voice through a microphone (eg, the microphone 225 of FIG. 3), and convert the acquired voice into audio data through an audio module (eg, the audio module 223 of FIG. 3). The electronic device may receive audio data converted through an audio module (eg, the audio module 223 of FIG. 3 ) of the external electronic device (eg, the first external electronic device 220 and/or the second external electronic device 230 of FIG. 2 ), and based on the received audio data, determine whether a sound source to be listened to by the user is a notch sound source or a custom sound source. When receiving a user input for selecting a notch sound source in operation 820, in operation 825, the electronic device may determine whether ambient noise is equal to or higher than a specified level. According to an embodiment, the electronic device may determine whether ambient noise is equal to or greater than a specified level based on ambient noise information obtained through an audio module (eg, the audio module 170 of FIG. 1 ). According to another embodiment, the electronic device may determine whether ambient noise is equal to or greater than a specified level based on audio data received from an external electronic device through a communication circuit. The designated level may mean, for example, a level at which the accuracy of the individual tinnitus characteristic test is lowered than a preset level due to ambient noise.

동작 825에서 주변 소음이 지정된 수준 이상인 것으로 판단한 경우, 동작 830에서, 전자 장치는 이명 특성 검사의 정확도와 관련된 사용자 인터페이스를 제공할 수 있고, 및/또는 외부 전자 장치가 ANC(active noise cancellation) 기능을 수행하도록 제어할 수 있다.When it is determined in operation 825 that the ambient noise is equal to or greater than the specified level, in operation 830, the electronic device may provide a user interface related to the accuracy of the tinnitus characteristic test and/or control the external electronic device to perform an active noise cancellation (ANC) function.

일 실시 예에 따르면, 전자 장치는 주변 소음으로 인해 이명 특성 검사가 부정확할 수 있으므로 주변 소음을 제거하도록 안내하는 사용자 인터페이스를 제공할 수 있다. 예를 들어, 전자 장치는 지정된 안내 문구를 포함하는 사용자 인터페이스를 디스플레이에 표시할 수 있다. 지정된 안내 문구는, 예를 들면, 주변 소음으로 인해 이명 특성 검사가 부정확할 수 있다는 안내 문구 및/또는 주변 소음을 제거하도록 하는 안내 문구를 포함할 수 있다. 다른 예로, 전자 장치는 지정된 안내 음성을 포함하는 사용자 인터페이스를 외부 전자 장치를 통해 음성으로 출력하도록 제어하는 제어 메시지를 통신 회로(예: 도 1의 통신 모듈(190))를 통해 외부 전자 장치로 전송할 수 있다. 지정된 안내 음성은, 예를 들면, 주변 소음으로 인해 이명 특성 검사가 부정확할 수 있다는 안내 음성 및/또는 주변 소음을 제거하도록 하는 안내 음성을 포함할 수 있다.According to an embodiment, since the tinnitus characteristic test may be inaccurate due to ambient noise, the electronic device may provide a user interface for guiding removal of ambient noise. For example, the electronic device may display a user interface including a designated guide phrase on the display. The designated guide phrase may include, for example, a guide phrase that the tinnitus characteristic test may be inaccurate due to ambient noise and/or a guide phrase to remove ambient noise. As another example, the electronic device may transmit a control message for controlling to output a user interface including a designated guide voice as a voice through the external electronic device to the external electronic device through a communication circuit (eg, the communication module 190 of FIG. 1 ). The designated guide voice may include, for example, a guide voice indicating that the tinnitus characteristic test may be inaccurate due to ambient noise and/or a guide voice for removing ambient noise.

일 실시 예에 따르면, 전자 장치는 외부 전자 장치가 주변 소음을 조절하는 ANC 기능을 수행하도록 제어할 수 있다. 예를 들어, 전자 장치는 외부 전자 장치가 사용자가 듣는 주변 소음이 지정된 수준 미만이 되도록 조절하는 ANC 기능을 수행하도록 제어하는 제어 메시지를 통신 회로(예: 도 1 의 통신 모듈(190))를 통해 외부 전자 장치로 전송할 수 있다.According to an embodiment, the electronic device may control an external electronic device to perform an ANC function of adjusting ambient noise. For example, the electronic device may transmit a control message to the external electronic device through a communication circuit (eg, the communication module 190 of FIG. 1 ) for controlling the external electronic device to perform an ANC function that adjusts the ambient noise heard by the user to be less than a specified level.

동작 830에서 이명 특성 검사의 정확도와 관련된 사용자 인터페이스를 제공하거나, 및/또는 외부 전자 장치가 ANC 기능을 수행하도록 제어한 경우, 동작 825에서, 전자 장치는 좌측 귀와 우측 귀 중 이명 증상이 있는 귀를 식별할 수 있다.In operation 830, when a user interface related to the accuracy of the tinnitus characteristic test is provided and/or the external electronic device is controlled to perform the ANC function, in operation 825, the electronic device can identify an ear having a tinnitus symptom among the left ear and the right ear.

동작 825에서 주변 소음이 지정된 수준 미만인 것으로 판단한 경우, 동작 835에서, 전자 장치는 사용자의 좌측 귀와 우측 귀 중 이명 증상이 있는 귀를 식별할 수 있다. If it is determined in operation 825 that the ambient noise is less than the specified level, in operation 835, the electronic device may identify an ear having a tinnitus symptom from among the left ear and the right ear of the user.

전자 장치는 사용자가 이명 증상을 느끼는 귀의 방향을 선택하도록 하는 사용자 인터페이스를 제공할 수 있다. 일 실시 예에 따르면, 전자 장치는 좌측 귀에 대응하는 제1 오브젝트 및 우측 귀에 대응하는 제2 오브젝트를 포함하는 사용자 인터페이스를 디스플레이에 표시할 수 있다. 일 실시 예에 따르면, 전자 장치는 사용자가 이명 증상을 느끼는 귀의 방향을 선택하도록 하는 안내 음성을 포함하는 사용자 인터페이스를 제공할 수 있다. 예를 들어, 전자 장치는 상기 안내 음성을 포함하는 사용자 인터페이스를 외부 전자 장치를 통해 음성으로 출력하도록 제어하는 제어 메시지를 통신 회로(예: 도 1의 통신 모듈(190))를 통해 외부 전자 장치로 전송할 수 있다.The electronic device may provide a user interface allowing the user to select the direction of the ear in which tinnitus symptoms are felt. According to an embodiment, the electronic device may display a user interface including a first object corresponding to the left ear and a second object corresponding to the right ear on the display. According to an embodiment, the electronic device may provide a user interface including a guide voice that allows the user to select the direction of the ear in which tinnitus symptoms are felt. For example, the electronic device may transmit a control message for controlling to output a user interface including the guidance voice as a voice through the external electronic device to the external electronic device through a communication circuit (eg, the communication module 190 of FIG. 1 ).

일 실시 예에 따르면, 전자 장치는 좌측 귀와 우측 귀 중 이명 증상이 있는 귀의 방향을 선택하는 사용자 입력을 디스플레이를 통해 수신할 수 있다. 예를 들어, 전자 장치는 좌측 귀에 대응하는 제1 오브젝트 및 우측 귀에 대응하는 제2 오브젝트를 포함하는 사용자 인터페이스를 디스플레이에 표시함에 따라 디스플레이에 포함된 터치 센서(예: 도 1의 센서 모듈(176))를 통해 좌측 귀 및/또는 우측 귀에 대응하는 오브젝트를 선택하는 사용자 입력을 수신할 수 있다. 전자 장치는 터치 센서를 통해 수신한 사용자 입력을 기초로 이명 증상이 있는 귀가 좌측 귀인지, 우측 귀인지, 또는 양측 귀인지 식별할 수 있다.According to an embodiment, the electronic device may receive a user input for selecting a direction of the ear with tinnitus symptoms among the left ear and the right ear through the display. For example, as the electronic device displays a user interface including a first object corresponding to the left ear and a second object corresponding to the right ear on the display, the electronic device may receive a user input for selecting an object corresponding to the left ear and/or right ear through a touch sensor included in the display (e.g., the sensor module 176 of FIG. 1). The electronic device may identify whether the tinnitus symptom is the left ear, the right ear, or both ears based on the user input received through the touch sensor.

일 실시 예에 따르면, 전자 장치는 사용자의 음성을 통해 이명 증상이 있는 귀를 식별할 수 있다. 예를 들어, 전자 장치는 입력 모듈(예: 도 1의 입력 모듈(150))을 통해 사용자의 음성을 획득하고, 획득한 음성을 오디오 모듈(예: 도 1의 오디오 모듈(170))을 통해 전기 신호로 변환시킬 수 있다. 전자 장치는 오디오 모듈을 통해 변환된 전기 신호를 기초로 이명 증상이 있는 귀가 좌측 귀인지, 우측 귀인지, 또는 양측 귀인지 식별할 수 있다. According to an embodiment, the electronic device may identify an ear with a tinnitus symptom through a user's voice. For example, the electronic device may obtain a user's voice through an input module (eg, the input module 150 of FIG. 1 ), and convert the acquired voice into an electrical signal through an audio module (eg, the audio module 170 of FIG. 1 ). The electronic device may identify whether the tinnitus symptom is the left ear, the right ear, or both ears based on the electrical signal converted through the audio module.

일 실시 예에 따르면, 전자 장치는 외부 전자 장치로부터 수신한 오디오 데이터를 기초로 이명 증상이 있는 귀를 식별할 수 있다. 예를 들어, 외부 전자 장치는 마이크로폰(예: 도 3의 마이크로폰(225))을 통해 사용자의 음성을 획득하고, 획득한 음성을 오디오 모듈(예: 도 3의 오디오 모듈(223))을 통해 오디오 데이터로 변환할 수 있다. 전자 장치는 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230))의 오디오 모듈(예: 도 3의 오디오 모듈(223))을 통해 변환된 오디오 데이터를 수신할 수 있고, 수신된 오디오 데이터를 기초로 이명 증상이 있는 귀가 좌측 귀인지, 우측 귀인지, 또는 양측 귀인지 식별할 수 있다.According to an embodiment, the electronic device may identify an ear with a tinnitus symptom based on audio data received from an external electronic device. For example, the external electronic device may acquire a user's voice through a microphone (eg, the microphone 225 of FIG. 3), and convert the acquired voice into audio data through an audio module (eg, the audio module 223 of FIG. 3). The electronic device may receive audio data converted through an audio module (e.g., the audio module 223 of FIG. 3) of the external electronic device (e.g., the first external electronic device 220 and/or the second external electronic device 230 of FIG. 2), and based on the received audio data, it may identify whether the ear with tinnitus is the left ear, the right ear, or both ears.

일 실시 예에 따르면, 전자 장치는 이명 증상이 있는 귀의 방향 정보를 통신 회로를 통해 외부 서버(예: 도 7의 외부 서버(710))로 전송할 수 있다.According to an embodiment, the electronic device may transmit direction information of an ear with a tinnitus symptom to an external server (eg, the external server 710 of FIG. 7 ) through a communication circuit.

동작 840에서, 전자 장치는 사용자의 이명 주파수를 결정할 수 있다. 전자 장치는 메모리(예: 도 1의 메모리(130))에 저장된 적어도 하나의 테스트 음향을 출력하여 사용자로 하여금 자신의 이명음과 동일하거나 유사한 음향을 선택하도록 함으로써 이명 주파수를 결정할 수 있다.In operation 840, the electronic device may determine a tinnitus frequency of the user. The electronic device may determine the tinnitus frequency by outputting at least one test sound stored in a memory (eg, the memory 130 of FIG. 1 ) and allowing the user to select a sound identical to or similar to his/her tinnitus sound.

일 실시 예에 따르면, 전자 장치의 메모리에 저장된 적어도 하나의 테스트 음향은 가청 주파수 범위(예: 20Hz 내지 20kHz의 범위) 내에서 지정된 주파수 대역을 갖는 음향일 수 있다. 전자 장치는 지정된 주파수 대역폭을 갖는 적어도 하나의 테스트 음향을 출력하고, 출력된 적어도 하나의 테스트 음향 중 자신의 이명음과 가장 유사한 음향을 선택하는 사용자 입력을 수신할 수 있다. 전자 장치는 수신된 사용자 입력에 기초하여 선택된 테스트 음향에 대응하는 주파수를 이명 주파수로 결정할 수 있다. 이 경우, 이명 주파수는 선택된 테스트 음향의 주파수 대역(예: 1000Hz 내지 1100Hz)으로 결정될 수 있다. According to an embodiment, at least one test sound stored in the memory of the electronic device may be a sound having a designated frequency band within an audible frequency range (eg, a range of 20 Hz to 20 kHz). The electronic device may output at least one test sound having a specified frequency bandwidth and receive a user input for selecting a sound most similar to the tinnitus sound of the electronic device from among the at least one output test sound. The electronic device may determine a frequency corresponding to the selected test sound as the tinnitus frequency based on the received user input. In this case, the tinnitus frequency may be determined as a frequency band (eg, 1000 Hz to 1100 Hz) of the selected test sound.

일 실시 예에 따르면, 전자 장치는 메모리에 저장된 적어도 하나의 테스트 음향을 주파수의 높낮이에 따라 복수의 그룹으로 분류하고, 분류된 각 그룹의 중심 주파수 대역을 갖는 음향들을 출력할 수 있다. 전자 장치는 출력된 음향들 중 자신의 이명음과 가장 유사한 음향을 선택하는 사용자 입력에 기초하여 선택된 음향이 포함된 제1 그룹을 결정할 수 있다. 전자 장치는 상기 제1 그룹에 속한 적어도 하나의 테스트 음향을 주파수의 높낮이에 따라 복수의 그룹으로 다시 분류하고, 분류된 각 그룹의 중심 주파수 대역을 갖는 음향들을 출력할 수 있다. 전자 장치는 출력된 음향들 중 자신의 이명음과 가장 유사한 음향을 선택하는 사용자 입력에 기초하여 선택된 음향이 포함된 제2 그룹을 결정할 수 있다. 전자 장치는 상기 제2 그룹에 속한 적어도 하나의 테스트 음향을 출력하고, 출력된 적어도 하나의 테스트 음향 중 자신의 이명음과 가장 유사한 음향을 선택하는 사용자 입력을 수신할 수 있다. 전자 장치는 수신된 사용자 입력에 기초하여 선택된 테스트 음향에 대응하는 주파수를 이명 주파수로 결정할 수 있다. 전자 장치는 사용자의 이명 주파수를 보다 정확하게 측정하기 위해 메모리에 저장된 적어도 하나의 테스트 음향을 주파수의 높낮이에 따라 복수의 그룹으로 분류하고 사용자의 이명음과 가장 유사한 음향이 포함된 그룹을 결정하는 과정을 지정된 횟수 및/또는 사용자가 설정한 횟수만큼 반복할 수 있다.According to an embodiment, the electronic device may classify at least one test sound stored in a memory into a plurality of groups according to high and low frequencies, and output sounds having a center frequency band of each group. The electronic device may determine a first group including the selected sound based on a user input for selecting a sound most similar to the tinnitus of the electronic device among output sounds. The electronic device may further classify at least one test sound belonging to the first group into a plurality of groups according to a frequency level, and output sounds having a central frequency band of each group. The electronic device may determine a second group including the selected sound based on a user input for selecting a sound most similar to the tinnitus of the electronic device among output sounds. The electronic device may output at least one test sound belonging to the second group and receive a user input for selecting a sound most similar to the tinnitus sound of the electronic device from among the at least one output test sound. The electronic device may determine a frequency corresponding to the selected test sound as the tinnitus frequency based on the received user input. In order to more accurately measure the frequency of the user's tinnitus, the electronic device classifies at least one test sound stored in the memory into a plurality of groups according to the high and low of the frequency, and determines the group including the sound most similar to the tinnitus sound of the user. The process may be repeated a specified number of times and/or a number of times set by the user.

예를 들어, 전자 장치의 메모리에 저장된 적어도 하나의 테스트 음향은 100Hz의 대역폭을 갖는 제1 테스트 음향(예: 주파수 대역이 20Hz 내지 120Hz인 음향), 제2 테스트 음향(예: 주파수 대역이 120Hz 내지 220Hz인 음향), 내지 제27 테스트 음향(예: 주파수 대역이 2620Hz 내지 2720Hz인 음향)을 포함할 수 있고, 사용자는 자신의 이명음과 가장 유사한 음향이 포함된 그룹을 결정하는 과정을 1회 반복하도록 설정할 수 있다. 이 경우 전자 장치는 주파수의 높낮이에 따라 제1 내지 제9 테스트 음향을 저주파 대역 그룹, 제10 내지 제18 테스트 음향을 중주파 대역 그룹, 제19 내지 제27 테스트 음향을 고주파 대역 그룹으로 분류할 수 있다. 전자 장치는 각 그룹의 중심 주파수 대역을 갖는 음향들(예: 저주파 대역 그룹의 경우 20Hz 내지 920Hz의 주파수 대역에서 중심 주파수 대역인 420Hz 내지 520Hz의 주파수 대역을 갖는 제5 테스트 음향)을 출력할 수 있다. 전자 장치는 출력된 음향들 중 자신의 이명음과 가장 유사한 제5 테스트 음향을 선택하는 사용자 입력에 기초하여 선택된 제5 테스트 음향이 포함된 저주파 대역 그룹을 결정할 수 있다. 전자 장치는 저주파 대역 그룹에 속한 제1 내지 제9 테스트 음향을 출력하고, 출력된 테스트 음향들 중 자신의 이명음과 가장 유사한 제3 테스트 음향을 선택하는 사용자 입력을 수신할 수 있다. 전자 장치는 제3 테스트 음향을 선택하는 사용자 입력에 기초하여 제3 테스트 음향에 대응하는 220Hz 내지 320Hz의 주파수 대역을 이명 주파수로 결정할 수 있다.For example, the at least one test sound stored in the memory of the electronic device may include a first test sound having a bandwidth of 100 Hz (eg, a sound having a frequency band of 20 Hz to 120 Hz), a second test sound (eg, a sound having a frequency band of 120 Hz to 220 Hz), and a 27th test sound (eg, a sound having a frequency band of 2620 Hz to 2720 Hz). The process of determining a group can be set to repeat once. In this case, the electronic device may classify the first to ninth test sounds into a low-frequency band group, the 10th to 18th test sounds into a mid-frequency band group, and the 19th to 27th test sounds into a high-frequency band group according to the height of the frequency. The electronic device may output sounds having a central frequency band of each group (eg, a fifth test sound having a frequency band of 420 Hz to 520 Hz, which is a central frequency band in a frequency band of 20 Hz to 920 Hz in the case of a low frequency band group). The electronic device may determine a low-frequency band group including the selected fifth test sound based on a user input for selecting a fifth test sound most similar to the tinnitus of the electronic device among output sounds. The electronic device may output first to ninth test sounds belonging to the low frequency band group and receive a user input for selecting a third test sound most similar to the tinnitus sound of the electronic device among the output test sounds. The electronic device may determine a frequency band of 220 Hz to 320 Hz corresponding to the third test sound as the tinnitus frequency based on a user input for selecting the third test sound.

일 실시 예에 따르면, 적어도 하나의 테스트 음향은 가청 주파수 범위(예: 20Hz 내지 20kHz의 범위) 내에서 주파수 대역폭이 0인 단일 주파수를 갖는 순음(純音)일 수 있다. 전자 장치는 단일 주파수를 갖는 적어도 하나의 테스트 음향을 출력하고, 출력된 적어도 하나의 테스트 음향 중 자신의 이명음과 동일하거나 유사한 음향을 선택하는 사용자 입력을 수신할 수 있다. 전자 장치는 수신된 사용자 입력에 기초하여 선택된 테스트 음향에 대응하는 단일 주파수를 이명 주파수로 결정할 수 있다.According to an embodiment, the at least one test sound may be a pure sound having a single frequency with a frequency bandwidth of 0 within an audible frequency range (eg, a range of 20 Hz to 20 kHz). The electronic device may output at least one test sound having a single frequency and receive a user input for selecting a sound identical to or similar to the tinnitus sound of the electronic device from among the outputted at least one test sound. The electronic device may determine a single frequency corresponding to the selected test sound as the tinnitus frequency based on the received user input.

적어도 하나의 테스트 음향의 주파수 대역폭은 다양한 값을 가질 수 있고, 상술한 실시 예에 따른 적어도 하나의 테스트 음향의 주파수 대역폭(예: 100Hz 또는 0Hz)은 설명의 편의를 위한 것일 뿐이며, 적어도 하나의 테스트 음향의 주파수 대역 및/또는 주파수 대역폭이 이에 제한되거나 한정되는 것은 아니다.The frequency bandwidth of the at least one test sound may have various values, and the frequency bandwidth (e.g., 100 Hz or 0 Hz) of the at least one test sound according to the above-described embodiment is only for convenience of description, and the frequency band and/or frequency bandwidth of the at least one test sound is not limited or limited thereto.

일 실시 예에 따르면, 전자 장치는 오디오 모듈(예: 도 1의 오디오 모듈(170))을 통해 메모리에 저장된 적어도 하나의 테스트 음향을 출력하여 사용자로 하여금 자신의 이명음과 동일하거나 유사한 음향을 선택하도록 할 수 있다. 일 실시 예에 따르면, 전자 장치는 메모리에 저장된 적어도 하나의 테스트 음향을 동작 835에서 이명 증상이 있는 것으로 식별된 귀에 대응하는 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230))를 통해 출력되도록 제어하는 제어 메시지를 통신 회로(예: 도 1의 통신 모듈(190))를 통해 외부 전자 장치로 전송할 수 있다. 이 경우, 전자 장치는 이명 증상이 있는 귀에 착용 된 외부 전자 장치를 통해서만 적어도 하나의 테스트 음향이 출력되도록 제어함으로써 보다 정확한 이명 주파수 검사를 수행할 수 있다.According to an embodiment, the electronic device may output at least one test sound stored in a memory through an audio module (eg, the audio module 170 of FIG. 1 ) so that the user selects a sound identical to or similar to his/her tinnitus sound. According to an embodiment, the electronic device may transmit, in operation 835, a control message for controlling output of at least one test sound stored in a memory through an external electronic device (e.g., the first external electronic device 220 and/or the second external electronic device 230 of FIG. 2) corresponding to the ear identified as having tinnitus symptoms to the external electronic device through a communication circuit (e.g., the communication module 190 of FIG. 1). In this case, the electronic device may perform a more accurate tinnitus frequency test by controlling at least one test sound to be output only through an external electronic device worn on an ear having a tinnitus symptom.

일 실시 예에 따르면, 전자 장치는 결정된 이명 주파수에 대응하는 이명 주파수 정보를 통신 회로를 통해 외부 서버(예: 도 7의 외부 서버(710))로 전송할 수 있다.According to an embodiment, the electronic device may transmit tinnitus frequency information corresponding to the determined tinnitus frequency to an external server (eg, the external server 710 of FIG. 7 ) through a communication circuit.

동작 845에서, 전자 장치는 메모리에 저장된 적어도 하나의 음원 중 하나의 음원(예: 도 6의 음원(615))을 결정할 수 있다. 일 실시 예에 따르면, 전자 장치는 메모리에 저장된 적어도 하나의 음원 중 사용자가 듣고자 하는 하나의 음원을 선택하는 사용자 입력을 수신할 수 있고, 전자 장치는 수신된 사용자 입력에 기초하여 하나의 음원을 결정할 수 있다. 적어도 하나의 음원은, 예를 들면, 소음, 환경음, 음악, 알림음, 및/또는 통화음을 포함할 수 있다.In operation 845, the electronic device may determine one sound source (eg, the sound source 615 of FIG. 6) among at least one sound source stored in the memory. According to an embodiment, the electronic device may receive a user input for selecting one sound source that the user wants to hear from among at least one sound source stored in a memory, and the electronic device may determine one sound source based on the received user input. The at least one sound source may include, for example, noise, ambient sound, music, notification sound, and/or call sound.

일 실시 예에 따르면, 전자 장치는 사용자가 상기 적어도 하나의 음원을 듣는 동안 외부 전자 장치가 감지한 사용자의 생체 정보(예: 심박수, 온도)를 통신 회로를 통해 외부 전자 장치로부터 수신할 수 있다. 전자 장치는 수신된 생체 정보에 기초하여 상기 적어도 하나의 음원 중 사용자가 듣는 동안 사용자의 스트레스가 감소하는 하나의 음원을 결정할 수 있다. 예를 들어, 전자 장치는 상기 적어도 하나의 음원 중 듣는 동안 사용자의 심박수가 감소하는 하나의 음원을 결정할 수 있다.According to an embodiment, the electronic device may receive the user's biometric information (eg, heart rate, temperature) sensed by the external electronic device while the user is listening to the at least one sound source from the external electronic device through a communication circuit. Based on the received biometric information, the electronic device may determine one sound source from among the at least one sound source to reduce the user's stress while the user is listening. For example, the electronic device may determine one sound source from among the at least one sound source to which the user's heart rate decreases while listening.

일 실시 예에 따르면, 전자 장치는 결정된 음원에 대응하는 사용자 선호 음원 정보를 통신 회로를 통해 외부 서버(예: 도 7의 외부 서버(710))로 전송할 수 있다.According to an embodiment, the electronic device may transmit user preference sound source information corresponding to the determined sound source to an external server (eg, the external server 710 of FIG. 7 ) through a communication circuit.

동작 850에서, 전자 장치는 동작 845에서 결정된 음원으로부터 노치 음원을 생성할 수 있다. 노치 음원은, 예를 들면, 특정 음원에서 특정 주파수 대역에 해당하는 부분이 제거된 음원을 의미할 수 있다. 일 실시 예에 따르면, 전자 장치는 동작 845에서 결정된 음원으로부터 노치 음원을 생성하는 노치 필터를 포함할 수 있다. 노치 필터는, 예를 들면, 특정 음원에서 특정 주파수 대역에 해당하는 부분을 제거할 수 있고, 제거하는 주파수 대역을 이동할 수 있도록 구성될 수 있다. 전자 장치는 노치 필터를 통해 동작 845에서 결정된 음원에서 동작 840에서 결정된 이명 주파수에 해당하는 부분을 제거한 노치 음원을 생성할 수 있다.In operation 850, the electronic device may generate a notch sound source from the sound source determined in operation 845. The notch sound source may mean, for example, a sound source from which a part corresponding to a specific frequency band is removed from a specific sound source. According to an embodiment, the electronic device may include a notch filter that generates a notch sound source from the sound source determined in operation 845. The notch filter, for example, can remove a part corresponding to a specific frequency band from a specific sound source and can be configured to move the frequency band to be removed. The electronic device may generate a notch sound source by removing a part corresponding to the tinnitus frequency determined in operation 840 from the sound source determined in operation 845 through a notch filter.

일 실시 예에 따르면, 전자 장치는 동작 840에서 이명 주파수가 주파수 대역(예: 1000Hz 내지 1100Hz)으로 결정된 경우, 노치 필터를 통해 동작 845에서 결정된 음원에서 이명 주파수 대역(예: 1000Hz 내지 1100Hz)에 해당하는 부분을 제거한 노치 음원을 생성할 수 있다. 일 실시 예에 따르면, 전자 장치는 동작 840에서 이명 주파수가 주파수 대역폭이 0인 단일 주파수로 결정된 경우, 노치 필터를 통해 동작 845에서 결정된 음원에서 이명 주파수를 기준으로 지정된 대역폭을 갖는 주파수 대역에 해당하는 부분을 제거한 노치 음원을 생성할 수 있다. 지정된 대역폭은, 예를 들면, 사용자가 임의로 설정할 수 있다. 예를 들어, 이명 주파수가 1050Hz이고, 지정된 대역폭이 100Hz인 것으로 설정된 경우, 전자 장치는 노치 필터를 통해 동작 845에서 결정된 음원에서 1000Hz 내지 1100Hz의 주파수 대역에 해당하는 부분을 제거한 노치 음원을 생성할 수 있다.According to an embodiment, when the tinnitus frequency is determined to be a frequency band (eg, 1000 Hz to 1100 Hz) in operation 840, the electronic device may generate a notch sound source by removing a part corresponding to the tinnitus frequency band (eg, 1000 Hz to 1100 Hz) from the sound source determined in operation 845 through a notch filter. According to an embodiment, when the tinnitus frequency is determined to be a single frequency having a frequency bandwidth of 0 in operation 840, the electronic device may generate a notch sound source by removing a part corresponding to a frequency band having a specified bandwidth based on the tinnitus frequency in the sound source determined in operation 845 through a notch filter. The designated bandwidth may be arbitrarily set by the user, for example. For example, if the tinnitus frequency is set to 1050 Hz and the designated bandwidth is set to 100 Hz, the electronic device may generate a notch sound source by removing a portion corresponding to a frequency band of 1000 Hz to 1100 Hz from the sound source determined in operation 845 through a notch filter.

동작 855에서, 전자 장치는 동작 850에서 생성된 노치 음원이 외부 전자 장치를 통해 출력되도록 제어할 수 있다. 일 실시 예에 따르면, 전자 장치는 동작 850에서 생성된 노치 음원이 동작 835에서 이명 증상이 있는 것으로 식별된 귀에 대응하는 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230))를 통해 출력되도록 제어하는 제어 메시지를 통신 회로(예: 도 1의 통신 모듈(190))를 통해 외부 전자 장치로 전송할 수 있다. 이 경우, 전자 장치는 이명 증상이 있는 귀에 착용 된 외부 전자 장치를 통해서만 노치 음원이 출력되도록 제어함으로써 사용자의 이명 특성에 맞게 이명을 관리할 수 있다.In operation 855, the electronic device may control the notch sound source generated in operation 850 to be output through an external electronic device. According to an embodiment, the electronic device may transmit a control message for controlling the notch sound source generated in operation 850 to be output through an external electronic device (eg, the first external electronic device 220 of FIG. 2 and/or the second external electronic device 230) corresponding to the ear identified as having tinnitus in operation 835 to the external electronic device through a communication circuit (eg, the communication module 190 of FIG. 1 ). In this case, the electronic device can manage tinnitus according to the tinnitus characteristics of the user by controlling the notch sound source to be output only through the external electronic device worn on the ear with tinnitus symptoms.

동작 820에서 맞춤형 음원을 선택하는 사용자 입력을 수신한 경우, 동작 860에서, 전자 장치는 사용자의 좌측 귀와 우측 귀 중 이명 증상이 있는 귀를 식별할 수 있다. 동작 860은 동작 835의 이명 증상이 있는 귀를 식별하는 동작과 실질적으로 동일한 동작일 수 있다.When a user input for selecting a customized sound source is received in operation 820, in operation 860, the electronic device may identify an ear having a tinnitus symptom among the left ear and the right ear of the user. Operation 860 may be substantially the same operation as the operation 835 of identifying an ear with a tinnitus symptom.

일 실시 예에 따르면, 전자 장치는 이명 증상이 있는 귀의 방향 정보를 통신 회로를 통해 외부 서버(예: 도 7의 외부 서버(710))로 전송할 수 있다.According to an embodiment, the electronic device may transmit direction information of an ear with a tinnitus symptom to an external server (eg, the external server 710 of FIG. 7 ) through a communication circuit.

동작 865에서, 전자 장치는 사용자의 이명 특성에 최적화된 음원을 통신 회로를 통해 외부 서버(예: 도 7의 외부 서버(710))로부터 수신할 수 있다.In operation 865, the electronic device may receive a sound source optimized for the user's tinnitus characteristics from an external server (eg, the external server 710 of FIG. 7) through a communication circuit.

일 실시 예에 따르면, 외부 서버는 통신 네트워크를 통해 복수의 전자 장치(예: 도 7의 전자 장치(210))들로부터 수신된 사용자 정보, 이명 증상이 있는 귀의 방향 정보, 이명 주파수 정보, 사용자 선호 음원 정보, 사용자 청취 음원 정보, 및/또는 이명 상태 정보에 기초하여 개인별 이명 특성에 최적화된 음원을 추출할 수 있다. 예를 들어, 외부 서버는 사용자의 성별, 나이에 대한 정보에 기초하여 동일한 성별, 동일한 연령대에서 가장 선호되는 음원을 추출할 수 있다. 다른 예로, 외부 서버는 개인별 이명 특성에 대한 정보(예: 이명 증상이 있는 귀의 방향 정보, 이명 주파수 정보, 및/또는 이명 강도 정보) 및/또는 이명 설문 평가에 대한 사용자 응답 정보에 기초하여 특정 이명 특성에서 가장 이명 완화 정도가 높았던 음원을 추출할 수 있다. 외부 서버는 상기 추출된 음원을 통신 네트워크를 통해 전자 장치로 전송할 수 있다.According to an embodiment, the external server may extract a sound source optimized for individual tinnitus characteristics based on user information received from a plurality of electronic devices (e.g., the electronic device 210 of FIG. 7) through a communication network, information on the direction of the ear with tinnitus symptoms, tinnitus frequency information, user preferred sound source information, user listening sound source information, and/or tinnitus state information. For example, the external server may extract the most preferred sound source of the same gender and age based on information about the user's gender and age. As another example, the external server may extract a sound source having the highest degree of tinnitus relief in a specific tinnitus characteristic based on information on individual tinnitus characteristics (e.g., direction information, tinnitus frequency information, and/or tinnitus intensity information) and/or user response information for tinnitus questionnaire evaluation. The external server may transmit the extracted sound source to the electronic device through a communication network.

동작 870에서, 전자 장치는 동작 865에서 외부 서버로부터 수신한 음원이 외부 전자 장치를 통해 출력되도록 제어할 수 있다. 일 실시 예에 따르면, 전자 장치는 동작 865에서 수신된 음원이 동작 860에서 이명 증상이 있는 것으로 식별된 귀에 대응하는 외부 전자 장치(예: 도 2의 제1 외부 전자 장치(220) 및/또는 제2 외부 전자 장치(230))를 통해 출력되도록 제어하는 제어 메시지를 통신 회로를 통해 외부 전자 장치로 전송할 수 있다. 이 경우, 전자 장치는 이명 증상이 있는 귀에 착용 된 외부 전자 장치를 통해서만 노치 음원이 출력되도록 제어함으로써 사용자의 이명 특성에 맞게 이명을 관리할 수 있다.In operation 870, the electronic device may control the sound source received from the external server in operation 865 to be output through the external electronic device. According to an embodiment, the electronic device may transmit a control message for controlling the sound source received in operation 865 to be output through the external electronic device corresponding to the ear identified as having tinnitus in operation 860 (eg, the first external electronic device 220 and/or the second external electronic device 230 of FIG. 2 ) to the external electronic device through a communication circuit. In this case, the electronic device can manage tinnitus according to the tinnitus characteristics of the user by controlling the notch sound source to be output only through the external electronic device worn on the ear with tinnitus symptoms.

동작 875에서, 전자 장치는 이명 설문 평가를 통해 사용자의 이명 상태를 결정할 수 있다. 일 실시 예에 따르면, 전자 장치는 사용자의 이명 상태를 평가하기 위한 질문을 포함하는 사용자 인터페이스를 디스플레이에 표시할 수 있다. 사용자의 이명 상태를 평가하기 위한 질문은, 예를 들면, 이명의 발생 빈도, 이명의 지속시간, 이명 증상 완화 여부, 및/또는 이명 증상 완화 정도에 대한 질문을 포함할 수 있다. 전자 장치는 상기 질문에 대한 응답을 선택하는 사용자 입력에 기초하여 사용자의 이명 상태를 결정할 수 있다. 이명 상태는, 예를 들면, 일상생활에 지장이 없는 상태, 경도 장애, 중등도 장애, 및/또는 중증 장애를 포함할 수 있다.In operation 875, the electronic device may determine the tinnitus condition of the user through the tinnitus questionnaire evaluation. According to an embodiment, the electronic device may display a user interface including a question for evaluating a user's tinnitus condition on a display. Questions for evaluating the tinnitus condition of the user may include, for example, questions about the frequency of occurrence of tinnitus, the duration of tinnitus, relief of tinnitus symptoms, and/or the degree of relief of tinnitus symptoms. The electronic device may determine the tinnitus state of the user based on a user input for selecting a response to the question. The tinnitus condition may include, for example, a condition that does not interfere with daily life, a mild disability, a moderate disability, and/or a severe disability.

일 실시 예에 따르면, 전자 장치는 결정된 이명 상태에 대응하는 이명 상태 정보를 통신 회로를 통해 외부 서버(예: 도 7의 외부 서버(710))로 전송할 수 있다.According to an embodiment, the electronic device may transmit tinnitus state information corresponding to the determined tinnitus state to an external server (eg, the external server 710 of FIG. 7 ) through a communication circuit.

동작 880에서, 전자 장치는 피드백 정보를 표시할 수 있다. 일 실시 예에 따르면, 전자 장치는 동작 875에서 결정된 이명 상태에 대응하는 피드백 정보를 디스플레이에 표시할 수 있다. 예를 들어, 동작 875에서 결정된 이명 상태가 일상생활에 지장이 없는 상태인 경우 이명 관리가 필요하지 않다는 피드백 정보를 표시할 수 있다. 다른 예로, 동작 875에서 결정된 이명 상태가 경도 장애 이상인 경우 이명 관리가 필요하다는 피드백 정보를 표시할 수 있다. 피드백 정보는, 예를 들면, 이명 완화 여부, 이명 완화 정도, 이명 관리 필요 여부, 및/또는 사용자의 이명 상태에 최적화된 이명 완화 방법에 대한 정보를 포함할 수 있다.In operation 880, the electronic device may display feedback information. According to an embodiment, the electronic device may display feedback information corresponding to the tinnitus condition determined in operation 875 on the display. For example, if the tinnitus state determined in operation 875 is a state that does not interfere with daily life, feedback information indicating that tinnitus management is not required may be displayed. As another example, if the tinnitus condition determined in operation 875 is mild disability or higher, feedback information indicating that tinnitus management is necessary may be displayed. The feedback information may include, for example, information about tinnitus relief, degree of tinnitus relief, whether tinnitus management is necessary, and/or a tinnitus relief method optimized for the tinnitus condition of the user.

일 실시 예에 따르면, 전자 장치는 사용자에게 최적화된 피드백 정보를 통신 회로를 통해 외부 서버(예: 도 7의 외부 서버(710))로부터 수신할 수 있다. According to an embodiment, the electronic device may receive user-optimized feedback information from an external server (eg, the external server 710 of FIG. 7 ) through a communication circuit.

일 실시 예에 따르면, 외부 서버는 전자 장치로부터 수신한 사용자 정보, 이명 증상이 있는 귀의 방향 정보, 이명 주파수 정보, 사용자 선호 음원 정보, 사용자 청취 음원 정보, 및/또는 이명 상태 정보에 기초하여 사용자에게 최적화된 피드백 정보를 추출하여 전자 장치로 전송할 수 있다. 예를 들어, 외부 서버는 사용자가 이명 완화를 위해 시도한 적어도 하나의 방법 중 이명 완화 정도가 높은 방법을 추출할 수 있고, 추출된 방법을 전자 장치로 전송할 수 있다. 전자 장치는 외부 서버로부터 수신한 방법을 피드백 정보로서 디스플레이에 표시할 수 있다.According to an embodiment, the external server extracts feedback information optimized for the user based on user information received from the electronic device, direction information of the ear with tinnitus symptoms, tinnitus frequency information, user preferred sound source information, user listening sound source information, and/or tinnitus state information, and transmits the extracted feedback information to the electronic device. For example, the external server may extract a method with a high degree of tinnitus relief from among at least one method tried by the user for tinnitus relief, and transmit the extracted method to the electronic device. The electronic device may display the method received from the external server on the display as feedback information.

일 실시 예에 따르면, 외부 서버는 전자 장치로부터 수신한 사용자 정보, 이명 증상이 있는 귀의 방향 정보, 이명 주파수 정보, 사용자 선호 음원 정보, 사용자 청취 음원 정보, 및/또는 이명 상태 정보를 의료기관 서버(예: 도 7의 의료기관 서버(720))와 공유함에 따라 의료기관 서버로부터 피드백 정보를 수신할 수 있고, 수신된 피드백 정보를 전자 장치로 전송할 수 있다. 예를 들어, 의료기관 서버는 의사 등 이명 관련 전문가가 외부 서버로부터 제공받은 사용자 정보, 이명 증상이 있는 귀의 방향 정보, 이명 주파수 정보, 사용자 선호 음원 정보, 사용자 청취 음원 정보, 및/또는 이명 상태 정보에 기초하여 생성한 사용자에게 최적화된 이명 상담 정보 및/또는 이명 진료 정보를 통신 네트워크를 통해 외부 서버로 전송할 수 있다. 외부 서버는 의료기관 서버로부터 수신한 정보를 전자 장치로 전송할 수 있다. 전자 장치는 외부 서버로부터 수신한 정보를 피드백 정보로서 디스플레이에 표시할 수 있다.According to an embodiment, the external server may receive feedback information from the medical institution server by sharing user information received from the electronic device, direction information of the ear with tinnitus symptoms, tinnitus frequency information, user preferred sound source information, user listening sound source information, and/or tinnitus state information with the medical institution server (eg, the medical institution server 720 of FIG. 7 ), and transmit the received feedback information to the electronic device. For example, the medical institution server may transmit tinnitus consultation information and/or tinnitus treatment information optimized for a user generated by a tinnitus-related expert such as a doctor based on user information provided from an external server, direction information of ears with tinnitus symptoms, tinnitus frequency information, user preferred sound source information, user listening sound source information, and/or tinnitus condition information, to an external server through a communication network. The external server may transmit information received from the medical institution server to the electronic device. The electronic device may display information received from an external server on a display as feedback information.

이하, 도 9를 참고하여 일 실시 예에 따른 외부 서버가 개인별 이명 특성에 맞는 음원을 추출하는 방법에 대해 설명한다.Hereinafter, with reference to FIG. 9 , a method of extracting a sound source suitable for tinnitus characteristics for each individual by an external server according to an embodiment will be described.

도 9는 일 실시 예에 따른 외부 서버가 개인별 이명 특성에 맞는 음원을 추출하는 방법을 설명하기 위한 도면이다.9 is a diagram for explaining a method of extracting a sound source suitable for individual tinnitus characteristics by an external server according to an embodiment.

도 9를 참조하면, 외부 서버(710)(예: 도 7의 외부 서버(710))는 KNN(k-nearest neighbor) 알고리즘을 활용하여 복수의 전자 장치(예: 도 7의 전자 장치(210))들로부터 수신한 정보를 입력 변수로 하여 개인별 이명 특성에 맞는 음원을 추출할 수 있다. 또한, 외부 서버(710)는 CNN(convolution neural network) 알고리즘 및/또는 RNN(recurrent neural network) 알고리즘을 활용하여 추출된 음원들의 특성을 분석할 수 있고, 추출된 음원들을 음원들의 특성에 따라 데이터베이스화하여 저장할 수 있다.Referring to FIG. 9 , an external server 710 (eg, the external server 710 of FIG. 7 ) utilizes a k-nearest neighbor (KNN) algorithm to extract a sound source suitable for tinnitus characteristics for each individual using information received from a plurality of electronic devices (eg, the electronic device 210 of FIG. 7 ) as an input variable. In addition, the external server 710 may analyze the characteristics of the extracted sound sources by utilizing a convolution neural network (CNN) algorithm and / or a recurrent neural network (RNN) algorithm, and convert the extracted sound sources into a database according to the characteristics of the sound sources and store them.

일 실시 예에 따르면, 외부 서버(710)는 전자 장치(예: 도 7의 전자 장치(210))로부터 수신한 사용자 정보, 개인별 이명 특성 정보(예: 이명 증상이 있는 귀의 방향 정보, 이명 주파수 정보), 사용자 선호 음원 정보, 청취 음원 정보, 및/또는 이명 상태 정보를 입력 변수로 하여 사용자가 청취한 특정 음원에 의해 이명 증상이 완화된 정도 및/또는 상기 특정 음원에 대한 사용자의 선호도를 산출할 수 있다. 예를 들어, 도 8의 동작 845에서 사용자가 제1 음원을 선택하고, 상기 제1 음원을 청취한 후 도 8의 동작 875에서 수행된 이명 설문 평가를 위한 질문에 대한 응답을 선택하는 사용자 입력에 기초하여 상기 제1 음원에 의해 사용자의 이명 증상이 완화된 정도 및/또는 상기 제1 음원에 대한 사용자의 선호도를 산출할 수 있다.According to an embodiment, the external server 710 may use user information received from an electronic device (e.g., the electronic device 210 of FIG. 7), individual tinnitus characteristic information (e.g., direction information of an ear with tinnitus symptoms, tinnitus frequency information), user preferred sound source information, listening sound source information, and/or tinnitus state information as input variables to calculate the degree to which tinnitus symptoms are alleviated by a specific sound source listened to by the user and/or the user's preference for the specific sound source. For example, in operation 845 of FIG. 8, the user selects a first sound source, and after listening to the first sound source, the degree to which the user's tinnitus symptom is alleviated by the first sound source and/or the user's preference for the first sound source may be calculated based on a user input for selecting a response to a question for evaluating a tinnitus questionnaire performed in operation 875 of FIG. 8.

일 실시 예에 따르면, 외부 서버(710)는 상기 제1 음원에 의해 사용자의 이명 증상이 완화된 정도 및/또는 상기 제1 음원에 대한 사용자의 선호도에 기초하여 맞춤형 음원을 추출할 수 있다. 예를 들어, 외부 서버(710)는 상기 제1 음원에 의해 사용자의 이명 증상이 완화된 정도 및/또는 상기 제1 음원에 대한 사용자의 선호도가 외부 서버(710)에 저장된 다른 음원보다 높은 경우 제1 음원을 맞춤형 음원으로 추출할 수 있다. According to an embodiment, the external server 710 may extract a customized sound source based on the degree to which the tinnitus symptom of the user is alleviated by the first sound source and/or the user's preference for the first sound source. For example, the external server 710 may extract the first sound source as a customized sound source when the degree to which the tinnitus symptom of the user is alleviated by the first sound source and/or the user's preference for the first sound source is higher than other sound sources stored in the external server 710.

일 실시 예에 따르면, 외부 서버(710)는 추출된 맞춤형 음원의 특성을 분석할 수 있다. 예를 들어, 외부 서버(710)는 추출된 맞춤형 음원의 파형을 분석함으로써 음원의 특성을 분석할 수 있다.According to an embodiment, the external server 710 may analyze the characteristics of the extracted customized sound source. For example, the external server 710 may analyze the characteristics of the sound source by analyzing the extracted waveform of the customized sound source.

일 실시 예에 따르면, 외부 서버(710)는 분석된 음원의 특성을 기초로 음원들을 종류별로 분류 및 정렬하여 저장할 수 있다. 예를 들어, 추출된 맞춤형 음원이 소음인 것으로 분석된 경우 상기 맞춤형 음원의 종류를 소음으로 분류하여 저장할 수 있다.According to an embodiment, the external server 710 may classify, sort, and store sound sources by type based on the characteristics of the analyzed sound sources. For example, when it is analyzed that the extracted customized sound source is noise, the type of the customized sound source may be classified as noise and stored.

일 실시 예에 따르면, 외부 서버(710)는 저장된 맞춤형 음원들을 다른 사용자의 맞춤형 음원을 추출하는 데에 활용할 수 있다. 예를 들어, 도 8의 동작 845에서 다른 사용자가 제2 음원을 선택하고, 상기 제2 음원을 청취한 후 도 8의 동작 875에서 수행된 이명 설문 평가를 위한 질문에 대한 응답을 선택하는 사용자 입력에 기초하여 상기 제2 음원에 의해 다른 사용자의 이명 증상이 완화된 정도 및/또는 상기 제2 음원에 대한 다른 사용자의 선호도를 산출할 수 있다. 외부 서버(710)는 상기 제2 음원에 의해 다른 사용자의 이명 증상이 완화된 정도 및/또는 상기 제2 음원에 대한 다른 사용자의 선호도가 외부 서버(710)에 저장된 맞춤형 음원들보다 높은 경우 제2 음원을 맞춤형 음원으로 추출할 수 있다.According to an embodiment, the external server 710 may utilize stored customized sound sources to extract other user's customized sound sources. For example, another user selects a second sound source in operation 845 of FIG. 8, listens to the second sound source, and then selects a response to a question for tinnitus questionnaire evaluation performed in operation 875 of FIG. The external server 710 may extract the second sound source as a customized sound source when the degree to which the tinnitus symptoms of other users are alleviated by the second sound source and/or the other user's preference for the second sound source is higher than the customized sound sources stored in the external server 710.

본 문서에서 개시되는 일 실시 예에 따른 전자 장치는, 적어도 하나의 외부 전자 장치와 통신을 하기 위한 통신 회로, 적어도 하나의 음원 및 이명 주파수 검사를 위한 적어도 하나의 테스트 음향을 저장하는 메모리, 및 상기 통신 회로 및 상기 메모리와 전기적으로 연결된 프로세서를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가 이명 증상이 있는 귀의 방향을 선택하는 제1 사용자 입력에 기초하여 좌측 귀와 우측 귀 중 이명 증상이 있는 귀를 식별하고, 상기 적어도 하나의 테스트 음향을 상기 식별된 귀에 대응하는 외부 전자 장치를 통해 출력되도록 제어하는 제1 제어 메시지를 상기 통신 회로를 통해 상기 외부 전자 장치로 전송하고, 상기 적어도 하나의 테스트 음향 중 하나의 테스트 음향을 선택하는 제2 사용자 입력에 기초하여 상기 선택된 테스트 음향에 대응하는 주파수를 이명 주파수로 결정하고, 상기 적어도 하나의 음원 중 제1 음원에서 상기 이명 주파수에 해당하는 부분을 제거한 제2 음원을 생성하고, 상기 제2 음원이 상기 외부 전자 장치를 통해 출력되도록 제어하는 제2 제어 메시지를 상기 통신 회로를 통해 상기 외부 전자 장치로 전송하도록 하는 인스트럭션들(instructions)을 저장할 수 있다.An electronic device according to an embodiment disclosed in this document includes a communication circuit for communicating with at least one external electronic device, a memory for storing at least one sound source and at least one test sound for testing a tinnitus frequency, and a processor electrically connected to the communication circuit and the memory, wherein the memory identifies an ear with a tinnitus symptom from among a left ear and a right ear based on a first user input for selecting a direction of the ear with tinnitus symptom when the processor is executed, and transmits the at least one test sound to the identified ear. A first control message for controlling output through a corresponding external electronic device is transmitted to the external electronic device through the communication circuit, a frequency corresponding to the selected test sound is determined as a tinnitus frequency based on a second user input for selecting one of the at least one test sound, a second sound source is generated by removing a part corresponding to the tinnitus frequency from the first sound source, and a second control message is output through the external electronic device through the communication circuit. You can store instructions (instructions) to send to.

본 문서에서 개시되는 일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 상기 제1 사용자 입력에 기초한 이명 증상이 있는 귀의 방향 정보 또는 상기 제2 사용자 입력에 기초한 이명 주파수 정보 중 적어도 하나를 포함하는 제1 정보를 상기 통신 회로를 통해 외부 서버로 전송하고, 상기 외부 서버가 수신된 상기 제1 정보에 기초하여 생성한 사용자의 이명 특성에 최적화된 제3 음원을 상기 통신 회로를 통해 상기 외부 서버로부터 수신하고, 상기 제3 음원이 상기 외부 전자 장치를 통해 출력되도록 제어하는 제3 제어 메시지를 상기 통신 회로를 통해 상기 외부 전자 장치로 전송하도록 할 수 있다.According to an embodiment disclosed in this document, the instructions include the processor transmitting first information including at least one of direction information of a tinnitus symptom based on the first user input or tinnitus frequency information based on the second user input to an external server through the communication circuit, receiving a third sound source optimized for the tinnitus characteristics of the user, generated by the external server based on the received first information, from the external server through the communication circuit, and outputting the third sound source through the external electronic device. A third control message for controlling to be transmitted to the external electronic device through the communication circuit.

본 문서에서 개시되는 일 실시 예에 따른 전자 장치는, 디스플레이를 포함하고, 상기 디스플레이는 상기 프로세서와 전기적으로 연결되고, 상기 인스트럭션들은 상기 프로세서가, 사용자의 이명 상태를 평가하기 위한 질문을 포함하는 사용자 인터페이스를 상기 디스플레이를 통해 표시하고, 상기 질문에 대한 응답을 선택하는 제3 사용자 입력에 기초하여 사용자의 이명 상태를 결정하도록 할 수 있다.An electronic device according to an embodiment disclosed in this document may include a display, the display may be electrically connected to the processor, and the instructions may cause the processor to display a user interface including a question for evaluating the tinnitus state of the user through the display, and to determine the tinnitus state of the user based on a third user input for selecting a response to the question.

본 문서에서 개시되는 일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 상기 결정된 이명 상태에 대응하는 피드백 정보를 상기 디스플레이를 통해 표시하도록 할 수 있다.According to an embodiment disclosed in this document, the instructions may cause the processor to display feedback information corresponding to the determined tinnitus condition through the display.

본 문서에서 개시되는 일 실시 예에 따르면, 상기 피드백 정보는 이명 완화 여부, 이명 완화 정도, 이명 관리 필요 여부, 또는 상기 결정된 이명 상태에 최적화된 이명 완화 방법 중 적어도 하나를 포함할 수 있다.According to an embodiment disclosed in this document, the feedback information may include at least one of tinnitus relief, degree of tinnitus relief, necessity of tinnitus management, or a tinnitus relief method optimized for the determined tinnitus condition.

본 문서에서 개시되는 일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 상기 제3 사용자 입력에 기초한 이명 상태 정보를 상기 통신 회로를 통해 외부 서버로 전송하고, 상기 피드백 정보를 상기 통신 회로를 통해 상기 외부 서버로부터 수신하도록 하고, 상기 피드백 정보는, 상기 외부 서버가 수신된 상기 이명 상태 정보를 의료기관 서버와 공유함에 따라 상기 의료기관 서버로부터 수신한 정보일 수 있다.According to an embodiment disclosed in this document, the instructions cause the processor to transmit tinnitus status information based on the third user input to an external server through the communication circuit, and to receive the feedback information from the external server through the communication circuit, and the feedback information may be information received from the medical institution server as the external server shares the received tinnitus status information with the medical institution server.

본 문서에서 개시되는 일 실시 예에 따르면, 상기 피드백 정보는 이명 상담 정보 또는 이명 진료 정보 중 적어도 하나를 포함할 수 있다.According to an embodiment disclosed in this document, the feedback information may include at least one of tinnitus counseling information and tinnitus treatment information.

본 문서에서 개시되는 일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 상기 제1 사용자 입력에 기초한 이명 증상이 있는 귀의 방향 정보, 상기 제2 사용자 입력에 기초한 이명 주파수 정보, 또는 상기 제3 사용자 입력에 기초한 이명 상태 정보 중 적어도 하나를 포함하는 제2 정보를 상기 통신 회로를 통해 외부 서버로 전송하고, 상기 외부 서버가 수신된 상기 제2 정보에 기초하여 생성한 사용자의 이명 특성에 최적화된 제4 음원을 상기 통신 회로를 통해 상기 외부 서버로부터 수신하고, 상기 제4 음원이 상기 외부 전자 장치를 통해 출력되도록 제어하는 제4 제어 메시지를 상기 통신 회로를 통해 상기 외부 전자 장치로 전송하도록 할 수 있다.According to an embodiment disclosed in this document, the instructions include the processor transmitting second information including at least one of direction information of the ear with tinnitus symptom based on the first user input, tinnitus frequency information based on the second user input, and tinnitus state information based on the third user input to an external server through the communication circuit, and receiving a fourth sound source optimized for the tinnitus characteristics of the user, generated by the external server based on the received second information, from the external server through the communication circuit. and transmit a fourth control message for controlling output of the fourth sound source through the external electronic device to the external electronic device through the communication circuit.

본 문서에서 개시되는 일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 사용자가 상기 외부 전자 장치를 통해 상기 적어도 하나의 음원을 듣는 동안 상기 외부 전자 장치가 감지한 사용자의 생체 정보를 상기 통신 회로를 통해 상기 외부 전자 장치로부터 수신하도록 하고, 상기 제1 음원은 상기 수신된 생체 정보에 기초하여 상기 적어도 하나의 음원 중 듣는 동안 사용자의 심박수가 감소하는 음원일 수 있다.According to an embodiment disclosed in this document, the instructions cause the processor to receive biometric information of the user sensed by the external electronic device while the user is listening to the at least one sound source through the external electronic device from the external electronic device through the communication circuit, and the first sound source may be a sound source for which the user's heart rate decreases while listening, among the at least one sound source based on the received biometric information.

본 문서에서 개시되는 일 실시 예에 따른 전자 장치는, 디스플레이를 포함하고, 상기 디스플레이는 상기 프로세서와 전기적으로 연결되고, 상기 인스트럭션들은 상기 프로세서가, 주변 소음 정보에 기초하여 주변 소음이 지정된 수준 이상인 것으로 판단함에 따라 지정된 안내 문구를 상기 디스플레이를 통해 표시하도록 하고, 상기 주변 소음 정보는 상기 전자 장치가 감지한 제1 주변 소음 정보 또는 상기 외부 전자 장치가 감지한 제2 주변 소음 정보 중 적어도 하나를 포함할 수 있다.An electronic device according to an embodiment disclosed in this document includes a display, the display is electrically connected to the processor, and the instructions cause the processor to display a specified guide phrase through the display when the ambient noise is determined to be above a specified level based on ambient noise information, and the ambient noise information may include at least one of first ambient noise information detected by the electronic device and second ambient noise information detected by the external electronic device.

본 문서에서 개시되는 일 실시 예에 따른 전자 장치의 동작 방법은, 이명 증상이 있는 귀의 방향을 선택하는 제1 사용자 입력에 기초하여 좌측 귀와 우측 귀 중 이명 증상이 있는 귀를 식별하고, 적어도 하나의 테스트 음향을 상기 식별된 귀에 대응하는 외부 전자 장치를 통해 출력되도록 제어하는 제1 제어 메시지를 상기 외부 전자 장치로 전송하고, 상기 적어도 하나의 테스트 음향 중 하나의 테스트 음향을 선택하는 제2 사용자 입력에 기초하여 상기 선택된 테스트 음향에 대응하는 주파수를 이명 주파수로 결정하고, 적어도 하나의 음원 중 제1 음원에서 상기 이명 주파수에 해당하는 부분을 제거한 제2 음원을 생성하고, 상기 제2 음원이 상기 외부 전자 장치를 통해 출력되도록 제어하는 제2 제어 메시지를 상기 외부 전자 장치로 전송할 수 있다.An operating method of an electronic device according to an embodiment disclosed in this document includes identifying an ear with a tinnitus symptom from among a left ear and a right ear based on a first user input for selecting a direction of the ear with tinnitus symptoms, transmitting a first control message for controlling output of at least one test sound through an external electronic device corresponding to the identified ear to the external electronic device, and determining a frequency corresponding to the selected test sound as the tinnitus frequency based on a second user input for selecting one test sound from among the at least one test sound. , Of at least one sound source, a second sound source is generated by removing a part corresponding to the tinnitus frequency from the first sound source, and a second control message for controlling the second sound source to be output through the external electronic device. Can be transmitted to the external electronic device.

본 문서에서 개시되는 일 실시 예에 따른 전자 장치의 동작 방법은, 상기 제1 사용자 입력에 기초한 이명 증상이 있는 귀의 방향 정보 또는 상기 제2 사용자 입력에 기초한 이명 주파수 정보 중 적어도 하나를 포함하는 제1 정보를 외부 서버로 전송하고, 상기 외부 서버가 수신된 상기 제1 정보에 기초하여 생성한 사용자의 이명 특성에 최적화된 제3 음원을 상기 외부 서버로부터 수신하고, 상기 제3 음원이 상기 외부 전자 장치를 통해 출력되도록 제어하는 제3 제어 메시지를 상기 외부 전자 장치로 전송할 수 있다.An operating method of an electronic device according to an embodiment disclosed in this document includes transmitting first information including at least one of direction information of a tinnitus symptom based on the first user input or tinnitus frequency information based on the second user input to an external server, receiving a third sound source optimized for the tinnitus characteristics of a user generated by the external server based on the received first information from the external server, and controlling the third sound source to be output through the external electronic device to the external electronic device. can transmit

본 문서에서 개시되는 일 실시 예에 따른 전자 장치의 동작 방법은, 사용자의 이명 상태를 평가하기 위한 질문을 포함하는 사용자 인터페이스를 상기 전자 장치의 디스플레이를 통해 표시하고, 상기 질문에 대한 응답을 선택하는 제3 사용자 입력에 기초하여 사용자의 이명 상태를 결정할 수 있다.An operating method of an electronic device according to an embodiment disclosed in this document may display a user interface including a question for evaluating a user's tinnitus state through a display of the electronic device, and determine a user's tinnitus state based on a third user input for selecting a response to the question.

본 문서에서 개시되는 일 실시 예에 따른 전자 장치의 동작 방법은, 상기 결정된 이명 상태에 대응하는 피드백 정보를 상기 디스플레이를 통해 표시할 수 있다.A method of operating an electronic device according to an embodiment disclosed in this document may display feedback information corresponding to the determined tinnitus state through the display.

본 문서에서 개시되는 일 실시 예에 따르면, 상기 피드백 정보는 이명 완화 여부, 이명 완화 정도, 이명 관리 필요 여부, 또는 상기 결정된 이명 상태에 최적화된 이명 완화 방법 중 적어도 하나를 포함할 수 있다.According to an embodiment disclosed in this document, the feedback information may include at least one of tinnitus relief, degree of tinnitus relief, necessity of tinnitus management, or a tinnitus relief method optimized for the determined tinnitus condition.

본 문서에서 개시되는 일 실시 예에 따른 전자 장치의 동작 방법은, 상기 제3 사용자 입력에 기초한 이명 상태 정보를 외부 서버로 전송하고, 상기 피드백 정보를 상기 외부 서버로부터 수신하고, 상기 피드백 정보는, 상기 외부 서버가 수신된 상기 이명 상태 정보를 의료기관 서버와 공유함에 따라 상기 의료기관 서버로부터 수신한 정보일 수 있다.An operating method of an electronic device according to an embodiment disclosed in this document may transmit tinnitus status information based on the third user input to an external server, receive the feedback information from the external server, and the feedback information may be information received from the medical institution server as the external server shares the received tinnitus status information with the medical institution server.

본 문서에서 개시되는 일 실시 예에 따르면, 상기 피드백 정보는 이명 상담 정보 또는 이명 진료 정보 중 적어도 하나를 포함할 수 있다.According to an embodiment disclosed in this document, the feedback information may include at least one of tinnitus counseling information and tinnitus treatment information.

본 문서에서 개시되는 일 실시 예에 따른 전자 장치의 동작 방법은, 상기 제1 사용자 입력에 기초한 이명 증상이 있는 귀의 방향 정보, 상기 제2 사용자 입력에 기초한 이명 주파수 정보, 또는 상기 제3 사용자 입력에 기초한 이명 상태 정보 중 적어도 하나를 포함하는 제2 정보를 외부 서버로 전송하고, 상기 외부 서버가 수신된 상기 제2 정보에 기초하여 생성한 사용자의 이명 특성에 최적화된 제4 음원을 상기 외부 서버로부터 수신하고, 상기 제4 음원이 상기 외부 전자 장치를 통해 출력되도록 제어하는 제4 제어 메시지를 상기 외부 전자 장치로 전송할 수 있다.A method of operating an electronic device according to an embodiment disclosed in this document includes transmitting second information including at least one of direction information of an ear with tinnitus symptoms based on the first user input, tinnitus frequency information based on the second user input, and tinnitus state information based on the third user input to an external server, receiving a fourth sound source optimized for the tinnitus characteristics of a user, generated by the external server based on the received second information, from the external server, and the fourth sound source via the external electronic device. A fourth control message for controlling to be output may be transmitted to the external electronic device.

본 문서에서 개시되는 일 실시 예에 따른 전자 장치의 동작 방법은, 사용자가 상기 외부 전자 장치를 통해 상기 적어도 하나의 음원을 듣는 동안 상기 외부 전자 장치가 감지한 사용자의 생체 정보를 상기 외부 전자 장치로부터 수신하고, 상기 수신된 생체 정보에 기초하여 상기 적어도 하나의 음원 중 듣는 동안 사용자의 심박수가 감소하는 제5 음원을 선택하고, 상기 선택된 제5 음원이 상기 외부 전자 장치를 통해 출력되도록 제어하는 제5 제어 메시지를 상기 외부 전자 장치로 전송할 수 있다.An operating method of an electronic device according to an embodiment disclosed in this document may include receiving biometric information of the user detected by the external electronic device while the user is listening to the at least one sound source through the external electronic device, selecting a fifth sound source whose heart rate decreases while listening to the user based on the received biometric information, and transmitting a fifth control message to the external electronic device for controlling such that the selected fifth sound source is output through the external electronic device.

본 문서에서 개시되는 일 실시 예에 따른 전자 장치의 동작 방법은, 주변 소음 정보에 기초하여 주변 소음이 지정된 수준 이상인 것으로 판단함에 따라 지정된 안내 문구를 상기 전자 장치의 디스플레이를 통해 표시하고, 상기 주변 소음 정보는 상기 전자 장치가 감지한 제1 주변 소음 정보 또는 상기 외부 전자 장치가 감지한 제2 주변 소음 정보 중 적어도 하나를 포함할 수 있다.According to an operating method of an electronic device according to an embodiment disclosed in this document, when it is determined that the ambient noise is equal to or greater than a specified level based on ambient noise information, a designated guide phrase is displayed on the display of the electronic device, and the ambient noise information may include at least one of first ambient noise information detected by the electronic device and second ambient noise information detected by the external electronic device.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. 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. An electronic device according to an embodiment of the present document is not limited to the aforementioned devices.

본 문서의 다양한 실시 예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시 예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, like reference numbers may be used for like or related elements. The singular form of a noun corresponding to an item may include one item or a plurality of items, unless the relevant context clearly dictates otherwise. In this document, each of the phrases such as "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "at least one of A, B, or C" may include any one of the items listed together in the corresponding phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may be used simply to distinguish a corresponding component from other corresponding components, and do not limit the corresponding components in other respects (e.g., importance or order). When a (e.g., a first) component is referred to as “coupled” or “connected” to another (e.g., a second) component, with or without the terms “functionally” or “communicatively,” it means that the component may be connected to the other component directly (e.g., 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 may be used interchangeably with terms such as, for example, logic, logical block, component, or circuit. A module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions. For example, according to one 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 this document may be implemented as software (eg, program 140) including one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). For example, a processor (eg, the processor 120 ) of a device (eg, the electronic device 101 ) may call at least one command among one or more instructions stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. 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-temporary' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term does not distinguish between the case where data is semi-permanently stored in the storage medium and the case where it is temporarily stored.

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

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

Claims (20)

전자 장치에 있어서,
적어도 하나의 외부 전자 장치와 통신을 하기 위한 통신 회로;
적어도 하나의 음원 및 이명 주파수 검사를 위한 적어도 하나의 테스트 음향을 저장하는 메모리; 및
상기 통신 회로 및 상기 메모리와 전기적으로 연결된 프로세서;를 포함하고,
상기 메모리는, 실행 시에, 상기 프로세서가:
이명 증상이 있는 귀의 방향을 선택하는 제1 사용자 입력에 기초하여 좌측 귀와 우측 귀 중 이명 증상이 있는 귀를 식별하고,
상기 적어도 하나의 테스트 음향을 상기 식별된 귀에 대응하는 외부 전자 장치를 통해 출력되도록 제어하는 제1 제어 메시지를 상기 통신 회로를 통해 상기 외부 전자 장치로 전송하고,
상기 적어도 하나의 테스트 음향 중 하나의 테스트 음향을 선택하는 제2 사용자 입력에 기초하여 상기 선택된 테스트 음향에 대응하는 주파수를 이명 주파수로 결정하고,
상기 적어도 하나의 음원 중 제1 음원에서 상기 이명 주파수에 해당하는 부분을 제거한 제2 음원을 생성하고,
상기 제2 음원이 상기 외부 전자 장치를 통해 출력되도록 제어하는 제2 제어 메시지를 상기 통신 회로를 통해 상기 외부 전자 장치로 전송하도록 하는 인스트럭션들을 저장하는, 전자 장치.
In electronic devices,
a communication circuit for communicating with at least one external electronic device;
a memory for storing at least one sound source and at least one test sound for a tinnitus frequency test; and
A processor electrically connected to the communication circuit and the memory;
The memory, when executed, causes the processor to:
Based on a first user input for selecting a direction of the ear with tinnitus symptoms, an ear with tinnitus symptoms is identified among the left ear and the right ear;
Transmitting a first control message for controlling output of the at least one test sound through the external electronic device corresponding to the identified ear to the external electronic device through the communication circuit;
Determine a frequency corresponding to the selected test sound as a tinnitus frequency based on a second user input for selecting one test sound from among the at least one test sound;
generating a second sound source by removing a part corresponding to the tinnitus frequency from a first sound source among the at least one sound source;
and storing instructions for transmitting a second control message for controlling output of the second sound source through the external electronic device to the external electronic device through the communication circuit.
제1 항에 있어서, 상기 인스트럭션들은 상기 프로세서가,
상기 제1 사용자 입력에 기초한 이명 증상이 있는 귀의 방향 정보 또는 상기 제2 사용자 입력에 기초한 이명 주파수 정보 중 적어도 하나를 포함하는 제1 정보를 상기 통신 회로를 통해 외부 서버로 전송하고,
상기 외부 서버가 수신된 상기 제1 정보에 기초하여 생성한 사용자의 이명 특성에 최적화된 제3 음원을 상기 통신 회로를 통해 상기 외부 서버로부터 수신하고,
상기 제3 음원이 상기 외부 전자 장치를 통해 출력되도록 제어하는 제3 제어 메시지를 상기 통신 회로를 통해 상기 외부 전자 장치로 전송하도록 하는, 전자 장치.
The method of claim 1, wherein the instructions are the processor,
Transmitting first information including at least one of direction information of a tinnitus symptom based on the first user input or tinnitus frequency information based on the second user input to an external server through the communication circuit;
Receiving a third sound source optimized for tinnitus characteristics of a user generated by the external server based on the received first information from the external server through the communication circuit;
and transmits a third control message for controlling output of the third sound source through the external electronic device to the external electronic device through the communication circuit.
제1 항에 있어서,
디스플레이;를 포함하고,
상기 디스플레이는 상기 프로세서와 전기적으로 연결되고,
상기 인스트럭션들은 상기 프로세서가,
사용자의 이명 상태를 평가하기 위한 질문을 포함하는 사용자 인터페이스를 상기 디스플레이를 통해 표시하고,
상기 질문에 대한 응답을 선택하는 제3 사용자 입력에 기초하여 사용자의 이명 상태를 결정하도록 하는, 전자 장치.
According to claim 1,
Including; display;
The display is electrically connected to the processor,
The instructions cause the processor to:
displaying a user interface including a question for evaluating a user's tinnitus condition through the display;
An electronic device for determining a tinnitus state of a user based on a third user input for selecting a response to the question.
제3 항에 있어서, 상기 인스트럭션들은 상기 프로세서가,
상기 결정된 이명 상태에 대응하는 피드백 정보를 상기 디스플레이를 통해 표시하도록 하는, 전자 장치.
The method of claim 3, wherein the instructions are the processor,
An electronic device that displays feedback information corresponding to the determined tinnitus condition through the display.
제4 항에 있어서,
상기 피드백 정보는 이명 완화 여부, 이명 완화 정도, 이명 관리 필요 여부, 또는 상기 결정된 이명 상태에 최적화된 이명 완화 방법 중 적어도 하나를 포함하는, 전자 장치.
According to claim 4,
Wherein the feedback information includes at least one of tinnitus relief, degree of tinnitus relief, whether tinnitus management is necessary, or a tinnitus alleviation method optimized for the determined tinnitus condition.
제4 항에 있어서, 상기 인스트럭션들은 상기 프로세서가,
상기 제3 사용자 입력에 기초한 이명 상태 정보를 상기 통신 회로를 통해 외부 서버로 전송하고,
상기 피드백 정보를 상기 통신 회로를 통해 상기 외부 서버로부터 수신하도록 하고,
상기 피드백 정보는, 상기 외부 서버가 수신된 상기 이명 상태 정보를 의료기관 서버와 공유함에 따라 상기 의료기관 서버로부터 수신한 정보인, 전자 장치.
The method of claim 4, wherein the instructions are the processor,
Transmitting tinnitus state information based on the third user input to an external server through the communication circuit;
receive the feedback information from the external server through the communication circuit;
The feedback information is information received from the medical institution server as the external server shares the received tinnitus state information with the medical institution server.
제6 항에 있어서,
상기 피드백 정보는 이명 상담 정보 또는 이명 진료 정보 중 적어도 하나를 포함하는, 전자 장치.
According to claim 6,
The feedback information includes at least one of tinnitus counseling information and tinnitus treatment information.
제3 항에 있어서, 상기 인스트럭션들은 상기 프로세서가,
상기 제1 사용자 입력에 기초한 이명 증상이 있는 귀의 방향 정보, 상기 제2 사용자 입력에 기초한 이명 주파수 정보, 또는 상기 제3 사용자 입력에 기초한 이명 상태 정보 중 적어도 하나를 포함하는 제2 정보를 상기 통신 회로를 통해 외부 서버로 전송하고,
상기 외부 서버가 수신된 상기 제2 정보에 기초하여 생성한 사용자의 이명 특성에 최적화된 제4 음원을 상기 통신 회로를 통해 상기 외부 서버로부터 수신하고,
상기 제4 음원이 상기 외부 전자 장치를 통해 출력되도록 제어하는 제4 제어 메시지를 상기 통신 회로를 통해 상기 외부 전자 장치로 전송하도록 하는, 전자 장치.
The method of claim 3, wherein the instructions are the processor,
Transmitting second information including at least one of direction information of the ear with tinnitus symptom based on the first user input, tinnitus frequency information based on the second user input, or tinnitus state information based on the third user input to an external server through the communication circuit;
Receiving a fourth sound source optimized for tinnitus characteristics of a user generated by the external server based on the received second information from the external server through the communication circuit;
and transmits a fourth control message for controlling output of the fourth sound source through the external electronic device to the external electronic device through the communication circuit.
제1 항에 있어서, 상기 인스트럭션들은 상기 프로세서가,
사용자가 상기 외부 전자 장치를 통해 상기 적어도 하나의 음원을 듣는 동안 상기 외부 전자 장치가 감지한 사용자의 생체 정보를 상기 통신 회로를 통해 상기 외부 전자 장치로부터 수신하도록 하고,
상기 제1 음원은 상기 수신된 생체 정보에 기초하여 상기 적어도 하나의 음원 중 듣는 동안 사용자의 심박수가 감소하는 음원인, 전자 장치.
The method of claim 1, wherein the instructions are the processor,
While the user listens to the at least one sound source through the external electronic device, the user's biometric information sensed by the external electronic device is received from the external electronic device through the communication circuit;
The first sound source is a sound source for which a user's heart rate decreases while listening among the at least one sound source based on the received biometric information.
제1 항에 있어서,
디스플레이;를 포함하고,
상기 디스플레이는 상기 프로세서와 전기적으로 연결되고,
상기 인스트럭션들은 상기 프로세서가,
주변 소음 정보에 기초하여 주변 소음이 지정된 수준 이상인 것으로 판단함에 따라 지정된 안내 문구를 상기 디스플레이를 통해 표시하도록 하고,
상기 주변 소음 정보는 상기 전자 장치가 감지한 제1 주변 소음 정보 또는 상기 외부 전자 장치가 감지한 제2 주변 소음 정보 중 적어도 하나를 포함하는, 전자 장치.
According to claim 1,
Including; display;
The display is electrically connected to the processor,
The instructions cause the processor to:
Based on the ambient noise information, when it is determined that the ambient noise is equal to or greater than a specified level, a specified guide phrase is displayed on the display;
The ambient noise information includes at least one of first ambient noise information detected by the electronic device and second ambient noise information detected by the external electronic device.
전자 장치의 동작 방법에 있어서,
이명 증상이 있는 귀의 방향을 선택하는 제1 사용자 입력에 기초하여 좌측 귀와 우측 귀 중 이명 증상이 있는 귀를 식별하고,
적어도 하나의 테스트 음향을 상기 식별된 귀에 대응하는 외부 전자 장치를 통해 출력되도록 제어하는 제1 제어 메시지를 상기 외부 전자 장치로 전송하고,
상기 적어도 하나의 테스트 음향 중 하나의 테스트 음향을 선택하는 제2 사용자 입력에 기초하여 상기 선택된 테스트 음향에 대응하는 주파수를 이명 주파수로 결정하고,
적어도 하나의 음원 중 제1 음원에서 상기 이명 주파수에 해당하는 부분을 제거한 제2 음원을 생성하고,
상기 제2 음원이 상기 외부 전자 장치를 통해 출력되도록 제어하는 제2 제어 메시지를 상기 외부 전자 장치로 전송하는, 전자 장치의 동작 방법.
In the operating method of the electronic device,
Based on a first user input for selecting a direction of the ear with tinnitus symptoms, an ear with tinnitus symptoms is identified among the left ear and the right ear;
Transmitting a first control message for controlling output of at least one test sound through the external electronic device corresponding to the identified ear to the external electronic device;
Determine a frequency corresponding to the selected test sound as a tinnitus frequency based on a second user input for selecting one test sound from among the at least one test sound;
generating a second sound source by removing a part corresponding to the tinnitus frequency from a first sound source among at least one sound source;
Transmitting a second control message for controlling output of the second sound source through the external electronic device to the external electronic device.
제11 항에 있어서,
상기 제1 사용자 입력에 기초한 이명 증상이 있는 귀의 방향 정보 또는 상기 제2 사용자 입력에 기초한 이명 주파수 정보 중 적어도 하나를 포함하는 제1 정보를 외부 서버로 전송하고,
상기 외부 서버가 수신된 상기 제1 정보에 기초하여 생성한 사용자의 이명 특성에 최적화된 제3 음원을 상기 외부 서버로부터 수신하고,
상기 제3 음원이 상기 외부 전자 장치를 통해 출력되도록 제어하는 제3 제어 메시지를 상기 외부 전자 장치로 전송하는, 전자 장치의 동작 방법.
According to claim 11,
Transmitting first information including at least one of direction information of a tinnitus symptom based on the first user input or tinnitus frequency information based on the second user input to an external server;
Receiving a third sound source optimized for the tinnitus characteristics of the user, generated by the external server based on the received first information, from the external server;
Transmitting a third control message for controlling the third sound source to be output through the external electronic device to the external electronic device.
제11 항에 있어서,
사용자의 이명 상태를 평가하기 위한 질문을 포함하는 사용자 인터페이스를 상기 전자 장치의 디스플레이를 통해 표시하고,
상기 질문에 대한 응답을 선택하는 제3 사용자 입력에 기초하여 사용자의 이명 상태를 결정하는, 전자 장치의 동작 방법.
According to claim 11,
Displaying a user interface including a question for evaluating a user's tinnitus condition through a display of the electronic device;
A method of operating an electronic device that determines a tinnitus state of a user based on a third user input for selecting a response to the question.
제13 항에 있어서,
상기 결정된 이명 상태에 대응하는 피드백 정보를 상기 디스플레이를 통해 표시하는, 전자 장치의 동작 방법.
According to claim 13,
A method of operating an electronic device that displays feedback information corresponding to the determined tinnitus state through the display.
제14 항에 있어서,
상기 피드백 정보는 이명 완화 여부, 이명 완화 정도, 이명 관리 필요 여부, 또는 상기 결정된 이명 상태에 최적화된 이명 완화 방법 중 적어도 하나를 포함하는, 전자 장치의 동작 방법.
According to claim 14,
The feedback information includes at least one of tinnitus relief, tinnitus relief degree, tinnitus management necessity, or a tinnitus relief method optimized for the determined tinnitus condition.
제14 항에 있어서,
상기 제3 사용자 입력에 기초한 이명 상태 정보를 외부 서버로 전송하고,
상기 피드백 정보를 상기 외부 서버로부터 수신하고,
상기 피드백 정보는, 상기 외부 서버가 수신된 상기 이명 상태 정보를 의료기관 서버와 공유함에 따라 상기 의료기관 서버로부터 수신한 정보인, 전자 장치의 동작 방법.
According to claim 14,
Transmitting tinnitus status information based on the third user input to an external server;
Receiving the feedback information from the external server;
The feedback information is information received from the medical institution server as the external server shares the received tinnitus state information with the medical institution server.
제16 항에 있어서,
상기 피드백 정보는 이명 상담 정보 또는 이명 진료 정보 중 적어도 하나를 포함하는, 전자 장치의 동작 방법.
According to claim 16,
The feedback information includes at least one of tinnitus counseling information and tinnitus treatment information.
제13 항에 있어서,
상기 제1 사용자 입력에 기초한 이명 증상이 있는 귀의 방향 정보, 상기 제2 사용자 입력에 기초한 이명 주파수 정보, 또는 상기 제3 사용자 입력에 기초한 이명 상태 정보 중 적어도 하나를 포함하는 제2 정보를 외부 서버로 전송하고,
상기 외부 서버가 수신된 상기 제2 정보에 기초하여 생성한 사용자의 이명 특성에 최적화된 제4 음원을 상기 외부 서버로부터 수신하고,
상기 제4 음원이 상기 외부 전자 장치를 통해 출력되도록 제어하는 제4 제어 메시지를 상기 외부 전자 장치로 전송하는, 전자 장치의 동작 방법.
According to claim 13,
Transmitting second information including at least one of direction information of a tinnitus symptom based on the first user input, tinnitus frequency information based on the second user input, or tinnitus state information based on the third user input to an external server,
Receiving from the external server a fourth sound source optimized for the tinnitus characteristics of the user, generated by the external server based on the received second information;
Transmitting a fourth control message for controlling the fourth sound source to be output through the external electronic device to the external electronic device.
제11 항에 있어서,
사용자가 상기 외부 전자 장치를 통해 상기 적어도 하나의 음원을 듣는 동안 상기 외부 전자 장치가 감지한 사용자의 생체 정보를 상기 외부 전자 장치로부터 수신하고,
상기 수신된 생체 정보에 기초하여 상기 적어도 하나의 음원 중 듣는 동안 사용자의 심박수가 감소하는 제5 음원을 선택하고,
상기 선택된 제5 음원이 상기 외부 전자 장치를 통해 출력되도록 제어하는 제5 제어 메시지를 상기 외부 전자 장치로 전송하는, 전자 장치의 동작 방법.
According to claim 11,
While the user is listening to the at least one sound source through the external electronic device, the user's biometric information detected by the external electronic device is received from the external electronic device;
Selecting a fifth sound source to which the user's heart rate decreases while listening among the at least one sound source based on the received biometric information;
and transmitting a fifth control message for controlling output of the selected fifth sound source through the external electronic device to the external electronic device.
제11 항에 있어서,
주변 소음 정보에 기초하여 주변 소음이 지정된 수준 이상인 것으로 판단함에 따라 지정된 안내 문구를 상기 전자 장치의 디스플레이를 통해 표시하고,
상기 주변 소음 정보는 상기 전자 장치가 감지한 제1 주변 소음 정보 또는 상기 외부 전자 장치가 감지한 제2 주변 소음 정보 중 적어도 하나를 포함하는, 전자 장치의 동작 방법.
According to claim 11,
Based on the ambient noise information, when it is determined that the ambient noise is equal to or greater than a specified level, a specified guide phrase is displayed on the display of the electronic device;
The ambient noise information includes at least one of first ambient noise information detected by the electronic device and second ambient noise information detected by the external electronic device.
KR1020220020161A 2022-01-17 2022-02-16 Electronic device for managing tinnitus and operation method thereof KR20230112014A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/KR2022/021156 WO2023136503A1 (en) 2022-01-17 2022-12-23 Electronic device for tinnitus management, and operating method therefor

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20220006777 2022-01-17
KR1020220006777 2022-01-17

Publications (1)

Publication Number Publication Date
KR20230112014A true KR20230112014A (en) 2023-07-26

Family

ID=87427685

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220020161A KR20230112014A (en) 2022-01-17 2022-02-16 Electronic device for managing tinnitus and operation method thereof

Country Status (1)

Country Link
KR (1) KR20230112014A (en)

Similar Documents

Publication Publication Date Title
KR20220034571A (en) Electronic device for identifying a command included in voice and method of opearating the same
KR102492332B1 (en) Method and apparatus for providing music data based on call voice data obtained from an terminal using a neural network to the terminal
KR20230112014A (en) Electronic device for managing tinnitus and operation method thereof
KR20230038972A (en) Wearable electronic device including sensor and method of operating the same
KR20220103543A (en) Wearable device and method performing automatic sound control
KR20210151577A (en) Audio output apparatus obtaining biometric data and a method thereof
US20230137857A1 (en) Method and electronic device for detecting ambient audio signal
KR20220034530A (en) Electronic device for outputing sound and method of operating the same
KR20230064509A (en) Method and apparatus for recording sound of electronic device using earphones
EP4332966A1 (en) Method and device for sound recording by electronic device using earphones
KR20230029055A (en) Electronic device and method for providing personalized user context aware service
KR20230115829A (en) Electronic device for controlling output sound volume based on individual auditory characteristics, and operating method thereof
KR20230081026A (en) Apparatus and method for providing audiovisual content for the disabled
KR20230055330A (en) The method to provide guide for proper wearing of a wearable device
KR20220015716A (en) Apparatus and method for providing an augmented reality audio data
KR20230116618A (en) Electronic device generating haptic signal and method thereof
KR20230016398A (en) Electronic device for managing improper answer and operating mehtod thereof
KR20240049074A (en) Electronic device and method for generating vibration sound signal
KR20230030733A (en) Electronic device comprising plural audio devices and controlling method of the same
KR20220064056A (en) Electronic device for managing task for processing audio signal
KR20220127457A (en) Electronic device to move playback section of media contents and the method thereof
KR20220128131A (en) Electronic device and method for controlling the same
KR20220058236A (en) Apparatus and method for processing an audio data
KR20230066841A (en) Electronic device and method for applying audio mode using metadata of audio track in electronic device
KR20220123932A (en) Electronic device for processing user utterance and method for thereof