KR20220144504A - Electronic device and method for audio output - Google Patents

Electronic device and method for audio output Download PDF

Info

Publication number
KR20220144504A
KR20220144504A KR1020210050879A KR20210050879A KR20220144504A KR 20220144504 A KR20220144504 A KR 20220144504A KR 1020210050879 A KR1020210050879 A KR 1020210050879A KR 20210050879 A KR20210050879 A KR 20210050879A KR 20220144504 A KR20220144504 A KR 20220144504A
Authority
KR
South Korea
Prior art keywords
earbud
electronic device
master
slave
audio data
Prior art date
Application number
KR1020210050879A
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 KR1020210050879A priority Critical patent/KR20220144504A/en
Priority to PCT/KR2022/003027 priority patent/WO2022225174A1/en
Publication of KR20220144504A publication Critical patent/KR20220144504A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/033Headphones for stereophonic communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/07Applications of wireless loudspeakers or wireless microphones

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

An electronic device and method for audio output are disclosed. According to various embodiments, the electronic device comprises: a wireless communication module and at least one processor functionally connected to the wireless communication module. The at least one processor is configured to transmit audio data to a master earbud device connected to the electronic device through the wireless communication module, detect that audio disconnection occurs in at least one of the master earbud device and a slave earbud device, control at least one of the slave earbud device and an external electronic device so that the slave earbud device is connected to the external electronic device when the audio disconnection is detected, transmit first audio data for the master earbud device to the master earbud device through the wireless communication module, and control the external electronic device through the wireless communication module so that the external electronic device transmits second audio data for the slave earbud device to the slave earbud device. Accordingly, the present invention can supplement the transmission of audio data.

Description

오디오 출력을 위한 전자 장치 및 그 동작 방법{ELECTRONIC DEVICE AND METHOD FOR AUDIO OUTPUT}Electronic device for audio output and operating method thereof

본 개시의 다양한 실시예들은 오디오 출력을 위한 전자 장치 및 그 동작 방법에 관한 것이다.Various embodiments of the present disclosure relate to an electronic device for outputting audio and an operating method thereof.

전자 장치는 디지털 기술의 발달과 함께 스마트 폰(smart phone), 태블릿 PC(tablet personal computer), 또는 PDA(personal digital assistant)와 같은 다양한 형태로 제공되고 있다. 예를 들어, 전자 장치(예: 스마트 폰)는 통신 기능과 아울러, 음향 재생 기기, 촬상 기기, 또는 전자 수첩과 같은 기능을 포함하고 있으며, 어플리케이션의 추가 설치를 통해 더욱 다양한 기능을 구현할 수 있다. 전자 장치는 탑재된 어플리케이션이나 저장된 기능의 실행뿐만 아니라, 유선 또는 무선 방식으로 서버 또는 다른 전자 장치에 접속하여 다양한 정보들을 실시간으로 제공받을 수 있다. 전자 장치는 블루투스(bluetooth: BT), 저전력 블루투스(bluetooth low energy: BLE)나 Wi-Fi와 같은 근거리 무선 통신을 사용하여, 사용자에게 착용할 수 있는 형태의 외부 전자 장치와 연결되어 동작 가능하다. 외부 전자 장치는 이동성(portability) 및 사용자의 접근성(accessibility)을 향상시킬 수 있도록 사용자에 착용할 수 있는 형태로도 개발된 웨어러블 장치일 수 있다.With the development of digital technology, electronic devices are being provided in various forms, such as smart phones, tablet personal computers (PCs), or personal digital assistants (PDAs). For example, an electronic device (eg, a smart phone) includes a function such as a sound reproduction device, an imaging device, or an electronic notebook as well as a communication function, and may implement more various functions through additional installation of applications. The electronic device may be provided with various information in real time by not only executing a loaded application or a stored function, but also accessing a server or other electronic device in a wired or wireless manner. The electronic device can operate by being connected to an external electronic device in a wearable form by using short-range wireless communication such as Bluetooth (BT), Bluetooth low energy (BLE), or Wi-Fi. The external electronic device may be a wearable device developed in a form that can be worn by a user to improve portability and user accessibility.

외부 전자 장치는 사용자의 양측 귀에 각각 착용될 수 있는 한 쌍의 이어폰(이하, 이어버드(earbud))으로 구성된 이어 웨어러블 장치(ear-wearable device)일 수 있다. 이어 웨어러블 장치는, 다양한 기능을 제공할 수 있다. 예를 들어, 이어 웨어러블 장치는, 마이크를 포함하여, 사용자의 음성을 감지할 수 있고, 이를 통해, 사용자의 음성에 대한 데이터를 전자 장치(예: 스마트폰)로 전송할 수 있다. 또한 이어 웨어러블 장치는 스피커를 포함하여, 전자 장치(예: 스마트폰)로부터 수신한 오디오 데이터를 상기 스피커를 통해 출력할 수 있다.The external electronic device may be an ear-wearable device including a pair of earphones (hereinafter, earbuds) that can be respectively worn on both ears of the user. The ear wearable device may provide various functions. For example, the ear wearable device may include a microphone to detect a user's voice, and through this, transmit data on the user's voice to an electronic device (eg, a smartphone). Also, the ear wearable device may output audio data received from an electronic device (eg, a smartphone) through the speaker, including the speaker.

이어 웨어러블 장치는 전자 장치(예: 스마트폰)에 각각 연결될 수 있는 마스터 이어버드 장치와 슬레이브 이어버드 장치를 포함할 수 있다. 상기 연결을 통해, 이어 웨어러블 장치 중 마스터 이어버드 장치는 음성 데이터를 전자 장치로 전송할 수 있고, 전자 장치는 오디오 데이터(또는, 오디오 컨텐츠)를 이어 웨어러블 장치로 전송할 수 있다. 이어 웨어러블 장치인 마스터 이어버드 장치와 슬레이브 이어버드 장치는 전자 장치로부터 무선 통신을 통해 수신한 오디오 데이터(또는, 오디오 컨텐츠)를 스피커를 통해 출력할 수 있다.The ear wearable device may include a master earbud device and a slave earbud device that can be respectively connected to an electronic device (eg, a smartphone). Through the connection, the master earbud device among the ear wearable devices may transmit voice data to the electronic device, and the electronic device may transmit audio data (or audio content) to the ear wearable device. The master earbud device and the slave earbud device, which are ear wearable devices, may output audio data (or audio content) received from the electronic device through wireless communication through a speaker.

한 쌍의 이어버드 장치들을 포함하는 이어 웨어러블 장치는, 예를 들어, TWS(true wireless stereo) 헤드셋(headset)일 수 있다. 이러한 TWS 헤드셋을 구성하는 이어버드 장치들은 서로 간에 무선으로 통신 연결될 수 있으며, 한 쌍의 이어버드 장치들 중 어느 하나의 이어버드 장치가 마스터 이어버드 장치가 되고, 나머지 이어버드 장치는 슬레이브 이어버드 장치가 될 수 있다.The ear wearable device including a pair of earbud devices may be, for example, a true wireless stereo (TWS) headset. The earbud devices constituting the TWS headset may be wirelessly connected to each other, and one earbud device among the pair of earbud devices becomes the master earbud device, and the other earbud device is a slave earbud device. can be

이어 웨어러블 장치 중 마스터 이어버드 장치와 슬레이브 이어버드 장치는 하나의 블루투스 주소를 공유할 수 있으며, 전자 장치(예를 들어 스마트폰)은 마스터 이어버드 장치와 연결될 수 있다. 슬레이브 이어버드 장치는 마스터 이어버드 장치로부터 제공받은 전자 장치와 마스터 이어버드 장치 간 통신 링크에 관련된 통신 파라미터들을 통해, 전자 장치와 마스터 이어버드 장치 사이의 통신을 감지하고 전자 장치로부터 발송되는 오디오 데이터를 획득(즉 스니핑)할 수 있다. Among the ear wearable devices, a master earbud device and a slave earbud device may share one Bluetooth address, and an electronic device (eg, a smartphone) may be connected to the master earbud device. The slave earbud device detects communication between the electronic device and the master earbud device through communication parameters related to the communication link between the electronic device and the master earbud device provided from the master earbud device, and receives audio data sent from the electronic device. It can be obtained (i.e. sniffed).

본 문서에 개시된 다양한 실시예들은 이어 웨어러블 장치를 통한 오디오 재생 품질을 개선하는 전자 장치 및 그 동작 방법을 제공할 수 있다.Various embodiments disclosed herein may provide an electronic device for improving audio reproduction quality through an ear wearable device, and an operating method thereof.

본 문서에 개시된 다양한 실시예들은 이어 웨어러블 장치를 전자 장치에 연결하고 오디오 데이터를 수신하는 도중 오디오 끊김이 발생하는 경우 외부 전자 장치를 활용하여 오디오 데이터의 전송을 보완할 수 있다.Various embodiments disclosed in this document may supplement the transmission of audio data by using an external electronic device when audio interruption occurs while the ear wearable device is connected to the electronic device and audio data is received.

본 문서에 개시된 다양한 실시예들은 이어 웨어러블 장치를 통한 오디오 재생 도중 오디오 끊김을 검출한 경우 외부 전자 장치를 통해 이어 웨어러블 장치에게 오디오 데이터를 전달하는 전자 장치 및 그 동작 방법을 제공할 수 있다.Various embodiments disclosed in this document may provide an electronic device that transmits audio data to an ear wearable device through an external electronic device when audio interruption is detected during audio reproduction through the ear wearable device, and an operating method thereof.

일 실시예에 따른 전자 장치는, 무선 통신 모듈과, 상기 무선 통신 모듈과 기능적으로 연결된 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 무선 통신 모듈을 통해 상기 전자 장치와 연결된 마스터 이어버드 장치로 오디오 데이터를 전송하고, 상기 마스터 이어버드 장치 및 슬레이브 이어버드 장치 중 적어도 하나에서 오디오 끊김이 발생하는 것을 검출하고, 상기 오디오 끊김을 검출하는 경우 상기 슬레이브 이어버드 장치가 외부 전자 장치로 연결되도록 상기 슬레이브 이어버드 장치와 상기 외부 전자 장치 중 적어도 하나를 제어하고, 상기 무선 통신 모듈을 통해 상기 마스터 이어버드 장치를 위한 제1 오디오 데이터를 상기 마스터 이어버드 장치로 전송하고, 상기 외부 전자 장치가 상기 슬레이브 이어버드 장치를 위한 제2 오디오 데이터를 상기 슬레이브 이어버드 장치로 전송하도록 상기 무선 통신 모듈을 통해 상기 외부 전자 장치를 제어하도록 구성될 수 있다.An electronic device according to an embodiment includes a wireless communication module and at least one processor functionally connected to the wireless communication module, wherein the at least one processor is a master ear connected to the electronic device through the wireless communication module Transmits audio data to a bud device, detects that audio interruption occurs in at least one of the master earbud device and the slave earbud device, and when detecting the audio interruption, the slave earbud device connects to an external electronic device so as to control at least one of the slave earbud device and the external electronic device, and transmit first audio data for the master earbud device to the master earbud device through the wireless communication module, and the external electronic device and control the external electronic device through the wireless communication module to transmit second audio data for the slave earbud device to the slave earbud device.

일 실시예에 따른 오디오 출력을 위한 전자 장치의 동작 방법은, 상기 전자 장치와 연결된 마스터 이어버드 장치로 오디오 데이터를 전송하는 동작과, 상기 마스터 이어버드 장치 및 슬레이브 이어버드 장치 중 적어도 하나에서 오디오 끊김이 발생하는 것을 검출하는 동작과, 상기 오디오 끊김을 검출하는 경우 상기 슬레이브 이어버드 장치가 외부 전자 장치로 연결되도록 상기 슬레이브 이어버드 장치와 상기 외부 전자 장치 중 적어도 하나를 제어하는 동작과, 상기 마스터 이어버드 장치를 위한 제1 오디오 데이터를 상기 마스터 이어버드 장치로 전송하면서, 상기 외부 전자 장치가 상기 슬레이브 이어버드 장치를 위한 제2 오디오 데이터를 상기 슬레이브 이어버드 장치로 전송하도록 상기 외부 전자 장치를 제어하는 동작을 포함할 수 있다.According to an embodiment, a method of operating an electronic device for audio output includes transmitting audio data to a master earbud device connected to the electronic device, and audio is cut off in at least one of the master earbud device and the slave earbud device detecting the occurrence of the audio interruption, and controlling at least one of the slave earbud device and the external electronic device so that the slave earbud device is connected to an external electronic device when the audio disconnection is detected, and the master ear Controlling the external electronic device so that the external electronic device transmits second audio data for the slave earbud device to the slave earbud device while transmitting the first audio data for the bud device to the master earbud device It can include actions.

도 1은 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 다양한 실시예들에 따라 전자 장치와 통신하는 이어 웨어러블 장치의 구성을 나타낸 블록도이다.
도 3은 다양한 실시예에 따라 전자 장치에 연결되는 마스터 이어버드 장치와 슬레이브 이어버드 장치를 도시한 것이다.
도 4a 및 도 4b는 일 실시예에 따라 개활지에서 이어 웨어러블 장치와 전자 장치 간의 거리에 따른 통신 상태를 설명하기 위한 도면이다.
도 5는 일 실시예에 따라 전자 장치의 소지 형태에 따른 이어 웨어러블 장치의 통신 상태를 설명하기 위한 도면이다.
도 6은 일 실시예에 따른 이어 웨어러블 장치에 대한 Wi-Fi 간섭의 영향을 설명하기 위한 도면이다.
도 7은 일 실시예에 따라 이어 웨어러블 장치가 전자 장치에서 스마트워치로 연결을 변경하는 동작을 설명하는 도면이다.
도 8은 일 실시예에 따라 스마트워치에 연결되는 이어 웨어러블 장치의 수신 성능을 설명하는 도면이다.
도 9는 다양한 실시예들에 따른 슬레이브 이어버드 장치와 스마트워치의 연결을 설명하는 도면이다.
도 10은 다양한 실시예들에 따라 슬레이브 이어버드 장치의 연결을 스마트워치로 변경하는 절차를 설명하는 신호 흐름도이다.
도 11은 다양한 실시예들에 따라 슬레이브 이어버드 장치와 스마트워치의 연결을 해제하는 절차를 설명하는 신호 흐름도이다.
도 12는 다양한 실시예들에 따라 슬레이브 이어버드 장치의 연결을 스마트워치로 변경하는 절차를 설명하는 신호 흐름도이다.
도 13은 다양한 실시예들에 따른 마스터 이어버드 장치의 수신 버퍼를 설명하는 도면이다.
도 14는 다양한 실시예들에 따른 마스터 이어버드 장치와 슬레이브 이어버드 장치에서의 동기화를 설명하는 도면이다.
도 15는 다양한 실시예들에 따라 전자 장치가 슬레이어 이어버드 장치를 외부 전자 장치에 연결하는 절차를 설명하는 흐름도이다.
도 16은 다양한 실시예들에 따라 전자 장치가 슬레이어 이어버드 장치에서의 오디오 끊김을 판단하는 절차를 설명하는 흐름도이다.
도 17은 다양한 실시예에 따라 전자 장치가 슬레이어 이어버드 장치의 연결을 복구하는 절차를 설명하는 흐름도이다.
도 18은 다양한 실시예에 따른 이어버드 장치들에서의 채널 이득을 설명하는 도면이다.
1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure;
2 is a block diagram illustrating a configuration of an ear wearable device communicating with an electronic device according to various embodiments of the present disclosure;
3 illustrates a master earbud device and a slave earbud device connected to an electronic device according to various embodiments of the present disclosure;
4A and 4B are diagrams for explaining a communication state according to a distance between an ear wearable device and an electronic device in an open field according to an exemplary embodiment.
FIG. 5 is a diagram for explaining a communication state of an ear wearable device according to a holding form of an electronic device, according to an exemplary embodiment.
6 is a diagram for describing an effect of Wi-Fi interference on an ear wearable device according to an exemplary embodiment.
7 is a diagram illustrating an operation of changing a connection from an electronic device to a smart watch by an ear wearable device, according to an exemplary embodiment.
8 is a diagram for explaining reception performance of an ear wearable device connected to a smart watch according to an exemplary embodiment.
9 is a view for explaining a connection between a slave earbud device and a smart watch according to various embodiments of the present disclosure;
10 is a signal flow diagram illustrating a procedure for changing a connection of a slave earbud device to a smart watch according to various embodiments of the present disclosure;
11 is a signal flow diagram illustrating a procedure for disconnecting a connection between a slave earbud device and a smart watch according to various embodiments of the present disclosure;
12 is a signal flow diagram illustrating a procedure for changing a connection of a slave earbud device to a smart watch according to various embodiments of the present disclosure;
13 is a diagram illustrating a reception buffer of a master earbud device according to various embodiments of the present disclosure;
14 is a view for explaining synchronization in a master earbud device and a slave earbud device according to various embodiments of the present disclosure;
15 is a flowchart illustrating a procedure for an electronic device to connect a slayer earbud device to an external electronic device, according to various embodiments of the present disclosure;
16 is a flowchart illustrating a procedure in which an electronic device determines that audio is cut off in a slayer earbud device, according to various embodiments of the present disclosure;
17 is a flowchart illustrating a procedure in which an electronic device restores a connection of a slayer earbud device, according to various embodiments of the present disclosure;
18 is a diagram illustrating a channel gain in earbud devices according to various embodiments of the present disclosure;

이하 본 개시의 다양한 실시예들을 첨부된 도면을 참조하여 상세히 설명한다. 그리고, 본 개시의 다양한 실시예들을 설명함에 있어서, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 개시의 다양한 실시예들의 요지를 불필요하게 흐릴 수 있다고 판단된 경우 그 상세한 설명은 생략한다. 그리고 후술되는 용어들은 본 개시의 다양한 실시예들에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.Hereinafter, various embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. And, in describing various embodiments of the present disclosure, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of various embodiments of the present disclosure, the detailed description thereof will be omitted. And the terms described below are terms defined in consideration of functions in various embodiments of the present disclosure, which may vary according to intentions or customs of users and operators. Therefore, the definition should be made based on the content throughout this specification.

본 명세서에서 사용되는 기술적 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 개시의 다양한 실시예들을 한정하려는 의도가 아님을 유의해야 한다. 또는, 본 명세서에서 사용되는 기술적 용어는 본 명세서에서 특별히 다른 의미로 정의되지 않는 한, 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 의미로 해석되어야 하며, 과도하게 포괄적인 의미로 해석되거나, 과도하게 축소된 의미로 해석되지 않아야 한다. 또는, 본 명세서에서 사용되는 기술적인 용어가 본 개시의 사상을 정확하게 표현하지 못하는 잘못된 기술적 용어일 때에는, 당업자가 올바르게 이해할 수 있는 기술적 용어로 대체되어 이해되어야 할 것이다. 또는, 본 개시의 다양한 실시예들에서 사용되는 일반적인 용어는 사전에 정의되어 있는 바에 따라, 또는 전후 문맥상에 따라 해석되어야 하며, 과도하게 축소된 의미로 해석되지 않아야 한다.It should be noted that the technical terms used in this specification are only used to describe specific embodiments, and are not intended to limit various embodiments of the present disclosure. Alternatively, the technical terms used in this specification should be interpreted in the meaning generally understood by those of ordinary skill in the art to which the present disclosure belongs, unless specifically defined otherwise in this specification, and are overly inclusive. It should not be construed as a human meaning or in an excessively reduced meaning. Alternatively, when the technical terms used in the present specification are incorrect technical terms that do not accurately express the spirit of the present disclosure, they should be understood by being replaced with technical terms that can be correctly understood by those skilled in the art. Alternatively, general terms used in various embodiments of the present disclosure should be interpreted as defined in advance or according to the context, and should not be interpreted in an excessively reduced meaning.

또는, 본 명세서에서 사용되는 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "구성된다" 또는 "포함한다" 등의 용어는 명세서 상에 기재된 여러 구성 요소들, 또는 여러 동작들을 반드시 모두 포함하는 것으로 해석되지 않아야 하며, 그 중 일부 구성 요소들 또는 일부 동작들은 포함되지 않을 수도 있고, 또는 추가적인 구성 요소 또는 동작들을 더 포함할 수 있는 것으로 해석되어야 한다.Alternatively, as used herein, the singular expression includes the plural expression unless the context clearly dictates otherwise. In the present application, terms such as “consisting of” or “comprising” should not be construed as necessarily including all of the various components or operations described in the specification, and some components or operations of which are It should be construed that it may not include, or may further include additional components or operations.

또는, 본 명세서에서 사용되는 제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성 요소들을 설명하는데 사용될 수 있지만, 상기 구성 요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성 요소를 다른 구성 요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 개시의 권리 범위를 벗어나지 않으면서 제1 구성 요소는 제2 구성 요소로 명명될 수 있고, 유사하게 제2 구성 요소도 제1 구성 요소로 명명될 수 있다. Alternatively, terms including ordinal numbers such as first, second, etc. used herein may be used to describe various elements, but the elements should not be limited by the terms. The above terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present disclosure, a first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component.

어떤 구성 요소가 다른 구성 요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성 요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성 요소가 존재할 수도 있다. 반면에, 어떤 구성 요소가 다른 구성 요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성 요소가 존재하지 않는 것으로 이해되어야 할 것이다.When a component is referred to as being “connected” or “connected” to another component, it may be directly connected or connected to the other component, but another component may exist in between. On the other hand, when it is said that a certain element is "directly connected" or "directly connected" to another element, it should be understood that no other element is present in the middle.

이하, 첨부된 도면을 참조하여 본 개시에 따른 다양한 실시예들을 상세히 설명하되, 도면 부호에 관계없이 동일하거나 유사한 구성 요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 또는, 본 개시의 다양한 실시예들을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 개시의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또는, 첨부된 도면은 본 개시의 사상을 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 개시의 사상이 제한되는 것으로 해석되어서는 아니 됨에 유의하여야만 한다. 본 개시의 사상은 첨부된 도면들 외에 모든 변경들, 균등물들 내지 대체물들에 까지도 확장되는 것으로 해석되어야 한다.Hereinafter, various embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings, but the same or similar components are given the same reference numerals regardless of reference numerals, and redundant description thereof will be omitted. Alternatively, in describing various embodiments of the present disclosure, if it is determined that a detailed description of a related known technology may obscure the subject matter of the present disclosure, the detailed description thereof will be omitted. Alternatively, it should be noted that the accompanying drawings are only for easy understanding of the spirit of the present disclosure, and should not be construed as limiting the spirit of the present disclosure by the accompanying drawings. It should be construed that the spirit of the present disclosure extends to all modifications, equivalents and substitutes other than the accompanying drawings.

이하, 본 개시의 다양한 실시예들에서는 단말(terminal)을 설명할 것이나, 단말은 전자 장치(electronic device), 이동국(mobile station), 이동 장비(mobile equipment: ME), 사용자 장비(user equipment: UE), 사용자 단말(user terminal: UT), 가입자국(subscriber station: SS), 무선 장치(wireless device), 휴대 장치(handheld device), 액세스 단말(access terminal: AT)로 칭해질 수 있다. 또는, 본 개시의 다양한 실시예들에서 단말은 예를 들어 휴대폰, 개인용 디지털 기기(personal digital assistant: PDA), 스마트 폰(smart phone), 무선 모뎀(wireless MODEM), 노트북과 같이 통신 기능을 갖춘 장치가 될 수 있다.Hereinafter, a terminal will be described in various embodiments of the present disclosure, but the terminal includes an electronic device, a mobile station, a mobile equipment (ME), and a user equipment (UE). ), a user terminal (UT), a subscriber station (SS), a wireless device, a handheld device, and an access terminal (AT). Alternatively, in various embodiments of the present disclosure, the terminal is, for example, a mobile phone, a personal digital assistant (PDA), a smart phone, a wireless modem, a device having a communication function, such as a notebook computer. can be

또는, 본 개시의 다양한 실시예들을 구체적으로 설명함에 있어서, 블루투스 무선 통신 기술을 참조로 할 것이지만, 본 개시의 주요한 요지는 유사한 기술적 배경을 가지는 여타의 통신 시스템들에도 본 개시의 범위를 크게 벗어 나지 아니 하는 범위에서 약간의 변형으로 적용 가능하며, 이는 본 개시의 기술 분야에서 숙련된 기술적 지식을 가진 자의 판단으로 가능할 것이다. Alternatively, in describing various embodiments of the present disclosure in detail, reference will be made to Bluetooth wireless communication technology, but the main subject matter of the present disclosure does not significantly depart from the scope of the present disclosure in other communication systems having a similar technical background. It can be applied with some modifications to the scope of the present disclosure, which will be possible at the discretion of a person skilled in the art of the present disclosure.

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

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

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

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

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

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예들에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may have various types of devices. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. Electronic devices according to embodiments of the present document are 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 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but it should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A , B, or C," each of which may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first" or "second" may simply be used to distinguish an element from other elements in question, and may refer elements to other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.

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

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

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

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

도 2는 다양한 실시예들에 따라 전자 장치(101)와 통신하는 이어 웨어러블 장치(200)의 구성을 나타낸 블록도이다.2 is a block diagram illustrating a configuration of an ear wearable device 200 communicating with the electronic device 101 according to various embodiments of the present disclosure.

다양한 실시예들에 따르면, 이어 웨어러블 장치(200)는 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202)를 포함할 수 있다. 마스터 이어버드 장치(201)는 도 1에 도시된, 전자 장치(101)의 구성 요소들(예: 모듈들)의 적어도 하나와 동일 또는 유사한 구성 요소를 포함할 수 있다. 다양한 실시예들에 따르면, 마스터 이어버드 장치(201)는 도 1의 외부 전자 장치(102) 또는 도 1의 외부 전자 장치(104)일 수 있다. 마스터 이어버드 장치(201)는 안테나 모듈(211)(예: 도 1의 안테나 모듈(197)), 통신 모듈(210)(예: 도 1의 통신 모듈(190)), 입력 모듈(220)(예: 도 1의 입력 모듈(150)), 센서 모듈(230)(예: 도 1의 센서 모듈(176)), 오디오 처리 모듈(240)(예: 도 1의 오디오 모듈(170)), 메모리(250)(예: 도 1의 메모리(130)), 전력 관리 모듈(260)(예: 도 1의 전력 관리 모듈(188)), 배터리(270)(예: 도 1의 배터리(189)), 인터페이스(280)(예: 도 1의 인터페이스(177)), 및 프로세서(290)(예: 도 1의 프로세서(120))를 포함할 수 있다.According to various embodiments, the ear wearable device 200 may include a master earbud device 201 and a slave earbud device 202 . The master earbud device 201 may include the same or similar components to at least one of components (eg, modules) of the electronic device 101 illustrated in FIG. 1 . According to various embodiments, the master earbud device 201 may be the external electronic device 102 of FIG. 1 or the external electronic device 104 of FIG. 1 . The master earbud device 201 includes an antenna module 211 (eg, the antenna module 197 of FIG. 1 ), a communication module 210 (eg, the communication module 190 of FIG. 1 ), an input module 220 ( Example: input module 150 of FIG. 1 ), sensor module 230 (eg sensor module 176 of FIG. 1 ), audio processing module 240 (eg audio module 170 of FIG. 1 ), memory 250 (eg, memory 130 of FIG. 1 ), power management module 260 (eg, power management module 188 of FIG. 1 ), battery 270 (eg, battery 189 of FIG. 1 ). , an interface 280 (eg, the interface 177 of FIG. 1 ), and a processor 290 (eg, the processor 120 of FIG. 1 ).

다양한 실시예들에 따르면, 통신 모듈(210)은 무선 통신 모듈(예: 셀룰러 통신 모듈, WiFi(wireless fidelity) 통신 모듈, 블루투스(bluetooth) 통신 모듈, NFC(near field communication) 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈) 중 적어도 하나를 포함할 수 있다. 다양한 실시예에 따르면, 블루투스 통신은 블루투스 레거시(legacy)(또는 클래식(classic)) 통신 또는 BLE(bluetooth low energy) 통신을 포함할 수 있다. 이들 통신 모듈들 중 해당하는 통신 모듈은 제1 네트워크(예: 도 1의 제1 네트워크(198) 또는 제2 네트워크(예: 도 1의 제2 네트워크(199))를 통하여 전자 장치(101)(예를 들어 스마트폰), 제1 외부 전자 장치(204) (예를 들어 충전 장치), 제2 외부 전자 장치(203)(예를 들어 스마트워치), 또는 제3 외부 전자 장치(202)(예를 들어 슬레이브 이어버드 장치) 중 적어도 하나와 직접 혹은 간접적으로 통신할 수 있다. 슬레이브 이어버드 장치(202)는 마스터 이어버드 장치(201)와 페어(pair)로 구성된 이어 웨어러블 장치(200)의 구성요소일 수 있다. 통신 모듈(210)은 프로세서(290)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다.According to various embodiments, the communication module 210 is a wireless communication module (eg, a cellular communication module, a wireless fidelity (WiFi) communication module, a Bluetooth communication module, a near field communication (NFC) communication module, or a GNSS ( It may include at least one of a global navigation satellite system (global navigation satellite system) communication module) or a wired communication module (eg, a local area network (LAN) communication module, or a power line communication module). According to various embodiments, Bluetooth communication may include Bluetooth legacy (or classic) communication or BLE (bluetooth low energy) communication. A corresponding communication module among these communication modules is the electronic device 101 ( For example, a smartphone), a first external electronic device 204 (for example, a charging device), a second external electronic device 203 (for example a smart watch), or a third external electronic device 202 (for example) For example, it can communicate directly or indirectly with at least one of the slave earbud devices. The slave earbud device 202 is configured as a pair of the master earbud device 201 and the ear wearable device 200 . The communication module 210 may include one or more communication processors that operate independently of the processor 290 and support direct (eg, wired) communication or wireless communication.

다양한 실시예들에 따르면, 안테나 모듈(211)은 신호 또는 전력을 다른 전자 장치(예를 들어 전자 장치(101 또는 204) 또는 슬레이브 이어버드 장치(202))로 송신하거나 다른 전자 장치로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(211)은 서브스트레이트(예: PCB(printed circuit board)) 또는 내측 하우징의 일부분에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 적어도 하나의 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(211)은 복수의 안테나들을 포함할 수 있다. 일 실시예에 따르면, 제1 네트워크(예: 도 1의 제1 네트워크(198)) 또는 제2 네트워크(예: 도 2의 제2 네트워크(199))와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(210)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(210)과 다른 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC)이 추가로 안테나 모듈(211)의 일부로 형성될 수 있다.According to various embodiments, the antenna module 211 may transmit a signal or power to or receive from another electronic device (eg, the electronic device 101 or 204 or the slave earbud device 202). have. According to an embodiment, the antenna module 211 may include at least one antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, a printed circuit board (PCB)) or a part of an inner housing. have. According to an embodiment, the antenna module 211 may include a plurality of antennas. According to an embodiment, suitable for a communication method used in a communication network such as a first network (eg, the first network 198 of FIG. 1 ) or a second network (eg, the second network 199 of FIG. 2 ) At least one antenna may be selected from the plurality of antennas by, for example, the communication module 210 . A signal or power may be transmitted or received between the communication module 210 and another electronic device through the selected at least one antenna. According to some embodiments, other components (eg, RFIC) other than the radiator may be additionally formed as a part of the antenna module 211 .

다양한 실시예들에 따르면, 안테나 모듈(211)은 다른 전자 장치(예를 들어 전자 장치(101, 또는 204) 또는 슬레이브 이어버드 장치(202))로부터 전력을 무선으로 수신할 수 있도록 자기장에 의하여 전류가 유도될 수 있는 코일, 특정 공진 주파수를 가진 자기장에 의하여 공진 현상이 발생되는 공진기, 또는 전자기파를 수신하기 위한 복수의 패치 안테나 중 적어도 하나를 포함할 수 있다.According to various embodiments, the antenna module 211 may use a magnetic field to wirelessly receive power from another electronic device (eg, the electronic device 101 or 204 or the slave earbud device 202 ). may include at least one of a coil capable of being induced, a resonator in which a resonance phenomenon is generated by a magnetic field having a specific resonant frequency, or a plurality of patch antennas for receiving electromagnetic waves.

다양한 실시예들에 따르면, 입력 모듈(220)은 마스터 이어버드 장치(201)의 동작에 사용될 수 있는 다양한 입력 신호를 생성하도록 구성될 수 있다. 입력 모듈(220)은 터치 패드, 터치 패널 또는 버튼을 포함할 수 있다. 터치 패드는, 예를 들면, 정전식, 감압식, 적외선 방식 또는 초음파 방식 중 적어도 하나의 방식으로 터치 입력을 인식할 수 있다. 정전식 터치 패드가 제공되는 경우, 물리적 접촉 또는 근접 인식이 가능할 수 있다. 터치 패드는 택타일 레이어(tactile layer)를 더 포함할 수 있다. 택타일 레이어를 포함하는 터치 패드는 사용자에게 촉각 반응을 제공할 수 있다. 버튼은, 예를 들면, 물리적인 버튼, 또는 광학식 키를 포함할 수 있다.According to various embodiments, the input module 220 may be configured to generate various input signals that may be used for operation of the master earbud device 201 . The input module 220 may include a touch pad, a touch panel, or a button. The touch pad may recognize a touch input using, for example, at least one of a capacitive type, a pressure sensitive type, an infrared type, and an ultrasonic type. If a capacitive touch pad is provided, physical contact or proximity recognition may be possible. The touch pad may further include a tactile layer. A touch pad including a tactile layer may provide a tactile response to a user. The button may include, for example, a physical button or an optical key.

다양한 실시예들에 따르면, 입력 모듈(220)은 마스터 이어버드 장치(201)의 온 또는 오프에 관한 사용자 입력을 생성할 수 있다. 일 실시예에 따르면, 입력 모듈(220)은 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(205) 사이의 통신 연결을 위한 사용자 입력을 수신할 수 있다. 일 실시예에 따르면, 입력 모듈(220)은 오디오 데이터(또는, 오디오 컨텐츠)에 연관하는 사용자 입력을 수신할 수 있다. 예를 들면, 사용자 입력은 오디오 데이터의 재생 시작, 재생 일시 중지, 재생 중지, 재생 속도 조절, 재생 볼륨 조절 또는 음소거의 기능에 연관할 수 있다. 터치 패드가 설치된 면을 툭툭 두드리거나 위아래로 스와이핑(swiping)과 같은 다양한 제스처에 의하여, 마스터 이어버드 장치(201)의 동작이 제어될 수 있다. 일 실시예에 따르면, 입력 모듈(220)을 통해 한번의 탭(single tap)에 관한 제스처가 감지되면, 마스터 이어버드 장치(201)(또는, 프로세서(290))는 오디오 데이터를 재생하거나, 또는 그 재생을 일시 정지할 수 있다. 일 실시예에 따르면, 입력 모듈(220)을 통해 두 번의 탭에 관한 제스처가 감지되면, 마스터 이어버드 장치(201)는 다음 오디오 데이터로 그 재생을 전환할 수 있다. 입력 모듈(220)을 통해 세 번의 탭에 관한 제스처가 감지되면, 마스터 이어버드 장치(201)는 이전 오디오 데이터로 그 재생을 전환할 수 있다. 일 실시예에 따르면, 입력 모듈(220)을 통해 위 또는 아래로 스와이핑하는 제스처가 감지되면, 마스터 이어버드 장치(201)는 오디오 데이터의 재생에 관한 볼륨을 조절할 수 있다. 일 실시예에 따르면, 전자 장치(101)로 전화가 걸려 왔을 때, 입력 모듈(220)을 통해 두 번의 탭에 관한 제스처가 감지되면, 마스터 이어버드 장치(201)는 전화를 연결할 것을 요청하는 신호를 전자 장치(101)로 전송할 수 있다.According to various embodiments, the input module 220 may generate a user input regarding on or off of the master earbud device 201 . According to an embodiment, the input module 220 may receive a user input for a communication connection between the master earbud device 201 and the slave earbud device 205 . According to an embodiment, the input module 220 may receive a user input related to audio data (or audio content). For example, the user input may relate to functions of starting playback of audio data, pausing playback, stopping playback, adjusting playback speed, adjusting playback volume, or muting audio data. The operation of the master earbud device 201 may be controlled by various gestures such as tapping the surface on which the touch pad is installed or swiping up and down. According to an embodiment, when a gesture related to a single tap is detected through the input module 220 , the master earbud device 201 (or the processor 290 ) reproduces audio data, or You can pause the playback. According to an embodiment, when a gesture related to two taps is detected through the input module 220 , the master earbud device 201 may switch the playback to the next audio data. When a gesture related to three taps is detected through the input module 220 , the master earbud device 201 may switch the playback to the previous audio data. According to an embodiment, when a gesture of swiping up or down is detected through the input module 220 , the master earbud device 201 may adjust a volume related to the reproduction of audio data. According to an embodiment, when a call is made to the electronic device 101 and a gesture related to two taps is detected through the input module 220 , the master earbud device 201 sends a signal requesting to connect the call. may be transmitted to the electronic device 101 .

다양한 실시예들에 따르면, 센서 모듈(230)은 물리량을 측정하거나 마스터 이어버드 장치(201)의 작동 상태를 감지할 수 있다. 센서 모듈(230)은 계측 또는 감지된 정보를 전기 신호로 변환할 수 있다. 센서 모듈(230)은, 예를 들면, 가속도 센서, 자이로 센서, 지자계 센서, 마그네틱 센서, 근접 센서, 제스처 센서, 그립 센서 또는 생체 센서를 포함할 수 있다. 일 실시예에서, 센서 모듈(230)은 광 센서를 더 포함할 수 있다. 광 센서는 적어도 하나의 파장 대역의 광을 출력하는 발광부(예: LED(light emitting diode))를 포함할 수 있다. 광 센서는 물체로부터 산란 또는 반사된 하나 이상의 파장 대역의 광을 수신하여 전기적 신호를 생성하는 수광부(예: 포토 다이오드)를 포함할 수 있다.According to various embodiments, the sensor module 230 may measure a physical quantity or detect an operating state of the master earbud device 201 . The sensor module 230 may convert measured or sensed information into an electrical signal. The sensor module 230 may include, for example, an acceleration sensor, a gyro sensor, a geomagnetic sensor, a magnetic sensor, a proximity sensor, a gesture sensor, a grip sensor, or a biometric sensor. In an embodiment, the sensor module 230 may further include an optical sensor. The optical sensor may include a light emitting unit (eg, a light emitting diode (LED)) that outputs light of at least one wavelength band. The optical sensor may include a light receiving unit (eg, a photodiode) that receives light of one or more wavelength bands scattered or reflected from an object and generates an electrical signal.

다양한 실시예들에 따르면, 오디오 처리 모듈(240)은 오디오 데이터 수집 기능을 지원할 수 있고, 수집한 오디오 데이터를 재생할 수 있다. 일 실시예에 따르면, 오디오 처리 모듈(240)은 오디오 디코더(미도시) 및 D/A 컨버터(미도시)를 포함할 수 있다. 오디오 디코더는 메모리(250)에 저장되어 있거나 전자 장치(101)로부터 통신 모듈(210)을 통해 수신되는 오디오 데이터를 디지털 오디오 신호로 변환할 수 있다. D/A 컨버터는 상기 오디오 디코더에 의해 변환된 디지털 오디오 신호를 아날로그 오디오 신호로 변환시킬 수 있다. 다양한 실시예들에 따르면, 오디오 디코더는 통신 모듈(210)을 통하여 전자 장치(101)로부터 수신되어 메모리(250)에 저장되는 오디오 데이터를 디지털 오디오 신호로 변환할 수 있다. 스피커(241)는 D/A 컨버터에 의해 변환된 아날로그 오디오 신호를 출력할 수 있다. 일 실시예에 따르면, 오디오 처리 모듈(240)는 A/D 컨버터(미도시)를 포함할 수 있다. A/D 컨버터는 마이크로폰(242)을 통해 전달된 아날로그 음성 신호를 디지털 음성 신호로 변환할 수 있다. According to various embodiments, the audio processing module 240 may support an audio data collection function and reproduce the collected audio data. According to an embodiment, the audio processing module 240 may include an audio decoder (not shown) and a D/A converter (not shown). The audio decoder may convert audio data stored in the memory 250 or received from the electronic device 101 through the communication module 210 into a digital audio signal. The D/A converter may convert the digital audio signal converted by the audio decoder into an analog audio signal. According to various embodiments, the audio decoder may convert audio data received from the electronic device 101 through the communication module 210 and stored in the memory 250 into a digital audio signal. The speaker 241 may output the analog audio signal converted by the D/A converter. According to an embodiment, the audio processing module 240 may include an A/D converter (not shown). The A/D converter may convert the analog voice signal transmitted through the microphone 242 into a digital voice signal.

다양한 실시예들에 따르면, 마이크로폰(242)은, 음성을 감지하기 위한, 적어도 하나의 공기 전도 마이크(air conduction microphone) 및/또는 적어도 하나의 골 전도 마이크(bone conduction microphone)를 포함할 수 있다. 공기 전도 마이크는, 공기를 통해 전달되는 음성(예: 사용자의 발화)을 감지하여, 감지된 음성에 대응하는 음성 신호를 출력할 수 있다. 골 전도 마이크는, 사용자의 음성 발성으로 인하여 사용자의 골(bone)(예: 두개골)이 진동함을 측정하여, 측정된 진동에 대응하는 음성 신호를 출력할 수 있다. 골 전도 마이크는, 골 전도 센서 또는 그 밖의 다양한 명칭으로 불려질 수도 있다. 공기 전도 마이크에 의해 감지되는 음성은 사용자의 발화가 공기를 통해 전달되는 동안 외부 잡음(noise)이 섞인 음성인 반면, 골 전도 마이크에 의해 감지되는 음성은 골의 진동으로부터 감지되기 때문에 외부 잡음의 유입(예: 잡음의 영향)이 적을 수 있다. 따라서 골 전도 마이크는, 고 잡음 환경에서도, 외부 잡음이 저감된, 사용자의 음성에 대응하는 음성 신호를 출력할 수 있다. 다양한 실시예들에 따르면, 마이크로폰(242)로부터 출력된 음성 신호는, 프로세서(290)로 전달될 수 있다. 일 실시예에 따르면, 외부 잡음이 저감된, 사용자의 음성에 대응하는 음성 신호를 획득하기 위하여, 가속도 센서(예: 센서 모듈(230))가 사용될 수도 있다. 예를 들어, 가속도 센서는, 사용자의 음성 발성으로 인한 사용자의 피부(skin)의 진동을 측정하여, 측정된 진동에 대응하는 음성 신호를 프로세서(290)로 출력할 수 있다. 가속도 센서에 의해 감지되는 음성(예: 진동)은 피부의 진동으로부터 감지되기 때문에 외부 잡음의 유입(예: 잡음의 영향)이 적을 수 있다. 상술한 골 전도 마이크 및/또는 가속도 센서는, VPU(voice pickup unit)이라고 불려질 수 있으며, 그 밖의 다양한 명칭으로 불려질 수도 있다.According to various embodiments, the microphone 242 may include at least one air conduction microphone and/or at least one bone conduction microphone for detecting voice. The air conduction microphone may detect a voice transmitted through air (eg, a user's utterance) and output a voice signal corresponding to the sensed voice. The bone conduction microphone may measure the vibration of a user's bone (eg, skull) due to the user's voice utterance, and may output a voice signal corresponding to the measured vibration. The bone conduction microphone may be referred to as a bone conduction sensor or various other names. The voice detected by the air conduction microphone is a voice mixed with external noise while the user's utterance is transmitted through the air, whereas the voice detected by the bone conduction microphone is detected from the vibration of the bone, so the inflow of external noise (eg, the effect of noise) may be small. Accordingly, the bone conduction microphone may output a voice signal corresponding to the user's voice with reduced external noise even in a high-noise environment. According to various embodiments, the voice signal output from the microphone 242 may be transmitted to the processor 290 . According to an embodiment, an acceleration sensor (eg, the sensor module 230 ) may be used to obtain a voice signal corresponding to the user's voice with reduced external noise. For example, the acceleration sensor may measure the vibration of the user's skin due to the user's voice utterance, and output a voice signal corresponding to the measured vibration to the processor 290 . Since the voice (eg, vibration) detected by the acceleration sensor is detected from the vibration of the skin, the inflow of external noise (eg, the influence of noise) may be small. The above-described bone conduction microphone and/or acceleration sensor may be called a voice pickup unit (VPU), and may be called by various other names.

다양한 실시예들에 따르면, 오디오 처리 모듈(240)은 마스터 이어버드 장치(201)의 운용 동작에서 설정된 다양한 오디오 데이터를 재생할 수 있다. 예를 들어, 프로세서(290)는 마스터 이어버드 장치(201)가 사용자의 귀에 결합되거나 귀로부터 분리되는 것을 센서 모듈(230)을 통해 감지하고, 오디오 처리 모듈(240)을 통해 해당 효과 또는 안내 음에 관한 오디오 데이터를 재생하도록 설계될 수 있다. 다양한 실시예들에 따르면, 프로세서(290)는 마스터 이어버드 장치(201)가 충전 장치(204)에 결합되거나 분리되는 것을 전력 관리 모듈(260)을 통해 감지되거나, 전자 장치(204)에 결합되거나 분리되는 것을 통신 모듈(210)을 통해 감지하고, 오디오 처리 모듈(240)을 통해 해당 효과 또는 안내 음에 관한 오디오 데이터를 재생하도록 설계될 수 있다. 효과음이나 안내 음의 출력은 사용자 설정이나 설계자 의도에 따라 생략될 수 있다. According to various embodiments, the audio processing module 240 may reproduce various audio data set in the operation operation of the master earbud device 201 . For example, the processor 290 detects through the sensor module 230 that the master earbud device 201 is coupled to or detached from the user's ear, and the corresponding effect or guide sound through the audio processing module 240 . It can be designed to reproduce audio data about According to various embodiments, the processor 290 detects that the master earbud device 201 is coupled to or disconnected from the charging device 204 through the power management module 260, coupled to the electronic device 204, or It may be designed to detect separation through the communication module 210 and reproduce audio data related to a corresponding effect or guide sound through the audio processing module 240 . The output of the sound effect or guide sound may be omitted according to a user setting or a designer's intention.

다양한 실시예들에 따르면, 메모리(250)는, 마스터 이어버드 장치(201)의 적어도 하나의 구성요소(예: 프로세서(290) 또는 센서 모듈(230))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어 및 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터와, 오디오 데이터를 포함할 수 있다. 메모리(250)는, 휘발성 메모리 또는 비휘발성 메모리를 포함할 수 있다. According to various embodiments, the memory 250 may store various data used by at least one component (eg, the processor 290 or the sensor module 230 ) of the master earbud device 201 . . The data may include, for example, input data or output data for software and related instructions, and audio data. The memory 250 may include a volatile memory or a non-volatile memory.

일 실시예에 따르면, 메모리(250)는 전자 장치(101)로부터 수신한 오디오 데이터(비휘발성 오디오 데이터)를 저장하는 비휘발성 메모리를 포함할 수 있다. 다양한 실시예들에 따르면, 메모리(250)는 전자 장치(101)로부터 수신한 오디오 데이터(예: 휘발성 오디오 데이터)를 저장하는 휘발성 메모리를 포함할 수 있다. 일 실시예에서 전자 장치(101)로부터 수신한 오디오 데이터를 저장하는 비휘발성 메모리 또는 휘발성 메모리 내의 영역을 수신 버퍼라 칭할 수 있다. 일 실시예에서 상기 수신 버퍼에 저장되는 오디오 데이터는 마스터 이어버드 장치(201)에서 재생되기 위한 오디오 데이터(예를 들어 우측 오디오 데이터)를 적어도 포함하며, 슬레이브 이어버드 장치(202)에서 재생되기 위한 오디오 데이터(예를 들어 좌측 오디오 데이터)를 더 포함할 수 있다. 일 실시예에서 상기 수신 버퍼는 마스터 이어버드 장치(201) 또는 슬레이브 이어버드 장치(202)에서 수신에 실패하고 재전송을 요청함으로써 다시 수신된 재전송 오디오 데이터를 저장할 수 있다. 일 실시예에서 상기 수신 버퍼는 마스터 이어버드 장치(201) 또는 전자 장치(101)의 설정에 따른 제한된 버퍼 크기를 가질 수 있으며, 상기 제한된 버퍼 크기 내에서 상기 수신 버퍼에 저장된 데이터의 양은 버퍼량(혹은 버터 상태(buffer state) 혹은 버퍼 점유율(buffer occupancy))이라 칭할 수 있다. 일 실시예에서 상기 수신 버퍼에 버퍼링된 오디오 데이터는 마스터 이어버드 장치(201) 또는 슬레이브 이어버드 장치(202)에서 재생되는 시점, 마스터 이어버드 장치(201) 또는 슬레이브 이어버드 장치(202)로 지정된 횟수만큼 재전송되는 시점, 또는 지정된 시간 이후에 삭제 또는 폐기될 수 있다.According to an embodiment, the memory 250 may include a non-volatile memory that stores audio data (non-volatile audio data) received from the electronic device 101 . According to various embodiments, the memory 250 may include a volatile memory that stores audio data (eg, volatile audio data) received from the electronic device 101 . In an embodiment, a non-volatile memory or an area in a volatile memory that stores audio data received from the electronic device 101 may be referred to as a receive buffer. In one embodiment, the audio data stored in the reception buffer includes at least audio data (eg, right audio data) to be played back in the master earbud device 201 , and to be played back in the slave earbud device 202 . It may further include audio data (eg, left audio data). In an embodiment, the reception buffer may store retransmission audio data received again by requesting retransmission after failure to be received by the master earbud device 201 or the slave earbud device 202 . In an embodiment, the reception buffer may have a limited buffer size according to a setting of the master earbud device 201 or the electronic device 101, and the amount of data stored in the reception buffer within the limited buffer size is the buffer amount ( Alternatively, it may be referred to as a buffer state or buffer occupancy). In one embodiment, the audio data buffered in the reception buffer is played back in the master earbud device 201 or the slave earbud device 202, and is designated as the master earbud device 201 or the slave earbud device 202. It may be deleted or discarded at the time of retransmission by the number of times, or after a specified time.

일 실시예에 따르면, 메모리(250)는 로컬(local) 주소, 피어(peer) 주소, 및 인증 주소 중 적어도 하나를 저장할 수 있다. 일 실시예에 따르면, 마스터 이어버드 장치(201)의 로컬 주소는 마스터 이어버드 장치(201)의 블루투스 장치 주소(blue device address: BD_ADDR)를 나타낼 수 있고, 마스터 이어버드 장치(201)의 피어 주소는 블루투스 네트워크에서 마스터 이어버드 장치(201)와 페어로 구성된 상대(peer) 장치(예를 들어 슬레이브 이어버드 장치(202))의 블루투스 장치 주소를 나타낼 수 있다. 마스터 이어버드 장치(201)의 로컬 주소 및 피어 주소는 마스터 이어버드 장치(201)와 페어로 구성된 상대 장치(예를 들어 슬레이브 이어버드 장치(202))와의 통신 연결 또는 전자 장치(101)와의 통신 연결을 위하여 사용될 수 있다. According to an embodiment, the memory 250 may store at least one of a local address, a peer address, and an authentication address. According to an embodiment, the local address of the master earbud device 201 may indicate a blue device address (BD_ADDR) of the master earbud device 201 , and the peer address of the master earbud device 201 . may indicate the Bluetooth device address of a peer device (eg, the slave earbud device 202 ) configured as a pair with the master earbud device 201 in the Bluetooth network. The local address and peer address of the master earbud device 201 is a communication connection between the master earbud device 201 and a counterpart device configured as a pair (eg, the slave earbud device 202 ) or communication with the electronic device 101 . It can be used for connection.

일 실시예에 따르면, 로컬 주소 또는 피어 주소는 6바이트 크기의 블루투스 장치 주소의 형태(예: BD_ADDR)이거나 상기 블루투스 장치 주소에 기반하여 생성된 LE(low energy) 주소의 형태일 수 있다. 일 실시예에 따르면, 마스터 이어버드 장치(201)의 인증 주소는 마스터 이어버드 장치(201)를 보관하기 위한 충전 장치(204)의 주소와 동일할 수 있고, 전자 장치(101)의 통신 주소(예를 들어 MAC 주소 또는 블루투스 주소)를 포함하거나 또는 전자 장치(101)의 제조사에 의하여 설정된 시리얼 번호와 같은 고유 식별 정보를 포함할 수 있고, 마스터 이어버드 장치(201)에 설정될 수 있다. 일 실시예에 따르면, 마스터 이어버드 장치(201)는 초기에 인증 주소가 설정되지 않은 상태일 수 있다.According to an embodiment, the local address or peer address may be in the form of a 6-byte Bluetooth device address (eg, BD_ADDR) or a low energy (LE) address generated based on the Bluetooth device address. According to an embodiment, the authentication address of the master earbud device 201 may be the same as the address of the charging device 204 for storing the master earbud device 201, and the communication address of the electronic device 101 ( For example, MAC address or Bluetooth address) or unique identification information such as a serial number set by the manufacturer of the electronic device 101 , may be set in the master earbud device 201 . According to an embodiment, the master earbud device 201 may be in a state in which an authentication address is not initially set.

다양한 실시예들에 따르면, 전력 관리 모듈(260)은 마스터 이어버드 장치(201)에 공급되는 전력을 관리할 수 있다. 일 실시예에 따르면, 전력 관리 모듈(260)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다. 일 실시예에 따르면, 전력 관리 모듈(260)은 배터리 충전 모듈을 포함할 수 있다. 일 실시예에 따르면, 다른 전자 장치(예를 들어 전자 장치(101) 또는 충전 장치(204) 또는 슬레이브 이어버드 장치(202))가 마스터 이어버드 장치(201)와 전기적으로 연결(무선 또는 유선)되는 경우, 전력 관리 모듈(260)은 상기 다른 전자 장치로부터 전력을 제공받아 배터리(270)를 충전시킬 수 있다. 일 실시예에 따르면, 마스터 이어버드 장치(201)의 전원이 오프(off)된 상태로 충전 장치(204) 내에 인입되면, 마스터 이어버드 장치(201)는 충전 장치(204)로부터 공급되는 전력에 기반하여 마스터 이어버드 장치(201)의 전원을 온(on)시키거나 통신 모듈(210)의 적어도 일부를 턴 온 시킬 수 있다.According to various embodiments, the power management module 260 may manage power supplied to the master earbud device 201 . According to an embodiment, the power management module 260 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC). According to an embodiment, the power management module 260 may include a battery charging module. According to an embodiment, another electronic device (eg, the electronic device 101 or the charging device 204 or the slave earbud device 202) is electrically connected to the master earbud device 201 (wireless or wired). In this case, the power management module 260 may receive power from the other electronic device to charge the battery 270 . According to an embodiment, when the power of the master earbud device 201 is introduced into the charging device 204 in an off state, the master earbud device 201 receives power supplied from the charging device 204 . Based on the power of the master earbud device 201 may be turned on (on) or at least a part of the communication module 210 may be turned on.

다양한 실시예들에 따르면, 배터리(270)는 마스터 이어버드 장치(201)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다. 일 실시예에 따르면, 배터리(270)는, 예를 들면, 재충전 가능한 전지를 포함할 수 있다. 일 실시예에 따르면, 마스터 이어버드 장치(201)가 충전 장치(204) 내에 인입되면, 마스터 이어버드 장치(201)는 미리 지정된 충전 레벨까지 배터리(270)를 충전시킨 후, 마스터 이어버드 장치(201)의 전원을 온(on) 시키거나 통신 모듈(210)의 적어도 일부를 턴 온 시킬 수 있다.According to various embodiments, the battery 270 may supply power to at least one component of the master earbud device 201 . According to one embodiment, the battery 270 may include, for example, a rechargeable battery. According to an embodiment, when the master earbud device 201 is inserted into the charging device 204, the master earbud device 201 charges the battery 270 to a predetermined charge level, and then the master earbud device ( The power of the 201 may be turned on or at least a portion of the communication module 210 may be turned on.

다양한 실시예들에 따르면, 인터페이스(280)는 마스터 이어버드 장치(201)가 전자 장치(101), 충전 장치(204), 슬레이브 이어버드 장치(202) 또는 다른 전자 장치와 직접(예를 들어, 유선)으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면, 인터페이스(280)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다. 일 실시예에 따르면, 인터페이스(280)는 충전 장치(204)와 물리적 연결을 형성하기 위한 연결 단자를 포함할 수 있다.According to various embodiments, the interface 280 allows the master earbud device 201 to communicate directly (eg, with the electronic device 101 , the charging device 204 , the slave earbud device 202 ) or another electronic device. It can support one or more specified protocols that can be used to connect to a wired network. According to an embodiment, the interface 280 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface. According to an embodiment, the interface 280 may include a connection terminal for forming a physical connection with the charging device 204 .

다양한 실시예들에 따르면, 마스터 이어버드 장치(201)는 디스플레이 모듈(예: 도 1의 표시 장치(160))를 포함할 수 있다. 디스플레이 모듈은, 마스터 이어버드 장치(201)의 운용에 필요한 다양한 화면 인터페이스를 제공하도록 구성될 수 있다. 디스플레이 모듈은 오디오 데이터의 재생에 관한 유저 인터페이스를 제공할 수 있다. 다양한 실시예들에 따르면, 디스플레이 모듈은 전자 장치(101)로부터 오디오 데이터를 수신하는 기능 또는 전자 장치(101)로 오디오 데이터를 전송하는 기능에 관한 사용자 인터페이스를 제공할 수 있다. 다양한 실시예들에 따르면, 디스플레이 모듈은 슬레이브 이어버드 장치(202)와의 연결에 관한 사용자 인터페이스를 제공할 수 있다. 다양한 실시예들에 따르면, 표시 장치는 LED(light emitting diode)와 같은 발광 수단을 포함할 수 있다. 예를 들어, 발광 수단은 충전 중 또는 충전 완료에 해당하는 색상을 발광하도록 제어될 수 있다. 예를 들어, 마스터 이어버드 장치(201)가 전자 장치(101)와 통신 연결된 상태인 경우, 발광 수단은 특정 색상을 발광하도록 제어될 수 있다. 예를 들어, 오디오 데이터의 재생 상태(예: 재생 중, 또는 재생 일시 중지)에 따라, 발광 수단은 특정 색상을 발광하도록 제어될 수 있다. 예를 들어, 입력 장치를 통하여 발생된 사용자 입력에 따라, 발광 수단은 특정 색상을 발광하도록 제어될 수 있다.According to various embodiments, the master earbud device 201 may include a display module (eg, the display device 160 of FIG. 1 ). The display module may be configured to provide various screen interfaces required for operation of the master earbud device 201 . The display module may provide a user interface related to the reproduction of audio data. According to various embodiments, the display module may provide a user interface related to a function of receiving audio data from the electronic device 101 or a function of transmitting audio data to the electronic device 101 . According to various embodiments, the display module may provide a user interface for connection with the slave earbud device 202 . According to various embodiments, the display device may include a light emitting means such as a light emitting diode (LED). For example, the light emitting means may be controlled to emit a color corresponding to charging or completion of charging. For example, when the master earbud device 201 is in a communication-connected state with the electronic device 101, the light emitting means may be controlled to emit a specific color. For example, the light emitting means may be controlled to emit a specific color according to the reproduction state of the audio data (eg, during reproduction or while reproduction is paused). For example, according to a user input generated through the input device, the light emitting means may be controlled to emit a specific color.

다양한 실시예들에 따르면, 프로세서(290)는, 예를 들면, 소프트웨어를 실행하여 프로세서(290)에 연결된 마스터 이어버드 장치(201)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(290)는 다른 구성요소(예: 센서 모듈(230) 또는 통신 모듈(210))로부터 수신된 명령 또는 데이터를 휘발성 메모리(250)에 로드하고, 휘발성 메모리에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리에 저장할 수 있다.According to various embodiments, the processor 290 may, for example, execute software to execute at least one other component (eg, a hardware or software component) of the master earbud device 201 coupled to the processor 290 . can be controlled, and various data processing or operations can be performed. According to one embodiment, as at least part of data processing or operation, the processor 290 converts commands or data received from other components (eg, the sensor module 230 or the communication module 210 ) to the volatile memory 250 . It can load into the volatile memory, process commands or data stored in volatile memory, and store the resulting data in non-volatile memory.

일 실시예에 따르면, 프로세서(290)는 센서 모듈(230) 또는 인터페이스(280)를 통하여 마스터 이어버드 장치(201) 및 충전 장치(204) 사이에 전기적 연결이 형성되었는지를 확인할 수 있다. 일 실시예에 따르면, 프로세서(290)는 센서 모듈(230)에 포함된 마그네틱 센서(예: 홀 센서)를 통하여 충전 장치(204)에 설치된 마그네트(magnet)를 인식함으로써, 마스터 이어버드 장치(201)와 충전 장치(204) 또는 충전 장치(204)의 인근에 배치됨을 확인할 수 있다. 일 실시예에 따르면, 프로세서(290)는 인터페이스(280)에 포함된 연결 단자가 충전 장치(204)의 장착부에 설치된 연결 단자와 접촉한 것을 인식함으로써, 마스터 이어버드 장치(201) 및 충전 장치(204) 사이에 전기적 연결이 형성되었는지를 확인할 수 있다. 일 실시예에 따르면, 프로세서(290)는 센서 모듈(230)을 통하여 마스터 이어버드 장치(201)가 사용자의 귀에 착용되었는지를 확인할 수 있다.According to an embodiment, the processor 290 may determine whether an electrical connection is formed between the master earbud device 201 and the charging device 204 through the sensor module 230 or the interface 280 . According to an embodiment, the processor 290 recognizes a magnet installed in the charging device 204 through a magnetic sensor (eg, a hall sensor) included in the sensor module 230 , and thus the master earbud device 201 ) and the charging device 204 or it can be confirmed that it is disposed in the vicinity of the charging device 204 . According to an embodiment, the processor 290 recognizes that the connection terminal included in the interface 280 is in contact with the connection terminal installed in the mounting portion of the charging device 204, and thus the master earbud device 201 and the charging device ( 204), it can be checked whether an electrical connection is formed between them. According to an embodiment, the processor 290 may check whether the master earbud device 201 is worn on the user's ear through the sensor module 230 .

다양한 실시예들에 따르면, 마스터 이어버드 장치(201)가 슬레이브 이어버드 장치(202)와 통신 연결될 때, 마스터 이어버드 장치(201)는 슬레이브 이어버드 장치(202)의 통신을 제어하는 마스터 장치가 되고 슬레이브 이어버드 장치(202)는 슬레이브 장치가 될 수 있다. 일 실시예에 따르면, 마스터 이어버드 장치(201)는 전자 장치(101)와 통신 연결을 형성할 수 있으며, 상기 형성된 통신 연결을 통해, 전자 장치(101)로부터 데이터(예: 오디오 데이터)를 수신할 수 있다. 마스터 이어버드 장치(201)는 상기 형성된 통신 연결을 통해, 전자 장치(101)로 음성 데이터(예: 음성 신호에 대한 정보)를 전송할 수 있다. According to various embodiments, when the master earbud device 201 is communicatively connected with the slave earbud device 202 , the master earbud device 201 is the master device that controls the communication of the slave earbud device 202 . and the slave earbud device 202 may be a slave device. According to an embodiment, the master earbud device 201 may establish a communication connection with the electronic device 101 , and receive data (eg, audio data) from the electronic device 101 through the established communication connection. can do. The master earbud device 201 may transmit voice data (eg, information about a voice signal) to the electronic device 101 through the established communication connection.

일 실시예에 따르면, 슬레이브 이어버드 장치(202)는, 전자 장치(101)와 직접적인 통신 연결을 형성하지 않고, 전자 장치(101)에 의해 전송된 데이터(예: 오디오 데이터)를 획득할 수 있다. 예를 들어, 슬레이브 이어버드 장치(202)는, 마스터 이어버드 장치(201)가 전자 장치(101)로부터 수신한 데이터(예: 오디오 신호)를 마스터 이어버드 장치(201)로부터 수신하거나, 마스터 이어버드 장치(201)와 전자 장치(101) 간에 형성된 통신 연결에 대한 통신 파라미터들을 이용하여 마스터 이어버드 장치(201)와 전자 장치(101) 간에 형성된 통신 연결을 감지하고, 전자 장치(101)에 의해 상기 통신 연결을 통해 전송되는 데이터(예: 오디오 데이터)를 획득(즉 스니핑(sniffing))할 수 있다. 일 실시예에 따르면, 슬레이브 이어버드 장치(202)는 전자 장치(101)와 통신 연결을 형성할 수 있으며, 상기 형성된 통신 연결을 통해 전자 장치(101)로부터 데이터(예: 오디오 데이터)를 수신할 수도 있다. 일 실시예에 따르면, 마스터 이어버드 장치(201)가 슬레이브 이어버드 장치(202)와 통신 연결된 이후에 마스터 이어버드 장치(201)는 슬레이브 장치로 전환되고 슬레이브 이어버드 장치(202)는 마스터 장치로 전환될 수 있다.According to an embodiment, the slave earbud device 202 may acquire data (eg, audio data) transmitted by the electronic device 101 without forming a direct communication connection with the electronic device 101 . . For example, the slave earbud device 202 may receive data (eg, an audio signal) received by the master earbud device 201 from the electronic device 101 from the master earbud device 201 or the master earbud device 201 . The communication connection formed between the master earbud device 201 and the electronic device 101 is sensed by using the communication parameters for the communication connection formed between the bud device 201 and the electronic device 101 , and by the electronic device 101 . Data (eg, audio data) transmitted through the communication connection may be acquired (ie, sniffed). According to an embodiment, the slave earbud device 202 may establish a communication connection with the electronic device 101 , and may receive data (eg, audio data) from the electronic device 101 through the established communication connection. may be According to an embodiment, after the master earbud device 201 is communicatively connected with the slave earbud device 202, the master earbud device 201 is switched to a slave device and the slave earbud device 202 is a master device. can be switched

다양한 실시예들에 따르면, 마스터 이어버드 장치(201)는 그 제공 형태에 따라 다양한 모듈을 더 포함할 수 있다. 디지털 기기의 컨버전스(convergence) 추세에 따라 변형이 매우 다양하여 모두 열거할 수는 없으나, 상기 언급된 구성 요소들과 동등한 수준의 구성 요소가 마스터 이어버드 장치(201)에 추가로 더 포함될 수 있다. 또한, 일 실시예에 따른 마스터 이어버드 장치(201)는 그 제공 형태에 따라 상기한 구성 요소에서 특정 구성 요소들이 제외되거나 다른 구성 요소로 대체될 수 있음은 물론이다. 이는 본 기술 분야의 통상의 지식을 가진 자에겐 쉽게 이해될 수 있을 것이다.According to various embodiments, the master earbud device 201 may further include various modules according to its provision form. It is impossible to enumerate all of the variations due to the convergence trend of digital devices, but components equivalent to the above-mentioned components may be further included in the master earbud device 201 . Also, of course, in the master earbud device 201 according to an embodiment, certain components may be excluded from the above components or replaced with other components according to the form of provision thereof. This will be easily understood by those of ordinary skill in the art.

다양한 실시예들에 따르면, 마스터 이어버드 장치(201)와 페어로 구성된 슬레이브 이어버드 장치(202)는, 마스터 이어버드 장치(201)에 포함된 구성요소들을 동일하거나 유사하게 포함할 수 있고, 후술하는 도면들에서 설명되는 마스터 이어버드 장치(201)의 동작의 전부 또는 일부를 수행할 수 있다.According to various embodiments, the slave earbud device 202 configured as a pair with the master earbud device 201 may include the same or similar components included in the master earbud device 201, which will be described later. All or part of the operation of the master earbud device 201 described in the drawings may be performed.

일 실시예에 따른 전자 장치(101)는, 무선 통신 모듈(192)과, 상기 무선 통신 모듈과 기능적으로 연결된 적어도 하나의 프로세서(120)를 포함하고, 상기 적어도 하나의 프로세서는, 상기 무선 통신 모듈을 통해 상기 전자 장치와 연결된 마스터 이어버드 장치(201)로 오디오 데이터를 전송하고, 상기 마스터 이어버드 장치 및 슬레이브 이어버드 장치(202) 중 적어도 하나에서 오디오 끊김이 발생하는 것을 검출하고, 상기 오디오 끊김을 검출하는 경우 상기 슬레이브 이어버드 장치가 외부 전자 장치(203)로 연결되도록 상기 슬레이브 이어버드 장치와 상기 외부 전자 장치 중 적어도 하나를 제어하고, 상기 무선 통신 모듈을 통해 상기 마스터 이어버드 장치를 위한 제1 오디오 데이터를 상기 마스터 이어버드 장치로 전송하고, 상기 외부 전자 장치가 상기 슬레이브 이어버드 장치를 위한 제2 오디오 데이터를 상기 슬레이브 이어버드 장치로 전송하도록 상기 무선 통신 모듈을 통해 상기 외부 전자 장치를 제어하도록 구성될 수 있다.The electronic device 101 according to an embodiment includes a wireless communication module 192 and at least one processor 120 functionally connected to the wireless communication module, wherein the at least one processor includes the wireless communication module transmits audio data to the master earbud device 201 connected to the electronic device through is detected, at least one of the slave earbud device and the external electronic device is controlled so that the slave earbud device is connected to the external electronic device 203, and a first for the master earbud device through the wireless communication module. 1 transmits audio data to the master earbud device, and controls the external electronic device through the wireless communication module so that the external electronic device transmits second audio data for the slave earbud device to the slave earbud device can be configured to

일 실시예에서 상기 적어도 하나의 프로세서는, 상기 마스터 이어버드 장치에서의 상기 제1 오디오 데이터의 재생과 상기 슬레이브 이어버드 장치에서의 상기 제2 오디오 데이터의 재생을 동기화하기 위한 동기화 정보를 상기 외부 전자 장치를 통해 상기 슬레이브 이어버드 장치로 전달하도록 구성될 수 있다.In an embodiment, the at least one processor transmits synchronization information for synchronizing the reproduction of the first audio data in the master earbud device and the reproduction of the second audio data in the slave earbud device to the external electronic device. and may be configured to deliver through the device to the slave earbud device.

일 실시예에서 상기 동기화 정보는, 상기 슬레이브 이어버드 장치에서 상기 제2 오디오 데이터의 재생 시점을 결정하기 위한 시간 정보를 포함할 수 있다.In an embodiment, the synchronization information may include time information for determining a playback time of the second audio data in the slave earbud device.

일 실시예에서 상기 적어도 하나의 프로세서는, 상기 마스터 이어버드 장치에서의 상기 제1 오디오 데이터의 재생과 상기 슬레이브 이어버드 장치에서의 상기 제2 오디오 데이터의 재생을 동기화하기 위한 동기화 정보를 상기 마스터 이어버드 장치로 전달하도록 구성될 수 있다. In one embodiment, the at least one processor is configured to transmit synchronization information for synchronizing the reproduction of the first audio data in the master earbud device and the reproduction of the second audio data in the slave earbud device to the master earbud device. may be configured for delivery to a bud device.

일 실시예에서 상기 동기화 정보는, 상기 마스터 이어버드 장치와 상기 슬레이브 이어버드 장치 간의 지연을 나타내는 지연 값을 포함할 수 있다.In an embodiment, the synchronization information may include a delay value indicating a delay between the master earbud device and the slave earbud device.

일 실시예에서 상기 적어도 하나의 프로세서는, 상기 마스터 이어버드 장치에서 상기 제1 오디오 데이터를 상기 지연 값만큼 지연하여 재생하도록 상기 마스터 이어버드 장치를 제어할 수 있다.In an embodiment, the at least one processor may control the master earbud device to reproduce the first audio data with a delay by the delay value in the master earbud device.

일 실시예에서 상기 적어도 하나의 프로세서는, 상기 마스터 이어버드 장치의 수신 버퍼에 저장된 버퍼량이 지정된 임계값을 초과함을 나타내는 신호를 상기 마스터 이어버드 장치로부터 수신하면, 상기 오디오 끊김이 발생하는 것으로 판단할 수 있다.In one embodiment, when the at least one processor receives a signal indicating that the amount of the buffer stored in the reception buffer of the master earbud device exceeds a specified threshold value from the master earbud device, it is determined that the audio disconnection occurs can do.

일 실시예에서 상기 적어도 하나의 프로세서는, 상기 마스터 이어버드 장치가 상기 전자 장치로부터 수신되는 오디오 데이터에 관련된 전송률 또는 수신 신호 세기 중 적어도 하나에 대한 정보를 상기 마스터 이어버드 장치로부터 수신하고, 상기 수신된 정보를 기반으로 상기 오디오 끊김이 발생하는지를 판단할 수 있다.In an embodiment, the at least one processor receives, from the master earbud device, information about at least one of a transmission rate or a received signal strength related to audio data received from the electronic device by the master earbud device, It may be determined whether the audio disconnection occurs based on the received information.

일 실시예에서 상기 적어도 하나의 프로세서는, 상기 마스터 이어버드 장치로부터 상기 오디오 끊김이 발생하였음을 나타내는 변경 요청 신호를 수신하고, 상기 변경 요청 신호는 상기 슬레이브 이어버드 장치의 블루투스 장치 주소를 포함하며, 상기 외부 전자 장치로 상기 슬레이브 이어버드 장치의 블루투스 장치 주소를 포함하는 연결 요청 신호를 전송할 수 있다.In an embodiment, the at least one processor receives a change request signal indicating that the audio disconnection has occurred from the master earbud device, and the change request signal includes a Bluetooth device address of the slave earbud device, A connection request signal including a Bluetooth device address of the slave earbud device may be transmitted to the external electronic device.

일 실시예에서 상기 적어도 하나의 프로세서는, 상기 오디오 끊김을 검출한 경우 상기 외부 전자 장치가 사용자의 인체에 착용되어 있는지를 판단하고, 상기 외부 전자 장치가 사용자의 인체에 착용되어 있으면, 상기 외부 전자 장치로 상기 슬레이브 이어버드 장치의 블루투스 장치 주소를 포함하는 연결 요청을 전송할 수 있다.In an embodiment, the at least one processor determines whether the external electronic device is worn on the user's body when detecting the audio interruption, and when the external electronic device is worn on the user's body, the external electronic device The device may transmit a connection request including the Bluetooth device address of the slave earbud device.

도 3은 다양한 실시예에 따라 전자 장치(101)에 연결되는 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202)를 도시한 것이다.3 illustrates a master earbud device 201 and a slave earbud device 202 connected to the electronic device 101 according to various embodiments of the present disclosure.

도 3을 참조하면, 전자 장치(101)는 무선 통신(예를 들어 블루투스 레거시 또는 BLE)을 이용하여 마스터 이어버드 장치(201) 및 슬레이브 이어버드 장치(202) 중 적어도 하나를 인식할 수 있다. 일 실시예에서 마스터 이어버드 장치(201)는 주변의 블루투스 장치들이 수신(listen) 할 수 있도록 애드버타이징(advertising) 신호를 멀티캐스트 방식 또는 브로드캐스트 방식으로 전송할 수 있다. 상기 애드버타이징 신호는 특정되지 않은 주변의 전자 장치(예를 들어 블루투스 장치)와 연결 또는 계정(예를 들어 페어링)과 관련된 정보를 운반할 수 있다.Referring to FIG. 3 , the electronic device 101 may recognize at least one of the master earbud device 201 and the slave earbud device 202 using wireless communication (eg, Bluetooth legacy or BLE). In an embodiment, the master earbud device 201 may transmit an advertising signal in a multicast method or a broadcast method so that nearby Bluetooth devices can listen. The advertising signal may carry information related to a connection or account (eg, pairing) with an unspecified nearby electronic device (eg, a Bluetooth device).

일 실시예에서 상기 애드버타이징 신호는 마스터 이어버드 장치(201)의 식별 정보(이하, 장치 식별 정보) 를 포함할 수 있다. 마스터 이어버드 장치(201)는 상기 애드버타이징 신호를 지정된 조건에 따라 발생시킬 수 있다. 예를 들어, 마스터 이어버드 장치(201)는 전원이 공급되는 경우, 지정된 시간 주기, 사용자의 입력 중 적어도 하나에 기반하여 애드버타이징 신호를 출력할 수 있다. 전자 장치(101)는 애드버타이징 신호를 수신하는 경우, 상기 애드버타이징 신호에 포함된 정보를 기반으로 마스터 이어버드 장치(201)와 통신 링크를 형성할 수 있다. 일 실시예에서 전자 장치(101)는 상기 형성된 통신 링크를 통해 마스터 이어버드 장치(201)로부터, 사용자의 계정 정보(이하, 사용자 계정 정보), 현재 다른 장치와 페어링되어 있는지에 관한 정보(이하, 현재 페어링 정보), 이전에 페어링된 장치에 관한 리스트(이하, 페어링 리스트), 동시에 페어링 가능한 장치에 관한 정보(이하, 동시 페어링 정보), 전송 전력, 감지 영역 또는 배터리 잔량에 관한 정보(이하, 배터리 상태 정보) 중 적어도 하나를 획득할 수 있다.In an embodiment, the advertising signal may include identification information (hereinafter, device identification information) of the master earbud device 201 . The master earbud device 201 may generate the advertising signal according to a specified condition. For example, when power is supplied, the master earbud device 201 may output an advertising signal based on at least one of a specified time period and a user input. When receiving the advertising signal, the electronic device 101 may establish a communication link with the master earbud device 201 based on information included in the advertising signal. In an embodiment, the electronic device 101 receives the user's account information (hereinafter, user account information) from the master earbud device 201 through the formed communication link, and information on whether it is currently paired with another device (hereinafter, current pairing information), a list of previously paired devices (hereinafter referred to as the pairing list), information about devices that can be paired at the same time (hereinafter referred to as simultaneous pairing information), information about transmit power, detection area, or remaining battery capacity (hereinafter referred to as battery) state information) may be obtained.

이와 유사하게, 일 실시예에서 슬레이브 이어버드 장치(202)는 애드버타이징 신호를 멀티캐스트 방식 또는 브로드캐스트 방식으로 전송할 수 있고, 마스터 이어버드 장치(201)는 상기 애드버타이징 신호를 수신하고 상기 애드버타이징 신호에 포함된 정보를 기반으로 슬레이브 이어버드 장치(202)와 통신 링크를 형성할 수 있다. Similarly, in one embodiment, the slave earbud device 202 may transmit the advertising signal in a multicast method or a broadcast method, and the master earbud device 201 receives the advertising signal. and may establish a communication link with the slave earbud device 202 based on the information included in the advertising signal.

전자 장치(101)는 마스터 이어버드 장치(201)와의 사이에 형성된 통신 링크를 통해 오디오 데이터(305a)를 전송할 수 있다. 일 실시예에서 상기 오디오 데이터(305a)는 마스터 이어버드 장치(201)에서 재생될 수 있는 우측(R) 오디오 데이터와 슬레이브 이어버드 장치(202)에서 재생될 수 있는 좌측(L) 오디오 데이터를 포함할 수 있다. 일 실시예에서 슬레이브 이어버드 장치(202)는 마스터 이어버드 장치(201)로부터, 전자 장치(101)와 마스터 이어버드 장치(201) 사이의 통신 링크와 관련된 통신 파라미터들을 제공받고, 상기 통신 파라미터들을 이용하여 전자 장치(101)로부터 발생되는 오디오 데이터(305b)를 획득할 수 있다. 일 실시예에서 상기 오디오 데이터(305b)는 적어도 좌측 오디오 데이터를 포함할 수 있다. 일 실시예에서 상기 통신 파라미터들은, 주소 정보(예를 들어 블루투스 장치 주소 또는 로지컬 전달(logical transport: LT) 주소 중 적어도 하나), 클락 정보(예를 들어 블루투스 피코넷 클락(bluetooth piconet clock) 또는 마스터 고유 클락(master's clock native(CLKN)) 중 적어도 하나), 채널 정보(예를 들어 used channel map), SDP(service discovery protocol) 결과 정보, 지원되는 기능(supported feature)에 관한 정보, 키 정보(예를 들어 bluetooth link key), 또는 EIR(extended inquiry response) 패킷 중 적어도 하나를 포함할 수 있다. The electronic device 101 may transmit the audio data 305a through a communication link formed between the electronic device 101 and the master earbud device 201 . In an embodiment, the audio data 305a includes right (R) audio data that can be played back in the master earbud device 201 and left (L) audio data that can be played back in the slave earbud device 202 . can do. In an embodiment, the slave earbud device 202 is provided with communication parameters related to a communication link between the electronic device 101 and the master earbud device 201 from the master earbud device 201, and receives the communication parameters Audio data 305b generated from the electronic device 101 may be acquired using the . In an embodiment, the audio data 305b may include at least left audio data. In an embodiment, the communication parameters include address information (eg, at least one of a Bluetooth device address or a logical transport (LT) address), clock information (eg, a Bluetooth piconet clock) or a master-specific clock (at least one of master's clock native (CLKN)), channel information (eg used channel map), service discovery protocol (SDP) result information, information on supported features, key information (eg, For example, it may include at least one of a bluetooth link key) and an extended inquiry response (EIR) packet.

일 실시예에서, 마스터 이어버드 장치(201)는 오디오 데이터를 담은 데이터 패킷을 정상적으로 수신하였음을 통지(notify)하기 위한 응답 메시지(310)를 전자 장치(101)로 전송할 수 있다. 또한 슬레이브 이어버드 장치(202)는 오디오 데이터를 담은 데이터 패킷을 정상적으로 수신하였음을 통지(notify)하기 위한 응답 메시지(320)를 마스터 이어버드 장치(201)로 전송할 수 있다. 상기 응답 메시지(310 또는 320)는 데이터 패킷을 정상적으로 수신하였음을 나타내는 ACK(positive acknowledgement) 메시지와, 데이터 패킷이 정상적으로 수신되지 않았거나 수신된 데이터 패킷이 정상적으로 처리되지 않았음을 나타내는 NACK(negative acknowledgement) 메시지 중 적어도 하나를 포함할 수 있다. 상기 응답 메시지(310 또는 320)는 예를 들어, 적어도 하나의 데이터 패킷에 대응하는 1 비트(bit) 정보를 포함할 수 있다. 오디오 데이터를 담은 데이터 패킷을 전송한 이후에 NACK 메시지가 수신되거나 지정된 시간 내에 응답 메시지가 수신되지 않으면, 전자 장치(101)는 이전 전송과 동일한 재전송 오디오 데이터를 포함하는 재전송 데이터 패킷(315)을 재전송할 수 있다. 마찬가지로 오디오 데이터를 담은 데이터 패킷을 전송한 이후에 NACK 메시지가 수신되거나 지정된 시간 내에 응답 메시지가 수신되지 않으면, 마스터 이어버드 장치(201)는 이전 전송과 동일한 오디오 데이터를 포함하는 재전송 데이터 패킷(325)을 재전송할 수 있다.In an embodiment, the master earbud device 201 may transmit a response message 310 for notifying that the data packet including audio data has been normally received to the electronic device 101 . In addition, the slave earbud device 202 may transmit a response message 320 for notifying that the data packet containing audio data has been normally received to the master earbud device 201 . The response message 310 or 320 includes a positive acknowledgment (ACK) message indicating that the data packet has been normally received, and a negative acknowledgment (NACK) message indicating that the data packet is not normally received or the received data packet is not normally processed. It may include at least one of the messages. The response message 310 or 320 may include, for example, 1-bit information corresponding to at least one data packet. If a NACK message is received or a response message is not received within a specified time after transmitting the data packet containing the audio data, the electronic device 101 retransmits the retransmission data packet 315 including the same retransmission audio data as in the previous transmission. can do. Similarly, if a NACK message is received after transmitting a data packet containing audio data or a response message is not received within a specified time, the master earbud device 201 transmits a retransmission data packet 325 containing the same audio data as in the previous transmission. can be retransmitted.

일 실시예에서 마스터 이어버드 장치(201)는 전자 장치(101)로부터 수신한 오디오 데이터(305a)(예를 들어 좌측 오디오 데이터 및 우측 오디오 데이터를 포함함)에 대한 ACK 또는 NACK(이하 ACK/NACK라 칭함)(310)를 전자 장치(101)로 송신할 수 있다. 일 실시예에서 슬레이브 이어버드 장치(202)는 전자 장치(101)로부터 획득한 오디오 데이터(305b)에 대한 ACK/NACK(320)를 마스터 이어버드 장치(201)로 송신하도록 구성될 수 있다. 그러면 마스터 이어버드 장치(201)는 슬레이브 이어버드 장치(202)로부터의 ACK/NACK(320)를 포함하는 ACK/NACK(310)를 전자 장치(101)로 전송할 수 있다. 일 실시예에서 슬레이브 이어버드 장치(202)는 전자 장치(101)와 양방향 링크를 형성하여 직접 오디오 데이터(305b)(예를 들어 적어도 좌측 오디오 데이터를 포함함)를 수신하고, 상기 수신된 오디오 데이터(305b)에 대한 ACK/NACK(320)를 상기 양방향 링크를 통해 전자 장치(101)로 송신하도록 구성될 수 있다. 전자 장치(101)는 마스터 이어버드 장치(201)로부터의 ACK/NACK(310) 또는 슬레이브 이어버드 장치(202)로부터의 ACK/NACK(320)에 응답하여 동일 오디오 데이터를 포함하는 재전송 데이터 패킷(315)을 마스터 이어버드 장치(201)로 전송할 수 있다. 일 실시예에서 슬레이브 이어버드 장치(202)는 마스터 이어버드 장치(201)로부터 상기 재전송 데이터 패킷(325)을 수신하거나, 또는 상기 통신 파라미터들를 이용하여 상기 전자 장치(101)로부터 발송되는 재전송 데이터 패킷(325)을 획득할 수 있다.In an embodiment, the master earbud device 201 receives an ACK or NACK (hereinafter ACK/NACK) for the audio data 305a (eg, including left audio data and right audio data) received from the electronic device 101 . ) 310 may be transmitted to the electronic device 101 . In an embodiment, the slave earbud device 202 may be configured to transmit the ACK/NACK 320 for the audio data 305b obtained from the electronic device 101 to the master earbud device 201 . Then, the master earbud device 201 may transmit the ACK/NACK 310 including the ACK/NACK 320 from the slave earbud device 202 to the electronic device 101 . In one embodiment, the slave earbud device 202 forms a bidirectional link with the electronic device 101 to directly receive audio data 305b (eg, including at least left audio data), and the received audio data It may be configured to transmit the ACK/NACK 320 for 305b to the electronic device 101 through the bidirectional link. The electronic device 101 responds to the ACK/NACK 310 from the master earbud device 201 or the ACK/NACK 320 from the slave earbud device 202 to a retransmission data packet containing the same audio data ( 315) to the master earbud device 201 . In one embodiment, the slave earbud device 202 receives the retransmission data packet 325 from the master earbud device 201, or a retransmission data packet sent from the electronic device 101 using the communication parameters. (325) can be obtained.

주변 전파 상황 및 통신 환경에 의해 오디오 데이터가 정상적으로 수신되지 못한 경우, 마스터 이어버드 장치(201)는 지정된 버퍼 크기 내에서 재전송을 요청하는 NACK를 전송할 수 있다. 일 실시예에서 상기 지정된 버퍼 크기는 전자 장치(101)의 어플리케이션에 의해 정해질 수 있다. 전자 장치(101)는 슬레이브 이어버드 장치(202)가 스니핑을 통해 수신하게 될 재전송 데이터 패킷까지 같이 송부해야 하기 때문에, 2배의 재전송량이 발생하게 되고 정해진 버퍼 크기 안에서 재전송 데이터를 송신해야 하는 만큼 오디오 끊김이 발생할 확률이 높아질 수 있다. 특히 마스터 이어버드 장치(201)와 전자 장치(101) 사이의 통신 링크를 통해 재전송 데이터를 받아야 하는 슬레이브 이어버드 장치(202)의 오디오 끊김이 발생할 확률은 더 높을 수 있다. 또한 슬레이브 이어버드 장치(202)에서 필요로 하는 좌측 오디오 데이터의 재전송 데이터가 마스터 이어버드 장치(201)의 수신 버퍼를 점유함으로 인해 마스터 이어버드 장치(201)에서도 함께 오디오 끊김이 발생할 수 있다. When audio data is not normally received due to the surrounding radio wave situation and communication environment, the master earbud device 201 may transmit a NACK requesting retransmission within a specified buffer size. In an embodiment, the designated buffer size may be determined by an application of the electronic device 101 . Since the electronic device 101 has to transmit even the retransmission data packet to be received by the slave earbud device 202 through sniffing, twice the amount of retransmission occurs and as much audio as the retransmission data must be transmitted within the predetermined buffer size. It may increase the probability of a break. In particular, the probability of audio interruption of the slave earbud device 202 that needs to receive retransmission data through the communication link between the master earbud device 201 and the electronic device 101 may be higher. Also, since the retransmission data of the left audio data required by the slave earbud device 202 occupies the receiving buffer of the master earbud device 201 , audio interruption may occur in the master earbud device 201 as well.

일 실시예에서 전자 장치(101)와 이어 웨어러블 장치(200) 사이의 거리가 멀어지거나 노이즈 신호 또는 신호 전송의 방해요소(예, 벽, 신체)에 의해 전자 장치(101)와 이어 웨어러블 장치(200) 간의 통신 상태가 열악하게 될 수 있다. 이러한 상황에서 이어 웨어러블 장치(200)의 각 이어버드 장치(201 또는 202)는 오디오 데이터를 정상적으로 수신하지 못하게 되고, 오디오 데이터의 재전송 요청 및 재전송이 자주 발생하게 된다. 또한 이로 인해 사용자는 오디오 끊김을 경험하게 될 수 있다. In an embodiment, the distance between the electronic device 101 and the ear wearable device 200 increases or the electronic device 101 and the ear wearable device 200 increase due to a noise signal or an obstacle (eg, a wall, a body) of signal transmission. ) may cause poor communication between them. In this situation, each earbud device 201 or 202 of the ear wearable device 200 may not normally receive audio data, and retransmission requests and retransmissions of audio data occur frequently. Also, this may cause the user to experience audio stuttering.

도 4a 및 도 4b는 일 실시예에 따라 개활지에서 이어 웨어러블 장치(200)와 전자 장치(101) 간의 거리에 따른 통신 상태를 설명하기 위한 도면이다.4A and 4B are diagrams for explaining a communication state according to a distance between the ear wearable device 200 and the electronic device 101 in an open field, according to an exemplary embodiment.

도 4a를 참조하면, 전자 장치(101)는 사용자의 인체와 가까이 있거나 인체에 소지하고 있으며, 사용자에게 착용된 이어 웨어러블 장치(200)는 전자 장치(101)와 가까운 거리(405)를 유지할 수 있고, 이에 따라 양호한 통신 상태를 가질 수 있다. 가까운 거리(405)의 이어 웨어러블 장치(200)에서 상대적으로 적은 재전송 요청이 발생할 수 있고, 이어 웨어러블 장치(200)의 수신 버퍼 또한 지정된 임계값 미만의 버퍼량을 유지할 수 있다.Referring to FIG. 4A , the electronic device 101 is close to or possessed by the user's body, and the ear wearable device 200 worn by the user can maintain a close distance 405 to the electronic device 101, , and thus can have a good communication state. A relatively small retransmission request may occur in the ear wearable device 200 at a close distance 405 , and the receiving buffer of the ear wearable device 200 may also maintain a buffer amount less than a specified threshold value.

도 4b를 참조하면, 공원이나 운동장과 같은 개활지에서 사용자가 전자 장치(101)를 포함한 소지품을 벤치 위에 두고 러닝과 같은 활동을 하는 경우, 사용자에게 착용된 이어 웨어러블 장치(200)가 전자 장치(101)과 예를 들어 100m 이상의 먼 거리(415)로 멀어지는 경우 이어 웨어러블 장치(200)와 전자 장치(101) 간의 통신 연결은 끊어질 수 있다. 반면 이어 웨어러블 장치(200)가 전자 장치(101)과 예를 들어 50~100m 범위의 적당히 먼 거리(415)에 있는 경우 이어 웨어러블 장치(200)가 전자 장치(101)로부터 수신하는 무선 신호의 수신 세기가 약해지고, 그로 인해 재전송 요청과 재전송이 보다 빈번하게 발생할 수 있다. 개활지에서는 반사되어 이어 웨어러블 장치(200)로 돌아오는 신호들 거의 없기 때문에 이어 웨어러블 장치(200)에서 오디오 끊김이 매우 심각하게 발생할 수 있다.Referring to FIG. 4B , when the user puts his belongings including the electronic device 101 on a bench and performs an activity such as running in an open area such as a park or a sports ground, the ear wearable device 200 worn by the user changes the electronic device 101 ) and the long distance 415 , for example of 100 m or more, the communication connection between the ear wearable device 200 and the electronic device 101 may be cut off. On the other hand, when the ear wearable device 200 is at a moderately long distance 415 from the electronic device 101 in the range of 50 to 100 m, for example, the ear wearable device 200 receives a wireless signal received from the electronic device 101 . The strength is weakened, so that retransmission requests and retransmissions may occur more frequently. Since there are almost no signals reflected back to the ear wearable device 200 in the open field, audio interruption in the ear wearable device 200 may be very serious.

도 5는 일 실시예에 따라 전자 장치(101)의 소지 형태에 따른 이어 웨어러블 장치(200)의 통신 상태를 설명하기 위한 도면이다.FIG. 5 is a diagram for explaining a communication state of the ear wearable device 200 according to a holding form of the electronic device 101 according to an exemplary embodiment.

도 5를 참조하면, 전자 장치(101)는 사용자의 바지 뒷주머니에 넣어져 있고 마스터 이어버드 장치(201)과 슬레이브 이어버드 장치(202)는 각각 사용자의 양 귀에 착용되어 있을 수 있다. 사용자가 개활지에 위치하는 경우 마스터 이어버드 장치(201)과 슬레이브 이어버드 장치(202)는 반사로 인한 이득을 거의 얻을 수 없기 때문에, 마스터 이어버드 장치(201)과 슬레이브 이어버드 장치(202)는 전자 장치(101)과의 LOS(Line of Sight) 신호들(505, 510)을 통해 대부분의 오디오 데이터를 수신할 수 있다. 일 실시예에서 마스터 이어버드 장치(201)는 전자 장치(101)와 슬레이브 이어버드(202) 대비 상대적으로 가까운 거리를 위치할 수 있으며, 또는 비교적 양호한 수신 성능의 LOS 신호(505)를 수신할 수 있다. 일 실시예에서 슬레이브 이어버드 장치(202)는 전자 장치(101)와 마스터 이어버드(201) 대비 상대적으로 먼 거리에 위치할 수 있으며, 또는 인체의 영향으로 인해 슬레이브 이어버드 장치(202)가 수신하는 LOS 신호(510)의 수신 성능이 상대적으로 열악하여, 오디오 끊김이 발생할 수 있다. Referring to FIG. 5 , the electronic device 101 is put in the back pocket of the user's pants, and the master earbud device 201 and the slave earbud device 202 may be worn on both ears of the user, respectively. Since the master earbud device 201 and the slave earbud device 202 obtain little gain due to reflection when the user is located in an open field, the master earbud device 201 and the slave earbud device 202 are Most audio data may be received through line of sight (LOS) signals 505 and 510 with the electronic device 101 . In one embodiment, the master earbud device 201 may be located at a relatively close distance compared to the electronic device 101 and the slave earbud 202, or may receive the LOS signal 505 of relatively good reception performance. have. In an embodiment, the slave earbud device 202 may be located at a relatively long distance from the electronic device 101 and the master earbud 201, or the slave earbud device 202 receives the reception due to the influence of the human body. Since the reception performance of the LOS signal 510 is relatively poor, audio interruption may occur.

일 실시예에서 슬레이브 이어버드 장치(202)가 정상적으로 재생하지 못한 오디오 데이터가 마스터 이어버드 장치(201)의 수신 버퍼에 계속 남아있는 경우 마스터 이어버드 장치(201)의 수신 버퍼 용량 초과로 인해 슬레이브 이어버드 장치(202)뿐만 아니라 마스터 이어버드 장치(201)에서도 원하는 우측 오디오 데이터를 정상적으로 수신하지 못하게 되고, 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202)의 모두에서 오디오 끊김이 발생할 수 있다.In an embodiment, when audio data that the slave earbud device 202 failed to play normally continues to remain in the reception buffer of the master earbud device 201, the slave earbud device 201 exceeds the reception buffer capacity of the slave earbud device. Not only the bud device 202 but also the master earbud device 201 may not normally receive the desired right audio data, and audio interruption may occur in both the master earbud device 201 and the slave earbud device 202 . .

도 6은 일 실시예에 따른 이어 웨어러블 장치(200)에 대한 Wi-Fi 간섭의 영향을 설명하기 위한 도면이다.6 is a diagram for explaining the effect of Wi-Fi interference on the ear wearable device 200 according to an embodiment.

도 6을 참조하면, 개활지이거나 실내이면서 개활지와 비슷하게 매우 크게 열린 공간인 공항이나 역사와 같은 곳에서 밀집된 다수의 Wi-Fi 억세스 포인트(access point)들이 존재할 수 있으며, 상기 Wi-Fi AP들에서 통신하는 무선 신호들(605)이 이어 웨어러블 장치(200)에 간섭으로 작용하여 이어 웨어러블 장치(200)의 양측 이어버드 장치들(201, 202)에서 재전송 횟수가 빈번하게 발생하게 되고, 이로 인해 오디오 끊김의 발생 빈도가 매우 높아질 수 있다. 상기와 같은 간섭 환경에서 이어 웨어러블 장치(200)는 반사되어 들어오는 신호로 이한 이득 또한 크게 얻기 어려울 수 있다.Referring to FIG. 6 , a plurality of Wi-Fi access points may exist in an open area or in an indoor and very large open space similar to an open area, such as an airport or a station, and the Wi-Fi APs communicate with each other. The wireless signals 605 that do act as interference on the ear wearable device 200, so that the number of retransmissions frequently occurs in both earbud devices 201 and 202 of the ear wearable device 200, resulting in audio interruption incidence can be very high. In the interference environment as described above, it may be difficult for the ear wearable device 200 to obtain a large gain due to a reflected signal.

도 7은 일 실시예에 따라 이어 웨어러블 장치(200)가 전자 장치(101)에서 스마트워치(203)로 연결을 변경하는 동작을 설명하는 도면이다.FIG. 7 is a diagram illustrating an operation in which the ear wearable device 200 changes a connection from the electronic device 101 to the smart watch 203 according to an exemplary embodiment.

도 7을 참조하면, 이어 웨어러블 장치(200)에 포함되는 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202)는 페어로 동작하며, 마스터 이어버드 장치(201)는 전자 장치(101)로부터 오디오 데이터(적어도 우측(R) 오디오 데이터를 포함함)(705)를 수신할 수 있다. 슬레이브 이어버드 장치(202)는 스니핑(710)을 통해 전자 장치(101)로부터 전송되는 오디오 데이터(적어도 좌측 오디오 데이터를 포함함)를 수신할 수 있다. 일 실시예에서 슬레이브 이어버드 장치(202)를 위한 재전송 데이터 패킷(715)은 마스터 이어버드 장치(201)의 수신 버퍼로부터 독출되어 슬레이브 이어버드 장치(202)로 전송될 수 있다.Referring to FIG. 7 , the master earbud device 201 and the slave earbud device 202 included in the ear wearable device 200 operate as a pair, and the master earbud device 201 is Audio data (including at least right (R) audio data) 705 may be received. The slave earbud device 202 may receive audio data (including at least left audio data) transmitted from the electronic device 101 through sniffing 710 . In an embodiment, the retransmission data packet 715 for the slave earbud device 202 may be read from the reception buffer of the master earbud device 201 and transmitted to the slave earbud device 202 .

일 실시예에서 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202)는 전자 장치(101)와 연결하고 상호간에 페어로 동작하는 상태에서, 동작 700에 도시한 바와 같이 스마트워치(203)로 변경하여 연결할 수 있다. 동작 700의 변경 이후에 마스터 이어버드 장치(201)는 스마트워치(203)로부터 우측(R) 오디오 데이터 및/또는 좌측(L) 오디오 데이터 (720)를 수신할 수 있다. 슬레이브 이어버드 장치(202)는 스니핑(725)을 통해 스마트워치(203)로부터 전송되는 오디오 데이터(적어도 좌측 오디오 데이터를 포함함)를 수신할 수 있다. 일 실시예에서 슬레이브 이어버드 장치(202)를 위한 재전송 데이터 패킷(730)은 마스터 이어버드 장치(201)의 수신 버퍼로부터 독출되어 슬레이브 이어버드 장치(202)로 전송될 수 있다.In one embodiment, the master earbud device 201 and the slave earbud device 202 are connected to the electronic device 101 and operated as a pair with each other, and as shown in operation 700, the smart watch 203 You can change it to connect. After the change in operation 700 , the master earbud device 201 may receive the right (R) audio data and/or the left (L) audio data 720 from the smart watch 203 . The slave earbud device 202 may receive audio data (including at least left audio data) transmitted from the smart watch 203 through sniffing 725 . In an embodiment, the retransmission data packet 730 for the slave earbud device 202 may be read from the reception buffer of the master earbud device 201 and transmitted to the slave earbud device 202 .

일 실시예에서, 스마트워치(203)는 전자 장치(101)와 통신 링크를 연결하고, 전자 장치(101)로부터 오디오 데이터를 수신할 수 있다. 스마트워치(203)는 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202) 중 적어도 하나와 통신 링크를 연결하고, 전자 장치(101)에서 수신한 상기 오디오 데이터를 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202) 중 적어도 하나에게 전송할 수 있다. 전자 장치(101)는 상황에 따라 사용자의 인체로부터 물리적인 거리가 멀어질 수 있지만, 스마트워치(203)와 같은 웨어러블 장치는 전자 장치(101)와는 달리 인체에 착용되어 있으므로, 마찬가지로 인체에 착용되어 있는 마스터 이어버드 장치(201) 및 슬레이브 이어버드 장치(202)와의 거리가 상대적으로 가까울 수 있다. 따라서 마스터 이어버드 장치(201) 및 슬레이브 이어버드 장치(202)는 전자 장치(101)와 연결되는 경우에 비해 안정적인 연결성을 유지할 수 있다. In an embodiment, the smart watch 203 may connect a communication link to the electronic device 101 and receive audio data from the electronic device 101 . The smart watch 203 connects a communication link with at least one of the master earbud device 201 and the slave earbud device 202 , and transmits the audio data received from the electronic device 101 to the master earbud device 201 . and the slave earbud device 202 . Although the electronic device 101 may be physically farther away from the user's body depending on circumstances, the wearable device such as the smart watch 203 is worn on the human body unlike the electronic device 101, and thus is worn on the human body as well. The distance between the master earbud device 201 and the slave earbud device 202 may be relatively close. Accordingly, the master earbud device 201 and the slave earbud device 202 may maintain stable connectivity compared to a case in which they are connected to the electronic device 101 .

일 실시예에서, 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202)가 스마트워치(203)로 연결을 변경하는 경우에, 전자 장치(101)과 이어버드 장치들(201, 202) 간의 나쁜 통신 상태 및 주변 환경 상황을 개선할 수 있다. In an embodiment, when the master earbud device 201 and the slave earbud device 202 change the connection to the smart watch 203 , the connection between the electronic device 101 and the earbud devices 201 and 202 is It can improve the bad communication condition and the surrounding environment situation.

도 8은 일 실시예에 따라 스마트워치(203)에 연결되는 이어 웨어러블 장치(200)의 수신 성능을 설명하는 도면이다.8 is a view for explaining the reception performance of the ear wearable device 200 connected to the smart watch 203 according to an embodiment.

도 8을 참조하면, 무선 이어버드 장치들(201, 202)는 스마트워치(203)와 통신 연결될 수 있다. 스마트워치(203)을 착용한 사용자의 오른손과 상대적으로 가까운 거리에 위치한 마스터 이어버드 장치(201)은 상대적으로 양호한 제1 신호 경로(810)으로 오디오 신호를 수신할 수 있다. 반면 스마트워치(203)을 착용한 사용자의 오른손과 상대적으로 먼 거리에 위치한 슬레이브 이어버드 장치(202)는 인체의 영향에 의한 약 10~20dB 이상의 수신 성능 열화가 발생될 수 있는 제2 신호 경로(815)로 오디오 신호를 수신할 수 있고, 이로 인해 슬레이브 이어버드 장치(202)에서 오디오 끊김이 높은 빈도로 발생할 수 있다.Referring to FIG. 8 , the wireless earbud devices 201 and 202 may be communicatively connected to the smart watch 203 . The master earbud device 201 located at a relatively close distance to the user's right hand wearing the smart watch 203 may receive an audio signal through a relatively good first signal path 810 . On the other hand, the slave earbud device 202 located at a relatively long distance from the user's right hand wearing the smart watch 203 has a second signal path ( 815) may receive an audio signal, which may cause audio interruption in the slave earbud device 202 to occur at a high frequency.

하기 <표 1>은 일 예로서 개활지에서 발생 가능한 오디오 끊김 시나리오에 대한 실험 결과를 나타낸 것이다. The following <Table 1> shows, as an example, experimental results for possible audio interruption scenarios in open land.

스마트워치의
착용 방향
of smart watch
wear direction
LL RR
이어버드 장치earbud device RR LL RR LL 개활지open land 오디오 끊김audio stuttering 문제없음No problem 문제없음No problem 오디오 끊김audio stuttering 비개활지open land 문제없음No problem 문제없음No problem 문제없음No problem 문제없음No problem

Figure pat00001
Figure pat00002
Figure pat00003
Figure pat00004
Figure pat00005
Figure pat00006
Figure pat00007
Figure pat00008
Figure pat00009
Figure pat00010
Figure pat00011
Figure pat00012
Figure pat00013
Figure pat00014
Figure pat00015
Figure pat00016
Figure pat00017
Figure pat00018
Figure pat00019
Figure pat00020
Figure pat00021
Figure pat00022
Figure pat00023
Figure pat00024
Figure pat00025
Figure pat00026
Figure pat00027
Figure pat00028
Figure pat00029
Figure pat00030
Figure pat00031
Figure pat00032
Figure pat00033
<표 1>을 참조하면, 운동장이나 넓은 잔디밭과 같은 개활지에서 스마트워치(203)에 이어버드 장치들(201, 202)이 연결된 상태로 이어버드 장치들(201, 202)에서의 오디오 끊김 수준을 확인해보면, 스마트워치(203)와 같은 방향에 착용된 이어버드 장치에서 오디오 끊김의 문제가 상대적으로 적게 발생함을 알 수 있다. 다양한 실시예들에서, 마스터 이어버드 장치(201) 또는 전자 장치(101)는 마스터 이어버드 장치(201) 또는 슬레이브 이어버드 장치(202)에서 오디오 끊김이 발생하는지를 모니터링할 수 있다. 일 실시예에서 마스터 이어버드 장치(201)는 수신 버퍼의 버퍼량을 근거로 오디오 끊김의 발생 여부를 판단할 수 있다. 일 예로 수신 버퍼에 저장된 버퍼량이 지정된 임계값을 초과하는 경우 마스터 이어버드 장치(201)는 오디오 끊김이 발생하였음을 전자 장치(101)에게 통지할 수 있다. 일 실시예로 마스터 이어버드 장치(201)는 전자 장치(101)로부터 수신되는 오디오 데이터에 관련된 전송률(data rate) 또는 수신 신호 세기(received signal strength indicator: RSSI) 중 적어도 하나를 근거로 오디오 끊김이 발생하는지의 여부를 판단할 수 있다. 일 실시예로 마스터 이어버드 장치(201)는 전자 장치(101)로 오디오 데이터의 재전송을 요청하는 빈도 혹은 횟수에 따라 오디오 끊김이 발생하는지의 여부를 판단할 수 있다. 일 예로 연속적으로 재전송을 요청한 횟수, 혹은 지정된 시간 내에서 재전송을 요청한 횟수가 지정된 임계값을 초과하는 경우, 마스터 이어버드 장치(201)는 오디오 끊김이 발생하였음을 전자 장치(101)에게 통지할 수 있다. 일 실시예로 전자 장치(101)는 마스터 이어버드 장치(201)로부터 재전송 요청(예를 들어 NACK를 포함하는 응답 메시지)을 수신하는 빈도 혹은 횟수에 따라 오디오 끊김이 발생하는지의 여부를 판단할 수 있다. 일 예로 연속적으로 재전송 요청을 수신한 횟수, 혹은 지정된 시간 내에서 재전송 요청을 수신한 횟수가 지정된 임계값을 초과하는 경우, 전자 장치(101)는 마스터 이어버드 장치(201) 또는 슬레이브 이어버드 장치(202)에서 오디오 끊김이 발생한 것으로 판단할 수 있다.
Figure pat00001
Figure pat00002
Figure pat00003
Figure pat00004
Figure pat00005
Figure pat00006
Figure pat00007
Figure pat00008
Figure pat00009
Figure pat00010
Figure pat00011
Figure pat00012
Figure pat00013
Figure pat00014
Figure pat00015
Figure pat00016
Figure pat00017
Figure pat00018
Figure pat00019
Figure pat00020
Figure pat00021
Figure pat00022
Figure pat00023
Figure pat00024
Figure pat00025
Figure pat00026
Figure pat00027
Figure pat00028
Figure pat00029
Figure pat00030
Figure pat00031
Figure pat00032
Figure pat00033
Referring to <Table 1>, the level of audio interruption in the earbud devices 201 and 202 in a state in which the earbud devices 201 and 202 are connected to the smart watch 203 in an open field such as a playground or a large lawn is measured. If it is checked, it can be seen that the problem of audio interruption occurs relatively little in the earbud device worn in the same direction as the smart watch 203 . In various embodiments, the master earbud device 201 or the electronic device 101 may monitor whether audio interruption occurs in the master earbud device 201 or the slave earbud device 202 . In an embodiment, the master earbud device 201 may determine whether audio interruption occurs based on the buffer amount of the reception buffer. For example, when the amount of the buffer stored in the reception buffer exceeds a specified threshold value, the master earbud device 201 may notify the electronic device 101 that audio interruption has occurred. In an embodiment, the master earbud device 201 detects audio interruption based on at least one of a data rate related to audio data received from the electronic device 101 and a received signal strength indicator (RSSI). It can be determined whether or not In an embodiment, the master earbud device 201 may determine whether audio interruption occurs according to the frequency or number of requests for retransmission of audio data to the electronic device 101 . For example, when the number of consecutive requests for retransmission or the number of requests for retransmission within a specified time exceeds a specified threshold, the master earbud device 201 may notify the electronic device 101 that audio interruption has occurred. have. In an embodiment, the electronic device 101 may determine whether audio interruption occurs according to the frequency or number of times it receives a retransmission request (eg, a response message including a NACK) from the master earbud device 201 . have. As an example, when the number of consecutive retransmission requests or the number of times the retransmission requests are received within a specified time exceeds a specified threshold value, the electronic device 101 is the master earbud device 201 or the slave earbud device ( 202), it may be determined that audio interruption has occurred.

다양한 실시예들에서 전자 장치(101)는 마스터 이어버드 장치(201) 또는 슬레이브 이어버드 장치(202) 중 어느 하나(예를 들어 슬레이브 이어버드 장치(202)를 외부 전자 장치(예를 들어 스마트워치(203))로 변경하여 연결하도록 슬레이브 이어버드 장치(202)와 스마트워치(203)를 제어할 수 있다. 마스터 이어버드 장치(201)에서 임계값을 초과하는 버퍼량이 발생하는 경우, 전자 장치(101)는 슬레이브 이어버드 장치(202)의 연결을 스마트워치(203)로 변경할 수 있다.In various embodiments, the electronic device 101 connects either the master earbud device 201 or the slave earbud device 202 (for example, the slave earbud device 202) to an external electronic device (for example, a smart watch). (203)), the slave earbud device 202 and the smart watch 203 can be controlled to connect. When the buffer amount exceeding the threshold occurs in the master earbud device 201, the electronic device ( 101 ) may change the connection of the slave earbud device 202 to the smart watch 203 .

일 실시예에서, 오디오 끊김 발생의 주요한 역할을 하는 슬레이브 이어버드 장치(202)를 전자 장치(101)과의 연결에서 분리함으로써 슬레이브 이어버드 장치(202)로 인한 재전송을 감소시킬 수 있고, 이를 통해 전자 장치(101)과 연결되어 있는 마스터 이어버드 장치(201)에서 재전송 데이터로 인한 버퍼 점유율을 감소시킬 수 있다. 일 실시예에서 슬레이브 이어버드 장치(202)의 분리를 통해, 마스터 이어버드 장치(201) 및 슬레이브 이어버드 장치(202)에서의 오디오 끊김을 개선 및 보완할 수 있다. In one embodiment, retransmission due to the slave earbud device 202 can be reduced by disconnecting the slave earbud device 202, which plays a major role in generating audio disconnection, from the connection with the electronic device 101, and through this In the master earbud device 201 connected to the electronic device 101 , a buffer occupancy rate due to retransmission data may be reduced. In one embodiment, through the separation of the slave earbud device 202 , it is possible to improve and compensate for audio interruption in the master earbud device 201 and the slave earbud device 202 .

도 9는 다양한 실시예들에 따른 슬레이브 이어버드 장치(202)와 스마트워치(203)의 연결을 설명하는 도면이다.9 is a view for explaining the connection between the slave earbud device 202 and the smart watch 203 according to various embodiments.

이어 웨어러블 장치(200)에 포함되는 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202)는 전자 장치(101)와 연결되어 있으며, 마스터 이어버드 장치(201)는 전자 장치(101)로부터 직접 오디오 데이터(예를 들어 우측 오디오 데이터와 좌측 오디오 데이터를 포함함)를 수신하여 우측 오디오 데이터를 재생할 수 있고, 슬레이브 이어버드 장치(202)는 전자 장치(101)로부터 전송되는 오디오 데이터(예를 들어 우측 오디오 데이터와 좌측 오디오 데이터를 포함함)를 스니핑을 통해 획득하고 좌측 오디오 데이터를 재생할 수 있다. 마스터 이어버드 장치(201)는 전자 장치(101)로부터 수신되는 오디오 데이터를 버퍼링하는 수신 버퍼(도시하지 않음)를 포함할 수 있고, 일 예로서 수신 버퍼의 버퍼 크기는 300 바이트일 수 있다. 일 실시예에서 수신 버퍼는 전자 장치(101)로부터 수신되고 마스터 이어버드 장치(201) 및 슬레이브 이어버드 장치(202)에서 재생되기 이전의 오디오 데이터를 저장할 수 있다. 일 실시예에서 수신 버퍼는 마스터 이어버드 장치(201)에서 수신에 실패하고 전자 장치(101)로부터 재전송된 재전송 오디오 데이터를 더 저장할 수 있다. 일 실시예에서 수신 버퍼는 슬레이브 이어버드 장치(202)를 위한 재전송 오디오 데이터를 더 저장할 수 있다.The master earbud device 201 and the slave earbud device 202 included in the ear wearable device 200 are connected to the electronic device 101 , and the master earbud device 201 is directly connected to the electronic device 101 . The audio data (eg, including the right audio data and the left audio data) may be received to reproduce the right audio data, and the slave earbud device 202 may receive audio data (eg, the audio data transmitted from the electronic device 101 ). (including right audio data and left audio data) may be obtained through sniffing, and the left audio data may be reproduced. The master earbud device 201 may include a reception buffer (not shown) for buffering audio data received from the electronic device 101 , and as an example, the buffer size of the reception buffer may be 300 bytes. In an embodiment, the reception buffer may store audio data received from the electronic device 101 and before being played back by the master earbud device 201 and the slave earbud device 202 . In an embodiment, the reception buffer may further store retransmission audio data retransmitted from the electronic device 101 after failing to be received by the master earbud device 201 . In one embodiment, the receive buffer may further store retransmission audio data for the slave earbud device 202 .

도 9를 참조하면, 마스터 이어버드 장치(201)는 수신 버퍼의 버퍼량이 지정된 임계값을 초과하는지 판단할 수 있다. 일 예로서 상기 임계값은 수신 버퍼의 버퍼 크기에 대한 90% 또는 80%로 정해질 수 있다. 수신 버퍼의 버퍼량이 상기 임계값을 초과하는 경우 오디오 끊김의 가능성이 있으므로, 마스터 이어버드 장치(201)는 슬레이브 이어버드 장치(202)의 장치 정보를 포함하는 변경 요청을 제1 통신 링크(905)를 이용하여 전자 장치(101)로 전송할 수 있다. 일 실시예에서 마스터 이어버드 장치(201)는 전송률이나 RSSI와 같은 다른 메트릭을 사용하여 오디오 끊김을 검출하고, 상기 변경 요청을 전송할 수 있다. 일 실시예에서 전자 장치(101)는 마스터 이어버드 장치(201)로부터 수신되는 재전송 요청의 횟수 및/또는 빈도가 지정된 임계치를 초과하거나, 또는 마스터 이어버드 장치(201)로 전송될 오디오 데이터를 포함하는 전송 버퍼의 버퍼량(예를 들어 재전송 데이터의 양)이 지정된 임계치를 초과하는 경우, 또는 마스터 이어버드 장치(201)에 대해 측정된 RSSI가 지정된 임계치에 미달하는 경우, 이어버드 장치(200)에서의 오디오 끊김이 발생하는 것으로 판단할 수 있다. 이어버드 장치(200)에서의 오디오 끊김이 검출되는 경우, 전자 장치(101)는 마스터 이어버드 장치(201)에게 슬레이브 이어버드 장치(202)의 장치 정보에 대한 요청을 전송할 수 있다. 상기 요청에 응답하여 마스터 이어버드 장치(201)는 슬레이브 이어버드 장치(202)의 장치 정보를 전자 장치(101)로 제공할 수 있다. 일 실시예에서 상기 장치 정보는 슬레이브 이어버드 장치(202)의 블루투스 장치 주소를 포함할 수 있다.Referring to FIG. 9 , the master earbud device 201 may determine whether the buffer amount of the reception buffer exceeds a specified threshold. As an example, the threshold may be set to 90% or 80% of the buffer size of the reception buffer. When the buffer amount of the receive buffer exceeds the threshold, there is a possibility of audio interruption, so the master earbud device 201 sends a change request including the device information of the slave earbud device 202 to the first communication link 905 . may be used to transmit to the electronic device 101 . In an embodiment, the master earbud device 201 may detect an audio interruption using another metric such as a transmission rate or RSSI, and transmit the change request. In an embodiment, the electronic device 101 includes audio data to be transmitted to the master earbud device 201 when the number and/or frequency of retransmission requests received from the master earbud device 201 exceeds a specified threshold, or When the buffer amount of the transmission buffer (for example, the amount of retransmission data) exceeds the specified threshold, or when the RSSI measured for the master earbud device 201 falls below the specified threshold, the earbud device 200 It can be determined that audio interruption occurs in . When audio interruption in the earbud device 200 is detected, the electronic device 101 may transmit a request for device information of the slave earbud device 202 to the master earbud device 201 . In response to the request, the master earbud device 201 may provide device information of the slave earbud device 202 to the electronic device 101 . In one embodiment, the device information may include the Bluetooth device address of the slave earbud device 202 .

일 실시예에서 전자 장치(101)는 전자 장치(101)에 페어링되어 있는 스마트워치(203)가 존재함을 검출하고, 제2 통신 링크(910)를 이용하여 슬레이브 이어버드 장치(202)의 장치 정보를 포함하는 연결 요청을 스마트워치(203)에게 전송할 수 있다. 상기 연결 요청은 스마트워치(203)에게 슬레이브 이어버드 장치(202)와의 통신 연결(예를 들어 블루투스 연결)을 수행할 것을 요청할 수 있다. 일 실시예에서 전자 장치(101)는 스마트워치(203)에게 슬레이브 이어버드 장치(202)에서 재생을 위한 오디오 데이터를 제2 통신 링크(910)를 이용하여 전달할 수 있다. 일 실시예에서, 전자 장치(101)는 스마트워치(203)에게 전자 장치(101)에 의해 슬레이브 이어버드 장치(202)에서 재생하고 있는 오디오 음원 파일을 나타내는 음원 정보를 제2 통신 링크(910)를 이용하여 전달할 수 있다. 일 실시예에서 전자 장치(101)는 스마트워치(203)에게 상기 오디오 음원 파일의 오디오 데이터를 포함하는 재생 요청을 전송할 수 있다. 일 실시예에서 상기 재생 요청은 전자 장치(101)에 의해 슬레이브 이어버드 장치(202)에서 재생되고 있는 상기 오디오 음원 파일에 대한 재생 시점을 결정하기 위한 동기화 정보를 포함할 수 있다. 일 실시예에서 스마트워치(203)는 상기 음원 정보를 기반으로, 기 저장하고 있는 동일한 오디오 음원 파일을 식별할 수 있다. 일 실시예에서 전자 장치(101)는 상기 연결 요청과 동시에, 혹은 그 이전 혹은 그 이후에 상기 오디오 음원 파일을 스마트워치(203)로 전달할 수 있다. 일 실시예에서 스마트워치(203)는 전자 장치(101)가 이용하고 있는 음악 스트리밍 서비스에 대한 동일한 사용자 계정 혹은 그룹 계정(예를 들어 가족 계정)을 가지고 있으며, 상기 연결 요청에 응답하여 상기 음악 스트리밍 서비스의 서버에 접속하여 슬레이브 이어버드 장치(202)에서 재생하고 있는 것과 동일한 오디오 음원 파일을 다운로드할 수 있다.In an embodiment, the electronic device 101 detects that the smart watch 203 paired with the electronic device 101 exists, and uses the second communication link 910 to be a device of the slave earbud device 202 . A connection request including information may be transmitted to the smart watch 203 . The connection request may request the smart watch 203 to perform a communication connection (eg, Bluetooth connection) with the slave earbud device 202 . In an embodiment, the electronic device 101 may transmit audio data for playback in the slave earbud device 202 to the smart watch 203 using the second communication link 910 . In an embodiment, the electronic device 101 transmits, to the smart watch 203 , sound source information indicating an audio sound source file being reproduced in the slave earbud device 202 by the electronic device 101 to the second communication link 910 . can be transmitted using . In an embodiment, the electronic device 101 may transmit a playback request including audio data of the audio sound source file to the smart watch 203 . In an embodiment, the playback request may include synchronization information for determining a playback time of the audio sound source file being played back in the slave earbud device 202 by the electronic device 101 . In an embodiment, the smart watch 203 may identify the same audio sound source file that is previously stored based on the sound source information. In an embodiment, the electronic device 101 may transmit the audio sound source file to the smart watch 203 simultaneously with, before, or after the connection request. In an embodiment, the smart watch 203 has the same user account or group account (eg, a family account) for the music streaming service that the electronic device 101 is using, and in response to the connection request, the music streaming It is possible to access the server of the service and download the same audio sound source file that is being reproduced by the slave earbud device 202 .

일 실시예에서 스마트워치(203)는 전자 장치(101)의 요청에 기반하여 슬레이브 이어버드 장치(202)와 제3 통신 링크(915)를 형성할 수 있다. 또는 슬레이브 이어버드 장치(202)는 전자 장치(101)의 요청에 기반하여 스마트워치(203)와 연결될 수 있다. 일 실시예에서 스마트워치(203)와 슬레이브 이어버드 장치(202) 간에 블루투스 연결에 기반한 양방향 링크가 수립될 수 있다.. 일 실시예에서 스마트워치(203)는 이어버드 장치(202)에서 재생에 이용할 수 있는 오디오 데이터를 전자 장치(101)로부터 수신하고, 상기 오디오 데이터의 적어도 일부를 제3 통신 링크(915)를 이용하여 슬레이브 이어버드 장치(202)에게 전달할 수 있다. 일 실시예에서, 스마트워치(203)는 상기 동기화 정보에 의해 식별되는 재생 시점에서부터 상기 오디오 음원 파일을 재생하도록 상기 오디오 음원 파일의 오디오 데이터를 슬레이브 이어버드 장치(202)로 전송할 수 있다. 슬레이브 이어버드 장치(202)는 전자 장치(101)에서 스마트워치(203)으로 연결을 변경한 이후, 스마트워치(203)로부터 수신되는 오디오 데이터를 재생할 수 있다.In an embodiment, the smart watch 203 may establish a third communication link 915 with the slave earbud device 202 based on a request from the electronic device 101 . Alternatively, the slave earbud device 202 may be connected to the smart watch 203 based on a request from the electronic device 101 . In one embodiment, a two-way link based on a Bluetooth connection may be established between the smartwatch 203 and the slave earbud device 202. In one embodiment, the smartwatch 203 is configured for playback on the earbud device 202. Available audio data may be received from the electronic device 101 , and at least a portion of the audio data may be transmitted to the slave earbud device 202 using the third communication link 915 . In an embodiment, the smart watch 203 may transmit the audio data of the audio sound source file to the slave earbud device 202 so as to reproduce the audio sound source file from the reproduction time point identified by the synchronization information. After changing the connection from the electronic device 101 to the smart watch 203 , the slave earbud device 202 may reproduce audio data received from the smart watch 203 .

도 10은 다양한 실시예들에 따라 슬레이브 이어버드 장치(202)의 연결을 스마트워치(203)로 변경하는 절차를 설명하는 신호 흐름도이다. 10 is a signal flow diagram illustrating a procedure for changing the connection of the slave earbud device 202 to the smart watch 203 according to various embodiments of the present disclosure.

도 10을 참조하면, 동작 1000에서 전자 장치(101)는 마스터 이어버드 장치(201)와 블루투스(BT) 연결을 수립할 수 있다. 여기서 마스터 이어버드 장치(201)는 슬레이브 이어버드 장치(202)와 블루투스 연결을 이미 수립하고 있거나, 혹은 전자 장치(101)와의 블루투스 연결에 응답하여 슬레이브 이어버드 장치(202)와 블루투스 연결을 수립할 수 있다. 동작 1005에서 전자 장치(101)는 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202)에게 우측 오디오 데이터와 좌측 오디오 데이터를 포함하는 오디오 데이터를 전송할 수 있다. 일 실시예에서 슬레이브 이어버드 장치(202)는 마스터 이어버드 장치(201)로부터 제공받은 전자 장치(101)과 마스터 이어버드 장치(201) 간의 통신 연결에 관련된 통신 파라미터들을 기반으로, 전자 장치(101)로부터 전송되는 오디오 데이터를 스니핑을 통해 획득할 수 있다.Referring to FIG. 10 , in operation 1000 , the electronic device 101 may establish a Bluetooth (BT) connection with the master earbud device 201 . Here, the master earbud device 201 has already established a Bluetooth connection with the slave earbud device 202 or establishes a Bluetooth connection with the slave earbud device 202 in response to the Bluetooth connection with the electronic device 101 . can In operation 1005 , the electronic device 101 may transmit audio data including right audio data and left audio data to the master earbud device 201 and the slave earbud device 202 . In an embodiment, the slave earbud device 202 is based on the communication parameters related to the communication connection between the electronic device 101 and the master earbud device 201 provided from the master earbud device 201, the electronic device 101 ) can be obtained through sniffing.

동작 1010에서 마스터 이어버드 장치(201)는 슬레이브 이어버드 장치(202)에서의 오디오 끊김을 검출하고, 슬레이브 이어버드 장치(202)를 다른 전자 장치로 연결할 것을 전자 장치(101)에게 요청하기로 결정할 수 있다. 일 실시예에서 마스터 이어버드 장치(201)는 다양한 방식들(예를 들어 오디오 끊김의 검출)에 따라 슬레이브 이어버드 장치(202)를 다른 전자 장치로 연결할 것을 전자 장치(101)에게 요청하기로 결정할 수 있다. 일 실시예에서 마스터 이어버드 장치(201)는 마스터 이어버드 장치(201)의 수신 버퍼에 저장된 데이터의 양을 나타내는 버퍼량이 지정된 임계값을 초과하는 경우 오디오 끊김이 발생한 것으로 판단할 수 있다. 일 실시예에서 마스터 이어버드 장치(201)는 마스터 이어버드 장치(201)의 수신 버퍼에 저장된 데이터 중 재전송 데이터의 양이 지정된 임계값을 초과하는 경우 오디오 끊김이 발생한 것으로 판단할 수 있다. 일 실시예에서 마스터 이어버드 장치(201)는 마스터 이어버드 장치(201)의 수신 버퍼에 저장된 데이터의 양 중 슬레이브 이어버드 장치(202)를 위한 재전송 데이터의 양이 지정된 임계값을 초과하는 경우 오디오 끊김이 발생한 것으로 판단할 수 있다. 일 실시예에서 마스터 이어버드 장치(201)는 슬레이브 이어버드 장치(202)로부터 오디오 끊김에 관련된 정보를 수신할 수 있다. 일 실시예에서 마스터 이어버드 장치(201)는 수신 버퍼의 버퍼량, 전송률, 수신 신호 세기, 또는 재전송 요청의 횟수 중 적어도 하나를 기반으로 오디오 끊김이 발생함을 검출하고, 슬레이브 이어버드 장치(202)를 다른 전자 장치로 연결할 것을 전자 장치(101)에게 요청하기로 결정할 수 있다.In operation 1010 , the master earbud device 201 detects audio interruption in the slave earbud device 202 , and determines to request the electronic device 101 to connect the slave earbud device 202 to another electronic device. can In one embodiment, the master earbud device 201 decides to request the electronic device 101 to connect the slave earbud device 202 to another electronic device according to various schemes (eg, detection of audio interruption). can In an embodiment, the master earbud device 201 may determine that audio interruption has occurred when the buffer amount indicating the amount of data stored in the reception buffer of the master earbud device 201 exceeds a specified threshold value. In an embodiment, the master earbud device 201 may determine that audio interruption occurs when the amount of retransmission data among data stored in the reception buffer of the master earbud device 201 exceeds a specified threshold value. In one embodiment, the master earbud device 201 is configured to provide audio when the amount of retransmission data for the slave earbud device 202 among the amount of data stored in the reception buffer of the master earbud device 201 exceeds a specified threshold. It can be judged that a break has occurred. In an embodiment, the master earbud device 201 may receive information related to audio disconnection from the slave earbud device 202 . In one embodiment, the master earbud device 201 detects that audio interruption occurs based on at least one of the buffer amount of the reception buffer, the transmission rate, the reception signal strength, or the number of retransmission requests, and the slave earbud device 202 ) may be determined to request the electronic device 101 to connect to another electronic device.

동작 1015에서 마스터 이어버드 장치(201)는 슬레이브 이어버드 장치(202)를 다른 전자 장치로 연결할 것을 요청하기 위한 변경 요청을 전자 장치(101)로 전송할 수 있다. 상기 변경 요청은 슬레이브 이어버드 장치(202)의 장치 정보로서, 슬레이브 이어버드 장치(202)의 블루투스 장치 주소(BT_Addr)를 포함할 수 있다. 일 실시예에서 상기 변경 요청은 마스터 이어버드 장치(201)에서 버퍼량의 초과가 발생하였음을 나타낼 수 있다. 전자 장치(101)는 상기 변경 요청을 근거로 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202) 중 적어도 하나에서 오디오 끊김이 발생하였음을 인지할 수 있다. 그러면 동작 1020에서 전자 장치(101)는 외부 전자 장치, 예를 들어 스마트워치(203)가 존재하는지 판단하기 위하여, 스마트워치(203)에게 적어도 하나의 상태 확인을 전송할 수 있다. 상기 적어도 하나의 상태 확인은 전자 장치(101)에 대한 연결 요청, 전자 장치(101)에 대한 연결 상태의 확인 요청, 및/또는 스마트워치(203)가 사용자의 인체에 착용되어 있는지의 여부를 확인하기 위해 전송될 수 있다. 스마트워치(203)가 사용자의 인체에 착용되어 있는 경우, 스마트워치(203)는 상기 적어도 하나의 상태 확인에 대응하는 상태 응답을 전자 장치(101)로 전송할 수 있다. 동작 1025에서 스마트워치(203)로부터 상태 응답이 수신되면, 동작 1030에서 전자 장치(101)는 스마트워치(203)에게 상기 동작 1015에서 획득한 슬레이브 이어버드 장치(202)의 장치 정보(예를 들어 블루투스 장치 주소)를 포함하는 연결 요청을 전송할 수 있다. 상기 연결 요청은 스마트워치(203)에게 상기 블루투스 장치 주소가 지시하는 슬레이브 이어버드 장치(202)로 연결할 것을 요청할 수 있다. In operation 1015 , the master earbud device 201 may transmit a change request for requesting to connect the slave earbud device 202 to another electronic device to the electronic device 101 . The change request is device information of the slave earbud device 202 , and may include a Bluetooth device address (BT_Addr) of the slave earbud device 202 . In an embodiment, the change request may indicate that an excess of the buffer amount has occurred in the master earbud device 201 . The electronic device 101 may recognize that audio interruption has occurred in at least one of the master earbud device 201 and the slave earbud device 202 based on the change request. Then, in operation 1020 , the electronic device 101 may transmit at least one status check to the smart watch 203 in order to determine whether an external electronic device, for example, the smart watch 203 exists. The at least one status check includes a connection request to the electronic device 101 , a connection status check request to the electronic device 101 , and/or checking whether the smart watch 203 is worn on the user's body can be sent to When the smart watch 203 is worn on the user's body, the smart watch 203 may transmit a status response corresponding to the at least one status check to the electronic device 101 . When the status response is received from the smart watch 203 in operation 1025 , in operation 1030 , the electronic device 101 provides the smart watch 203 with device information (eg, the device information of the slave earbud device 202 obtained in operation 1015 ). Bluetooth device address). The connection request may request the smart watch 203 to connect to the slave earbud device 202 indicated by the Bluetooth device address.

동작 1035에서 전자 장치(101)는 스마트워치(203)로부터의 상태 응답에 기반하여 슬레이브 이어버드 장치(202)에게 스마트워치(203)와 연결할 것을 지시하는 연결 요청을 전송할 수 있다. 일 실시예에서 상기 상태 응답은, 적어도 하나의 상태 응답 신호를 포함할 수 있으며, 각 상태 응답 신호는, 전자 장치(101)에 대한 연결이 가능함을 나타내는 연결 응답, 전자 장치(101)에 대한 연결 상태에 있음을 나타내는 확인 응답 및/또는 스마트워치(203)가 사용자의 인체에 착용되어 있음을 나타내는 확인 응답을 포함할 수 있다. 일 실시예에서 상기 연결 요청은 스마트워치(203)의 블루투스 장치 주소를 포함할 수 있다. 일 실시예에서 동작 1035는 생략될 수 있으며, 슬레이브 이어버드 장치(202)는 이후 동작 1040의 연결 시도에 응답하여 스마트워치(203)와 연결될 수 있다. 일 실시예에서 전자 장치(101)는 스니핑을 중단할 것을, 직접 혹은 마스터 이어버드 장치(201)를 통해 슬레이브 이어버드 장치(202)에게 지시할 수 있다. 동작 1040에서 스마트워치(203)는 슬레이브 이어버드 장치(202)의 블루투스 장치 주소를 기반으로 슬레이브 이어버드 장치(202)에게 연결 요청을 전송하고, 동작 1045에서 슬레이브 이어버드 장치(202)는 상기 연결 요청에 응답하는 연결 완료를 스마트워치(203)로 전송할 수 있다. 상기 연결 완료에 따라 슬레이브 이어버드 장치(202)는 스마트워치(203)에 연결(예를 들어 페어링)될 수 있다.In operation 1035 , the electronic device 101 may transmit a connection request instructing the slave earbud device 202 to connect with the smart watch 203 based on the status response from the smart watch 203 . In an embodiment, the status response may include at least one status response signal, and each status response signal includes a connection response indicating that a connection to the electronic device 101 is possible, and a connection to the electronic device 101 . It may include an acknowledgment indicating that the state is present and/or an acknowledgment indicating that the smartwatch 203 is worn on the user's body. In an embodiment, the connection request may include a Bluetooth device address of the smart watch 203 . In an embodiment, operation 1035 may be omitted, and the slave earbud device 202 may then be connected to the smart watch 203 in response to the connection attempt in operation 1040 . In an embodiment, the electronic device 101 may instruct the slave earbud device 202 to stop sniffing, either directly or through the master earbud device 201 . In operation 1040 , the smart watch 203 transmits a connection request to the slave earbud device 202 based on the Bluetooth device address of the slave earbud device 202 , and in operation 1045 , the slave earbud device 202 connects the connection Connection completion in response to the request may be transmitted to the smart watch 203 . Upon completion of the connection, the slave earbud device 202 may be connected (eg, paired) to the smart watch 203 .

동작 1050에서 전자 장치(101)는 마스터 이어버드 장치(201)에게 오디오 음원 파일의 제1 오디오 데이터를 전송할 수 있다. 동작 1065a에서 상기 제1 오디오 데이터의 수신에 응답하여 마스터 이어버드 장치(201)는 상기 오디오 음원 파일의 상기 제1 오디오 데이터를 재생할 수 있다. 일 실시예에서 상기 제1 오디오 데이터는 상기 오디오 음원 파일 중 상기 제1 오디오 데이터의 재생 시점을 결정하기 위한 동기화 정보와 함께 전송될 수 있다.In operation 1050 , the electronic device 101 may transmit the first audio data of the audio sound source file to the master earbud device 201 . In response to the reception of the first audio data in operation 1065a, the master earbud device 201 may reproduce the first audio data of the audio sound source file. In an embodiment, the first audio data may be transmitted together with synchronization information for determining a reproduction time of the first audio data among the audio sound source files.

동작 1055에서 전자 장치(101)는 스마트워치(203)에게 제2 오디오 데이터를 전송할 수 있다. 상기 제2 오디오 데이터는 제1 오디오 데이터와 동일한 오디오 데이터일 수 있고, 제1 오디오 데이터와 다른 채널의 오디오 데이터 일 수 있다. 또는 제2 오디오 데이터는 제1 오디오 데이터와 연관된 재생 시점을 결정하기 위한 동기화 정보와 함께 전송될 수 있다. 일 실시예에서 상기 동기화 정보는, 상기 오디오 음원 파일 중 상기 제2 오디오 데이터의 재생 시점을 결정하기 위한 시간 정보를 포함할 수 있다. 상기 동기화 정보는 마스터 이어버드 장치(201)로 전송되는 제1 오디오 데이터의 재생 시점과 동일한 재생 시점을 지시할 수 있다. 일 실시예에서 제2 오디오 데이터는 오디오 음원 파일의 제1 오디오 데이터(예를 들어 적어도 우측 오디오 데이터)를 포함할 수 있다. 일 실시예에서 제2 오디오 데이터는 상기 오디오 음원 파일의 상기 제1 오디오 데이터에 대응하는 제2 오디오 데이터(예를 들어 좌측 오디오 데이터)를 포함할 수 있다. 일 실시예에서 상기 제2 오디오 데이터는 스마트워치(203)에 저장된 상기 동일한 오디오 음원 파일을 식별하는 정보와 상기 동기화 정보를 포함할 수 있다. 일 실시예에서 전자 장치(101)는 스마트워치(203)에게 제2 오디오 데이터의 전송과 함께 오디오 재생을 요청할 수 있다.In operation 1055 , the electronic device 101 may transmit second audio data to the smart watch 203 . The second audio data may be the same audio data as the first audio data, or may be audio data of a different channel from the first audio data. Alternatively, the second audio data may be transmitted together with synchronization information for determining a playback time associated with the first audio data. In an embodiment, the synchronization information may include time information for determining a reproduction time of the second audio data among the audio sound source files. The synchronization information may indicate the same playback timing as the playback timing of the first audio data transmitted to the master earbud device 201 . In an embodiment, the second audio data may include first audio data (eg, at least right audio data) of an audio sound source file. In an embodiment, the second audio data may include second audio data (eg, left audio data) corresponding to the first audio data of the audio sound source file. In an embodiment, the second audio data may include information identifying the same audio sound source file stored in the smart watch 203 and the synchronization information. In an embodiment, the electronic device 101 may request the smart watch 203 to play audio together with the transmission of the second audio data.

일 실시예에서 전자 장치(101)로부터의 제2 오디오 데이터의 재생 요청에 응답하여, 동작 1060에서 스마트워치(203)는 제3 오디오 데이터를 슬레이브 이어버드 장치(202)로 전송할 수 있다. 일 실시예에서 상기 제3 오디오 데이터는 상기 오디오 음원 파일 중 마스터 이어버드 장치(201)로 전송되는 제1 오디오 데이터(예를 들어 우측 오디오 데이터)와 동기화되는 제3 오디오 데이터(예를 들어 좌측 오디오 데이터)를 포함할 수 있다. 일 실시예에서 상기 제3 오디오 데이터는 상기 오디오 음원 파일 중 상기 제3 오디오 데이터의 재생 시점을 결정하기 위한 동기화 정보와 함께 전송될 수 있다. 상기 동기화 정보는 마스터 이어버드 장치(201)로 전송되는 재생 시점과 동일한 재생 시점을 지시할 수 있다. 상기 재생 시점은 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202)에서 상기 오디오 음원 파일의 우측 오디오 데이터와 좌측 오디오 데이터를 정확히 동기화하여 재생하는데 사용될 수 있다. 동작 1065b에서 슬레이브 이어버드 장치(202)는 상기 제3 오디오 데이터와 상기 동기화 정보의 수신에 응답하여 상기 재생 시점에서 상기 제3 오디오 데이터를 재생할 수 있다. In an embodiment, in response to a request for reproducing the second audio data from the electronic device 101 , in operation 1060 , the smart watch 203 may transmit the third audio data to the slave earbud device 202 . In an embodiment, the third audio data is third audio data (eg, left audio) synchronized with first audio data (eg, right audio data) transmitted to the master earbud device 201 among the audio sound source files. data) may be included. In an embodiment, the third audio data may be transmitted together with synchronization information for determining a playback time of the third audio data among the audio sound source files. The synchronization information may indicate the same playback timing as the playback timing transmitted to the master earbud device 201 . The playback time may be used to accurately synchronize and reproduce right audio data and left audio data of the audio sound source file in the master earbud device 201 and the slave earbud device 202 . In operation 1065b, the slave earbud device 202 may reproduce the third audio data at the playback time in response to the reception of the third audio data and the synchronization information.

일 실시예에서 동작 1065a 및 동작 1065b에서와 같이 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202)가 제1 오디오 데이터와 제3 오디오 데이터를 각각 재생하고 있는 동안 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202) 간에 통신 링크가 수립될 수 있으며, 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202)는 각 장치에서 실제 재생되고 있는 오디오 데이터의 재생 시점을 상호 간에 확인하기 위해, 동작 1065c에서 상기 통신 링크를 통해 각자의 동기화 정보를 교환할 수 있다. 일 예로 마스터 이어버드 장치(201)는 마스터 이어버드 장치(201)에서 실제 재생되고 있는 오디오 데이터의 재생 시점을 결정하기 위한 동기화 정보를 슬레이브 이어버드 장치(202)로 전송하고, 슬레이브 이어버드 장치(202)는 상기 동기화 정보에 따라 동기화된 시점에서 제3 오디오 데이터를 재생할 수 있다. 일 예로 슬레이브 이어버드 장치(202)는 슬레이브 이어버드 장치(202)에서 실제 재생되고 있는 오디오 데이터의 재생 시점을 결정하기 위한 동기화 정보를 마스터 이어버드 장치(201)로 전송하고, 마스터 이어버드 장치(201)는 상기 동기화 정보에 따라 동기화된 시점에서 제1 오디오 데이터를 재생할 수 있다. 일 실시예에서 상기 각 동기화 정보는 주기적으로 전송될 수 있다. 일 실시예에서 상기 각 동기화 정보는 상대 장치의 요청에 따라 전송될 수 있다.In one embodiment, as in operations 1065a and 1065b, while the master earbud device 201 and the slave earbud device 202 are playing the first audio data and the third audio data, respectively, the master earbud device 201 A communication link may be established between the and the slave earbud device 202, and the master earbud device 201 and the slave earbud device 202 mutually check the playback timing of the audio data being actually played in each device. For this purpose, in operation 1065c, respective synchronization information may be exchanged through the communication link. For example, the master earbud device 201 transmits synchronization information for determining a playback time of audio data being actually played in the master earbud device 201 to the slave earbud device 202, and the slave earbud device ( 202) may reproduce the third audio data at a point in time synchronized according to the synchronization information. For example, the slave earbud device 202 transmits synchronization information for determining the playback time of the audio data actually being played in the slave earbud device 202 to the master earbud device 201, and the master earbud device ( 201) may reproduce the first audio data at a point in time synchronized according to the synchronization information. In an embodiment, each of the synchronization information may be transmitted periodically. In an embodiment, each of the synchronization information may be transmitted according to a request of the counterpart device.

동작 1070에서 스마트워치(203)는 사용자로부터의 착용이 해제됨을 인지하고, 미착용 상태를 나타내는 신호를 슬레이브 이어버드 장치(202)로 전송할 수 있다. 동작 1075에서 슬레이브 이어버드 장치(202)는 상기 미착용 상태의 신호에 응답하여 스마트워치(203)와의 연결을 해제할 수 있다. 일 실시예에서 스마트워치(203)는 슬레이브 이어버드 장치(202)와의 연결이 해제되었음을 알리는 신호를 전자 장치(101)로 전송할 수 있다. 일 실시예에서 스마트워치(203)와의 연결이 해제된 이후에 동작 1080에서 슬레이브 이어버드 장치(202)는 마스터 이어버드 장치(201)로부터 기 제공받은 통신 파라미터들에 기반하여 마스터 이어버드 장치(201)와 전자 장치(101) 간의 통신 링크에 대한 스니핑을 수행할 수 있고, 동작 상기 스니핑을 통해 전자 장치(101)로부터 발송되는 오디오 데이터(예를 들어 적어도 좌측 오디오 데이터를 포함함)를 수신할 수 있다. 일 실시예에서 전자 장치(101)는 스마트워치(203)로부터 슬레이브 이어버드 장치(202)와의 연결이 해제되었음을 알리는 신호가 수신됨에 응답하여 슬레이브 이어버드 장치(202)를 위한 오디오 데이터를 전송할 수 있다. 일 실시예에서 상기한 동작들 1010 내지 1085 동안 전자 장치(101)는 마스터 이어버드 장치(201)를 위한 오디오 데이터(예를 들어 우측 오디오 데이터와 좌측 오디오 데이터를 포함함)를 계속하여 전송할 수 있으며, 마스터 이어버드 장치(201)는 상기 오디오 데이터(예를 들어 우측 오디오 데이터)를 계속하여 재생할 수 있다.In operation 1070 , the smart watch 203 may recognize that wearing by the user is released, and transmit a signal indicating a non-wearing state to the slave earbud device 202 . In operation 1075 , the slave earbud device 202 may release the connection with the smart watch 203 in response to the signal of the non-wear state. In an embodiment, the smart watch 203 may transmit a signal indicating that the connection with the slave earbud device 202 has been released to the electronic device 101 . In an embodiment, after the connection with the smart watch 203 is released, in operation 1080, the slave earbud device 202 sets the master earbud device 201 based on the communication parameters previously provided from the master earbud device 201. ) and the electronic device 101 may perform sniffing, and may receive audio data (eg, including at least left audio data) sent from the electronic device 101 through the sniffing operation. have. In an embodiment, the electronic device 101 may transmit audio data for the slave earbud device 202 in response to receiving a signal indicating that the connection with the slave earbud device 202 has been released from the smart watch 203 . . In an embodiment, during the above operations 1010 to 1085, the electronic device 101 may continuously transmit audio data (eg, including right audio data and left audio data) for the master earbud device 201, , the master earbud device 201 may continuously reproduce the audio data (eg, right audio data).

도 11은 다양한 실시예들에 따라 슬레이브 이어버드 장치(202)와 스마트워치(203)의 연결을 해제하는 절차를 설명하는 신호 흐름도이다.11 is a signal flow diagram illustrating a procedure for disconnecting the connection between the slave earbud device 202 and the smart watch 203 according to various embodiments of the present disclosure.

도 11을 참조하면, 동작 1050, 1055, 1060, 1065에 대한 설명은 도 10에서 설명한 바와 동일할 수 있다. 여기서 동작 1065는 도 10의 동작 1065a 및 동작 1065b를 적어도 포함할 수 있고, 일 실시예에서 동작 1065c를 더 포함할 수 있다.Referring to FIG. 11 , descriptions of operations 1050 , 1055 , 1060 , and 1065 may be the same as those described with reference to FIG. 10 . Here, operation 1065 may include at least operations 1065a and 1065b of FIG. 10 , and may further include operation 1065c according to an embodiment.

마스터 이어버드 장치(201)는 전자 장치(101)로부터 수신한 제1 오디오 데이터를 재생하고 있고, 슬레이브 이어버드 장치(202)는 스마트워치(203)로부터 수신한 제3 오디오 데이터를 재생하고 있는 도중, 슬레이브 이어버드 장치(202)는 스마트워치(203)와의 통신 상태가 양호하지 않음을 감지할 수 있다. The master earbud device 201 is playing back the first audio data received from the electronic device 101 , and the slave earbud device 202 is playing the third audio data received from the smart watch 203 . , the slave earbud device 202 may detect that the communication state with the smart watch 203 is not good.

동작 1105에서 슬레이브 이어버드 장치(202)는 스마트워치(203)와의 통신 상태가 양호하지 않음을 나타내는 통신 상태 진단 신호를 마스터 이어버드 장치(201)에게 전송할 수 있다. 동작 1110에서 마스터 이어버드 장치(201)는 전자 장치(101)에게 슬레이브 이어버드 장치(202)와 스마트워치(203) 간의 연결을 해제할 것을 요청하는 연결 해제 요청 신호를 전송할 수 있고, 이에 따라 전자 장치(101)는 스마트워치(203)에게 슬레이브 이어버드 장치(202)와의 연결을 해제할 것을 요청하는 연결 해제 요청 신호를 전송할 수 있다.In operation 1105 , the slave earbud device 202 may transmit a communication state diagnosis signal indicating that the communication state with the smart watch 203 is not good to the master earbud device 201 . In operation 1110 , the master earbud device 201 may transmit a connection release request signal for requesting the electronic device 101 to release the connection between the slave earbud device 202 and the smart watch 203 , and accordingly The device 101 may transmit a connection disconnection request signal to the smart watch 203 to request disconnection from the slave earbud device 202 .

동작 1115에서 스마트워치(203)는 슬레이브 이어버드 장치(202)와의 연결을 해제할 수 있다. 동작 1120에서 전자 장치(101)는 계속하여 우측 오디오 데이터와 좌측 오디오 데이터를 포함하는 오디오 데이터를 전송할 수 있고, 슬레이브 이어버드 장치(202)는 스마트워치(203)와의 연결이 해제된 이후, 전자 장치(101)로부터 마스터 이어버드 장치(201)로 전송되는 오디오 데이터(예를 들어 좌측 오디오 데이터)를 스니핑을 통해 획득하고 재생할 수 있다.In operation 1115 , the smart watch 203 may release the connection with the slave earbud device 202 . In operation 1120 , the electronic device 101 may continuously transmit audio data including the right audio data and the left audio data, and the slave earbud device 202 disconnects from the smart watch 203 , and then the electronic device Audio data (eg, left audio data) transmitted from 101 to the master earbud device 201 may be acquired and reproduced through sniffing.

도 12는 다양한 실시예들에 따라 슬레이브 이어버드 장치(202)의 연결을 스마트워치(203)로 변경하는 절차를 설명하는 신호 흐름도이다.12 is a signal flow diagram illustrating a procedure for changing the connection of the slave earbud device 202 to the smart watch 203 according to various embodiments of the present disclosure.

도 12를 참조하면, 동작 1200에서 전자 장치(101)는 마스터 이어버드 장치(201)와 블루투스(BT) 연결을 수립할 수 있다. 동작 1205에서 전자 장치(101)는 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202)에게 우측 오디오 데이터와 좌측 오디오 데이터를 포함하는 오디오 데이터를 전송할 수 있고, 슬레이브 이어버드 장치(202)는 스니핑을 통해, 전자 장치(101)로부터 전송되는 오디오 데이터를 획득할 수 있다.Referring to FIG. 12 , in operation 1200 , the electronic device 101 may establish a Bluetooth (BT) connection with the master earbud device 201 . In operation 1205, the electronic device 101 may transmit audio data including right audio data and left audio data to the master earbud device 201 and the slave earbud device 202, and the slave earbud device 202 Through sniffing, audio data transmitted from the electronic device 101 may be obtained.

동작 1210에서 슬레이브 이어버드 장치(202)는 오디오 끊김이 발생함을 검출하고, 오디오 끊김이 발생하였음을 알리는 오디오 끊김 관련 정보를 마스터 이어버드 장치(201)로 전송할 수 있다. 동작 1215에서 마스터 이어버드 장치(201)는 상기 오디오 끊김 관련 정보의 수신에 응답하여 슬레이브 이어버드 장치(202)를 위한 재전송 데이터를 요청하는 재전송 요청을 전자 장치(101)로 전송할 수 있다. 동작 1220에서 전자 장치(101)는 상기 재전송 요청에 응답하여 마스터 이어버드 장치(201) 및 슬레이브 이어버드 장치(202)로 재전송할 데이터의 양이, 지정된 임계값을 초과하는지를 판단하고, 상기 재전송할 데이터의 양이 상기 임계값을 초과하는 경우, 슬레이브 이어버드 장치(202)를 스마트워치(203)에 연결하기로 결정할 수 있다. 상기 결정에 따라 동작 1225에서 전자 장치(101)는 슬레이브 이어버드 장치(202)의 연결을 변경할 것을 지시하는 변경 지시 신호를 마스터 이어버드 장치(201)로 전송할 수 있다. In operation 1210 , the slave earbud device 202 may detect that an audio disconnection has occurred, and transmit audio disconnection related information indicating that the audio disconnection has occurred to the master earbud device 201 . In operation 1215 , the master earbud device 201 may transmit a retransmission request for requesting retransmission data for the slave earbud device 202 to the electronic device 101 in response to the reception of the audio disconnection related information. In operation 1220 , the electronic device 101 determines whether the amount of data to be retransmitted to the master earbud device 201 and the slave earbud device 202 exceeds a specified threshold in response to the retransmission request, and performs the retransmission. When the amount of data exceeds the threshold, it may be decided to connect the slave earbud device 202 to the smart watch 203 . According to the determination, in operation 1225 , the electronic device 101 may transmit a change instruction signal instructing to change the connection of the slave earbud device 202 to the master earbud device 201 .

이후 동작 1015 내지 1065가 수행될 수 있다. 동작 1015 내지 1065에 대한 설명은 도 10에서 설명한 바와 동일할 수 있다. 여기서 동작 1065는 도 10의 동작 1065a, 동작 1065b를 포함하고, 실시예에 따라 동작 1065c를 더 포함할 수 있다.Thereafter, operations 1015 to 1065 may be performed. Descriptions of operations 1015 to 1065 may be the same as those described with reference to FIG. 10 . Here, operation 1065 includes operations 1065a and 1065b of FIG. 10 , and may further include operation 1065c according to an embodiment.

도 13은 다양한 실시예들에 따른 마스터 이어버드 장치(201)의 수신 버퍼를 설명하는 도면이다.13 is a view for explaining a receiving buffer of the master earbud device 201 according to various embodiments.

도 13을 참조하면, 마스터 이어버드 장치(201)의 수신 버퍼(1300)는 전자 장치(101)로부터 수신한 오디오 데이터(1305)를 저장할 수 있고, 상기 오디오 데이터(1305)는 마스터 이어버드 장치(201)를 위한 제1 오디오 데이터(예를 들어 우측 오디오 데이터)와 슬레이브 이어버드 장치(202)를 위한 제2 오디오 데이터(예를 들어 좌측 오디오 데이터)를 포함할 수 있다. 수신 버퍼(1300)는 또한 재전송 오디오 데이터(1310)를 위한 버퍼 영역을 더 관리할 수 있다. 일 실시예에서 상기 재전송 오디오 데이터(1310)는 마스터 이어버드 장치(201)로부터 전자 장치(101)로 전송한 재전송 요청(예를 들어 NACK를 포함하는 응답 메시지)에 응답하여 전자 장치(101)로부터 재전송된 것일 수 있고, 마스터 이어버드 장치(201)를 위한 제1 재전송 오디오 데이터와 슬레이브 이어버드 장치(202)를 위한 제2 재전송 오디오 데이터를 포함할 수 있다. 일 실시예에서 상기 재전송 오디오 데이터(1310)는 원본 오디오 데이터(1305) 중 재전송이 필요한 것으로 표시되는 적어도 일부 오디오 데이터를 의미할 수 있다.Referring to FIG. 13 , the reception buffer 1300 of the master earbud device 201 may store audio data 1305 received from the electronic device 101 , and the audio data 1305 is stored in the master earbud device ( 201) and second audio data (eg, left audio data) for the slave earbud device 202 (eg, right audio data). The reception buffer 1300 may further manage a buffer area for the retransmission audio data 1310 . In an embodiment, the retransmission audio data 1310 is transmitted from the electronic device 101 in response to a retransmission request (eg, a response message including a NACK) transmitted from the master earbud device 201 to the electronic device 101 . It may be retransmitted, and may include first retransmitted audio data for the master earbud device 201 and second retransmitted audio data for the slave earbud device 202 . According to an embodiment, the retransmission audio data 1310 may refer to at least some audio data indicated as requiring retransmission among the original audio data 1305 .

일 실시에에서 마스터 이어버드 장치(201)의 수신 버퍼(1300)는 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202)에 의해 공용으로 사용될 수 있다. 마스터 이어버드 장치(201)는 재전송 오디오 데이터(1310) 중 슬레이브 이어버드 장치(202)를 위한 제2 재전송 오디오 데이터(1315)를 위한 버퍼 영역을 더 관리할 수 있다. 슬레이브 이어버드 장치(202)를 위한 제2 재전송 오디오 데이터(1315)를 포함할 수 있는 재전송 오디오 데이터(1310)는 마스터 이어버드 장치(201) 및 슬레이브 이어버드 장치(202)에서 재생되기 이전까지 수신 버퍼(1300)를 점유하고, 따라서 수신 버퍼(1300)의 버퍼량을 증가시키게 될 수 있다. In one embodiment, the reception buffer 1300 of the master earbud device 201 may be commonly used by the master earbud device 201 and the slave earbud device 202 . The master earbud device 201 may further manage a buffer area for the second retransmission audio data 1315 for the slave earbud device 202 among the retransmission audio data 1310 . Retransmission audio data 1310 , which may include second retransmission audio data 1315 for slave earbud device 202 , is received before being played on master earbud device 201 and slave earbud device 202 . The buffer 1300 may be occupied, and thus the buffer amount of the reception buffer 1300 may be increased.

다양한 실시예들에 따라 슬레이브 이어버드 장치(202)를 스마트워치(203)에 연결시킴에 따라 마스터 이어버드 장치(201)의 수신 버퍼(1300)에서 슬레이브 이어버드 장치(202)를 위한 재전송 오디오 데이터(1315)가 점유하는 버퍼량이 제거될 수 있다. Retransmission audio data for the slave earbud device 202 in the reception buffer 1300 of the master earbud device 201 as the slave earbud device 202 is connected to the smart watch 203 according to various embodiments The buffer amount occupied by 1315 can be eliminated.

일 실시예에서 마스터 이어버드 장치(201)는 수신 버퍼(1300)의 버퍼량 중, 재전송 오디오 데이터(1310)가 점유하는 버퍼량을 지정된 임계값과 비교함으로써, 슬레이브 이어버드 장치(202)에서 오디오 끊김이 발생하는지를 판단할 수 있다. 일 실시예에서 마스터 이어버드 장치(201)는 수신 버퍼(1300)의 버퍼량 중, 슬레이브 이어버드 장치(202)를 위한 재전송 오디오 데이터(1315)가 점유하는 버퍼량을 지정된 임계값과 비교함으로써, 슬레이브 이어버드 장치(202)에서 오디오 끊김이 발생하는지를 판단할 수 있다. In one embodiment, the master earbud device 201 compares the buffer amount occupied by the retransmission audio data 1310 among the buffer amounts of the reception buffer 1300 with a specified threshold value, so that the audio in the slave earbud device 202 is It can be determined whether a break occurs. In one embodiment, the master earbud device 201 compares the buffer amount occupied by the retransmission audio data 1315 for the slave earbud device 202 among the buffer amounts of the reception buffer 1300 with a specified threshold value, It may be determined whether audio interruption occurs in the slave earbud device 202 .

도 14는 다양한 실시예들에 따른 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202)에서의 동기화를 설명하는 도면이다.14 is a view for explaining synchronization in the master earbud device 201 and the slave earbud device 202 according to various embodiments.

도 14를 참조하면, 동작 1405에서 전자 장치(101)는 제1 오디오 신호를 마스터 이어버드 장치(201)로 전송할 수 있다. 상기 제1 오디오 신호는 제1 오디오 데이터(예를 들어 적어도 우측 오디오 데이터(R)를 포함함)와 함께, 시간 정보(예: (오디오 데이터의) 재생 시점, 전송 시점, 또는 생성 시점)(t_1)을 포함하는 동기화 정보를 포함할 수 있다. 예를 들어, 동기화 정보는 이어 버즈에서 오디오 데이터의 재생 시점을 결정하기 위한 시간 정보일 수 있다. 동작 1410에서 전자 장치(101)는 슬레이브 이어버드 장치(202)와 연결되어 있는 스마트워치(203)에게 상기 시간 정보(예, 재생 시점)(t_1)을 나타내는 동기화 정보를 포함하는 제2 오디오 신호를 전달할 수 있다. 일 실시예에서 상기 제2 오디오 신호는 상기 제1 오디오 데이터에 대응하는 제2 오디오 데이터(예를 들어 적어도 좌측 오디오 데이터(L))를 포함할 수 있다.Referring to FIG. 14 , in operation 1405 , the electronic device 101 may transmit a first audio signal to the master earbud device 201 . The first audio signal, together with the first audio data (eg, at least including the right audio data R), includes time information (eg, (of audio data) playback time, transmission time, or generation time) (t_1) ) may include synchronization information including For example, the synchronization information may be time information for determining a playback time of audio data in the earbuds. In operation 1410 , the electronic device 101 sends a second audio signal including synchronization information indicating the time information (eg, playback time) t_1 to the smart watch 203 connected to the slave earbud device 202 . can transmit In an embodiment, the second audio signal may include second audio data (eg, at least left audio data L) corresponding to the first audio data.

동작 1415에서 스마트워치(203)는 상기 제2 오디오 신호로부터 획득한 제3 오디오 데이터(예를 들어 적어도 좌측 오디오 데이터(L)를 포함함)와 함께, 상기 제3 오디오 데이터의 시간 정보(예, 재생 시점)(t_2)을 포함하는 동기화 정보를 포함하는 제3 오디오 신호를 슬레이브 이어버드 장치(202)로 전송할 수 있다. 일 실시예에서 상기 시간 정보(t_2)은 상기 시간 정보(t_1)을 기반으로 결정될 수 있다. 슬레이브 이어버드 장치(202)는 상기 제3 오디오 신호에 기반하여 상기 제3 오디오 데이터를 상기 시간 정보(예 :재생 시점)(t_2)에서 재생할 수 있다.In operation 1415, the smart watch 203 performs time information (eg, the third audio data) of the third audio data together with the third audio data (eg, including at least the left audio data L) obtained from the second audio signal. The third audio signal including synchronization information including the playback time) (t_2) may be transmitted to the slave earbud device 202 . In an embodiment, the time information t_2 may be determined based on the time information t_1. The slave earbud device 202 may reproduce the third audio data from the time information (eg, playback time) t_2 based on the third audio signal.

일 실시예에서 마스터 이어버드(201) 및/또는 슬레이브 이어버드(202)는 제1 오디오 데이터의 시간 정보(예: 재생 시점)(t_1)와 제3 오디오 데이터의 시간 정보(예: 재생 시점)(t_2)를 확인할 수 있고, 마스터 이어버드(201)에서 제1 오디오 데이터의 시간 정보(예: 재생 시점)(t_1)의 오디오 데이터와 슬레이브 이어버드(202)에서 제3 오디오 데이터의 시간 정보(재생 시점)(t_2)의 오디오 데이터가 지정된 시간 범위 내에서 각각의 스피커로 출력될 수 있다. 일 실시예에서, 제1 오디오 데이터의 시간 정보(예: 재생 시점)(t_1)와 제3 오디오 데이터의 시간 정보(예: 재생 시점)(t_2)는 동일한 시간 정보일 수 있다.In an embodiment, the master earbud 201 and/or the slave earbud 202 includes time information (eg, playback time) (t_1) of the first audio data and time information (eg, playback time) of the third audio data. (t_2) can be checked, and audio data of time information (eg, playback time) (t_1) of the first audio data in the master earbud 201 and time information of the third audio data in the slave earbud 202 ( The audio data at the playback time) (t_2) may be output to each speaker within a specified time range. In an embodiment, time information (eg, a playback time) t_1 of the first audio data and time information (eg, a playback time) t_2 of the third audio data may be the same time information.

일 실시예에서 슬레이브 이어버드 장치(202)에서의 시간 정보(예: 재생 시점)(t_2)에 대한 제3 오디오 데이터의 수신은 마스터 이어버드 장치(201)에서 시간 정보(예: 재생 시점)(t_1)에 대한 제1 오디오 데이터의 수신 대비 t_d만큼의 지연을 가질 수 있고, 전자 장치(101)가 마스터 이어버드 장치(201)에게 전달하는 제1 오디오 신호 내의 동기화 정보는 상기 지연 t_d의 값을 포함할 수 있다. 일 실시예에서 상기 동기화 정보는 시간 정보(예: 재생 시점)(t_1)에 대한 정보 대신 상기 지연 t_d의 값을 포함할 수 있다. 마스터 이어버드 장치(201)는 전자 장치(101)로부터 수신한 제1 오디오 데이터를 재생함에 있어서 상기 지연 t_d 만큼의 지연 이후에 재생을 시작함으로써, 슬레이브 이어버드 장치(202)에서 재생되는 좌측 오디오 데이터와 동기화시킬 수 있다. 일 실시예에서 동작 1410 및 1415에서 동기화 정보의 전달은 생략될 수 있다. In an embodiment, the reception of the third audio data for the time information (eg, playback time) (t_2) in the slave earbud device 202 is time information (eg, playback time) (eg, playback time) in the master earbud device 201 ( It may have a delay of t_d compared to the reception of the first audio data for t_1), and synchronization information in the first audio signal transmitted from the electronic device 101 to the master earbud device 201 is the value of the delay t_d. may include In an embodiment, the synchronization information may include the value of the delay t_d instead of information on time information (eg, a reproduction time) (t_1). When the master earbud device 201 starts playing the first audio data received from the electronic device 101 after a delay of the delay t_d, the left audio data reproduced in the slave earbud device 202 is can be synchronized with In an embodiment, the transmission of synchronization information in operations 1410 and 1415 may be omitted.

일 실시예에서 마스터 이어버드 장치(201)는 상기 제1 오디오 데이터를 재생하기 시작한 이후, 미리 정해지는 주기에 따라 혹은 슬레이브 이어버드 장치(202)로부터의 요청에 따라 제1 오디오 데이터의 시간 정보(예: 재생 시점)에 대한 정보를 슬레이브 이어버드 장치(202)에게 지속적으로 제공할 수 있다. 일 실시예에서 슬레이브 이어버드 장치(202)는 상기 제3 오디오 데이터를 재생하기 시작한 이후, 미리 정해지는 주기에 따라 혹은 마스터 이어버드 장치(201)로부터의 요청에 따라 제3 오디오 데이터의 시간 정보(예: 재생 시점)에 대한 정보를 마스터 이어버드 장치(201)에게 지속적으로 제공할 수 있다.In one embodiment, after the master earbud device 201 starts playing the first audio data, the time information ( For example, information on the playback time) may be continuously provided to the slave earbud device 202 . In an embodiment, after the slave earbud device 202 starts playing the third audio data, the time information ( For example, information on the playback time) may be continuously provided to the master earbud device 201 .

도 15는 다양한 실시예들에 따라 전자 장치(101)가 슬레이어 이어버드 장치(202)를 외부 전자 장치에 연결하는 절차를 설명하는 흐름도이다. 여기서 상기 외부 전자 장치는, 전자 장치(101)에 연결되어 있는 웨어러블 장치로서, 예를 들어 스마트워치(203)일 수 있다. 후술되는 동작들의 적어도 일부는 전자 장치(101)에 포함되는 프로세서(120)와 무선 통신 모듈(192)에 의해 수행될 수 있다.15 is a flowchart illustrating a procedure in which the electronic device 101 connects the slayer earbud device 202 to an external electronic device according to various embodiments of the present disclosure. Here, the external electronic device is a wearable device connected to the electronic device 101 , and may be, for example, a smart watch 203 . At least some of the operations described below may be performed by the processor 120 and the wireless communication module 192 included in the electronic device 101 .

도 15를 참조하면, 동작 1500에서 프로세서(120)는 페어링되어 있는 마스터 이어버드 장치(201)에게 오디오 데이터를 무선 통신 모듈(192)을 통해 전송할 수 있다. 예를 들어 상기 오디오 데이터는 마스터 이어버드 장치(201)를 위한 우측 오디오 데이터와 슬레이브 이어버드 장치(202)를 위한 좌측 오디오 데이터를 포함할 수 있다. 일 실시예에서 상기 오디오 데이터는 스니핑에 의해, 마스터 이어버드 장치(201)에 페어링되어 있는 슬레이브 이어버드 장치(202)로 전달될 수 있다. 슬레이브 이어버드 장치(202)는 마스터 이어버드 장치(201)로부터 제공받은 통신 파라미터들을 기반으로 상기 오디오 데이터(적어도 좌측 오디오 데이터를 포함함)를 획득할 수 있다.Referring to FIG. 15 , in operation 1500 , the processor 120 may transmit audio data to the paired master earbud device 201 through the wireless communication module 192 . For example, the audio data may include right audio data for the master earbud device 201 and left audio data for the slave earbud device 202 . In an embodiment, the audio data may be transmitted to the slave earbud device 202 paired with the master earbud device 201 by sniffing. The slave earbud device 202 may acquire the audio data (including at least the left audio data) based on the communication parameters provided from the master earbud device 201 .

동작 1505에서 프로세서(120)는 슬레이브 이어버드 장치(202)를 다른 전자 장치로 연결할 것인지를 판단할 수 있다. 일 실시예에서 동작 1505는 동작 1510 및 동작 1515를 포함할 수 있다.In operation 1505, the processor 120 may determine whether to connect the slave earbud device 202 to another electronic device. In an embodiment, operation 1505 may include operations 1510 and 1515 .

동작 1510에서 프로세서(120)는 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202) 중 적어도 하나에서 오디오 끊김과 관련된 상태를 검출할 수 있다. 일 실시예에서 프로세서(120)는 마스터 이어버드 장치(201)로부터 슬레이브 이어버드 장치(202)와 관련된 변경 요청을 무선 통신 모듈(192)을 통해 수신함으로써, 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202) 중 적어도 하나에서 오디오 끊김이 발생하였음을 검출할 수 있다. 일 실시예에서 프로세서(120)는 상기 변경 요청이 마스터 이어버드 장치(201)의 수신 버퍼에서 버퍼량이 지정된 임계값을 초과하였음을 알리는 것임을 인지할 수 있다. 일 실시예에서 상기 변경 요청은 슬레이브 이어버드 장치(202)의 장치 블루투스 주소를 포함할 수 있다.In operation 1510 , the processor 120 may detect a state related to audio interruption in at least one of the master earbud device 201 and the slave earbud device 202 . In one embodiment, the processor 120 receives a change request related to the slave earbud device 202 from the master earbud device 201 through the wireless communication module 192, thereby allowing the master earbud device 201 and the slave earbuds. It may be detected that audio interruption has occurred in at least one of the bird devices 202 . In an embodiment, the processor 120 may recognize that the change request indicates that the buffer amount in the reception buffer of the master earbud device 201 exceeds a specified threshold. In one embodiment, the change request may include the device Bluetooth address of the slave earbud device 202 .

동작 1515에서 프로세서(120)는 전자 장치(101)에 연결된 외부 전자 장치, 예를 들어 스마트워치(203)가 사용자의 인체에 착용된 상태인지를 판단할 수 있다. 일 실시예에서 프로세서(120)는 스마트워치(203)에게 착용 상태를 확인하기 위한 상태 확인 신호를 무선 통신 모듈(192)을 통해 전송하고, 스마트워치(203)로부터 사용자의 인체에 착용된 상태임을 나타내는 상태 응답 신호를 무선 통신 모듈(192)을 통해 수신할 수 있다. 일 실시예에서 프로세서(120)는 스마트워치(203)가 존재하는지 판단하기 위하여, 스마트워치(203)에게 적어도 하나의 상태 확인 신호를 전송할 수 있다. 상기 각 상태 확인 신호는 전자 장치(101)에 대한 연결 요청, 전자 장치(101)에 대한 연결 상태의 확인 요청, 및/또는 스마트워치(203)가 사용자의 인체에 착용되어 있는지의 여부에 대한 확인 요청을 포함할 수 있다. 프로세서(120)는 상기 적어도 하나의 상태 확인 신호에 대응하는 적어도 하나의 상태 응답 신호에 의해, 스마트워치(203)가 전자 장치(101)에 연결되어 있고 및/또는 사용자의 인체에 착용된 상태임을 확인할 수 있다.동작 1520에서 프로세서(120)는 마스터 이어버드 장치(201)와 전자 장치(101) 간의 연결을 유지하면서, 슬레이브 이어버드 장치(202)와 연결하도록 무선 통신 모듈(192)을 통해 외부 전자 장치(예를 들어 스마트워치(203))를 제어할 수 있다. 일 실시예에서 프로세서(120)는 외부 전자 장치(예를 들어 스마트워치(203))에게 슬레이브 이어버드 장치(203)의 장치 블루투스 주소를 포함하는 연결 요청 신호를 전송할 수 있다. 일 실시예에서 외부 전자 장치(예를 들어 스마트워치(203))는 상기 연결 요청 신호에 응답하여 상기 장치 블루투스 주소를 기반으로 슬레이브 이어버드 장치(203)와 통신 연결(예를 들어 블루투스 연결)을 수립할 수 있다. 외부 전자 장치(예를 들어 스마트워치(203))와 슬레이브 이어버드 장치(203) 간의 통신 연결이 완료되면, 상기 연결 요청 신호에 응답하여 외부 전자 장치(예를 들어 스마트워치(203))로부터 슬레이브 이어버드 장치(203)와 통신 연결이 완료되었음을 나타내는 응답 신호가 외부 전자 장치(예를 들어 스마트워치(203))로부터 프로세서(120)로 수신될 수 있다. In operation 1515 , the processor 120 may determine whether an external electronic device connected to the electronic device 101 , for example, the smart watch 203 is worn on the user's body. In an embodiment, the processor 120 transmits a state confirmation signal for confirming the wearing state to the smart watch 203 through the wireless communication module 192, and indicates that the smart watch 203 is in a state of being worn on the user's body. The indicated status response signal may be received through the wireless communication module 192 . In an embodiment, the processor 120 may transmit at least one status check signal to the smart watch 203 in order to determine whether the smart watch 203 exists. Each of the status check signals is a connection request to the electronic device 101 , a connection status check request to the electronic device 101 , and/or checking whether the smart watch 203 is worn on the user's body It can include requests. The processor 120 determines that the smart watch 203 is connected to the electronic device 101 and/or worn on the user's body by at least one status response signal corresponding to the at least one status check signal. In operation 1520 , the processor 120 maintains the connection between the master earbud device 201 and the electronic device 101 and connects to the slave earbud device 202 externally through the wireless communication module 192 . The electronic device (eg, the smart watch 203 ) may be controlled. In an embodiment, the processor 120 may transmit a connection request signal including the device Bluetooth address of the slave earbud device 203 to an external electronic device (eg, the smart watch 203 ). In an embodiment, the external electronic device (eg, smart watch 203 ) establishes a communication connection (eg, Bluetooth connection) with the slave earbud device 203 based on the device Bluetooth address in response to the connection request signal. can be established When the communication connection between the external electronic device (eg, smart watch 203 ) and the slave earbud device 203 is completed, in response to the connection request signal, the external electronic device (eg, smart watch 203 ) A response signal indicating that the communication connection with the earbud device 203 is completed may be received from the external electronic device (eg, the smart watch 203 ) to the processor 120 .

동작 1525에서 프로세서(120)는 외부 전자 장치(예를 들어 스마트워치(203))와 연결하도록 무선 통신 모듈(192)을 통해 슬레이브 이어버드 장치(202)를 제어할 수 있다. 일 실시예에서 프로세서(120)는 외부 전자 장치(예를 들어 스마트워치(203))와 연결하도록 지시하는 연결 요청 신호를 슬레이브 이어버드 장치(203)로 전송할 수 있다. 일 실시예에서 상기 연결 요청 신호는 외부 전자 장치(예를 들어 스마트워치(203))의 블루투스 장치 주소를 포함할 수 있다. 외부 전자 장치(예를 들어 스마트워치(203))가 동작 1520에 의해 슬레이브 이어버드 장치(202)와 연결하는 경우, 동작 1525는 생략될 수 있다. 일 실시예에서 슬레이브 이어버드 장치(202)는 외부 전자 장치(예를 들어 스마트워치(203))와의 통신 연결(예를 들어 블루투스 연결)이 완료되었음을 나타내는 응답 신호를 전자 장치(101)로 전송할 수 있고, 프로세서(120)는 상기 응답 신호에 기반하여 외부 전자 장치(예를 들어 스마트워치(203))와의 통신 연결이 완료되었음을 인지할 수 있다.In operation 1525 , the processor 120 may control the slave earbud device 202 through the wireless communication module 192 to connect with an external electronic device (eg, the smart watch 203 ). In an embodiment, the processor 120 may transmit a connection request signal instructing to connect with an external electronic device (eg, the smart watch 203 ) to the slave earbud device 203 . In an embodiment, the connection request signal may include a Bluetooth device address of an external electronic device (eg, smart watch 203). When the external electronic device (eg, the smart watch 203 ) connects with the slave earbud device 202 in operation 1520 , operation 1525 may be omitted. In an embodiment, the slave earbud device 202 may transmit a response signal indicating that the communication connection (eg, Bluetooth connection) with the external electronic device (eg, the smart watch 203) is completed to the electronic device 101. In addition, the processor 120 may recognize that the communication connection with the external electronic device (eg, the smart watch 203 ) has been completed based on the response signal.

동작 1530에서 프로세서(120)는 마스터 이어버드 장치(201)로 오디오 음원 파일과 관련된 제1 오디오 데이터(예를 들어 우측 오디오 데이터를 포함함, 또는 좌측 및 우측 오디오 데이터를 포함함)를 무선 통신 모듈(192)을 통해 전송하면서, 마스터 이어버드 장치(201)로 전송하고 있는 것과 동일한 오디오 음원 파일과 관련된 재생 요청을 무선 통신 모듈(192)을 통해 외부 전자 장치(예를 들어 스마트워치(203))로 전송할 수 있다. 일 실시예에서 상기 제1 오디오 데이터 및 상기 재생 요청 중 적어도 하나는 슬레이브 이어버드 장치(202)에서 재생을 시작할 재생 시점에 관련된 동기화 정보를 포함할 수 있다. 일 실시예에서 상기 재생 요청은 상기 오디오 음원 파일 중 상기 제1 오디오 데이터에 대응하는 제2 오디오 데이터(예를 들어 적어도 좌측 오디오 데이터를 포함함)를 포함할 수 있다. 일 실시예에서 외부 전자 장치(예를 들어 스마트워치(203))는 상기 오디오 음원 파일을 이미 저장하고 있고, 상기 재생 요청은 상기 오디오 음원 파일을 식별하는 정보를 포함할 수 있다. 일 실시예에서 상기 재생 요청에 포함되는 동기화 정보는, 슬레이브 이어버드 장치(202)에서 재생을 시작할 재생 시점에 관련된 시간 정보를 포함할 수 있다. 일 실시예에서 상기 재생 요청에 포함되는 동기화 정보는, 마스터 이어버드 장치(201)과 슬레이브 이어버드 장치(202) 간의 재생 지연에 관련되는 지연 값을 나타낼 수 있다. 일 실시예에서 동작 1510 내지 동작 1530 동안 전자 장치(101)로부터 마스터 이어버드 장치(201)로의 오디오 데이터(예를 들어 우측 오디오 데이터와 좌측 오디오 데이터를 포함함)의 전송은 계속하여 유지될 수 있다. In operation 1530, the processor 120 transmits the first audio data (eg, including right audio data, or including left and right audio data) related to the audio sound source file to the master earbud device 201 to the wireless communication module. While transmitting through 192 , a playback request related to the same audio sound source file that is being transmitted to the master earbud device 201 is transmitted through the wireless communication module 192 to an external electronic device (eg, smart watch 203 ) can be sent to In an embodiment, at least one of the first audio data and the playback request may include synchronization information related to a playback time when playback is started in the slave earbud device 202 . In an embodiment, the playback request may include second audio data (eg, including at least left audio data) corresponding to the first audio data among the audio sound source files. In an embodiment, the external electronic device (eg, the smart watch 203 ) already stores the audio sound source file, and the reproduction request may include information identifying the audio sound source file. In an embodiment, the synchronization information included in the playback request may include time information related to a playback time when playback is started in the slave earbud device 202 . In an embodiment, the synchronization information included in the playback request may indicate a delay value related to a playback delay between the master earbud device 201 and the slave earbud device 202 . In an embodiment, the transmission of audio data (eg, including right audio data and left audio data) from the electronic device 101 to the master earbud device 201 during operations 1510 to 1530 may be continuously maintained. .

도 16은 다양한 실시예들에 따라 전자 장치(101)가 슬레이어 이어버드 장치(202)에서의 오디오 끊김을 판단하는 절차를 설명하는 흐름도이다. 일 실시예에서 전자 장치(101)에 포함되는 프로세서(120)는 도 15의 동작 1505를 대체하여 도 16의 동작들을 수행할 수 있다.16 is a flowchart illustrating a procedure in which the electronic device 101 determines that audio is cut off in the slayer earbud device 202, according to various embodiments of the present disclosure. According to an embodiment, the processor 120 included in the electronic device 101 may perform the operations of FIG. 16 in place of operation 1505 of FIG. 15 .

도 16을 참조하면, 동작 1605에서 프로세서(120)는 마스터 이어버드 장치(201)에 저장된 재전송 데이터의 양이 지정된 임계값을 초과하는지 판단할 수 있다. 상기 재전송 데이터의 양이 상기 지정된 임계값을 초과하는 경우, 동작 1610에서 프로세서(120)는 상기 재전송 데이터 중, 슬레이브 이어버드 장치(202)를 위한 재전송 데이터가 존재하는지를 판단할 수 있다. 슬레이브 이어버드 장치(202)를 위한 재전송 데이터가 존재하는 경우, 동작 1615에서 프로세서(120)는 외부 전자 장치, 예를 들어 스마트워치(203)가 존재하고, 스마트워치(203)가 사용자의 인체에 착용된 상태인지를 판단할 수 있다. 일 실시예에서 프로세서(120)는 스마트워치(203)가 전자 장치(101)에 연결되어 있는지를 더 판단할 수 있다. Referring to FIG. 16 , in operation 1605 , the processor 120 may determine whether the amount of retransmission data stored in the master earbud device 201 exceeds a specified threshold. When the amount of retransmission data exceeds the specified threshold, in operation 1610 , the processor 120 may determine whether retransmission data for the slave earbud device 202 exists among the retransmission data. When there is retransmission data for the slave earbud device 202, in operation 1615, the processor 120 determines that an external electronic device, for example, the smart watch 203 exists, and the smart watch 203 is placed on the user's body. It can be determined whether it is in a worn state. In an embodiment, the processor 120 may further determine whether the smart watch 203 is connected to the electronic device 101 .

상기 스마트워치(203)가 사용자의 인체에 착용된 상태인 경우, 동작 1620에서 프로세서(120)는 스마트워치(203)와 슬레이브 이어버드 장치(202) 간의 통신 상태가 양호한지를 판단할 수 있다. 일 실시예에서 프로세서(120)는 스마트워치(203)와 슬레이브 이어버드 장치(202) 간의 통신 상태(예를 들어 슬레이브 이어버드 장치(202)에서의 수신 신호 세기)가 전자 장치(101)와 마스터 이어버드 장치(201) 간의 통신 상태(예를 들어 마스터 이어버드 장치(201)에서의 수신 신호 세기)보다 큰 경우, 스마트워치(203)와 슬레이브 이어버드 장치(202) 간의 통신 상태가 양호한 것으로 판단할 수 있다. 일 실시예에서 프로세서(120)는 슬레이브 이어버드 장치(202)에서의 수신 신호 세기에 대한 정보를 스마트워치(203) 또는 마스터 이어버드 장치(201)로부터 획득하고, 마스터 이어버드 장치(201)에서의 수신 신호 세기에 대한 정보를 마스터 이어버드 장치(201)로부터 획득할 수 있다.When the smart watch 203 is worn on the user's body, in operation 1620 , the processor 120 may determine whether the communication state between the smart watch 203 and the slave earbud device 202 is good. In one embodiment, the processor 120 determines the communication state between the smart watch 203 and the slave earbud device 202 (eg, the strength of the received signal in the slave earbud device 202) between the electronic device 101 and the master. If it is greater than the communication state between the earbud devices 201 (eg, the strength of the received signal from the master earbud device 201), it is determined that the communication state between the smart watch 203 and the slave earbud device 202 is good. can do. In one embodiment, the processor 120 obtains information about the received signal strength from the slave earbud device 202 from the smart watch 203 or the master earbud device 201, and from the master earbud device 201 Information on the received signal strength of the can be obtained from the master earbud device (201).

스마트워치(203)와 슬레이브 이어버드 장치(202) 간의 통신 상태가 양호한 경우, 프로세서(120)는 동작 1520으로 진행할 수 있다. 반면 동작 1605, 1610, 1615, 1620 중 어느 하나에서 '아니오'로 판단된 경우, 프로세서(120)는 동작 1505로 복귀할 수 있다.When the communication state between the smart watch 203 and the slave earbud device 202 is good, the processor 120 may proceed to operation 1520 . On the other hand, when it is determined as 'No' in any one of operations 1605, 1610, 1615, and 1620, the processor 120 may return to operation 1505.

도 17은 다양한 실시예에 따라 전자 장치(101)가 슬레이어 이어버드 장치(202)의 연결을 복구하는 절차를 설명하는 흐름도이다.17 is a flowchart illustrating a procedure in which the electronic device 101 restores the connection of the slayer earbud device 202, according to various embodiments of the present disclosure.

도 17을 참조하면, 동작 1705에서 프로세서(120)는 마스터 이어버드 장치(201)에게 제1 오디오 데이터(예를 들어 우측 및 좌측 오디오 데이터를 포함함)를 전송할 수 있다. 동작 1710에서 프로세서(120)는 슬레이어 이어버드 장치(202)가 외부 전자 장치, 예를 들어 스마트워치(203)에 연결되어 있으며, 스마트워치(203)로부터 수신한 제3 오디오 데이터를, 제1 오디오 데이터와 동기화되도록 재생하고 있음을 결정하고, 동작 1715에서 스마트워치(203)와 슬레이어 이어버드 장치(202) 간의 통신 상태가 양호한지를 판단할 수 있다. 일 실시예에서 프로세서(120)는 스마트워치(203)와 슬레이브 이어버드 장치(202) 간의 통신 상태(예를 들어 슬레이브 이어버드 장치(202)에서의 수신 신호 세기)가 전자 장치(101)와 마스터 이어버드 장치(201) 간의 통신 상태(예를 들어 마스터 이어버드 장치(201)에서의 수신 신호 세기)보다 큰 경우, 스마트워치(203)와 슬레이브 이어버드 장치(202) 간의 통신 상태가 양호한 것으로 판단할 수 있다. 동작 1710에서 슬레이어 이어버드 장치(202)가 스마트워치(203)를 통해 제3 오디오 데이터를 재생중이지 않거나, 스마트워치(203)와 슬레이브 이어버드 장치(202) 간의 통신 상태가 양호한 경우, 프로세서(120)는 동작 1705로 복귀할 수 있다.Referring to FIG. 17 , in operation 1705 , the processor 120 may transmit first audio data (eg, including right and left audio data) to the master earbud device 201 . In operation 1710 , the processor 120 determines that the slayer earbud device 202 is connected to an external electronic device, for example, the smart watch 203 , and receives the third audio data received from the smart watch 203 as the first audio It is determined that the data is being played in synchronization with the data, and in operation 1715 , it may be determined whether the communication state between the smart watch 203 and the slayer earbud device 202 is good. In one embodiment, the processor 120 determines the communication state between the smart watch 203 and the slave earbud device 202 (eg, the strength of the received signal in the slave earbud device 202) between the electronic device 101 and the master. If it is greater than the communication state between the earbud devices 201 (eg, the strength of the received signal from the master earbud device 201), it is determined that the communication state between the smart watch 203 and the slave earbud device 202 is good. can do. In operation 1710, if the slave earbud device 202 is not playing the third audio data through the smart watch 203 or the communication state between the smart watch 203 and the slave earbud device 202 is good, the processor ( 120) may return to operation 1705.

동작 1715에서 스마트워치(203)와 슬레이어 이어버드 장치(202) 간의 통신 상태가 양호하지 않다고 판단된 경우, 동작 1720에서 프로세서(120)는 슬레이어 이어버드 장치(202)와 스마트워치(203) 간의 연결을 해제하도록 무선 통신 모듈(192)을 통해 스마트워치(203) 및/또는 슬레이어 이어버드 장치(202)를 제어할 수 있다. 일 실시예에서 프로세서(120)는 스마트워치(203)에게 슬레이어 이어버드 장치(202)와의 연결을 해제할 것을 지시하는 신호를 전송할 수 있으며, 슬레이어 이어버드 장치(202)는 스마트워치(203)와의 연결이 해제됨을 감지하고 마스터 이어버드 장치(201)에 대한 스니핑을 시작할 수 있다. 슬레이어 이어버드 장치(202)와 스마트워치(203) 간의 연결을 해제하도록 무선 통신 모듈(192)을 통해 스마트워치(203)를 제어한 이후, 동작 1725에서 프로세서(120)는 마스터 이어버드 장치(201)로 계속하여 제1 오디오 데이터를 전송할 수 있다. If it is determined in operation 1715 that the communication state between the smart watch 203 and the slayer earbud device 202 is not good, in operation 1720 the processor 120 connects the slayer earbud device 202 and the smart watch 203 It is possible to control the smart watch 203 and/or the slayer earbud device 202 through the wireless communication module 192 to release it. In one embodiment, the processor 120 may transmit a signal instructing the smart watch 203 to disconnect from the slayer earbud device 202 , and the slayer earbud device 202 may communicate with the smart watch 203 . It can detect the disconnection and start sniffing to the master earbud device 201 . After controlling the smart watch 203 through the wireless communication module 192 to release the connection between the slayer earbud device 202 and the smart watch 203 , in operation 1725 , the processor 120 controls the master earbud device 201 ) to continuously transmit the first audio data.

도 18은 다양한 실시예에 따른 이어버드 장치들(201, 202)에서의 채널 이득을 설명하는 도면이다.18 is a view for explaining a channel gain in the earbud devices 201 and 202 according to various embodiments.

도 18을 참조하면, 이어 웨어러블 장치(200)는 마스터 이어버드 장치(201)와 슬레이브 이어버드 장치(202)를 포함할 수 있다. 여기서 마스터 이어버드 장치(201)는 우측 이어버드 또는 좌측 이어버드일 수 있으며, 슬레이브 이어버드 장치(202)는 좌측 이어버드 또는 우측 이어버드일 수 있다. 마스터 이어버드 장치(201)는 전자 장치(101)와 연결되어 있으며, 전자 장치(101)로부터 오디오 데이터(예를 들어 우측 오디오 데이터와 좌측 오디오 데이터를 포함함)를 수신하여 우측 오디오 데이터를 재생할 수 있다. 일 실시예에서, 장치 변경 이전에, 슬레이브 이어버드 장치(202)는 전자 장치(101)로부터 전송되는 오디오 데이터(예를 들어 우측 오디오 데이터와 좌측 오디오 데이터를 포함함)를 스니핑을 통해 획득하고 좌측 오디오 데이터를 재생할 수 있다. 마스터 이어버드 장치(201)와 전자 장치(101) 간의 통신 링크(1815)에 대한 채널 이득은 Hpr로 표기하고, 슬레이브 이어버드 장치(202)와 전자 장치(101) 간의 통신 링크(1810)에 대한 채널 이득은 Hpl로 표기할 수 있다. Referring to FIG. 18 , the ear wearable device 200 may include a master earbud device 201 and a slave earbud device 202 . Here, the master earbud device 201 may be a right earbud or a left earbud, and the slave earbud device 202 may be a left earbud or a right earbud. The master earbud device 201 is connected to the electronic device 101 and receives audio data (eg, including right audio data and left audio data) from the electronic device 101 to reproduce right audio data. have. In an embodiment, prior to device change, the slave earbud device 202 acquires audio data (including, for example, right audio data and left audio data) transmitted from the electronic device 101 through sniffing and Audio data can be played back. The channel gain for the communication link 1815 between the master earbud device 201 and the electronic device 101 is denoted by H pr , and in the communication link 1810 between the slave earbud device 202 and the electronic device 101 . The channel gain can be expressed as H pl .

일 실시예에서 장치 변경 이후에, 전자 장치(101)는 전자 장치(101)와 스마트워치(203) 간의 통신 링크(1805)를 통해 스마트워치(203)에게, 슬레이브 이어버드 장치(202)의 장치 블루투스 주소를 포함하는 연결 요청을 전송할 수 있다. 상기 연결 요청을 기반으로 스마트워치(203)는 슬레이브 이어버드 장치(202)와 통신 링크(1820)를 형성할 수 있다. 상기 통신 링크에 대한 채널 이득은 Hwl로 표기할 수 있다.In one embodiment, after device change, the electronic device 101 sends the device of the slave earbud device 202 to the smart watch 203 via the communication link 1805 between the electronic device 101 and the smart watch 203 . A connection request including a Bluetooth address may be transmitted. Based on the connection request, the smart watch 203 may establish a communication link 1820 with the slave earbud device 202 . The channel gain for the communication link may be expressed as H wl .

슬레이브 이어버드 장치(202)가 전자 장치(101)에서 스마트워치(203)으로 연결을 변경한 이후에 |Hwl| > |Hpl|인 경우 슬레이브 이어버드 장치(202)는 추가적인 채널 이득을 얻을 수 있다. 채널 용량을 C라고 할 때, C=W log (1+S/N)이다. 여기서 W는 대역폭이며, S는 신호 전력이고, N은 잡음 전력이다. 잡음 N이 일정하다면, 신호 전력 S는 슬레이브 이어버드 장치(202)가 수신하는 신호 세기에 비례하기 때문에, 슬레이브 이어버드 장치(202)는 |Hwl|2 - |Hpl|2에 해당하는 추가적인 채널 이득을 얻을 수 있다. After the slave earbud device 202 changes the connection from the electronic device 101 to the smart watch 203, |H w l| > |H pl |, the slave earbud device 202 may obtain an additional channel gain. When the channel capacity is C, C=W log (1+S/N). where W is the bandwidth, S is the signal power, and N is the noise power. If the noise N is constant, since the signal power S is proportional to the signal strength that the slave earbud device 202 receives, the slave earbud device 202 is |H w l| 2 - |H pl | An additional channel gain corresponding to 2 can be obtained.

다양한 실시예들은 오디오 끊김이 발생하는 통신 환경에서 한 쌍의 이어버드 장치들(201, 202) 중 하나의 이어버드 장치(202)를 전자 장치(101)로부터 분리하여 외부 전자 장치(예를 들어 스마트워치(203))에 연결함으로써 이어버드 장치들(201, 202)에서 오디오 끊김 현상을 개선 및 보완하는 효과가 있다. 또한 한 쌍의 이어버드 장치들(202, 202)을 동시에 외부 전자 장치(예를 들어 스마트워치(203)로 옮기는 경우에 비하여, 스마트워치(203)를 착용한 방향과 반대 방향의 귀에 착용한 이어버드 장치(예를 들어 슬레이브 이어버드 장치(202))에서 발생할 수 있는 오디오 끊김 또한 개선 및 보완할 수 있다.According to various embodiments, one earbud device 202 of a pair of earbud devices 201 and 202 is separated from the electronic device 101 in a communication environment in which audio interruption occurs, and an external electronic device (for example, a smart By connecting to the watch 203 ), there is an effect of improving and compensating for the audio interruption in the earbud devices 201 and 202 . Also, compared to the case of moving the pair of earbud devices 202 and 202 to an external electronic device (eg, the smart watch 203 ) at the same time, the ear worn on the ear in the opposite direction to the direction in which the smart watch 203 is worn. Audio dropouts that may occur in the bud device (eg, the slave earbud device 202 ) can also be improved and compensated for.

일 실시예에 따른 오디오 출력을 위한 전자 장치(101)의 동작 방법은, 상기 전자 장치와 연결된 마스터 이어버드 장치(201)로 오디오 데이터를 전송하는 동작(1305)과, 상기 마스터 이어버드 장치 및 슬레이브 이어버드 장치(202 중 적어도 하나에서 오디오 끊김이 발생하는 것을 검출하는 동작(1310)과, 상기 오디오 끊김을 검출한 경우 상기 슬레이브 이어버드 장치가 외부 전자 장치로 연결되도록 상기 슬레이브 이어버드 장치와 상기 외부 전자 장치 중 적어도 하나를 제어하는 동작(1320,1325)과, 상기 마스터 이어버드 장치를 위한 제1 오디오 데이터를 상기 마스터 이어버드 장치로 전송하면서, 상기 외부 전자 장치가 상기 슬레이브 이어버드 장치와 연결하고 제2 오디오 데이터를 상기 슬레이브 이어버드 장치로 전송하도록 상기 외부 전자 장치를 제어하는 동작(1330)을 포함할 수 있다.According to an exemplary embodiment, a method of operating the electronic device 101 for audio output includes an operation 1305 of transmitting audio data to a master earbud device 201 connected to the electronic device, and the master earbud device and a slave device. An operation (1310) of detecting that audio interruption occurs in at least one of the earbud devices 202, and the slave earbud device and the external device so that the slave earbud device is connected to an external electronic device when the audio interruption is detected Controlling at least one of the electronic devices (1320, 1325), and transmitting the first audio data for the master earbud device to the master earbud device, while the external electronic device connects with the slave earbud device and controlling the external electronic device to transmit second audio data to the slave earbud device ( 1330 ).

일 실시예에서 상기 방법은, 상기 마스터 이어버드 장치에서의 상기 제1 오디오 데이터의 재생과 상기 슬레이브 이어버드 장치에서의 상기 제2 오디오 데이터의 재생을 동기화하기 위한 동기화 정보를 상기 외부 전자 장치를 통해 상기 슬레이브 이어버드 장치로 전달하는 동작을 더 포함할 수 있다. In one embodiment, the method may include synchronization information for synchronizing the reproduction of the first audio data in the master earbud device and the reproduction of the second audio data in the slave earbud device through the external electronic device. The method may further include an operation of transmitting to the slave earbud device.

일 실시예에서 상기 동기화 정보는, 상기 슬레이브 이어버드 장치에서 상기 제2 오디오 데이터의 재생 시점을 결정하기 위한 정보를 포함할 수 있다.In an embodiment, the synchronization information may include information for determining a playback time of the second audio data in the slave earbud device.

일 실시예에서 상기 방법은, 상기 마스터 이어버드 장치에서의 상기 제1 오디오 데이터의 재생과 상기 슬레이브 이어버드 장치에서의 상기 제2 오디오 데이터의 재생을 동기화하기 위한 동기화 정보를 상기 마스터 이어버드 장치로 전달하는 동작을 더 포함할 수 있다.In one embodiment, the method includes synchronization information for synchronizing the reproduction of the first audio data in the master earbud device and the reproduction of the second audio data in the slave earbud device to the master earbud device. It may further include an operation of transmitting.

일 실시예에서 상기 동기화 정보는, 상기 마스터 이어버드 장치와 상기 슬레이브 이어버드 장치 간의 지연을 나타내는 지연 값을 포함할 수 있다.In an embodiment, the synchronization information may include a delay value indicating a delay between the master earbud device and the slave earbud device.

일 실시예에서 상기 방법은, 상기 마스터 이어버드 장치에서 상기 제1 오디오 데이터를 상기 지연 값만큼 지연하여 재생하도록 상기 마스터 이어버드 장치를 제어하는 동작을 더 포함할 수 있다.In an embodiment, the method may further include controlling the master earbud device to reproduce the first audio data with a delay by the delay value in the master earbud device.

일 실시예에서 상기 검출하는 동작은, 상기 마스터 이어버드 장치의 수신 버퍼에 저장된 버퍼량이 지정된 임계값을 초과함을 나타내는 신호를 상기 마스터 이어버드 장치로부터 수신하면, 상기 오디오 끊김이 발생하는 것으로 판단하는 동작을 포함할 수 있다.In an embodiment, the detecting includes determining that the audio disconnection occurs when a signal indicating that the amount of the buffer stored in the reception buffer of the master earbud device exceeds a specified threshold value is received from the master earbud device It can include actions.

일 실시예에서 상기 검출하는 동작은, 상기 마스터 이어버드 장치가 상기 전자 장치로부터 수신하는 오디오 데이터에 관련된 전송률 또는 수신 신호 세기 중 적어도 하나에 대한 정보를 상기 마스터 이어버드 장치로부터 수신하고, 상기 수신된 정보를 기반으로 상기 오디오 끊김이 발생하는지를 판단하는 동작을 포함할 수 있다.In an embodiment, the detecting includes: receiving, by the master earbud device, information about at least one of a transmission rate or a received signal strength related to audio data received from the electronic device, from the master earbud device, and It may include an operation of determining whether the audio disconnection occurs based on the information.

일 실시예에서 상기 방법은, 상기 마스터 이어버드 장치로부터 상기 오디오 끊김이 발생하였음을 나타내는 변경 요청 신호를 수신하는 동작과, 상기 변경 요청 신호는 상기 슬레이브 이어버드 장치의 블루투스 장치 주소를 포함하며, 상기 외부 전자 장치로 상기 슬레이브 이어버드 장치의 블루투스 장치 주소를 포함하는 연결 요청 신호를 전송하는 동작을 더 포함할 수 있다.In an embodiment, the method includes receiving a change request signal indicating that the audio disconnection has occurred from the master earbud device, the change request signal including a Bluetooth device address of the slave earbud device, the The method may further include transmitting a connection request signal including a Bluetooth device address of the slave earbud device to an external electronic device.

일 실시예에서 상기 방법은, 상기 오디오 끊김을 검출한 경우 상기 외부 전자 장치로부터 수집되는 신호에 근거하여 상기 외부 전자 장치가 사용자의 인체에 착용되어 있는지를 판단하는 동작과, 상기 외부 전자 장치가 사용자의 인체에 착용되어 있으면, 상기 외부 전자 장치로 상기 슬레이브 이어버드 장치의 블루투스 장치 주소를 포함하는 연결 요청을 전송하는 동작을 더 포함할 수 있다.In an embodiment, the method includes determining whether the external electronic device is worn on the user's body based on a signal collected from the external electronic device when the audio interruption is detected; The method may further include transmitting a connection request including a Bluetooth device address of the slave earbud device to the external electronic device when worn on the human body.

Claims (20)

전자 장치에 있어서,
무선 통신 모듈과,
상기 무선 통신 모듈과 기능적으로 연결된 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는,
상기 무선 통신 모듈을 통해 상기 전자 장치와 연결된 마스터 이어버드 장치로 오디오 데이터를 전송하고,
상기 마스터 이어버드 장치 및 슬레이브 이어버드 장치 중 적어도 하나에서 오디오 끊김이 발생하는 것을 검출하고,
상기 오디오 끊김을 검출하는 경우 상기 슬레이브 이어버드 장치가 외부 전자 장치로 연결되도록 상기 슬레이브 이어버드 장치와 상기 외부 전자 장치 중 적어도 하나를 제어하고,
상기 무선 통신 모듈을 통해 상기 마스터 이어버드 장치를 위한 제1 오디오 데이터를 상기 마스터 이어버드 장치로 전송하고,
상기 외부 전자 장치가 상기 슬레이브 이어버드 장치를 위한 제2 오디오 데이터를 상기 슬레이브 이어버드 장치로 전송하도록 상기 무선 통신 모듈을 통해 상기 외부 전자 장치를 제어하도록 구성되는, 전자 장치.
In an electronic device,
a wireless communication module;
At least one processor operatively connected to the wireless communication module, wherein the at least one processor comprises:
Transmitting audio data to the master earbud device connected to the electronic device through the wireless communication module,
detecting that audio interruption occurs in at least one of the master earbud device and the slave earbud device;
when detecting the audio disconnection, controlling at least one of the slave earbud device and the external electronic device so that the slave earbud device is connected to an external electronic device;
transmitting first audio data for the master earbud device to the master earbud device through the wireless communication module;
and the external electronic device is configured to control the external electronic device through the wireless communication module to transmit second audio data for the slave earbud device to the slave earbud device.
제 1 항에 있어서, 상기 적어도 하나의 프로세서는,
상기 마스터 이어버드 장치에서의 상기 제1 오디오 데이터의 재생과 상기 슬레이브 이어버드 장치에서의 상기 제2 오디오 데이터의 재생을 동기화하기 위한 동기화 정보를 상기 외부 전자 장치를 통해 상기 슬레이브 이어버드 장치로 전달하도록 구성되는 것을 특징으로 하는 전자 장치.
The method of claim 1, wherein the at least one processor comprises:
to transmit synchronization information for synchronizing the reproduction of the first audio data in the master earbud device and the reproduction of the second audio data in the slave earbud device to the slave earbud device through the external electronic device An electronic device comprising:
제 2 항에 있어서, 상기 동기화 정보는,
상기 슬레이브 이어버드 장치에서 상기 제2 오디오 데이터의 재생 시점을 결정하기 위한 시간 정보를 포함하는 것을 특징으로 하는 전자 장치.
The method of claim 2, wherein the synchronization information,
and time information for determining a reproduction time point of the second audio data in the slave earbud device.
제 1 항에 있어서, 상기 적어도 하나의 프로세서는,
상기 마스터 이어버드 장치에서의 상기 제1 오디오 데이터의 재생과 상기 슬레이브 이어버드 장치에서의 상기 제2 오디오 데이터의 재생을 동기화하기 위한 동기화 정보를 상기 마스터 이어버드 장치로 전달하도록 구성되는 것을 특징으로 하는 전자 장치.
The method of claim 1, wherein the at least one processor comprises:
and transmitting synchronization information for synchronizing the reproduction of the first audio data in the master earbud device and the reproduction of the second audio data in the slave earbud device to the master earbud device. electronic device.
제 4 항에 있어서, 상기 동기화 정보는,
상기 마스터 이어버드 장치와 상기 슬레이브 이어버드 장치 간의 지연을 나타내는 지연 값을 포함하는 것을 특징으로 하는 전자 장치.
The method of claim 4, wherein the synchronization information,
and a delay value indicating a delay between the master earbud device and the slave earbud device.
제 5 항에 있어서, 상기 적어도 하나의 프로세서는,
상기 마스터 이어버드 장치에서 상기 제1 오디오 데이터를 상기 지연 값만큼 지연하여 재생하도록 상기 마스터 이어버드 장치를 제어하는 것을 특징으로 하는 전자 장치.
The method of claim 5, wherein the at least one processor comprises:
and controlling the master earbud device to reproduce the first audio data with a delay by the delay value in the master earbud device.
제 1 항에 있어서, 상기 적어도 하나의 프로세서는,
상기 마스터 이어버드 장치의 수신 버퍼에 저장된 버퍼량이 지정된 임계값을 초과함을 나타내는 신호를 상기 마스터 이어버드 장치로부터 수신하면, 상기 오디오 끊김이 발생하는 것으로 판단하는 것을 특징으로 하는 전자 장치.
The method of claim 1, wherein the at least one processor comprises:
When a signal indicating that the amount of the buffer stored in the reception buffer of the master earbud device exceeds a specified threshold value is received from the master earbud device, it is determined that the audio disconnection occurs.
제 1 항에 있어서, 상기 적어도 하나의 프로세서는,
상기 마스터 이어버드 장치가 상기 전자 장치로부터 수신하는 오디오 데이터에 관련된 전송률 또는 수신 신호 세기 중 적어도 하나에 대한 정보를 상기 마스터 이어버드 장치로부터 수신하고, 상기 수신된 정보를 기반으로 상기 오디오 끊김이 발생하는지를 판단하는 것을 특징으로 하는 전자 장치.
The method of claim 1, wherein the at least one processor comprises:
The master earbud device receives information about at least one of a transmission rate or a received signal strength related to audio data received from the electronic device from the master earbud device, and determines whether the audio disconnection occurs based on the received information An electronic device, characterized in that for determining.
제 1 항에 있어서, 상기 적어도 하나의 프로세서는,
상기 마스터 이어버드 장치로부터 상기 오디오 끊김이 발생하였음을 나타내는 변경 요청 신호를 수신하고, 상기 변경 요청 신호는 상기 슬레이브 이어버드 장치의 블루투스 장치 주소를 포함하며,
상기 외부 전자 장치로 상기 슬레이브 이어버드 장치의 블루투스 장치 주소를 포함하는 연결 요청 신호를 전송하는 것을 특징으로 하는 전자 장치.
The method of claim 1, wherein the at least one processor comprises:
receive a change request signal indicating that the audio disconnection has occurred from the master earbud device, the change request signal includes a Bluetooth device address of the slave earbud device,
and transmitting a connection request signal including a Bluetooth device address of the slave earbud device to the external electronic device.
제 1 항에 있어서, 상기 적어도 하나의 프로세서는,
상기 오디오 끊김을 검출한 경우 상기 외부 전자 장치로부터 수집되는 신호에 근거하여 상기 외부 전자 장치가 사용자의 인체에 착용되어 있는지를 판단하고,
상기 외부 전자 장치가 사용자의 인체에 착용되어 있으면, 상기 외부 전자 장치로 상기 슬레이브 이어버드 장치의 블루투스 장치 주소를 포함하는 연결 요청을 전송하는 것을 특징으로 하는 전자 장치.
The method of claim 1, wherein the at least one processor comprises:
determining whether the external electronic device is worn on the user's body based on a signal collected from the external electronic device when the audio interruption is detected;
and transmitting a connection request including a Bluetooth device address of the slave earbud device to the external electronic device when the external electronic device is worn on the user's body.
오디오 출력을 위한 전자 장치의 동작 방법에 있어서,
상기 전자 장치와 연결된 마스터 이어버드 장치로 오디오 데이터를 전송하는 동작과,
상기 마스터 이어버드 장치 및 슬레이브 이어버드 장치 중 적어도 하나에서 오디오 끊김이 발생하는 것을 검출하는 동작과,
상기 오디오 끊김을 검출하는 경우 상기 슬레이브 이어버드 장치가 외부 전자 장치로 연결되도록 상기 슬레이브 이어버드 장치와 상기 외부 전자 장치 중 적어도 하나를 제어하는 동작과,
상기 마스터 이어버드 장치를 위한 제1 오디오 데이터를 상기 마스터 이어버드 장치로 전송하는 동작과,
상기 외부 전자 장치가 상기 슬레이브 이어버드 장치를 위한 제2 오디오 데이터를 상기 슬레이브 이어버드 장치로 전송하도록 상기 외부 전자 장치를 제어하는 동작을 포함하는 방법.
A method of operating an electronic device for audio output, the method comprising:
transmitting audio data to the master earbud device connected to the electronic device;
detecting that audio interruption occurs in at least one of the master earbud device and the slave earbud device;
controlling at least one of the slave earbud device and the external electronic device so that the slave earbud device is connected to an external electronic device when the audio disconnection is detected;
transmitting first audio data for the master earbud device to the master earbud device;
and controlling, by the external electronic device, the external electronic device to transmit second audio data for the slave earbud device to the slave earbud device.
제 11 항에 있어서,
상기 마스터 이어버드 장치에서의 상기 제1 오디오 데이터의 재생과 상기 슬레이브 이어버드 장치에서의 상기 제2 오디오 데이터의 재생을 동기화하기 위한 동기화 정보를 상기 외부 전자 장치를 통해 상기 슬레이브 이어버드 장치로 전달하는 동작을 더 포함하는 것을 특징으로 하는 방법.
12. The method of claim 11,
Transmitting synchronization information for synchronizing the reproduction of the first audio data in the master earbud device and the reproduction of the second audio data in the slave earbud device to the slave earbud device through the external electronic device The method of claim 1, further comprising an action.
제 12 항에 있어서, 상기 동기화 정보는,
상기 슬레이브 이어버드 장치에서 상기 제2 오디오 데이터의 재생 시점을 결정하기 위한 시간 정보를 포함하는 것을 특징으로 하는 방법.
The method of claim 12, wherein the synchronization information,
and time information for determining a playback time point of the second audio data in the slave earbud device.
제 11 항에 있어서,
상기 마스터 이어버드 장치에서의 상기 제1 오디오 데이터의 재생과 상기 슬레이브 이어버드 장치에서의 상기 제2 오디오 데이터의 재생을 동기화하기 위한 동기화 정보를 상기 마스터 이어버드 장치로 전달하는 동작을 더 포함하는 것을 특징으로 하는 방법.
12. The method of claim 11,
The method further comprising transmitting synchronization information for synchronizing the reproduction of the first audio data in the master earbud device and the reproduction of the second audio data in the slave earbud device to the master earbud device How to characterize.
제 14 항에 있어서, 상기 동기화 정보는,
상기 마스터 이어버드 장치와 상기 슬레이브 이어버드 장치 간의 지연을 나타내는 지연 값을 포함하는 것을 특징으로 하는 방법.
15. The method of claim 14, wherein the synchronization information,
and a delay value indicating a delay between the master earbud device and the slave earbud device.
제 15 항에 있어서,
상기 마스터 이어버드 장치에서 상기 제1 오디오 데이터를 상기 지연 값만큼 지연하여 재생하도록 상기 마스터 이어버드 장치를 제어하는 동작을 더 포함하는 것을 특징으로 하는 방법.
16. The method of claim 15,
The method further comprising the operation of controlling the master earbud device to reproduce the first audio data with a delay by the delay value in the master earbud device.
제 11 항에 있어서, 상기 검출하는 동작은,
상기 마스터 이어버드 장치의 수신 버퍼에 저장된 버퍼량이 지정된 임계값을 초과함을 나타내는 신호를 상기 마스터 이어버드 장치로부터 수신하면, 상기 오디오 끊김이 발생하는 것으로 판단하는 동작을 포함하는 것을 특징으로 하는 방법.
The method of claim 11, wherein the detecting comprises:
and determining that the audio disconnection occurs when a signal indicating that the amount of the buffer stored in the reception buffer of the master earbud device exceeds a specified threshold is received from the master earbud device.
제 11 항에 있어서, 상기 검출하는 동작은,
상기 마스터 이어버드 장치가 상기 전자 장치로부터 수신하는 오디오 데이터에 관련된 전송률 또는 수신 신호 세기 중 적어도 하나에 대한 정보를 상기 마스터 이어버드 장치로부터 수신하고, 상기 수신된 정보를 기반으로 상기 오디오 끊김이 발생하는지를 판단하는 동작을 포함하는 것을 특징으로 하는 방법.
The method of claim 11, wherein the detecting comprises:
The master earbud device receives information about at least one of a transmission rate or a received signal strength related to audio data received from the electronic device from the master earbud device, and determines whether the audio disconnection occurs based on the received information A method comprising the act of determining.
제 11 항에 있어서,
상기 마스터 이어버드 장치로부터 상기 오디오 끊김이 발생하였음을 나타내는 변경 요청 신호를 수신하는 동작과, 상기 변경 요청 신호는 상기 슬레이브 이어버드 장치의 블루투스 장치 주소를 포함하며,
상기 외부 전자 장치로 상기 슬레이브 이어버드 장치의 블루투스 장치 주소를 포함하는 연결 요청 신호를 전송하는 동작을 더 포함하는 것을 특징으로 하는 방법.
12. The method of claim 11,
receiving a change request signal indicating that the audio disconnection has occurred from the master earbud device, wherein the change request signal includes a Bluetooth device address of the slave earbud device;
The method of claim 1, further comprising transmitting a connection request signal including a Bluetooth device address of the slave earbud device to the external electronic device.
제 11 항에 있어서,
상기 오디오 끊김을 검출한 경우 상기 외부 전자 장치로부터 수집되는 신호에 근거하여 상기 외부 전자 장치가 사용자의 인체에 착용되어 있는지를 판단하는 동작과,
상기 외부 전자 장치가 사용자의 인체에 착용되어 있으면, 상기 외부 전자 장치로 상기 슬레이브 이어버드 장치의 블루투스 장치 주소를 포함하는 연결 요청을 전송하는 동작을 더 포함하는 것을 특징으로 하는 방법.
12. The method of claim 11,
determining whether the external electronic device is worn on the user's body based on a signal collected from the external electronic device when the audio interruption is detected;
and transmitting a connection request including a Bluetooth device address of the slave earbud device to the external electronic device when the external electronic device is worn on the user's body.
KR1020210050879A 2021-04-20 2021-04-20 Electronic device and method for audio output KR20220144504A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020210050879A KR20220144504A (en) 2021-04-20 2021-04-20 Electronic device and method for audio output
PCT/KR2022/003027 WO2022225174A1 (en) 2021-04-20 2022-03-03 Electronic device for audio output, and operation method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210050879A KR20220144504A (en) 2021-04-20 2021-04-20 Electronic device and method for audio output

Publications (1)

Publication Number Publication Date
KR20220144504A true KR20220144504A (en) 2022-10-27

Family

ID=83722887

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210050879A KR20220144504A (en) 2021-04-20 2021-04-20 Electronic device and method for audio output

Country Status (2)

Country Link
KR (1) KR20220144504A (en)
WO (1) WO2022225174A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130266152A1 (en) * 2012-04-06 2013-10-10 Koss Corporation Synchronizing wireless earphones
KR20170082405A (en) * 2016-01-06 2017-07-14 삼성전자주식회사 Ear wearable type wireless device and system supporting the same
US10264358B2 (en) * 2017-02-15 2019-04-16 Amazon Technologies, Inc. Selection of master device for synchronized audio
US10524300B2 (en) * 2017-12-01 2019-12-31 Bose Corporation Wireless low-latency audio content sharing
KR20210034200A (en) * 2019-09-20 2021-03-30 삼성전자주식회사 Electronic device for audio, electronic device and method for managing communication link

Also Published As

Publication number Publication date
WO2022225174A1 (en) 2022-10-27

Similar Documents

Publication Publication Date Title
US11818636B2 (en) External audio electronic device, electronic device, and method of managing communication link
KR20200110086A (en) Method for establishing wireless communication link and electronic device supporting the same
KR20220022707A (en) Audio output device and method for transmitting information about charging status of audio output device
US20220319553A1 (en) Electronic device for processing audio data and method for operating same
US11916987B2 (en) Electronic device for processing audio data, and operation method thereof
KR20220102492A (en) Audio device for processing audio data and operating method thereof
US20230066296A1 (en) Power supply device and method for searching audio output device using power supply device
US20220225008A1 (en) Electronic device for reducing internal noise and method thereof
US11818781B2 (en) Communication method between multi devices in Bluetooth communication environment and electronic device therefor
KR20220144504A (en) Electronic device and method for audio output
KR20220106531A (en) Electronic device for establishing communication connection with external electronic device and operating mehtod thereof
KR20220105475A (en) Electronic device and method for controlling remote lock of external electronic device based on bluetooth
KR20220104898A (en) Electronic device and method for swithching communication link with wireless audio device
US20230050948A1 (en) Apparatus and method for establishing a connection
US20220222036A1 (en) Audio device for processing audio data and operation method thereof
US20230116736A1 (en) Electronic device for providing audio service and operating method thereof
US20220225449A1 (en) Electronic device for switching communication connections according to noise environment and method for controlling the same
US20230155733A1 (en) Device and method for transmitting response packet
US20220353330A1 (en) Electronic device and method for recording audio data acquired from multiple devices
US20230336904A1 (en) Electronic device for processing audio data and operation method therefor
US20240069904A1 (en) Electronic device, and method for updating external electronic device using same
EP4362366A1 (en) Electronic device for data packet transmission or reception, and operation method thereof
KR20230051037A (en) Electronic device for providing audio service and operating method thereof
KR20220145635A (en) Electronic device for transmitting advertise signal and method therefor
KR20220102448A (en) Communication method between multi devices and electronic device therefor