KR20220050641A - Electronic device and method for recording audio singnal using wireless microphone device in the same - Google Patents

Electronic device and method for recording audio singnal using wireless microphone device in the same Download PDF

Info

Publication number
KR20220050641A
KR20220050641A KR1020200134552A KR20200134552A KR20220050641A KR 20220050641 A KR20220050641 A KR 20220050641A KR 1020200134552 A KR1020200134552 A KR 1020200134552A KR 20200134552 A KR20200134552 A KR 20200134552A KR 20220050641 A KR20220050641 A KR 20220050641A
Authority
KR
South Korea
Prior art keywords
packet
channel
electronic device
audio signal
wireless audio
Prior art date
Application number
KR1020200134552A
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 KR1020200134552A priority Critical patent/KR20220050641A/en
Priority to PCT/KR2021/014393 priority patent/WO2022080964A1/en
Publication of KR20220050641A publication Critical patent/KR20220050641A/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • H04L1/1835Buffer management
    • H04L1/1838Buffer management for semi-reliable protocols, e.g. for less sensitive applications such as streaming video
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/14Multichannel or multilink protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/005Circuits for transducers, loudspeakers or microphones for combining the signals of two or more microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/10537Audio or video recording
    • G11B2020/10546Audio or video recording specifically adapted for audio data
    • 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

Abstract

According to various embodiments, an electronic device includes a wireless communication module, a memory, and a processor, wherein the memory may include instructions for allowing the processor to: connect a wireless audio input/output device from which a first channel device and a second channel device are separated; change communication setting to a multi recording communication method so that an audio signal transmitted from the wireless audio input/output device is classified as a first channel packet and a second channel packet in a multi recording mode using the wireless audio input/output device; receive an audio signal based on a sound acquired from a microphone of the wireless audio input/output device; classifying the received audio signal as a first channel packet and a second channel packet; and execute a multi recording function by generating a first channel audio signal based on the first channel packet and a second channel audio signal based on the second channel packet. The electronic device can support multi recording (e.g., stereo recording and binaural recording) functions using the wireless audio input/output device.

Description

전자 장치 및 전자 장치에서 무선 오디오 입출력 장치를 이용한 오디오 레코딩 방법{ELECTRONIC DEVICE AND METHOD FOR RECORDING AUDIO SINGNAL USING WIRELESS MICROPHONE DEVICE IN THE SAME}ELECTRONIC DEVICE AND METHOD FOR RECORDING AUDIO SINGNAL USING WIRELESS MICROPHONE DEVICE IN THE SAME

다양한 실시예들은 전자 장치 및 전자 장치에서 무선 오디오 입출력 장치를 이용한 오디오 레코딩 방법에 관한 것이다. Various embodiments relate to an electronic device and an audio recording method using a wireless audio input/output device in the electronic device.

최근 기술의 발달로 인해 전자 장치와 더불어 다양한 웨어러블 장치(wearable device)들이 개발되어 출시되고 있다. 최근 이어폰 또는 헤드셋과 같은 오디오 입출력 장치의 경우, 유선 연결 방식에서 무선 연결 방식을 활용한 장치(예: 무선 이어 버드, 무선 오디오 입출력 장치(예: TWS(true wireless stereo) 장치)에 대한 활용도가 증가하고 있는 추세이다. Recently, with the development of technology, various wearable devices have been developed and released along with electronic devices. Recently, in the case of audio input/output devices such as earphones or headsets, the use of devices using a wireless connection method (eg, wireless earbuds, wireless audio input/output devices (eg, true wireless stereo) devices) has increased from a wired connection method. is a trend that

일 예로서, 무선 오디오 입출력 장치는 스피커(speaker) 또는 마이크로 폰(micro phone)을 포함할 수 있다. 전자 장치는 전자 장치와 연결된 무선 오디오 입출력 장치를 이용하여 오디오 신호를 출력하거나 오디오 신호를 취득할 수 있다. As an example, the wireless audio input/output device may include a speaker or a microphone. The electronic device may output an audio signal or acquire an audio signal using a wireless audio input/output device connected to the electronic device.

전자 장치는 다양한 기능을 사용자에게 제공하며, 사용자로부터 전자 장치를 이용하여 소리를 레코딩(recording)하고자 하는 요구사항이 발생되고 있다. 그러나, 전자 장치의 내장 마이크를 이용한 녹음(recording) 시 발화자의 발화지점(예: 발화자 입)과 전자 장치의 거리에 따라 음성 취득에 어려움이 있을 수 있으며, 주변 환경에 의한 노이즈로 인해 발화자의 음성이 정확하게 녹음되지 못하는 문제가 발생될 수 있다. 이로 인해, 성능이 뛰어난 별도의 마이크 장치가 필요할 수 있다. Electronic devices provide various functions to users, and there is a demand from users for recording sound using the electronic device. However, when recording using the built-in microphone of an electronic device, it may be difficult to acquire a voice depending on the distance between the talker's utterance point (eg, the talker's mouth) and the electronic device. This may cause a problem in that it cannot be recorded accurately. For this reason, a separate microphone device with excellent performance may be required.

다양한 실시예에 따르면, 별도의 장비 없이, 무선 오디오 입출력 장치에 포함된 마이크들을 활용하여 소리를 레코딩(recording) 함으로써 전자 장치 내장 마이크의 한계를 극복하고, 고음질 또는 실감나는 소리를 녹음할 수 있는 방안을 제안하고자 한다. According to various embodiments, a method for overcoming the limitation of the built-in microphone of an electronic device and recording high-quality or realistic sound by recording sound using microphones included in the wireless audio input/output device without separate equipment would like to propose

다양한 실시예에 따르면 전자 장치에 있어서, 무선 통신 모듈, 메모리와, 프로세서를 포함하고, 상기 메모리는 상기 프로세서가, 제1 채널 장치 및 제2 채널 장치가 분리된 무선 오디오 입출력 장치와 연결되고, 상기 무선 오디오 입출력장치를 이용한 멀티 레코딩 모드 시 상기 무선 오디오 입출력장치로부터 전달된 오디오 신호를 제1 채널 패킷 및 제2 채널 패킷으로 구분되도록 변경된 멀티 레코딩 통신 방식으로 통신 설정을 변경하고, 상기 무선 오디오 입출력 장치의 마이크로폰으로부터 획득한 사운드에 기반한 오디오 신호를 수신하고, 상기 수신된 오디오 신호를 제1 채널 패킷 또는 제2 채널 패킷으로 구분하고, 상기 제1 채널 패킷을 기반으로 제1 채널 오디오 신호를 생성하고, 상기 제2 채널 패킷을 기반으로 제2 채널 오디오 신호를 생성하여 멀티 레코딩 기능을 실행하도록 하는 인스트럭션들을 포함할 수 있다.According to various embodiments, an electronic device includes a wireless communication module, a memory, and a processor, wherein the memory is connected to the processor, the first channel device and the second channel device are separated from the wireless audio input/output device, and the In the multi-recording mode using the wireless audio input/output device, the communication setting is changed to a multi-recording communication method changed so that the audio signal transmitted from the wireless audio input/output device is divided into a first channel packet and a second channel packet, and the wireless audio input/output device Receives an audio signal based on the sound obtained from the microphone, divides the received audio signal into a first channel packet or a second channel packet, and generates a first channel audio signal based on the first channel packet, It may include instructions for generating a second channel audio signal based on the second channel packet to execute a multi-recording function.

다양한 실시예에 따르면 무선 오디오 입출력 장치에 있어서, 제1 마이크로폰 및 제1 통신 모듈을 포함하는 제1 무선 오디오 장치와, 제2 마이크로폰 및 제2 통신 모듈을 포함하는 제2 무선 오디오 장치를 포함하고, 상기 제1 무선 오디오 장치는, 전자 장치와 제1 통신 링크를 통해 무선 통신 연결되고, 상기 제1 무선 오디오 장치 와 상기 제2 무선 오디오 장치는 서로 제2 통신 링크를 통해 연결되고, 상기 전자 장치와 제1 통신 링크를 통해 연결된 제1 무선 오디오 장치는, 상기 전자 장치로부터 멀티 레코딩 활성화 신호를 수신하는 것에 응답하여 상기 제1 마이크로폰 및 상기 제2 마이크로폰을 활성화하도록 제어하고, 상기 제1 무선 오디오 장치와 제2 무선 오디오 장치고 교대로 전자 장치로 패킷이 전송되도록 변경된 멀티 레코딩 통신 방식으로 통신 설정을 변경하고, 상기 제1 마이크로폰으로부터 획득한 오디오 신호를 정해진 제1 슬롯들을 이용하여 전송하고, 상기 전자 장치와 통신 링크가 연결되지 않는 제2 무선 오디오 장치는, 상기 제1 통신 링크를 스니핑하여 상기 제2 마이크로폰으로부터 획득한 오디오 신호를 정해진 제1 슬롯들을 이용하여 전송하는 것을 특징으로 할 수 있다. According to various embodiments, there is provided a wireless audio input/output device, comprising: a first wireless audio device including a first microphone and a first communication module; and a second wireless audio device including a second microphone and a second communication module; The first wireless audio device is wirelessly connected to an electronic device through a first communication link, the first wireless audio device and the second wireless audio device are connected to each other via a second communication link, and the electronic device and a first wireless audio device connected through a first communication link controls to activate the first microphone and the second microphone in response to receiving a multi-recording activation signal from the electronic device, and A second wireless audio device and a changed multi-recording communication method so that packets are alternately transmitted to the electronic device, the communication setting is changed, the audio signal obtained from the first microphone is transmitted using predetermined first slots, and the electronic device and the second wireless audio device to which the communication link is not connected may transmit the audio signal obtained from the second microphone by sniffing the first communication link using predetermined first slots.

다양한 실시예에 따르면 전자 장치에서 무선 오디오 입출력 장치를 이용한 오디오 레코딩 방법에 있어서,제1 채널 장치 및 제2 채널 장치가 분리된 무선 오디오 입출력 장치와 연결하는 동작과, 상기 무선 오디오 입출력 장치를 이용한 멀티 레코딩 요청 신호가 수신하는 것이 기반하여, 상기 무선 오디오 입출력 장치로부터 전달된 오디오 신호를 제1 채널 패킷 및 제2 채널 패킷으로 구분되도록 변경된 멀티 레코딩 통신 방식으로 통신 설정을 변경하는 동작과 상기 무선 오디오 입출력 장치의 마이크로폰으로부터 획득한 사운드에 기반한 오디오 신호를 수신하는 동작과 상기 수신된 오디오 신호를 제1 채널 패킷 또는 제2 채널 패킷으로 구분하는 동작과 상기 제1 채널 패킷을 기반으로 제1 채널 오디오 신호를 생성하고, 상기 제2 채널 패킷을 기반으로 제2 채널 오디오 신호를 생성하여 멀티 레코딩 기능을 실행하는 동작을 포함할 수 있다. According to various embodiments of the present disclosure, in an audio recording method using a wireless audio input/output device in an electronic device, an operation of connecting a first channel device and a second channel device to separate wireless audio input/output devices; An operation of changing a communication setting to a multi-recording communication method changed so that the audio signal transmitted from the wireless audio input/output device is divided into a first channel packet and a second channel packet based on the reception of the recording request signal and the wireless audio input/output An operation of receiving an audio signal based on a sound obtained from a microphone of the device, an operation of dividing the received audio signal into a first channel packet or a second channel packet, and an operation of generating a first channel audio signal based on the first channel packet and generating a second channel audio signal based on the second channel packet to execute a multi-recording function.

다양한 실시예에 따른 전자 장치는 왼쪽 또는 오른쪽으로 채널이 분리된 또는 다수의 세트로 연결된 무선 오디오 입출력 장치를 활용한 멀티 레코딩(예: 스테레오 레코딩, 바이노럴 레코딩) 기능을 지원할 수 있다. The electronic device according to various embodiments may support a multi-recording (eg, stereo recording, binaural recording) function using a wireless audio input/output device in which channels are separated to the left or right or connected in a plurality of sets.

다양한 실시예에 따른 전자 장치 및 무선 오디오 입출력 장치는 표준 블루투스 오디오 전송 방식에서 불가능 했던 레코딩 기능을 지원함으로써, 사용자가 양 귀로 듣는 것과 같은 사실적인 소리 또는 실감나는 소리를 녹음하고 이를 사용자에게 제공할 수 있다. The electronic device and the wireless audio input/output device according to various embodiments support a recording function that was not possible in the standard Bluetooth audio transmission method, so that it is possible to record a realistic sound or a realistic sound that a user hears with both ears and provide it to the user. there is.

도 1은 다양한 실시 예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 본 발명의 다양한 실시예에 따른 전자 장치 및 무선 오디오 입출력 장치를 나타낸 도면이다.
도 3은 다양한 실시예에 따른, 전자 장치와 이어 웨어러블 장치의 구성을 도시한다.
도 4는 다양한 실시예에 따른 전자 장치에서 무선 오디오 입출력 장치 장치를 이용한 오디오 레코딩 방법을 도시한다.
도 5는 일 실시예에 따른SCO 링크의 표준 전송 방식의 패킷 타이밍을 도시한다.
6a및 도 6b는 일 실시예에 따른 이어 웨어러블 장치와 전자 장치 간 SCO 링크의 멀티 레코딩 전송 방식의 패킷 타이밍을 도시한다.
도 7은 일 실시예에 따른 ACL 링크의 표준 전송 방식의 패킷 타이밍을 도시한다.
도 8은 일 실시예에 따른 이어 웨어러블 장치와 전자 장치 간 ACL 링크의 멀티 레코딩 전송 방식의 패킷 타이밍을 도시한다.
도 9는 일 실시예에 따라 ACL 링크의 전송 주기를 구체적으로 도시한다.
1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure;
2 is a diagram illustrating an electronic device and a wireless audio input/output device according to various embodiments of the present disclosure.
3 illustrates a configuration of an electronic device and an ear wearable device according to various embodiments of the present disclosure.
4 illustrates an audio recording method using a wireless audio input/output device in an electronic device according to various embodiments of the present disclosure.
5 illustrates packet timing of a standard transmission scheme of a SCO link according to an embodiment.
6A and 6B illustrate packet timing of a multi-recording transmission scheme of an SCO link between an ear wearable device and an electronic device according to an embodiment.
7 illustrates packet timing of a standard transmission scheme of an ACL link according to an embodiment.
8 illustrates packet timing of a multi-recording transmission method of an ACL link between an ear wearable device and an electronic device according to an embodiment.
9 specifically illustrates a transmission period of an ACL link according to an embodiment.

이하, 본 문서의 다양한 실시예가 첨부된 도면을 참조하여 기재될 수 있다.Hereinafter, various embodiments of the present document may be described with reference to the accompanying drawings.

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

도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.Referring to FIG. 1 , in a network environment 100 , an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an antenna module 197 may be included. 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 the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 . According to an embodiment, the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit) 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 may use less power than the main processor 121 or may be 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 auxiliary processor 123 is, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or 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). there is. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example. The artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176 ). 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 in 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 may be used to receive an incoming call. 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 . A sound may be output through the electronic device 102 (eg, a speaker or headphones).

센서 모듈(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, user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to one 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 designated 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 includes a direct (eg, wired) communication link (or 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); transmission link), and wireless communication through the established communication link. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a LAN (local area network) 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 the 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 includes various technologies 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 specified 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).

안테나 모듈(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 ( eg 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 executed in the electronic device 101 may be executed in one or more external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 is 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, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an Internet of things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to an embodiment, the external electronic device 104 or 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.

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

도 2는 본 발명의 다양한 실시예에 따른 전자 장치 및 무선 오디오 입출력 장치를 나타낸 도면이다. 2 is a diagram illustrating an electronic device and a wireless audio input/output device according to various embodiments of the present disclosure.

도 2를 참조하면, 일 실시예에 따르면, 전자 장치는(101)는 무선 오디오 입출력 장치와 무선으로 연결될 수 있다. 무선 오디오 입출력 장치는 이어 웨어러블 장치, 무선 이어폰, 무선 헤드셋, 이어 버드(ear bud) 및 TWS(true wireless stereo) 장치를 포함할 수 있다. Referring to FIG. 2 , according to an embodiment, the electronic device 101 may be wirelessly connected to the wireless audio input/output device. The wireless audio input/output device may include an ear wearable device, a wireless earphone, a wireless headset, an ear bud, and a true wireless stereo (TWS) device.

일 예를 들어, 도 2의 실시예에서 무선 오디오 입출력 장치는 제1 이어 장치(210a) 및 제2 이어 장치(210b)가 한쌍으로 구성된 이어 웨어러블 장치(210)로 도시하나, 이에 한정하지 않는다. 무선 오디오 입출력 장치는 제1 위치(예: 오른쪽 귀 방향)및 제2 위치(예: 왼쪽 귀 방향)에 각각 마이크를 구비하는 하나의 액세서리 장치(예: 무선 헤드셋)일 수도 있다. 무선 오디오 입출력 장치는 전자 장치(101)와 근거리 무선 통신 네트워크를 통해 연결되고, 마이크를 포함하는 복수의 IOT(internet of things) 장치일 수도 있다.For example, in the embodiment of FIG. 2 , the wireless audio input/output device is illustrated as an ear wearable device 210 in which the first ear device 210a and the second ear device 210b are configured as a pair, but the present invention is not limited thereto. The wireless audio input/output device may be one accessory device (eg, a wireless headset) each having a microphone at a first position (eg, toward the right ear) and a second position (eg, toward the left ear). The wireless audio input/output device is connected to the electronic device 101 through a short-range wireless communication network, and may be a plurality of Internet of Things (IOT) devices including a microphone.

일 실시예에 따르면, 전자 장치(101)는 근거리 무선 통신 네트워크(예: 블루투스 통신)를 통해 이어 웨어러블 장치(210)(예: 제1 이어 장치(210a) 및 제2 이어 장치(210b)) 와 연결될 수 있다. According to an embodiment, the electronic device 101 communicates with the ear wearable device 210 (eg, the first ear device 210a and the second ear device 210b) through a short-range wireless communication network (eg, Bluetooth communication). can be connected

일 실시예에 따르면, 전자 장치(101)는 제1 이어 장치(210a) 및 제2 이어 장치(210b)) 중 마스터(master)로 동작하는 어느 하나의 장치와 연결(예: 싱글 페어링(single pairing))될 수 있다. 예를 들어, 마스터로 동작하는 제1 이어 장치(210a)(예: 주 장치)는 전자 장치(101)와 제 1 통신 링크(또는 제1 전송 링크)(220)를 유지하면서, BLE(bluetooth low energy) 방식 또는 블루투스 레거시(bluetooth legacy) 방식으로 제 2 이어 장치(210b)(예: 보조 장치)와 제 2 통신 링크(또는 제2 전송 링크)(230)로 연결 할 수 있다. 예를 들어, 제1 통신 링크는 BT 방식으로 연결되며, 제2 통신 링크는 BLE 방식으로 연결 될 수 있다. 전자 장치(101)는 제1 이어 장치(210a)와 제2 통신 링크(230)를 통해 연결된 제2 이어 장치(210b)가 한쌍으로 연결된 장치임을 확인할 수 있다. 설명의 편의를 위하여, 전자 장치(101)와 무선 통신으로 직접 연결된 제1 이어 장치(210a)는 주 장치(예: PE(primary equipment))로 정의하고, 전자 장치와 직접 연결되지 않은 제2 이어 장치(210b)는 보조 장치(예: SE(secondary equipment)로 정의할 수 있다.According to an embodiment, the electronic device 101 connects with any one device operating as a master among the first ear device 210a and the second ear device 210b (eg, single pairing). )) can be For example, the first ear device 210a (eg, a main device) operating as a master maintains the electronic device 101 and the first communication link (or first transmission link) 220 while maintaining a Bluetooth low energy) method or a Bluetooth legacy method, the second ear device 210b (eg, an auxiliary device) may be connected with the second communication link (or second transmission link) 230 . For example, the first communication link may be connected in a BT manner, and the second communication link may be connected in a BLE manner. The electronic device 101 may confirm that the first ear device 210a and the second ear device 210b connected through the second communication link 230 are connected as a pair. For convenience of description, the first ear device 210a directly connected to the electronic device 101 through wireless communication is defined as a primary device (eg, primary equipment (PE)), and a second ear device not directly connected to the electronic device 101 is defined. The device 210b may be defined as an auxiliary device (eg, secondary equipment (SE)).

일 실시예에 따르면, 제1 이어 장치(210a) 및 제2 이어 장치(210b)는 전자 장치(101)로부터 제어 신호를 수신하거나 또는 제1 이어 장치(210a) 또는 제2 이어 장치(210b)에서 생성된 제어 신호에 따라 기능을 수행할 수 있다. 전자 장치(101)로부터 수신된 제어 신호는 오디오 입출력과 관련된 재생(paly) 기능, 통화(call) 기능, 중단(stop) 기능, 볼륨 조절 기능, 레코딩(recording) 기능 중 적어도 하나에 관한 신호일 수 있다. According to an embodiment, the first ear device 210a and the second ear device 210b receive a control signal from the electronic device 101 or from the first ear device 210a or the second ear device 210b. A function may be performed according to the generated control signal. The control signal received from the electronic device 101 may be a signal related to at least one of a play function, a call function, a stop function, a volume control function, and a recording function related to audio input/output. .

일 실시예에 따르면, 제1이어 장치(210a) 및 제2 이어 장치(210b)는 전자 장치(101)로부터 오디오 신호(예: 오디오 패킷(packet), 음성 신호(signal), 오디오 데이터(data))을 획득하고 스피커를 통해 사운드(sound)로 출력하는 기능을 수행할 수 있다. 제1이어 장치(210a) 및 제2 이어 장치(210b)는 마이크로폰을 통해 외부 사운드를 수신하고, 수신된 사운드를 오디오 신호(또는 오디오 패킷)으로 변환하여 전자 장치(101)로 전달하는 기능을 수행할 수 있다. According to an embodiment, the first ear device 210a and the second ear device 210b provide an audio signal (eg, an audio packet, a voice signal, and audio data) from the electronic device 101 . ) and outputting it as sound through the speaker. The first ear device 210a and the second ear device 210b receive an external sound through a microphone, convert the received sound into an audio signal (or audio packet), and deliver the function to the electronic device 101 . can do.

일 실시예에 따르면, 제1 이어 장치(210a)(예: 주 장치)는 제1 통신 링크 정보(예: BT address (BD_ADDR), FHS(frequency hop synchronization) packet 정보, Link Key 정보, 시리얼 넘버) 또는 전자 장치(101)의 상태 정보를 제2 이어 장치(210b)와 제2 통신 링크(230)를 통해 공유할 수 있다. According to an embodiment, the first ear device 210a (eg, the main device) includes first communication link information (eg, BT address (BD_ADDR), FHS (frequency hop synchronization) packet information, Link Key information, serial number) Alternatively, the state information of the electronic device 101 may be shared with the second ear device 210b through the second communication link 230 .

일 실시예에 따르면, 제1 이어 장치(210a)(예: 주 장치)가 제1 통신 링크(220)를 통해 전자 장치(101)와 통신하는 동안, 제2 이어 장치(210b)(예: 보조 장치)는 제1 통신 링크 정보를 이용하여 제1 통신 링크(220)를 모니터링할 수 있다. According to an embodiment, while the first ear device 210a (eg, the primary device) communicates with the electronic device 101 via the first communication link 220 , the second ear device 210b (eg, the secondary device) device) may monitor the first communication link 220 using the first communication link information.

일 실시예에 따르면, 제2 이어 장치(210b)(예: 보조 장치)는 제1 통신 링크(220)에 접근 또는 스니핑(sniffing)함으로써, 전자 장치(101)로부터 제1 이어 장치(210a)(예: 주 장치)에게 송신되는 오디오 신호를 획득할 수 있다. 예를 들어, 스니핑(sniffing)(또는 스누핑(snooping)) 동작은, 다른 전자 장치 간 통신 링크(또는 통신 채널)에 관한 정보를 이용하여 통신 링크에 접근하고, 통신 링크를 통해 송수신되는 정보들을 획득하는 것을 의미할 수 있다. 예를 들어, 제2 이어 장치(210b)(예: 보조 장치)는 제1 통신 링크(220)를 통해 전송되는 오디오 신호를 스니핑(sniffing) 동작을 통해 획득할 수 있으며, 전자 장치(101)로 오디오 신호를 전송할 수도 있다. According to an embodiment, the second ear device 210b (eg, an auxiliary device) accesses or sniffs the first communication link 220 , thereby connecting the first ear device 210a from the electronic device 101 ( For example, it is possible to obtain an audio signal transmitted to the main device). For example, a sniffing (or snooping) operation uses information about a communication link (or communication channel) between other electronic devices to access a communication link, and acquire information transmitted and received through the communication link can mean doing For example, the second ear device 210b (eg, an auxiliary device) may acquire an audio signal transmitted through the first communication link 220 through a sniffing operation, and sends the An audio signal may also be transmitted.

일 실시예에 따르면, 전자 장치(101)는 제1 이어 장치(210a) 또는 제2 이어 장치(210b)로부터 오디오 신호(예: 패킷화된 비트 스트림, 패킷)(예: 240, 245)를 수신할 수 있다. 전자 장치(101)는 제1 이어 장치(210a) 또는 제2 이어 장치(210b)로부터 전송되는 오디오 신호를 하나의 이어 웨어러블 장치(210)를 통해 전송되는 오디오 신호로서 인식할 수 있다. According to an embodiment, the electronic device 101 receives an audio signal (eg, a packetized bit stream, a packet) (eg, 240, 245) from the first ear device 210a or the second ear device 210b. can do. The electronic device 101 may recognize an audio signal transmitted from the first ear device 210a or the second ear device 210b as an audio signal transmitted through one ear wearable device 210 .

일 실시예에 따르면, 제1 통신 링크(220)은 블루투스 통신 링크를 포함할 수 있으나, 이에 한정하는 것은 아니다. 블루투스 통신 링크는 비동기 방식(예: ACL(asynchronous connection-oriented) 링크) 및 동기 방식(예: SCO(synchronous connection-oriented) 링크) 중 적어도 하나를 통해 패킷(예: 오디오 신호)들이 송수신될 수 있다. According to an embodiment, the first communication link 220 may include a Bluetooth communication link, but is not limited thereto. In the Bluetooth communication link, packets (eg, audio signals) may be transmitted and received through at least one of an asynchronous method (eg, an asynchronous connection-oriented (ACL) link) and a synchronous method (eg, a synchronous connection-oriented (SCO) link). .

일 실시예에 따르면, 제1 통신 링크(220)는 사용 용도에 따라 HFP(hands-free profile) 또는 A2DP(advanced audio distribution profile)을 정의할 수 있다. HFP는 SCO 링크를 이용하여 패킷을 전송할 수 있다. A2DP는 SCO 링크를 이용하여 패킷을 전송할 수 있다. 일 예를 들어, SCO(synchronous connection-oriented) 링크는 음성 데이터 전송을 위하여, 일정한 시간 간격마다 예약된 타임 슬롯을 통해 SCO 패킷이 전송될 수 있다. SCO 링크는 음성 신호를 위하여 대칭적이면서 회선 교환(circuit switched) 방식으로, 점대점(point-to-point) 통신을 지원할 수 있다. According to an embodiment, the first communication link 220 may define a hands-free profile (HFP) or an advanced audio distribution profile (A2DP) according to a usage purpose. HFP can transmit packets using the SCO link. A2DP can transmit packets using the SCO link. For example, in a synchronous connection-oriented (SCO) link, a SCO packet may be transmitted through a time slot reserved at regular time intervals for voice data transmission. The SCO link can support point-to-point communication in a symmetrical and circuit switched manner for voice signals.

다른 예를 들어, ACL(Asynchronous connection-oriented) 링크는 버스트(burst)한 데이터 전송을 위하여, 예약된 타임 슬롯을 사용하지 않고 ACL 패킷이 전송될 수 있다. ACL 링크는 패킷 누락 또는 에러가 발생된 패킷들이 재전송될 수 있다. ACL 링크는 대칭적 또는 비대칭적이면서 패킷 교환 (packet-switched) 방식으로, 점대다점(point-to-multipoint) 통신을 지원할 수 있다. ACL 링크는 대칭적 전송과 비대칭적 전송 둘 다를 지원할 수 있다. For another example, an ACL (Asynchronous connection-oriented) link may transmit an ACL packet without using a reserved time slot for burst data transmission. The ACL link may retransmit packets with dropped or erroneous packets. The ACL link may support point-to-multipoint communication in a symmetric or asymmetric and packet-switched manner. An ACL link may support both symmetric and asymmetric transmission.

일 실시예에 따르면, 전자 장치(101) 및 이어 웨어러블 장치(210)는 SCO 링크 또는 ACL 링크에 기반한 표준 규격의 전송 방식(또는 표준 전송 프로토콜)으로 패킷을 송수신 하거나, 제1 채널 및 제2 채널이 구분되도록 변경된 멀티 레코딩 전송 방식(또는 멀티 레코딩 전송 프로토콜)으로 패킷을 송수신할 수 있다. 표준 규격의 전송 방식은 전자 장치(101) 및 이어 웨어러블 장치(210)에서 디폴트(default)로 설정될 수 있다. 전자 장치(101) 및 이어 웨어러블 장치(210)는 멀티 레코딩 모드로 동작 시, 멀티 레코딩 전송 방식으로 통신 설정이 변경될 수 있다. 멀티 레코딩 전송 방식은 프레임 구간 별로 제1 채널 패킷 및 제2 채널 패킷으로 인식되도록 전송 시퀀스가 변경된 통신 방식일 수 있다. According to an embodiment, the electronic device 101 and the ear wearable device 210 transmit and receive packets using a standard transmission method (or standard transmission protocol) based on the SCO link or the ACL link, or the first channel and the second channel Packets can be transmitted/received using the multi-recording transmission method (or multi-recording transmission protocol) changed to distinguish this. The standard transmission method may be set as a default in the electronic device 101 and the ear wearable device 210 . When the electronic device 101 and the ear wearable device 210 operate in the multi-recording mode, communication settings may be changed in the multi-recording transmission method. The multi-recording transmission method may be a communication method in which a transmission sequence is changed to be recognized as a first channel packet and a second channel packet for each frame section.

도 3은 다양한 실시예에 따른, 전자 장치와 이어 웨어러블 장치의 구성을 도시한다. 3 illustrates a configuration of an electronic device and an ear wearable device according to various embodiments of the present disclosure.

도 3을 참조하면, 일 실시예에 따르면, 이어 웨어러블 장치(도 2의 210)는 사용자의 왼쪽 귀(left ear)와 오른쪽 귀(right ear)를 위한 제1 이어 장치(210a) 및 제2 이어 장치(210b)를 포함할 수 있다. Referring to FIG. 3 , according to an exemplary embodiment, the ear wearable device ( 210 in FIG. 2 ) includes a first ear device 210a and a second ear device for a user's left ear and right ear. device 210b.

일 실시예에 따르면, 제1 이어 장치(210a) 및 제2 이어 장치(210b)는 마이크로폰(311,321), 스피커(312,322), 통신회로(313,323), 인코더(314,324) 및 컨트롤러(315,325)를 각각 포함할 수 다. 제1 이어 장치(210a) 및 제2 이어 장치(210b)는 도시되지 안았으나, 센서들(예: 착용 감지 센서, 근접 센서, 생체 센서, 그립 센서, 온도 센서, 자이로 센서, 지자기 센서), 메모리 및 배터리를 더 포함할 수 있다. According to one embodiment, the first ear device 210a and the second ear device 210b include microphones 311 and 321, speakers 312 and 322, communication circuits 313 and 323, encoders 314 and 324 and controllers 315 and 325, respectively. can do it all Although the first ear device 210a and the second ear device 210b are not shown, sensors (eg, a wear detection sensor, a proximity sensor, a biometric sensor, a grip sensor, a temperature sensor, a gyro sensor, a geomagnetic sensor), a memory and a battery.

추가적으로, 인코더(314,324)는 도 1의 오디오 모듈과 치환될 수 있으며, 오디오 모듈에 포함된 구성 중 적어도 일부를 포함할 수 있다.Additionally, the encoders 314 and 324 may be replaced with the audio module of FIG. 1 , and may include at least some of the components included in the audio module.

일 실시예에 따르면, 마이크로폰(311,321)은 외부(예: 사용자 또는 주변 장치)로부터 사운드(sound)를 수신(또는 획득/취득)할 수 있다. 마이크로폰(311,321)은 외부의 사운드를 획득하여 전기 신호로 처리(예: 변환)할 수 있다. According to an embodiment, the microphones 311 and 321 may receive (or acquire/acquire) a sound from an external (eg, a user or a peripheral device). The microphones 311 and 321 may acquire external sound and process (eg, convert) it into an electrical signal.

일 실시예에 따르면, 스피커(312,322)는 마이크로폰(311,321) 또는 통신 회로를 통해 획득된 오디오 신호를 사운드로 출력할 수 있다. 스피커(312,322)는 통신 회로(313,323)를 통해 수신된 오디오 신호(또는 오디오 데이터, 오디오 패킷)를 사운드로 변환하여 출력할 수 있다. According to an embodiment, the speakers 312 and 322 may output an audio signal obtained through the microphones 311 and 321 or a communication circuit as sound. The speakers 312 and 322 may convert an audio signal (or audio data, or an audio packet) received through the communication circuits 313 and 323 into sound and output the converted sound.

일 실시예에 따르면, 인코더(314,324)는 오디오 인코더(audio encoder)일 수 있다. 인코더(314,324)는 마이크로폰(311,321)을 통해 획득한 사운드를 부호화하고, 부호화된 오디오 비트스트림을 기반으로 오디오 패킷을 생성 할 수 있다. 인코더(314,324)를 통해 생성된 오디오 패킷은 통신 회로(313,323)를 통해 각각 전자 장치(101)로 전송될 수 있다. 오디오 패킷은 오디오 비트스트림 정보, 채널 정보 및 싱크 정보 중 적어도 하나를 포함할 수 있다. According to one embodiment, the encoders 314 and 324 may be audio encoders. The encoders 314 and 324 may encode the sound obtained through the microphones 311 and 321 and generate an audio packet based on the encoded audio bitstream. Audio packets generated through the encoders 314 and 324 may be transmitted to the electronic device 101 through the communication circuits 313 and 323, respectively. The audio packet may include at least one of audio bitstream information, channel information, and sync information.

일 실시예에 따르면, 인코더(314,324)는 하나의 오디오 프레임을 인코딩하여 하나의 오디오 패킷을 생성하며, 하나의 오디오 프레임을 인코딩할 때마다 프레임 인덱스(frame index) 값을 카운트할 수 있다. 프레임 인덱스 값(또는 프레임 넘버)은 매 오디오 프레임을 인코딩할 때마다 순차적으로 증가(예: frame_idx=0, 1, 2, 3, 4, 5,,,,)할 수 있다.According to an embodiment, the encoders 314 and 324 encode one audio frame to generate one audio packet, and may count a frame index value whenever one audio frame is encoded. The frame index value (or frame number) may be sequentially increased (eg, frame_idx=0, 1, 2, 3, 4, 5,,,,) whenever every audio frame is encoded.

일 실시예에 따르면, 동일한 시간을 기준으로 제1 이어 장치(210a) 및 제2 이어 장치(210b)에서 각각 획득한 소리에 대해 인코딩하는 경우, 각 프레임마다 동일한 프레임 인덱스 값을 가진 오디오 패킷이 생성될 수 있다. 예를 들어, 제1 이어 장치(210a)는 제1 마이크로폰(예: 311)을 통해 획득한 사운드에 기반하여 프레임 1 구간에서 인덱스값 1을 가진 packet_1을 생성하고, 제2 이어 장치(210b)는 제2 마이크로폰(예: 321)을 통해 획득한 사운드에 기반하여 프레임 1 구간에서 packet_1을 각각 생성할 수 있다. 싱크 정보는 프레임 인덱스 값을 포함할 수 있다. According to an embodiment, when encoding is performed for sounds each acquired by the first ear device 210a and the second ear device 210b based on the same time, an audio packet having the same frame index value is generated for each frame can be For example, the first ear device 210a generates packet_1 having an index value of 1 in the frame 1 section based on a sound acquired through the first microphone (eg 311 ), and the second ear device 210b Each packet_1 may be generated in the frame 1 section based on the sound acquired through the second microphone (eg, 321 ). The sync information may include a frame index value.

어떤 실시예에 따르면, 인코더(314,324)는 채널 정보를 삽입하여 오디오 패킷을 생성할 수 있다 제1 이어 장치(210a)가 제1 채널 식별 코드를 가질 경우, 제2 이어 장치(210b)는 제2 채널 식별 코드를 가질 수 있다. 예를 들어, 제1 이어 장치의 인코더(예: 314)는 제1 채널 식별 코드를 오디오 패킷(예: packet_1)에 삽입하고, 제2 이어 장치의 인코더(예: 324)는 제2 채널 식별 코드를 오디오 패킷(예: packet_1)에 삽입할 수 있다. 채널 정보는 헤더 패킷의 적어도 일부에 삽입될 수 있다. According to some embodiments, the encoders 314 and 324 may generate an audio packet by inserting channel information. When the first ear device 210a has the first channel identification code, the second ear device 210b is It may have a channel identification code. For example, the encoder (eg 314) of the first ear device inserts the first channel identification code into the audio packet (eg packet_1), and the encoder (eg 324) of the second ear device inserts the second channel identification code can be inserted into an audio packet (eg, packet_1). The channel information may be inserted into at least a part of the header packet.

일 실시예에 따르면, 전자 장치(101)는 오디오 패킷에 포함된 채널 정보를 구분하여 제1 채널 오디오 신호를 생성하고, 제2 채널 오디오 신호를 생성할 수 있다. According to an embodiment, the electronic device 101 may generate a first channel audio signal by dividing channel information included in an audio packet, and may generate a second channel audio signal.

일 실시예에 따르면, 제1 이어 장치(210a) 및 제2 이어 장치(210b)는 싱크 조절부(synchronization control unit)(316,326)를 더 포함할 수도 있다. 싱크 조절부(316,326)는 제1 이어 장치(210a)의 제1 마이크로폰(311) 및 제2이어 장치(210b)의 제2 마이크로폰(321)으로부터 획득한 2개의 오디오 신호를 동기화하도록 싱크를 조절할 수 있다. 예를 들어, 제1 이어 장치(210a)와 제2 이어 장치(210b)는 제2 통신 링크를 통해 연결될 수 있으며, 싱크 정보를 동기화하여 마이크로폰들(311,321)으로부터 입력된 신호 및 인코딩 동작의 타이밍을 동기화(또는 조절)하도록 제어할 수 있다. According to an embodiment, the first ear device 210a and the second ear device 210b may further include synchronization control units 316 and 326 . The sync control units 316 and 326 may adjust the sync to synchronize the two audio signals acquired from the first microphone 311 of the first ear device 210a and the second microphone 321 of the second ear device 210b. there is. For example, the first ear device 210a and the second ear device 210b may be connected through a second communication link, and synchronize sync information to determine the timing of the encoding operation and the signals input from the microphones 311 and 321 . It can be controlled to synchronize (or adjust).

어떤 실시예에 따르면, 싱크 조절부(316,326) 또는 이의 동작은 생략(skip)될 수 있다. 예를 들어, 동기 방식의 SCO링크를 통한 오디오 패킷(예: SCO 패킷)은 SCO링크 간 동기화를 지원하므로, 싱크 조절부(316,326)의 동작이 생략될 수도 있다. 비동기 방식의 ACL 링크를 통해 오디오 패킷을 전송하는 경우, 싱크 조절부(316,326)를 통해 동기화 동작이 요구될 수 있다.According to some embodiments, the sync control units 316 and 326 or operations thereof may be skipped. For example, since an audio packet (eg, SCO packet) through a synchronous SCO link supports synchronization between SCO links, the operation of the sync controllers 316 and 326 may be omitted. When an audio packet is transmitted through an asynchronous ACL link, a synchronization operation may be requested through the sync control units 316 and 326 .

일 실시예에 따르면, 통신 회로(313,323)는 블루투스, 저전력 블루투스, 와이파이(Wi-Fi), ANT+(adaptive network topology), LTE(long term evolution), 5G(5th generation mobile telecommunication), 및/또는 NB-IoT(narrowband internet of things)를 통하여 서로 또는 전자 장치(101)에 연결되거나, 어떤 실시예에서는 액세스 포인트(AP, access point), 또는 다른 네트워크와 연결될 수 있다.According to an embodiment, the communication circuits 313 and 323 are Bluetooth, low energy Bluetooth, Wi-Fi, adaptive network topology (ANT+), long term evolution (LTE), 5th generation mobile telecommunication (5G), and/or NB. -Connected to each other or the electronic device 101 through a narrowband internet of things (IoT), or may be connected to an access point (AP, access point), or other networks in some embodiments.

일 실시예에 따르면, 통신 회로(313,323) 중 어느 하나는 전자 장치(101)와 제1 무선 통신 링크를 수립하고, 수립된 제1 통신 링크를 통해 무선으로 통신을 수행할 수 있다. 제1 이어 장치(210a)의 통신 회로(313) 및 제2 이어 장치(210b)의 제2 통신 회로 (323)는 서로 제2 통신 링크를 수립하고 수립된 제2 통신 링크를 통해 통신을 수행할 수 있다. According to an embodiment, any one of the communication circuits 313 and 323 may establish a first wireless communication link with the electronic device 101 and wirelessly communicate through the established first communication link. The communication circuit 313 of the first ear device 210a and the second communication circuit 323 of the second ear device 210b establish a second communication link with each other and perform communication through the established second communication link. can

일 실시예에 따르면, 컨트롤러(315,325)는 이어 웨어러블 장치의 전반적인 동작을 제어할 수 있다. 컨트롤러(315,325)는 컨트롤러(315,325)에 연결된 이어 웨어러블 장치(210)의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소) 및 구성요소의 동작을 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 예를 들어, 컨트롤러(315,325)는 센서로부터 획득하는 센서 데이터(또는 센싱 정보)에 기반하여 제1 이어 장치(210a) 및 제2 이어 장치(210b)의 착용 상태를 판단하고 전자 장치(101)와의 통신 연결을 제어할 수 있다. 컨트롤러(315, 325)는 통신 링크를 이용하여 음성 신호 또는 오디오 신호(또는 오디오 데이터)를 송수신하도록 통신 회로(313,323)를 제어할 수 있다. According to an embodiment, the controllers 315 and 325 may control the overall operation of the ear wearable device. The controllers 315 and 325 may control other components (eg, hardware or software components) and operations of the ear wearable device 210 connected to the controllers 315 and 325, and may perform various data processing or calculations. there is. For example, the controllers 315 and 325 determine the wearing state of the first ear device 210a and the second ear device 210b based on sensor data (or sensing information) obtained from the sensor, and You can control the communication connection. The controllers 315 and 325 may control the communication circuits 313 and 323 to transmit and receive a voice signal or an audio signal (or audio data) using a communication link.

일 실시예에 따르면, 전자 장치(103)의 통신 모듈(340) 및 이어 웨어러블 장치(210)의 통신 회로(313,323)는 블루투스 페어링 시 표준 규격의 데이터 전송 프로파일이 디폴트로 설정될 수 있다. 전자 장치(103) 및 이어 웨어러블 장치(210)는 SCO 링크로 연결 시 SCO 방식의 표준 규격에 따른 시퀀스로 데이터가 송수신되고, ACL 링크로 연결 시 ACL 방식의 표준 규격에 따른 시퀀스로 데이터가 송수신될 수 있다. According to an embodiment, a data transmission profile of a standard standard may be set as a default for the communication module 340 of the electronic device 103 and the communication circuits 313 and 323 of the ear wearable device 210 during Bluetooth pairing. When the electronic device 103 and the ear wearable device 210 are connected to the SCO link, data is transmitted and received in a sequence according to the standard specification of the SCO method, and when connected to the ACL link, data is transmitted and received in a sequence according to the standard specification of the ACL method. can

컨트롤러(315,325)는 전자 장치(101)와의 동작 모드를 확인하고, 동작 모드에 따른 데이터 전송 프로파일을 변경할 수 있다. The controllers 315 and 325 may check an operation mode with the electronic device 101 and change a data transmission profile according to the operation mode.

일 실시예에 따르면, 컨트롤러(315,325)는 전자 장치(101)의 녹음 기능 활성화 신호가 수신되는 것에 기반하여 제1 이어 장치(210a) 및 제2 이어 장치(210b)의 동작 모드를 멀티 레코딩 모드(또는 레코딩 모드)로 변경할 수 있다. 컨트롤러(315,325)는 멀티 레코딩 모드에서 마이크로폰(311,321)을 활성화하고 외부의 사운드를 획득하도록 제어하고, 획득된 사운드를 인코딩하여 패킷화할 수 있다. 컨트롤러(315,325)는 패킷화된 사운드 즉, 오디오 신호를 전자 장치(101)와 연결된 통신 링크를 통해 전자 장치(101)로 전송하도록 통신 회로를 제어할 수 있다. According to an embodiment, the controllers 315 and 325 change the operation modes of the first ear device 210a and the second ear device 210b to the multi-recording mode ( or recording mode). The controllers 315 and 325 may activate the microphones 311 and 321 in the multi-recording mode, control to acquire external sound, and encode and packetize the acquired sound. The controllers 315 and 325 may control a communication circuit to transmit packetized sound, that is, an audio signal, to the electronic device 101 through a communication link connected to the electronic device 101 .

일 실시예에 따르면, 멀티 레코딩 모드로 동작 시, 컨트롤러(315,325)는 데이터 전송 프로토콜을 표준 방식이 아닌 오디오 신호를 제1 채널 패킷 및 제2 채널 패킷으로 구분되도록 변경된 멀티 레코딩 통신 방식의 프로토콜로 변경할 수 있다. 예를 들어, 송신측 장치(예: 이어 웨어러블 장치(210))에서 멀티 레코딩 통신 방식의 프로토콜은 제1 이어 장치(210a)와 제2 이어 장치(210b)가 각각 정해진 예약 슬롯에 교대로 패킷들을 전자 장치(101)로 전송하거나, 인터벌 구간 마다 교대로 패킷들이 전자 장치(101)로 전송되는 시퀀스를 가질 수 있다. According to an embodiment, when operating in the multi-recording mode, the controllers 315 and 325 change the data transmission protocol to a protocol of the multi-recording communication method that is changed so that an audio signal other than the standard method is divided into a first channel packet and a second channel packet. can For example, in the transmitting-side device (eg, the ear wearable device 210 ), in the multi-recording communication protocol, the first ear device 210a and the second ear device 210b alternately transmit packets in a predetermined reserved slot, respectively. It may have a sequence in which packets are transmitted to the electronic device 101 , or packets are alternately transmitted to the electronic device 101 every interval interval.

멀티 레코딩 모드로 동작 시 제1 이어 장치(210a)의 컨트롤러(315)는 제1 마이크로폰(311)으로부터 획득한 신호로부터 생성된 제1오디오 패킷을 제1 통신 회로(313)를 통해 전자 장치(101)로 전달 할 수 있다. 제2 이어 장치(210b)의 컨트롤러(325)는, 제2 마이크로폰(321)으로부터 획득한 신호로부터 생성된 제2 오디오 패킷을 제2 통신 회로(323)를 통해 전자 장치(101)로 전달할 수 있다. When operating in the multi-recording mode, the controller 315 of the first ear device 210a transmits the first audio packet generated from the signal obtained from the first microphone 311 through the first communication circuit 313 to the electronic device 101 ) can be transmitted. The controller 325 of the second ear device 210b may transmit a second audio packet generated from a signal obtained from the second microphone 321 to the electronic device 101 through the second communication circuit 323 . .

일 실시예에 따른 전자 장치(101)는, 통신 모듈(340), 오디오 프로세서 (341), 프로세서(342) 및 메모리(343)를 포함할 수 있으며, 도 1의 전자 장치(101)의 구성 및/또는 기능 중 적어도 일부를 포함할 수 있다. The electronic device 101 according to an embodiment may include a communication module 340 , an audio processor 341 , a processor 342 , and a memory 343 , and the configuration of the electronic device 101 of FIG. 1 and / or may include at least some of the functions.

통신 모듈(340)은 이어 웨어러블 장치(210)로부터 오디오 신호(예: 오디오 패킷들)을 수신할 수 있다. 통신 모듈(340)은 제1 이어 장치(210a) 및 제2 이어 장치(210b)는 중 적어도 하나와 제1 통신 링크를 통해 연결될 수 있다. 통신 모듈(340)은 제1 이어 장치(210a) 및 제2 이어 장치(210b) 각각으로부터 신호를 수신할 수 있다. 제1 이어 장치(210a) 및 제2 이어 장치(210b) 중 주 장치는 제1 통신 링크를 통해 전자 장치(101)로 신호를 전송하고 보조 장치는 스니핑 동작을 통해 제1 통신 링크를 이용하여 전자 장치(101)로 신호를 전송할 수 이다. The communication module 340 may receive an audio signal (eg, audio packets) from the ear wearable device 210 . The communication module 340 may be connected to at least one of the first ear device 210a and the second ear device 210b through a first communication link. The communication module 340 may receive a signal from each of the first ear device 210a and the second ear device 210b. Among the first ear device 210a and the second ear device 210b, the main device transmits a signal to the electronic device 101 through the first communication link, and the auxiliary device uses the first communication link through a sniffing operation to send a signal to the electronic device. It is possible to transmit a signal to the device 101 .

오디오 프로세서(341)은 싱크 조절 모듈(3411), 패킷 손실 보상 모듈(3412), 디코더(decoder)(3413) 및 후처리 모듈(3414)을 포함할 수 있다. 싱크 조절 모듈(3411), 디코더(3413), 패킷 손실 보상 모듈(3412), 및 후처리 모듈(3414)은 소프트웨어로 구현 될 수 있으나, 별도의 하드웨어 구성(예: 오디오 칩)으로 구현될 수 있다.The audio processor 341 may include a sync adjustment module 3411 , a packet loss compensation module 3412 , a decoder 3413 , and a post-processing module 3414 . The sync control module 3411 , the decoder 3413 , the packet loss compensation module 3412 , and the post-processing module 3414 may be implemented as software, but may be implemented as a separate hardware configuration (eg, an audio chip). .

싱크 조절 모듈(3411)은 동일한 시간에 인코딩한 오디오 신호가 함께 디코딩될 수 있도록 디코딩 동작의 타이밍을 동기화(또는 조절)하도록 제어할 수 있다. 예를 들어, 싱크 조절 모듈(3411)은 오디오 신호(예: 오디오 패킷)에 포함된 프레임 인덱스값을 기반으로 동일한 값을 가지는 오디오 비트스트림을 오디오 디코더로 전달할 수 있다. The sync adjustment module 3411 may control to synchronize (or adjust) the timing of the decoding operation so that audio signals encoded at the same time can be decoded together. For example, the sync control module 3411 may transmit an audio bitstream having the same value to the audio decoder based on a frame index value included in an audio signal (eg, an audio packet).

어떤 실시예에 따르면, 싱크 조절 모듈(3411) 또는 이의 동작은 생략될 수 있다. 예를 들어, 동기 방식의 전송 링크(예: SCO 링크)를 통해 전송된 오디오 패킷(예: SCO 패킷)은 전송 링크 간 동기화를 지원하므로, 싱크 조절 모듈(3411)의 동작이 생략될 수 있다. According to some embodiments, the sync control module 3411 or an operation thereof may be omitted. For example, since an audio packet (eg, SCO packet) transmitted through a synchronous transmission link (eg, SCO link) supports synchronization between transport links, the operation of the sync control module 3411 may be omitted.

디코더(3413)는 오디오 디코더일 수 있다. 디코더(3413)는 이어 웨어러블 장치(210)(예: 제1 이어 장치(210a) 및 제2 이어 장치(210b))로부터 전송된 오디오 신호(또는 패킷화된 오디오 비트스트림)을 디코딩하여 오디오 신호를 생성할 수 있다. 디코더(3413)는 제1 이어 장치(210a)로부터 전달된 오디오 신호와 제2 이어 장치(210b)로부터 전달된 오디오 신호를 구별하여 디코딩할 수 있다. 디코더로 입력되는 오디오 신호는 싱크 조절(또는 동기화)을 통해 동일한 시간에 제1 이어 장치(210a) 및 제2 이어 장치(210b)에서 각각 인코딩된 패킷화된 비트 스트림일 수 있다. The decoder 3413 may be an audio decoder. The decoder 3413 decodes the audio signal (or packetized audio bitstream) transmitted from the ear wearable device 210 (eg, the first ear device 210a and the second ear device 210b) to generate the audio signal. can create The decoder 3413 may distinguish and decode the audio signal transmitted from the first ear device 210a and the audio signal transmitted from the second ear device 210b. The audio signal input to the decoder may be a packetized bit stream encoded by the first ear device 210a and the second ear device 210b at the same time through sync adjustment (or synchronization), respectively.

예를 들어, 프로세서(342) 또는 오디오 프로세서(341)는 이어 웨어러블 장치(210)로부터 수신된 오디오 신호(또는 오디오 패킷들)를 제1 이어 장치(210a)로부터 전송된 제1채널 신호(또는 제1 채널 패킷들)와 제2 이어 장치(210b)로부터 전송된 제2 채널 신호(또는 제2 채널 패킷들)을 구분할 수 있다. 오디오 프로세서(341)은 이어 웨어러블 장치(210)으로부터 수신된 오디오 신호로부터 제1 채널 패킷들 및 제2 채널 패킷들을 구분하여 획득할 수 있다. For example, the processor 342 or the audio processor 341 may convert the audio signal (or audio packets) received from the ear wearable device 210 to a first channel signal (or first channel signal) transmitted from the first ear device 210a. 1 channel packets) and a second channel signal (or second channel packets) transmitted from the second ear device 210b may be distinguished. The audio processor 341 may separately obtain the first channel packets and the second channel packets from the audio signal received from the ear wearable device 210 .

일 실시예에 따르면, 디코더(3413)는 SCO 링크를 통해 수신된 패킷들(예: SCO 패킷들) 중 제1 이어 장치(210a)에서의 예약된 타임 슬롯(예: slot1 또는 slot1~2) 마다 전송되는 패킷들(예: 제1 채널 패킷들)을 기반으로 제1 채널 오디오 신호를 생성할 수 있다. 디코더(3413)는 수신된 패킷들 중 제2 이어 장치(210b)에서의 예약된 타임 슬롯(예: slot2 또는 slot3~4 )마다 전송되는 패킷들(예: 제2 채널 패킷들)을 기반으로 제2 채널 오디오 신호를 생성할 수 있다. According to an embodiment, the decoder 3413 is configured for each reserved time slot (eg, slot1 or slot1~2) in the first ear device 210a among packets (eg, SCO packets) received through the SCO link. A first channel audio signal may be generated based on transmitted packets (eg, first channel packets). The decoder 3413 is configured to receive a second channel based on packets (eg, second channel packets) transmitted in every reserved time slot (eg, slot2 or slot3 to 4) of the second ear device 210b among the received packets. A two-channel audio signal can be generated.

일 실시예에 따르면, 디코더(3413)는 ACL 링크를 통해 수신된 패킷들(예: ACL 패킷들) 중 제1 이어 장치(210a)에서의 예약된 타임 구간(예: 인터벌 타임 중 제1 구간)마다 전송되는 패킷들(예: 제1 채널 패킷들)을 기반으로 제1 채널 오디오 신호를 생성할 수 있다. 디코더(3413)는 제2 이어 장치(210b)에서의 예약된 타임 구간(예: 인터벌 타임 중 제2 구간)마다 전송되는 패킷들(예: 제2 채널 패킷들)을 기반으로 제2 채널 오디오 신호를 생성할 수 있다. 프로세서(342)는 ACL 링크를 통해 수신된 ACL 패킷들인 경우, 제1 채널 패킷들을 제1 버퍼에 저장하고, 제2 채널 패킷들을 제2 버퍼에 저장할 수 있다. 디코더(3413)는 설정된 스케줄에 따라 제1 버퍼에 저장된 제1 채널 패킷들을 디코딩하고, 제2 버퍼에 저장된 제2 채널 패킷들을 디코딩할 수 있다. According to an embodiment, the decoder 3413 is configured to perform a reserved time interval (eg, a first interval of an interval time) in the first ear device 210a among packets (eg, ACL packets) received through the ACL link. A first channel audio signal may be generated based on packets (eg, first channel packets) transmitted every time. The decoder 3413 configures the second channel audio signal based on packets (eg, second channel packets) transmitted for each reserved time interval (eg, the second interval of the interval time) in the second ear device 210b. can create When the ACL packets are received through the ACL link, the processor 342 may store the first channel packets in the first buffer and store the second channel packets in the second buffer. The decoder 3413 may decode the first channel packets stored in the first buffer and decode the second channel packets stored in the second buffer according to the set schedule.

패킷 손실 보상 모듈(3412)은 무선 통신 링크(또는 무선 전송 링크)를 통한 무선 전송에서 손실된 오디오 신호(또는 오디오 패킷)을 보상하는 동작을 수행할 수 이다. 패킷 손실 보상 모듈(3412)은 오디오 패킷에 포함된 인덱스 값을 기반으로 누락된 오디오 프레임을 확인하고, 누락된 프레임과 관련된 오디오 신호를 생성할 수 있다. 일 실시예에 따르면, 패킷 손실 보상 모듈(3412)은 누락된 오디오 프레임을 통신 링크를 통해 재전송받을 수도 있다. The packet loss compensation module 3412 may perform an operation of compensating for an audio signal (or audio packet) lost in wireless transmission through a wireless communication link (or wireless transmission link). The packet loss compensation module 3412 may identify a missing audio frame based on an index value included in the audio packet, and generate an audio signal related to the missing frame. According to an embodiment, the packet loss compensation module 3412 may retransmit the missed audio frame through the communication link.

어떤 실시예에 따르면, 패킷의 누락 여부는 블투투스 통신 프로토콜의 예를 들어, ack 신호의 수신 여부를 통해 확인될 수 도 있다. According to some embodiments, whether a packet is missing may be checked through, for example, whether an ack signal is received in a Bluetooth communication protocol.

후처리 모듈(3414)는 디코더(3413)에서 디코딩된 멀티 오디오 신호(또는 스테레오 오디오 신호, 또는 제1 채널 오디오 신호 및 제2 채널 오디오 신호)를 기반으로 음질 향상 및 바이노럴 효과를 위한 처리를 수행할 수 있다. 예를 들어, 후처리 모듈은 BWE(bandwidth extention), EQ(equalizer), 음향 효과(예: surround effect) 처리 중 적어도 하나를 수행할 수 있다. 예를 들어, 후처리 모듈(3414)는 제1 이어 장치 및 제2 이어 장치 각각에서 레코딩된 사운드를 기반으로 생성된 제1 채널 오디오 신호 및 제2 채널 오디오 신호를 이용하여 바이노럴 음향을 가진 레코딩 신호를 생성할 수 있다. The post-processing module 3414 performs processing for sound quality improvement and binaural effect based on the multi-audio signal (or stereo audio signal, or the first channel audio signal and the second channel audio signal) decoded by the decoder 3413. can be done For example, the post-processing module may perform at least one of bandwidth extension (BWE), equalizer (EQ), and sound effect (eg, surround effect) processing. For example, the post-processing module 3414 may be configured to have a binaural sound using a first channel audio signal and a second channel audio signal generated based on sound recorded by the first ear device and the second ear device, respectively. A recording signal can be generated.

프로세서(342)는 전자 장치(101)의 전반적인 동작을 제어할 수 이다. 프로세서(342)는 프로세서(342)에 연결된 전자 장치(101)의 다른 구성 요소(예: 하드웨어 또는 소프트웨어 구성 요소) 및 구성요소의 동작을 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 프로세서(342)는 도 1에 도시된 프로세서(120)의 동작 및 기능 중 적어도 일부를 포함할 수 있다. The processor 342 may control the overall operation of the electronic device 101 . The processor 342 may control other components (eg, hardware or software components) and operations of the components of the electronic device 101 connected to the processor 342 , and may perform various data processing or operations. . The processor 342 may include at least some of the operations and functions of the processor 120 illustrated in FIG. 1 .

데이터 처리 또는 연산의 적어도 일부로서, 프로세서(342)는 전자 장치(101)의 전반적인 동작을 제어하는 명령 또는 데이터를 메모리(343)에 저장하고, 메모리(343)에 저장된 명령 또는 데이터를 처리할 수 있다.As at least part of data processing or operation, the processor 342 may store commands or data for controlling the overall operation of the electronic device 101 in the memory 343 , and process the commands or data stored in the memory 343 . there is.

프로세서(342)는 이어 웨어러블 장치(210)와의 동작 모드를 확인하고, 동작 모드에 따라 통신 링크의 데이터 전송 프로파일을 변경할 수 있다. 프로세서(342)는 녹음 기능 활성화 요청 신호(예: 이어 웨어러블 장치(210)를 이용한 녹음 기능(또는 멀티 레코딩 기능)을 선택하는 사용자 입력)를 입력 장치(미도시)(예: 터치 센서)를 통해 수신할 수 있다. 프로세서(342)는 이어 웨어러블 장치(210)를 이용한 녹음 기능을 선택하는 사용자 입력을 수신하는 것에 기반하여 이어 웨어러블 장치(210)로 녹음 기능 활성화 신호를 전달할 수 있다. The processor 342 may check the operation mode with the wearable device 210 and change the data transmission profile of the communication link according to the operation mode. The processor 342 receives a recording function activation request signal (eg, a user input for selecting a recording function (or multi-recording function) using the ear wearable device 210) through an input device (not shown) (eg, a touch sensor). can receive The processor 342 may transmit a recording function activation signal to the ear wearable device 210 based on receiving a user input for selecting a recording function using the ear wearable device 210 .

프로세서(342)는 멀티 레코딩 모드(또는 레코딩 모드) 시 데이터 전송 프로토콜을 표준 방식이 아닌 오디오 신호를 제1 채널 패킷 및 제2 채널 패킷으로 구분되도록 변경된 멀티 레코딩 통신 방식의 프로토콜(예: 멀티 레코딩 전송 프로토콜)로 변경할 수 있다. 수신측 장치(예: 전자 장치(101))에서 멀티 레코딩 통신 방식의 프로토콜은 정해진 예약 슬롯에 교대로 제1 이어 장치(210a) 및 제2 이어 장치(210b)로부터 패킷들이 수신되고, 인터벌 타임 중 정해진 구간 마다 교대로 제1 이어 장치(210a) 및 제2 이어 장치(210b)로부터 패킷들이 수신되는 시퀀스를 가질 수 있다The processor 342 is a multi-recording communication protocol (eg, multi-recording transmission) changed so that, in the multi-recording mode (or recording mode), an audio signal other than a standard method is divided into a first channel packet and a second channel packet, the data transmission protocol protocol) can be changed. In the receiving device (eg, the electronic device 101), in the protocol of the multi-recording communication method, packets are alternately received from the first ear device 210a and the second ear device 210b in a predetermined reserved slot, and during the interval time It may have a sequence in which packets are alternately received from the first ear device 210a and the second ear device 210b at every predetermined interval.

프로세서(342)는 오디오 프로세서(341) 다시 말해, 싱크 조절 모듈(3411), 패킷 손실 보상 모듈(3412), 디코더(3413) 및 후처리 모듈(3414)을 제어하여 이어 웨어러블 장치(210)로부터 획득한 마이크로폰(311,321) 소리에 기반하여 멀티 레코딩 동작을 수행하고, 바이노럴 음향을 가진 레코딩 신호를 생성할 수 있다. The processor 342 controls the audio processor 341 , that is, the sync adjustment module 3411 , the packet loss compensation module 3412 , the decoder 3413 , and the post-processing module 3414 to obtain from the ear wearable device 210 . A multi-recording operation may be performed based on the sound of one microphone 311 and 321, and a recording signal having a binaural sound may be generated.

도 4는 다양한 실시예에 따른 전자 장치에서 무선 오디오 입출력 장치를 이용한 오디오 레코딩 방법을 도시한다. 4 illustrates an audio recording method using a wireless audio input/output device in an electronic device according to various embodiments of the present disclosure.

도 4를 참조하면, 일 실시예에 따른 전자 장치(101)의 프로세서(예: 도 2의 프로세서(120), 도 3의 프로세서(342))는, 410동작에서, 통신 모듈을 통해 무선 오디오 입출력장치 (예: 도 2의 이어 웨어러블 장치(210))와 통신 연결될 수 있다. 전자 장치(101)와 무선 오디오 입출력 장치(예: 이어 웨어러블 장치(210)는 블루투스 통신(예: 블루투스 페어링(bluetooth pairing))에 기반한 통신 링크(또는 전송 링크)가 형성될 수 있다. 예를 들어, 통신 링크는, ACL(asynchronous connection-oriented) 링크 및 SCO(synchronous connection-oriented) 링크 중 적어도 하나일 수 있다. Referring to FIG. 4 , the processor (eg, the processor 120 of FIG. 2 and the processor 342 of FIG. 3 ) of the electronic device 101 according to an embodiment performs wireless audio input/output through a communication module in operation 410 . It may be communicatively connected to a device (eg, the ear wearable device 210 of FIG. 2 ). The electronic device 101 and the wireless audio input/output device (eg, the ear wearable device 210) may form a communication link (or transmission link) based on Bluetooth communication (eg, Bluetooth pairing). For example, , the communication link may be at least one of an asynchronous connection-oriented (ACL) link and a synchronous connection-oriented (SCO) link.

420 동작에서, 프로세서(120,342)는, 전자 장치(101)의 동작 모드가 멀티 레코딩 모드로 동작 중인지를 판단할 수 있다. 예를 들어, 프로세서(120,342)는 전자 장치(501)의 마이크와 함께 외부 장치(예: 무선 오디오 입출력 장치)의 마이크를 이용한 레코딩 기능 활성화 신호에 응답하여 전자 장치(101)의 동작 모드를 멀티 레코딩 모드로 전환할 수 있다. In operation 420 , the processors 120 and 342 may determine whether the operation mode of the electronic device 101 is operating in the multi-recording mode. For example, the processors 120 and 342 multi-record the operation mode of the electronic device 101 in response to a recording function activation signal using a microphone of an external device (eg, a wireless audio input/output device) together with the microphone of the electronic device 501 . mode can be switched.

일 실시예에 따르면, 전자 장치(101)는 블루투스 마이크 사용 항목(또는 기능)을 사용자가 선택하여 멀티 레코딩 기능(예: 영상 촬영)을 실행할 수 있다. 어떤 실시예에 따르면, 전자 장치(101)는 활성화가 가능한 마이크를 포함하는 장치들(예:블루투스 장치)을 UI(user interface)를 통하여 디스플레이 할 수 있다. 사용자는 UI에 표시된 정보를 참고하여 레코딩에 활용될 장치들을 선택하여 멀티 레코딩 모드로 전환할 수 있다. 다른 예를 들어, 전자 장치(101)는 멀티 레코딩 기능 활성화 신호에 응답하여 활성화된 장치를 UI를 통하여 표시할 수 있다. According to an embodiment, the electronic device 101 may execute a multi-recording function (eg, image capturing) by a user selecting a Bluetooth microphone use item (or function). According to an embodiment, the electronic device 101 may display devices (eg, Bluetooth devices) including a microphone that can be activated through a user interface (UI). The user can switch to the multi-recording mode by selecting devices to be used for recording by referring to the information displayed on the UI. For another example, the electronic device 101 may display the activated device in response to the multi-recording function activation signal through the UI.

425 동작에서, 프로세서(120,342)는 무선 오디오 입출력 장치(예: 이어 웨어러블 장치(210))로 멀티 레코딩 활성화 신호를 전송하도록 통신 모듈(예: 도 1의 통신 모듈(190) 및 도 3의 통신 모듈(340))을 제어할 수 있다. In operation 425, the processors 120 and 342 transmit the multi-recording activation signal to the wireless audio input/output device (eg, the ear wearable device 210) to the communication module (eg, the communication module 190 of FIG. 1 and the communication module of FIG. 3 ) (340)) can be controlled.

프로세서(120,342)는 전자 장치(101)가 멀티 레코딩 모드가 아닌 다른 동작 모드(또는 일반 모드)이면, 430동작으로 진행하여 블루투스 표준 방식의 통신 방식으로 BT 패킷(또는 데이터)을 송수신할 수 있다. 다른 동작 모드(또는 일반 모드)는 통화 모드, 오디오 재생 모드 중 적어도 하나를 포함할 수 있으나, 이에 한정하는 것은 아니다. If the electronic device 101 is in an operation mode (or normal mode) other than the multi-recording mode, the processors 120 and 342 may transmit and receive BT packets (or data) in a Bluetooth standard communication method in operation 430 . The other operation mode (or normal mode) may include at least one of a call mode and an audio playback mode, but is not limited thereto.

440동작에서, 프로세서(120,342)는 멀티 레코딩 모드로 전환 시 무선 오디오 입출력 장치(예: 이어 웨어러블 장치(210))로부터 수신되는 오디오 신호로부터 제1 채널 패킷 및 제2 채널 패킷으로 인식되는 멀티 레코딩 전송 방식(또는 멀티 레코딩 전송 프로토콜)으로 통신 설정을 변경할 수 있다. 예를 들어, 멀티 레코딩 전송 방식은 하나의 장치로 인식된 무선 오디오 입출력 장치(예: 이어 웨어러블 장치(210))에서 수신되는 패킷들을 제1 채널 패킷 또는 제2 채널 패킷들로 구분되도록 정해진 시퀀스를 가질 수 있다. In operation 440, the processors 120 and 342 transmit multi-recording recognized as the first channel packet and the second channel packet from the audio signal received from the wireless audio input/output device (eg, the ear wearable device 210) when switching to the multi-recording mode. You can change the communication settings by method (or multi-recording transmission protocol). For example, in the multi-recording transmission method, a sequence determined to divide packets received from a wireless audio input/output device (eg, the ear wearable device 210 ) recognized as one device into first channel packets or second channel packets is performed. can have

450동작에서, 프로세서(120,342)는, 변경된 멀티 레코딩 전송 방식에 기반하여 무선 오디오 입출력 장치(예: 이어 웨어러블 장치(210))로부터 오디오 신호 예컨대, 오디오 패킷들(예: 패킷화된 비트스트림)을 수신할 수 있다. 오디오 패킷들은 통신 링크 타입에 따라 SCO 패킷 또는 ACL패킷일 수 있다. In operation 450, the processors 120 and 342 receive an audio signal, for example, audio packets (eg, a packetized bitstream) from a wireless audio input/output device (eg, the ear wearable device 210) based on the changed multi-recording transmission method. can receive Audio packets may be SCO packets or ACL packets according to the communication link type.

일 실시예에 따르면, 전자 장치(101)와 무선 오디오 입출력 장치(예: 이어 웨어러블 장치(210)) 간 SCO 링크로 연결된 경우, 전자 장치(101)는 무선 오디오 입출력 장치(예: 이어 웨어러블 장치(210))의 마이크로폰으로부터 획득한 소리를 SCO 패킷들로 수신할 수 있다. According to an exemplary embodiment, when the electronic device 101 and the wireless audio input/output device (eg, the ear wearable device 210) are connected by an SCO link, the electronic device 101 is connected to the wireless audio input/output device (eg, the ear wearable device) 210)), the sound obtained from the microphone can be received as SCO packets.

일 실시예에 따르면, 전자 장치(101)와 무선 오디오 입출력 장치(예: 이어 웨어러블 장치(210)) 간 ACL 링크로 연결된 경우, 전자 장치(101)는 무선 오디오 입출력 장치(예: 이어 웨어러블 장치(210))의 마이크로폰으로부터 획득한 소리를 ACL 패킷들로 수신할 수 있다. According to an exemplary embodiment, when the electronic device 101 and the wireless audio input/output device (eg, the ear wearable device 210) are connected by an ACL link, the electronic device 101 is connected to the wireless audio input/output device (eg, the ear wearable device) 210)), the sound obtained from the microphone can be received as ACL packets.

460동작에서, 프로세서(120,342)는, 무선 오디오 입출력 장치(예: 이어 웨어러블 장치(210))로부터 수신된 오디오 패킷을 구분하여 제1 채널 패킷 및 제2 채널 패킷을 획득(또는 확인) 할 수 있다. In operation 460, the processors 120 and 342 may obtain (or check) the first channel packet and the second channel packet by dividing the audio packet received from the wireless audio input/output device (eg, the ear wearable device 210). .

470 동작에서, 프로세서(120,342)는 제1 채널 패킷을 기반으로 제1 오디오 신호를 생성하고, 제2 채널 패킷을 기반으로 제2 오디오 신호를 생성하여 멀티 레코딩을 수행할 수 있다. 프로세서(120,342)는 멀티 레코딩을 통해 이어 웨어러블 장치(210)로부터 획득한 마이크로폰(311,321) 소리에 기반하여 바이노럴 음향을 가진 레코딩 신호를 생성할 수 있다. In operation 470, the processors 120 and 342 may generate a first audio signal based on the first channel packet and generate a second audio signal based on the second channel packet to perform multi-recording. The processors 120 and 342 may generate a recording signal having a binaural sound based on the microphones 311 and 321 sounds obtained from the ear wearable device 210 through multi-recording.

이하, 블루투스 표준 방식의 통신 방식(표준 방식의 통신 프로토콜) 및 멀티 레코딩 전송 방식(또는 멀티 레코딩 전송 프로토콜)을 통신 링크 타입 별로 설명하기로 한다. Hereinafter, the Bluetooth standard communication method (standard communication protocol) and the multi-recording transmission method (or multi-recording transmission protocol) will be described for each communication link type.

도 5는 일 실시예에 따른SCO 링크의 표준 전송 방식의 패킷 타이밍을 도시한다. 5 illustrates packet timing of a standard transmission scheme of a SCO link according to an embodiment.

도 5를 참조하면, 일 실시예에 따르면, SCO(synchronous connection-oriented)링크의 표준 전송 방식은 일정한 시간 간격(예: 주기)으로 예약된 타임 슬롯을 통해 패킷을 송수신할 수 있다. 수신 장치와 송신 장치는 프레임 주기마다 master 슬롯 및 slave 슬롯을 통해 패킷 전송 및 ack 신호를 교환할 수 있다. 각 프레임마다 하나의 패킷이 전송되며, 각 프레임마다 인덱스값이 부여될 수 있다. 예를 들어, 프레임 0구간의 slot1은 패킷 0(510)을 전송하고, 프레임 1 구간의 slot 1은 패킷 1(511)이 전송될 수 있다. 수신 장치는 패킷 수신 시 이에 응답하여 ack 신호(520,521)를 전송할 수 있다. 송신 장치는 ack 신호가 수신되지 않는 경우, 재전송 구간(R)(예:slot 3-6)에 동일한 패킷을 수신 장치로 재전송할 수 있다. 재전송 횟수는 설정에 따라 상이할 수 있다. 예를 들어, 프레임 1 구간의 경우 패킷 1에 대해 ack 신호가 수신된 것에 반해 프레임 2 구간은 패킷 2(512)에 대해 빈슬롯(522-1) 즉, ack 신호가 수신되지 못하였으므로, 동일한 패킷 2(512)를 slot 3, slot 5을 통해 재전송하고, slot 6을 통해 ack 신호(522)가 수신된 것을 확인할 수 있다. Referring to FIG. 5 , according to an embodiment, a standard transmission method of a synchronous connection-oriented (SCO) link may transmit/receive a packet through a time slot reserved at regular time intervals (eg, periods). The receiving device and the transmitting device may exchange packet transmission and ack signals through a master slot and a slave slot every frame period. One packet is transmitted for each frame, and an index value may be assigned to each frame. For example, packet 0 510 may be transmitted in slot 1 of the frame 0 section, and packet 1 511 may be transmitted in slot 1 of the frame 1 interval. When receiving the packet, the receiving device may transmit ack signals 520 and 521 in response thereto. When the ack signal is not received, the transmitting device may retransmit the same packet to the receiving device in the retransmission period R (eg, slot 3-6). The number of retransmissions may be different according to settings. For example, in the case of the frame 1 period, the ack signal is received for packet 1, whereas in the frame 2 period, the empty slot 522-1, that is, the ack signal is not received for the packet 2 512, so the same packet 2 (512) is retransmitted through slots 3 and 5, and it can be confirmed that the ack signal 522 is received through slot 6.

다양한 실시예에 따르면, 전자 장치(101)와 이어 웨어러블 장치(210)는 SCO(synchronous connection-oriented) 링크를 통해 표준 규격의 전송 방식이 아닌 슬롯 위치에 따라 제1 채널 패킷 및 제2 채널 패킷으로 인식되는 멀티 레코딩 전송 방식(또는 멀티 레코딩 전송프로토콜)에 기반하여 통신을 수행할 수 있다. 이하, SCO(synchronous connection-oriented)링크의 멀티 레코딩 전송 방식에 대해 도 6a 및 도 6b에서 설명하기로 한다. According to various embodiments, the electronic device 101 and the wearable device 210 transmit the first channel packet and the second channel packet according to the slot position rather than the standard transmission method through the synchronous connection-oriented (SCO) link. Communication can be performed based on the recognized multi-recording transmission method (or multi-recording transmission protocol). Hereinafter, a multi-recording transmission scheme of a synchronous connection-oriented (SCO) link will be described with reference to FIGS. 6A and 6B.

도 6a및 도 6b는 일 실시예에 따른 이어 웨어러블 장치와 전자 장치 간 SCO 링크의 멀티 레코딩 전송 방식의 패킷 타이밍을 도시한다. 6A and 6B illustrate packet timing of a multi-recording transmission scheme of an SCO link between an ear wearable device and an electronic device according to an embodiment.

도 6a및 도 6b를 참조하면, 다양한 실시예에 따르면, 전자 장치(601)(예: 도 1의 전자 장치(101), 도 2의 전자 장치(101), 도 3의 전자 장치(101))와 이어 웨어러블 장치(602)(예: 도 2의 이어 웨어러블 장치(210), 도 3의 이어 웨어러블 장치(210))는 멀티 레코딩 모드에서 SCO 링크에 기반한 멀티 레코딩 전송 방식으로 통신할 수 있다. 전자 장치(601)는 수신측 장치이고, 이어 웨어러블 장치(610))(제1 이어 장치(602a) 및 제2 이어 장치(602b))는 송신측 장치일 수 있다. 예를 들어, 제1 이어 장치(602a)는 전자 장치(601)와 직접 페어링된 주 장치이고, 제2 이어 장치(602b)는 보조장치 일 수 있다. 6A and 6B , according to various embodiments, an electronic device 601 (eg, the electronic device 101 of FIG. 1 , the electronic device 101 of FIG. 2 , the electronic device 101 of FIG. 3 ) The wire wearable device 602 (eg, the ear wearable device 210 of FIG. 2 and the ear wearable device 210 of FIG. 3 ) may communicate in a multi-recording mode using a multi-recording transmission method based on the SCO link. The electronic device 601 may be a receiving device, and the ear wearable device 610 (the first ear device 602a and the second ear device 602b) may be a transmitting device. For example, the first ear device 602a may be a primary device directly paired with the electronic device 601 , and the second ear device 602b may be an auxiliary device.

SCO 링크는 프레임 주기 마다 지정된 타임 슬롯들을 가질 수 있다. 예를 들어, 도 6a및 도 6b에 도시된 타임 슬롯들은 10개의 슬롯을 가지는 것으로 도시되어 있으나, 이에 한정하는 것은 아니며, 슬롯은 순차적으로, slot1, slot2, slot3, slot4, ?? slot10으로 지칭될 수 있다. The SCO link may have designated time slots per frame period. For example, the time slots shown in FIGS. 6A and 6B are illustrated as having 10 slots, but the present invention is not limited thereto, and the slots are sequentially, slot1, slot2, slot3, slot4, ?? It may be referred to as slot10.

제1 이어 장치(602a) 및 제2 이어 장치(602b)는 도 6a 또는 도 6b에 도시된 타이밍 순서에 따라 전자 장치(601)로 SCO 패킷을 각각 전송할 수 있다.The first ear device 602a and the second ear device 602b may transmit the SCO packet to the electronic device 601 according to the timing sequence shown in FIG. 6A or 6B , respectively.

제1 이어 장치(602a) 및 제2 이어 장치(602b)는 프레임 순서에 따라 타임 인덱스값을 부여하여 SCO패킷을 정해진 슬롯을 이용하여 전송할 수 있다. The first ear device 602a and the second ear device 602b may transmit the SCO packet using a predetermined slot by assigning a time index value according to the frame order.

제1 이어 장치(602a)는 제1채널 정보를 추가적으로 포함한 SCO패킷을 전자 장치(601)로 전송하고 및 제2 이어 장치(602b)는 제2 채널 정보를 추가적으로 포함한 패킷을 전자 장치(601)로 전송할 수 있다. The first ear device 602a transmits the SCO packet additionally including the first channel information to the electronic device 601 , and the second ear device 602b transmits the packet additionally including the second channel information to the electronic device 601 . can be transmitted

패킷 타이밍은 시간의 흐름에 따라 프레임 증가 방향으로 진행될 수 있다. Packet timing may proceed in a frame increase direction according to the passage of time.

일 예를 들어, 도 6a에 도시된 패킷 타이밍을 살펴보면, 송신측 장치인 이어 웨어러블 장치(602)는 제1 이어 장치(602a) 및 제2 이어 장치(602b)가 각각 슬롯 별로 할당하여 전자 장치(601)로 SCO패킷을 전송할 수 있다. 제1 이어 장치(602a)는 마이크로폰(예: 도 3의 제1 마이크로폰(311))으로부터 획득한 소리(sound)를 SCO 패킷 형태로 분할하여 master 슬롯(예: slot1, slot3, slot5?? )을 이용하여 전자 장치(601)로 전송할 수 있다. 제2 이어 장치(602b)는 마이크로폰(예: 도 3의 제2 마이크로폰(321))으로부터 획득한 소리를 SCO 패킷 형태로 분할하여 매 전송 주기 마다 slave 슬롯(예: slot2. slot14, slot6 ??)을 이용하여 전자 장치(101)로 전송할 수 있다. For example, looking at the packet timing shown in FIG. 6A , the ear wearable device 602, which is the transmitting device, allocates the first ear device 602a and the second ear device 602b for each slot, respectively, to the electronic device ( 601) to transmit the SCO packet. The first ear device 602a divides the sound acquired from the microphone (eg, the first microphone 311 of FIG. 3 ) into an SCO packet form to form a master slot (eg, slot1, slot3, slot5??). may be used to transmit to the electronic device 601 . The second ear device 602b divides the sound obtained from the microphone (eg, the second microphone 321 of FIG. 3 ) into an SCO packet form and divides it into a slave slot (eg, slot2. slot14, slot6??) in every transmission period. may be used to transmit to the electronic device 101 .

제1 이어 장치(602a) 및 제2 이어 장치(602b)는 동일한 전송 주기로 전송되는 패킷에 동일한 인덱스 번호를 부여할 수 있다. 예를 들어, 제1 이어 장치(602a)에서 프레임 0에서 전송되는 패킷이 P0(610)라고 가정하면, 제2 이어 장치(602b)에서 프레임 0에서 전송되는 패킷은 S0(620)으로 가정할 수 있다. 이후 프레임 주기 마다 P1(611),P2(612)..Pn과 S1(621),S2(622)..Sn으로 전송될 수 있다. The first ear device 602a and the second ear device 602b may assign the same index number to packets transmitted in the same transmission period. For example, if it is assumed that the packet transmitted in frame 0 from the first ear device 602a is P0 610 , it may be assumed that the packet transmitted in frame 0 from the second ear device 602b is S0 620 . there is. Thereafter, it may be transmitted to P1 ( 611 ), P2 ( 612 )..Pn and S1 ( 621 ), S2 ( 622 )..Sn every frame period.

제1 이어 장치(602a) 및 제2 이어 장치(602b)는 매 전송 주기 마다 동일한 패킷들을 반복적으로 전송할 수 있다. 재전송되는 패킷들은 재전송 구간의 슬롯들을 이용할 수 있으며, 지정된 횟수(예: 2회 또는 3회)만큼 동일한 패킷을 반복 전송함으로써 패킷 누락에 대한 손실을 최소화할 수 있다. 예를 들어, 프레임 0은 slot 3,slot5를 통해 P0와 동일한 패킷이 재전송(610-1)되고 slot 4, slot6을 통해S0와 동일한 패킷이 재전송(620-1)될 수 있다. The first ear device 602a and the second ear device 602b may repeatedly transmit the same packets every transmission period. The retransmitted packets may use slots in the retransmission period, and the loss due to packet drop may be minimized by repeatedly transmitting the same packet a specified number of times (eg, twice or three times). For example, in frame 0, a packet identical to P0 may be retransmitted (610-1) through slots 3 and 5, and a packet identical to S0 may be retransmitted (620-1) through slots 4 and slot 6.

도 6a에서 수신측 장치인 전자 장치(601)는 프레임 별로 slot1, slot3, slot5마다 전송되는 SCO 패킷은 제1 채널 패킷으로 구분하고, 프레임 별로 slot2. slot4, slot6 마다 전송되는 SCO 패킷은 제2 채널 패킷으로 구분할 수 있다. 전자 장치(601)는 제1 채널 패킷들의 인덱스 값을 순차적 고려하여 제1 오디오 신호(640)를 생성하고, 제2 채널 패킷들의 인덱스값을 순차적으로 고려하여 제2 오디오 신호(645)를 생성할 수 있으며, 동일한 인덱스 값은 프레임 구간을 묶어 멀티 레코딩 신호(또는 스테레오 레코딩 신호)를 획득할 수 있다. In FIG. 6A , the electronic device 601, which is a receiving device, classifies SCO packets transmitted for each frame slot1, slot3, and slot5 into a first channel packet, and for each frame, slot2. The SCO packets transmitted for each slot4 and slot6 can be divided into second channel packets. The electronic device 601 generates the first audio signal 640 by sequentially considering the index values of the first channel packets, and generates the second audio signal 645 by sequentially considering the index values of the second channel packets. Also, the same index value binds frame sections to obtain a multi-recording signal (or a stereo recording signal).

다른 예를 들어, 도 6b에 도시된 패킷 타이밍을 살펴보면, 송신측 장치인 이어 웨어러블 장치(602)의 경우 제1 이어 장치(602a)가 slot1 및 slot2를 이용하여 P0(610) 패킷을 전송하고, 제2 이어 장치(602b)가 slot3 및 lot4를 이용하여 S0(620) 패킷을 전송할 수 있다. 이후 제1 이어 장치(602a)는 재전송을 위해 slot5 및 lot6을 통해 P0 패킷을 재전송(610-1)할 수 있다. 제2 이어 장치(602b)는 slot7 및 lot8을 통해 S0 패킷을 재전송(620-1)할 수 있다. 프레임 0의 패킷 타이밍과 같이, 제1 이어 장치(602a)가 프레임 별로 slot1, slot2, slot5, slot 6을 기반으로 패킷들(P1(611), P2(612))를 전송하고, 제2 이어 장치(602b)가 slot3, slot4, slot7, slot 8을 기반으로 패킷들(S1(621),S2(622))를 전송할 수 있다. As another example, looking at the packet timing shown in FIG. 6B , in the case of the ear wearable device 602 as the transmitting device, the first ear device 602a transmits a P0 (610) packet using slot1 and slot2, The second ear device 602b may transmit the S0 620 packet using slot3 and lot4. Thereafter, the first ear device 602a may retransmit (610-1) the P0 packet through slot5 and lot6 for retransmission. The second ear device 602b may retransmit the SO packet through slot7 and lot8 (620-1). As with the packet timing of frame 0, the first ear device 602a transmits packets P1 (611) and P2 (612) based on slot1, slot2, slot5, and slot 6 for each frame, and the second ear device 602b may transmit packets S1 621 and S2 622 based on slot3, slot4, slot7, and slot8.

도 6b에서 수신측 장치인 전자 장치(601)는 프레임 별로 slot1, slot2, slot5, slot 6마다 전송되는 SCO 패킷은 제1 채널 패킷으로 구분하고, 프레임 별로 slot3, slot4, slot7, slot8마다 전송되는 SCO 패킷은 제2 채널 패킷으로 구분할 수 있다. 전자 장치(601)는 제1 채널 패킷들의 인덱스 값을 순차적 고려하여 제1 오디오 신호(640)를 생성하고, 제2 채널 패킷들의 인덱스값을 순차적으로 고려하여 제2 오디오 신호(645)를 생성할 수 있으며, 동일한 인덱스 값으로 프레임 구간을 묶어 멀티 레코딩 신호(또는 스테레오 레코딩 신호)를 획득할 수 있다. In FIG. 6B , the electronic device 601, which is a receiving device, classifies SCO packets transmitted at every slot1, slot2, slot5, and slot 6 for each frame into a first channel packet, and SCO transmitted at every slot3, slot4, slot7, and slot8 for each frame. The packet may be divided into a second channel packet. The electronic device 601 generates the first audio signal 640 by sequentially considering the index values of the first channel packets, and generates the second audio signal 645 by sequentially considering the index values of the second channel packets. It is possible to obtain a multi-recording signal (or a stereo recording signal) by bundling frame sections with the same index value.

도 7은 일 실시예에 따른 ACL 링크의 표준 전송 방식의 패킷 타이밍을 도시한다. 7 illustrates packet timing of a standard transmission scheme of an ACL link according to an embodiment.

도 7을 참조하면, 일 실시에에 따르면, ACL 링크의 표준 전송 방식은 수신 장치측은 패킷 수신이 완료되면 ack 신호를 송신 장치로 전송하며, 송신 장치는 ack 신호가 응답한 것에 기반하여 다음프레임 순서의 패킷을 수신 장치로 전송할 수 있다. ACL 링크의 표준 전송 방식은 패킷을 전송하는 타이밍 및 주기가 일정하지 않을 수 있다. 예를 들어, 송신 장치가 slot 123의 크기를 갖는 P0 패킷(710)을 전송한 후 수신 장치로부터 ack 신호(720)를 수신받은 것을 확인하고, 다음 프레임 패킷인 P1(711)을 전송할 수 있다. Referring to FIG. 7 , according to one embodiment, in the standard transmission method of the ACL link, the receiving device transmits an ack signal to the transmitting device when packet reception is completed, and the transmitting device sends the next frame order based on the response to the ack signal of the packet may be transmitted to the receiving device. In the standard transmission method of the ACL link, the timing and period of transmitting the packet may not be constant. For example, after the transmitting device transmits the P0 packet 710 having a size of slot 123, it may check that the ack signal 720 has been received from the receiving device, and may transmit the next frame packet, P1 711 .

송신 장치는 P1(711) 패킷에 대한 ack 신호(721)를 수신한 후 P2(712)를 전송하였으나, 이에 대한 ack 신호가 없는 경우(722-1), P2(712)와 동일한 패킷(712-1)을 P2(712)에 대한 ack(722)가 수신될 때까지 전송할 수 있다. After receiving the ack signal 721 for the P1 (711) packet, the transmitter transmits the P2 (712), but when there is no ack signal for this (722-1), the same packet 712 as the P2 (712) 1) can be transmitted until the ack 722 for P2 712 is received.

그러나, ACL 링크의 표준 전송 방식은 패킷 전송을 위한 예약된 타임 슬롯이 정해져 있지 않기 때문에, 두 개의 장치가 동시에 패킷을 전송하는 문제가 발생될 수 있다. However, in the standard transmission method of the ACL link, since a reserved time slot for packet transmission is not determined, a problem in which two devices transmit packets at the same time may occur.

다양한 실시예에 따르면, 전자 장치(101)와 이어 웨어러블 장치(210)는 ACL링크를 통해 표준 규격의 전송 방식이 아닌 임의로 설정된 인터벌 구간 마다 교대로 정해진 구간에 따라 제1 채널 패킷 및 제2 채널 패킷으로 인식되는 멀티 레코딩 전송 방식(또는 멀티 레코딩 전송프로토콜)에 기반하여 통신을 수행할 수 있다. 이하, ACL 링크에 멀티 레코딩 전송 방식에 대해 도 8 및 도 9에서 설명하기로 한다. According to various embodiments, the electronic device 101 and the ear wearable device 210 alternately set the first channel packet and the second channel packet according to an interval determined for each arbitrarily set interval interval rather than a standard transmission method through the ACL link. Communication can be performed based on the multi-recording transmission method (or multi-recording transmission protocol) recognized as Hereinafter, a multi-recording transmission scheme on the ACL link will be described with reference to FIGS. 8 and 9 .

도 8은 일 실시예에 따른 이어 웨어러블 장치와 전자 장치 간 ACL 링크의 멀티 레코딩 전송 방식의 패킷 타이밍을 도시하며, 도 9는 일 실시예에 따라 ACL 링크의 전송 주기를 구체적으로 도시한다. 8 illustrates packet timing of a multi-recording transmission method of an ACL link between an ear wearable device and an electronic device according to an embodiment, and FIG. 9 specifically shows a transmission period of the ACL link according to an embodiment.

도 8을 참조하면, 다양한 실시예에 따르면, 전자 장치(601)(예: 도 1의 전자 장치(101), 도 2의 전자 장치(101), 도 3의 전자 장치(101))와 이어 웨어러블 장치(602)(예: 도 2의 이어 웨어러블 장치(210), 도 3의 이어 웨어러블 장치(210))는 멀티 레코딩 모드에서 ACL 링크에 기반한 멀티 레코딩 전송 방식으로 통신할 수 있다. 전자 장치(801)는 수신측 장치이고, 이어 웨어러블 장치(802)(제1 이어 장치(802a) 및 제2 이어 장치(802b))는 송신측 장치일 수 있다. 예를 들어, 제1 이어 장치(802a)는 전자 장치(801)와 직접 페어링된 주 장치이고, 제2 이어 장치(802b)는 보조장치 일 수 있다. Referring to FIG. 8 , according to various embodiments, an electronic device 601 (eg, the electronic device 101 of FIG. 1 , the electronic device 101 of FIG. 2 , the electronic device 101 of FIG. 3 ) and an ear wearable The device 602 (eg, the ear wearable device 210 of FIG. 2 , the ear wearable device 210 of FIG. 3 ) may communicate in a multi-recording mode using a multi-recording transmission method based on an ACL link. The electronic device 801 may be a receiving device, and the ear wearable device 802 (the first ear device 802a and the second ear device 802b) may be a transmitting device. For example, the first ear device 802a may be a primary device directly paired with the electronic device 801 , and the second ear device 802b may be an auxiliary device.

ACL 링크에서 멀티 레코딩 전송 방식은 하나의 패킷을 전송하기 위한 타임 구간(interval_T)만큼 전송 주기를 설정하고, 타임 구간(interval_T)을 제1 이어 장치(802a) 및 제2 이어 장치(802b)에 대해 서로 다른 타임으로 할당할 수 있다. 예를 들어, 도 9에 도시된 바와 같이, interval_T 만큼 전송 주기를 가정할 경우, interval_T 구간의 1/2로 구분하여 첫번째 타임 구간 즉, 제1 구간(sub_ interval 1)에는 제1 이어 장치가 ACL 패킷(예: P0(910))을 전송하고, 두번째 타임 구간 즉, 제2 구간(sub_ interval2)에는 제2 이어 장치가 ACL 패킷(예: S0(920))을 전송하도록 설정될 수 있다. The multi-recording transmission method in the ACL link sets a transmission period as much as a time interval (interval_T) for transmitting one packet, and sets the time interval (interval_T) for the first ear device 802a and the second ear device 802b. It can be assigned at different times. For example, as shown in FIG. 9 , when a transmission period is assumed by interval_T, the first ear device is divided into 1/2 of the interval_T interval, that is, in the first time interval, that is, the first interval (sub_interval 1), the ACL device is A packet (eg, P0 910 ) may be transmitted, and the second ear device may be configured to transmit an ACL packet (eg, S0 920 ) in a second time interval, that is, a second interval sub_interval2 .

제1 이어 장치(802a) 및 제2 이어 장치(802b)는 프레임 순서에 따라 타임 인덱스값을 부여하고, 전송 주기 내의 할당된 시간에 따라 ACL 패킷을 전송할 수 있다. The first ear device 802a and the second ear device 802b may assign a time index value according to a frame order and transmit the ACL packet according to an allocated time within a transmission period.

제1 이어 장치(802a)는 제1채널 정보를 추가적으로 포함한 ACL 패킷을 전자 장치(801)로 전송하고 제2 이어 장치(802b)는 제2 채널 정보를 추가적으로 포함한 패킷을 전자 장치(801)로 전송할 수 있다. The first ear device 802a transmits the ACL packet additionally including the first channel information to the electronic device 801 , and the second ear device 802b transmits the packet additionally including the second channel information to the electronic device 801 . can

일 예를 들어, 도 8에 도시된 패킷 타이밍을 살펴보면, 송신측 장치인 이어 웨어러블 장치(802)는 제1 이어 장치(802a)가 전송 주기 마다 제1 구간(sub_ interval 1)에만 ACL 패킷(P0(810), P1(811), P2(812))을 전송하고 제2 이어 장치(802b)는 전송 주기 마다 제2 구간(sub_ interval 2)에만 ACL 패킷(S0(820), S1(821), S2(822))을 전송할 수 있다. For example, looking at the packet timing shown in FIG. 8 , the ear wearable device 802 as the transmitting device transmits the ACL packet P0 only in the first interval (sub_interval 1) to the first ear device 802a every transmission period. (810), P1 (811), P2 (812)), and the second ear device 802b transmits ACL packets (S0 820, S1 821, S2 ( 822 )) may be transmitted.

전자 장치(601)는 이어 웨어러블 장치(802)로 ACL 패킷 수신이 완료될 때마다 ack 신호(830,840,831,841,832,842)를 이어 웨어러블 장치로 전송할 수 있다. The electronic device 601 may transmit ack signals 830,840,831,841,832,842 to the ear wearable device whenever ACL packet reception to the ear wearable device 802 is completed.

제1 이어 장치(802a) 및 제2 이어 장치(802b)는 패킷 누락, 예를 들어, 전자 장치로부터 ack 신호가 수신되지 않는 경우, 정해진 할당 구간에만 재전송 패킷을 전송할 수 있다. 예컨대, P1(811) 패킷은 ack 신호가 수신되지 않았으므로 다음 주기의 제1 구간(sub_ interval 1) 마다 P1(811) 패킷을 재전송할 수 있다.The first ear device 802a and the second ear device 802b may transmit the retransmission packet only in a predetermined allocation period when a packet is missing, for example, when an ack signal is not received from the electronic device. For example, since the ack signal is not received for the P1 811 packet, the P1 811 packet may be retransmitted every first interval (sub_interval 1) of the next period.

수신측 장치인 전자 장치(801)는 전송 주기 마다 제1 구간(sub_ interval 1)에서 획득한 ACL 패킷은 제1 채널 패킷으로 구분하고, 제2 구간(sub_ interval 2)에서 획득한 ACL 패킷은 제2 채널 패킷으로 구분할 수 있다 The electronic device 801, which is a receiving device, classifies the ACL packet acquired in the first interval (sub_interval 1) into the first channel packet for each transmission period, and the ACL packet acquired in the second interval (sub_interval 2) is the second Can be divided into 2-channel packets

전자 장치(801)는 제1 채널 패킷을 제1 버퍼(850)에 저장하고, 제2 채널 패킷은 제2 버퍼(855)에 저장할 수 있다. 예를 들어 ACL 방식의 경우 패킷이 수신되는 타이밍이 일정하지 않으므로, 전자 장치(801)는 버퍼에 ACL 패킷을 저장한 후 디코딩 동작을 수행할 수 있다. The electronic device 801 may store the first channel packet in the first buffer 850 and store the second channel packet in the second buffer 855 . For example, in the case of the ACL method, since the packet reception timing is not constant, the electronic device 801 may store the ACL packet in a buffer and then perform a decoding operation.

전자 장치(801)는 제1 버퍼(850)에 저장된 제1 채널 패킷들의 인덱스 값을 순차적 고려하여 오디오 인코더(860)를 통해 제1 오디오 신호(870)를 생성하고, 제2 버퍼(855)에 저장된 제2 채널 패킷들의 인덱스값을 순차적으로 고려하여 제2 오디오 신호(875)를 생성할 수 있으며, 동일한 인덱스값으로 프레임 구간을 묶어 멀티 레코딩 신호(또는 스테레오 레코딩 신호)를 획득할 수 있다. The electronic device 801 sequentially considers the index values of the first channel packets stored in the first buffer 850 , and generates the first audio signal 870 through the audio encoder 860 , and stores the first audio signal 870 in the second buffer 855 . The second audio signal 875 may be generated by sequentially considering the index values of the stored second channel packets, and a multi-recording signal (or stereo recording signal) may be obtained by bundling frame sections with the same index value.

본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 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)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다. According to various embodiments of the present document, 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 command among one or more commands stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the called at least one command. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term refers to the case where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.

일 실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to an embodiment, the method according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. 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 between smartphones (eg: smartphones) and online. In the case of online distribution, at least a part 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, module or 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. there is. 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.

101,601,801: 전자 장치
210: 이어 웨어러블 장치
120,342: 프로세서
315,324: 인코더
3413:디코더
101,601,801: electronic device
210: ear wearable device
120,342: Processor
315,324: encoder
3413: decoder

Claims (19)

전자 장치에 있어서,
무선 통신 모듈;
메모리; 및
프로세서를 포함하고,
상기 메모리는 상기 프로세서가,
제1 채널 장치 및 제2 채널 장치가 분리된 무선 오디오 입출력 장치와 연결되고,
상기 무선 오디오 입출력장치를 이용한 멀티 레코딩 모드 시 상기 무선 오디오 입출력장치로부터 전달된 오디오 신호를 제1 채널 패킷 및 제2 채널 패킷으로 구분되도록 변경된 멀티 레코딩 통신 방식으로 통신 설정을 변경하고,
상기 무선 오디오 입출력 장치의 마이크로폰으로부터 획득한 사운드에 기반한 오디오 신호를 수신하고,
상기 수신된 오디오 신호를 제1 채널 패킷 또는 제2 채널 패킷으로 구분하고,
상기 제1 채널 패킷을 기반으로 제1 채널 오디오 신호를 생성하고, 상기 제2 채널 패킷을 기반으로 제2 채널 오디오 신호를 생성하여 멀티 레코딩 기능을 실행하도록 하는 인스트럭션들을 저장하는 전자 장치.
In an electronic device,
wireless communication module;
Memory; and
including a processor;
The memory is the processor,
The first channel device and the second channel device are connected to the separated wireless audio input/output device,
In the multi-recording mode using the wireless audio input/output device, the communication setting is changed to a multi-recording communication method that is changed so that the audio signal transmitted from the wireless audio input/output device is divided into a first channel packet and a second channel packet,
receiving an audio signal based on the sound obtained from the microphone of the wireless audio input/output device;
classifying the received audio signal into a first channel packet or a second channel packet;
An electronic device storing instructions for generating a first channel audio signal based on the first channel packet and generating a second channel audio signal based on the second channel packet to execute a multi-recording function.
제1 항에 있어서,
상기 메모리는, 상기 프로세서가,
상기 통신 모듈을 통해 상기 무선 오디오 입출력 장치와 블루투스 무선 통신 링크가 형성되도록 제어하고,
상기 블루투스 통신 링크는 SCO(synchronous connection-oriented) 링크 및 ACL(Asynchronous connection-oriented)) 링크 중 적어도 하나를 포함하는 것을 특징으로 하는 전자 장치.
According to claim 1,
The memory, the processor,
control so that a Bluetooth wireless communication link is formed with the wireless audio input/output device through the communication module;
The Bluetooth communication link comprises at least one of a synchronous connection-oriented (SCO) link and an asynchronous connection-oriented (ACL) link.
제1 항에 있어서,
상기 메모리는, 상기 프로세서가,
상기 무선 오디오 입출력 장치를 이용한 멀티 레코딩 요청 입력에 기반하여, 상기 무선 오디오 입출력 장치로 멀티 레코딩 활성화 신호를 전송하도록 하는 인스트럭션들을 더 포함하는 전자 장치.
According to claim 1,
The memory, the processor,
The electronic device further comprising instructions for transmitting a multi-recording activation signal to the wireless audio input/output device based on a multi-recording request input using the wireless audio input/output device.
제3 항에 있어서,
상기 메모리는 상기 프로세서가,
상기 무선 오디오 입출력 장치와 페어링 시 표준규격의 통신 방식이 디폴트로 설정되고, 상기 멀티 레코딩 요청 입력에 기반하여 상기 멀티 레코딩 통신 방식으로 변경되도록 하는 인스트럭션들을 더 포함하는 전자 장치.
4. The method of claim 3,
The memory is the processor,
The electronic device further comprising instructions for setting a standard communication method as a default when pairing with the wireless audio input/output device and changing to the multi-recording communication method based on the multi-recording request input.
제3 항에 있어서,
상기 메모리는 상기 프로세서가,
상기 오디오 신호에 포함된 채널 정보를 확인하고,
상기 오디오 신호 중 제1 채널 식별 코드를 포함하는 오디오 신호는 상기 제1 채널 패킷으로 구분하고, 상기 오디오 신호 중 제2 채널 식별 코드를 포함하는 오디오 신호는 상기 제2 채널 패킷으로 구분하도록 하는 인스트럭션들을 더 포함하는 전자 장치.
4. The method of claim 3,
The memory is the processor,
Checking the channel information included in the audio signal,
instructions for classifying an audio signal including a first channel identification code among the audio signals into the first channel packet, and classifying an audio signal including a second channel identification code among the audio signals into the second channel packet Further comprising an electronic device.
제2 항에 있어서,
상기 무선 오디오 입출력 장치로부터 획득한 오디오 신호가 SCO 링크에 기반한 경우, SCO 패킷인 경우,
상기 변경된 멀티 레코딩 통신 방식은
패킷에 대한 응답 신호 없이, 프레임 구간 마다 예약된 제1 위치의 슬롯들을 통해 수신된 SCO 패킷은 상기 제1 채널 패킷으로 인식하고, 상기 제1 위치와 교대로 위치한 제2 위치의 슬롯들을 통해 수신된 SCO 패킷은 상기 제2 채널 패킷으로 인식되도록 설정된 것을 특징으로 하는 전자 장치.
3. The method of claim 2,
If the audio signal obtained from the wireless audio input/output device is based on the SCO link, if it is a SCO packet,
The changed multi-recording communication method is
Without a response signal to the packet, the SCO packet received through the slots of the first position reserved for each frame period is recognized as the first channel packet, and received through the slots of the second position alternated with the first position. The SCO packet is configured to be recognized as the second channel packet.
제2 항에 있어서,
상기 무선 오디오 입출력 장치로부터 획득한 오디오 신호가 ACL 링크에 기반한 경우, ACL 패킷인 경우,
상기 변경된 멀티 레코딩 통신 방식은,
임의로 설정한 인터벌 구간 마다 상기 인터벌 구간 중 1/2구간의 슬롯들을 통해 수신된 ACL 패킷은 상기 제1 채널 패킷으로 인식하고, 상기 인터벌 구간 중 상기 2/2구간의 슬롯들을 통해 수신된 ACL 패킷은 상기 제2 채널 패킷으로 인식되도록 설정된 것을 특징으로 하는 전자 장치.
3. The method of claim 2,
When the audio signal obtained from the wireless audio input/output device is based on an ACL link, if it is an ACL packet,
The changed multi-recording communication method is,
For each arbitrarily set interval interval, the ACL packet received through the slots of 1/2 of the interval interval is recognized as the first channel packet, and the ACL packet received through the slots of the 2/2 interval of the interval interval is The electronic device characterized in that it is set to be recognized as the second channel packet.
제7 항에 있어서,
상기 메모리는, 상기 프로세서가,
상기 오디오 신호 중 1/2구간의 슬롯들을 통해 수신된 ACL 패킷은 제1 버퍼에 저장하고, 상기 2/2구간의 슬롯들을 통해 수신된 ACL 패킷은 제2 버퍼에 저장하도록 제어하고,
상기 제1 버퍼에 저장된 ACL 패킷을 기반으로 상기 제1 채널 오디오 신호를 생성하고, 상기 제2 버퍼에 저장된 ACL 패킷을 기반으로 상기 제2 채널 오디오 신호를 생성하는 인스트럭션들을 더 포함하는 전자 장치.
8. The method of claim 7,
The memory, the processor,
ACL packets received through the slots of the 1/2 section of the audio signal are stored in a first buffer, and the ACL packets received through the slots of the 2/2 section are controlled to be stored in a second buffer,
The electronic device further comprising instructions for generating the first channel audio signal based on the ACL packet stored in the first buffer and generating the second channel audio signal based on the ACL packet stored in the second buffer.
제7항에 있어서,
상기 메모리는, 상기 프로세서가,
상기 제1 채널 패킷의 인덱스값 및 제2 채널 패킷의 인덱스값을 기반으로 동일한 인덱스값으로 프레임 구간을 묶어 상기 제1 오디오 신호 및 상기 제2 오디오 신호로 구성된 멀티 레코딩 신호를 생성하도록 하는 인스트럭션들을 더 포함하는 전자 장치.
8. The method of claim 7,
The memory, the processor,
Further instructions for generating a multi-recording signal composed of the first audio signal and the second audio signal by grouping frame sections with the same index value based on the index value of the first channel packet and the index value of the second channel packet including electronic devices.
무선 오디오 입출력 장치에 있어서,
제1 마이크로폰 및 제1 통신 모듈을 포함하는 제1 무선 오디오 장치; 및
제2 마이크로폰 및 제2 통신 모듈을 포함하는 제2 무선 오디오 장치를 포함하고,
상기 제1 무선 오디오 장치는, 전자 장치와 제1 통신 링크를 통해 무선 통신 연결되고, 상기 제1 무선 오디오 장치 와 상기 제2 무선 오디오 장치는 서로 제2 통신 링크를 통해 연결되고,
상기 전자 장치와 제1 통신 링크를 통해 연결된 제1 무선 오디오 장치는,
상기 전자 장치로부터 멀티 레코딩 활성화 신호를 수신하는 것에 응답하여 상기 제1 마이크로폰 및 상기 제2 마이크로폰을 활성화하도록 제어하고, 상기 제1 무선 오디오 장치와 제2 무선 오디오 장치고 교대로 전자 장치로 패킷이 전송되도록 변경된 멀티 레코딩 통신 방식으로 통신 설정을 변경하고,
상기 제1 마이크로폰으로부터 획득한 오디오 신호를 정해진 제1 슬롯들을 이용하여 전송하고,
상기 전자 장치와 통신 링크가 연결되지 않는 제2 무선 오디오 장치는,
상기 제1 통신 링크를 스니핑하여 상기 제2 마이크로폰으로부터 획득한 오디오 신호를 정해진 제1 슬롯들을 이용하여 전송하는 것을 특징으로 하는 무선 오디오 입출력 장치.
A wireless audio input/output device comprising:
a first wireless audio device including a first microphone and a first communication module; and
a second wireless audio device including a second microphone and a second communication module;
The first wireless audio device is wirelessly connected to the electronic device through a first communication link, and the first wireless audio device and the second wireless audio device are connected to each other via a second communication link,
A first wireless audio device connected to the electronic device through a first communication link,
Control to activate the first microphone and the second microphone in response to receiving a multi-recording activation signal from the electronic device, and transmit a packet to the electronic device alternately between the first wireless audio device and the second wireless audio device Change the communication settings to the changed multi-recording communication method,
Transmitting the audio signal obtained from the first microphone using predetermined first slots,
The second wireless audio device to which the communication link is not connected to the electronic device,
and transmitting the audio signal obtained from the second microphone by sniffing the first communication link using predetermined first slots.
제10항에 있어서,
상기 제1 통신 링크는 SCO(synchronous connection-oriented) 링크 및 ACL(Asynchronous connection-oriented)) 링크 중 적어도 하나를 포함하는 것을 특징으로 하는 무선 오디오 입출력 장치.
11. The method of claim 10,
The first communication link includes at least one of a synchronous connection-oriented (SCO) link and an asynchronous connection-oriented (ACL) link.
제11 항에 있어서,
상기 제1 통신 링크가 SCO 링크인 경우,
상기 제1무선 오디오 장치는, 프레임 구간 마다 예약된 제1 위치의 슬롯들을 통해 상기 전자 장치로 상기 제1 마이크로폰을 통해 획득한 사운드로부터 생성된 SCO 패킷을 전송하고,
상기 제2 무선 오디오 장치는, 프레임 구간 마다 예약된 제2 위치의 슬롯들을 통해 상기 전자 장치로 상기 제2 마이크로폰을 통해 획득한 사운드로부터 생성된 SCO 패킷을 전송하는 것을 특징으로 하는 무선 오디오 입출력 장치.
12. The method of claim 11,
When the first communication link is a SCO link,
The first wireless audio device transmits the SCO packet generated from the sound acquired through the first microphone to the electronic device through slots at a first location reserved for each frame section,
and the second wireless audio device transmits the SCO packet generated from the sound acquired through the second microphone to the electronic device through slots at a second location reserved for each frame section.
제11 항에 있어서,
상기 제1 통신 링크가 ACL 링크인 경우,
상기 제1 무선 오디오 장치는, 임의로 설정한 인터벌 구간 마다 상기 인터벌 구간 중 1/2구간의 슬롯들을 이용하여 ACL 패킷을 상기 전자 장치로 전송하고,
상기 제2 무선 오디오 장치는, 상기 인터벌 구간 중 상기 2/2구간의 슬롯들을 이용하여 ACL 패킷을 상기 전자 장치로 전송하는 것을 특징으로 하는 무선 오디오 입출력 장치.
12. The method of claim 11,
When the first communication link is an ACL link,
The first wireless audio device transmits an ACL packet to the electronic device using slots of 1/2 of the interval for each arbitrarily set interval interval;
and the second wireless audio device transmits the ACL packet to the electronic device using slots of the 2/2 section of the interval section.
제10항에 있어서,
상기 제1 무선 오디오 장치 및 제2 무선 오디오 장치는,
동일한 시간을 기준으로 동일한 프레임 인덱스값을 가지도록 각각 오디오 신호를 생성하는 것을 특징으로 하는 무선 오디오 입출력 장치.
11. The method of claim 10,
The first wireless audio device and the second wireless audio device include:
A wireless audio input/output device, characterized in that each audio signal is generated to have the same frame index value based on the same time.
제10항에 있어서,
상기 제1 무선 오디오 장치는
제1 채널 식별 코드를 포함하여 상기 제1 마이크로폰을 통해 획득한 오디오 신호를 생성하고,
상기 제2 무선 오디오 장치는,
제2 채널 식별 코드를 포함하여 상기 제2 마이크로폰을 통해 획득한 오디오 신호를 생성하는 것을 특징으로 하는 무선 오디오 입출력 장치
11. The method of claim 10,
The first wireless audio device
generating an audio signal obtained through the first microphone including a first channel identification code;
The second wireless audio device,
Wireless audio input/output device comprising a second channel identification code and generating an audio signal obtained through the second microphone
전자 장치에서 무선 오디오 입출력 장치를 이용한 오디오 레코딩 방법에 있어서
제1 채널 장치 및 제2 채널 장치가 분리된 무선 오디오 입출력 장치와 연결하는 동작;
상기 무선 오디오 입출력 장치를 이용한 멀티 레코딩 요청 신호가 수신하는 것이 기반하여, 상기 무선 오디오 입출력 장치로부터 전달된 오디오 신호를 제1 채널 패킷 및 제2 채널 패킷으로 구분되도록 변경된 멀티 레코딩 통신 방식으로 통신 설정을 변경하는 동작;
상기 무선 오디오 입출력 장치의 마이크로폰으로부터 획득한 사운드에 기반한 오디오 신호를 수신하는 동작;
상기 수신된 오디오 신호를 제1 채널 패킷 또는 제2 채널 패킷으로 구분하는 동작; 및
상기 제1 채널 패킷을 기반으로 제1 채널 오디오 신호를 생성하고, 상기 제2 채널 패킷을 기반으로 제2 채널 오디오 신호를 생성하여 멀티 레코딩 기능을 실행하는 동작을 포함하는 방법.
In an audio recording method using a wireless audio input/output device in an electronic device
connecting the first channel device and the second channel device to the separated wireless audio input/output device;
Based on the reception of the multi-recording request signal using the wireless audio input/output device, the communication setting is performed in a multi-recording communication method that is changed to divide the audio signal transmitted from the wireless audio input/output device into a first channel packet and a second channel packet. changing action;
receiving an audio signal based on sound acquired from a microphone of the wireless audio input/output device;
dividing the received audio signal into a first channel packet or a second channel packet; and
and generating a first channel audio signal based on the first channel packet and generating a second channel audio signal based on the second channel packet to execute a multi-recording function.
제16항에 있어서,
상기 무선 오디오 입출력 장치와 연결하는 동작은,
상기 무선 오디오 입출력 장치와 SCO(synchronous connection-oriented) 링크 및 ACL(Asynchronous connection-oriented)) 링크 중 적어도 하나를 통해 블루투스 통신 연결된 것을 특징으로 하는 방법.
17. The method of claim 16,
The operation of connecting to the wireless audio input/output device includes:
Method according to claim 1, wherein the wireless audio input/output device is connected through Bluetooth communication through at least one of a synchronous connection-oriented (SCO) link and an Asynchronous connection-oriented (ACL) link.
제16항에 있어서,
상기 수신된 오디오 신호를 제1 채널 패킷 또는 제2 채널 패킷으로 구분하는 동작은,
상기 무선 오디오 입출력 장치로부터 획득한 오디오 신호가 SCO 링크에 기반한 경우, SCO 패킷인 경우, 프레임 구간 마다 예약된 제1 위치의 슬롯들을 통해 수신된 SCO 패킷은 상기 제1 채널 패킷으로 인식하고, 상기 제1 위치와 교대로 위치한 제2 위치의 슬롯들을 통해 수신된 SCO 패킷은 상기 제2 채널 패킷으로 인식하는 방법.
17. The method of claim 16,
The operation of dividing the received audio signal into a first channel packet or a second channel packet includes:
When the audio signal obtained from the wireless audio input/output device is based on the SCO link and is a SCO packet, the SCO packet received through slots at the first position reserved for each frame section is recognized as the first channel packet, and the A method of recognizing an SCO packet received through slots in a second position alternately positioned with the first position as the second channel packet.
제16항에 있어서,
상기 수신된 오디오 신호를 제1 채널 패킷 또는 제2 채널 패킷으로 구분하는 동작은,
상기 무선 오디오 입출력 장치로부터 획득한 오디오 신호가 ACL 링크에 기반한 경우, ACL 패킷인 경우, 임의로 설정한 인터벌 구간 마다 상기 인터벌 구간 중 1/2구간의 슬롯들을 통해 수신된 ACL 패킷은 상기 제1 채널 패킷으로 인식하고, 상기 인터벌 구간 중 상기 2/2구간의 슬롯들을 통해 수신된 ACL 패킷은 상기 제2 채널 패킷으로 인식되는 것을 특징으로 하는 방법.
17. The method of claim 16,
The operation of dividing the received audio signal into a first channel packet or a second channel packet includes:
When the audio signal obtained from the wireless audio input/output device is based on an ACL link, if the ACL packet is an ACL packet, the ACL packet received through slots of 1/2 of the interval interval for each arbitrarily set interval interval is the first channel packet , and the ACL packet received through the slots of the 2/2 period of the interval period is recognized as the second channel packet.
KR1020200134552A 2020-10-16 2020-10-16 Electronic device and method for recording audio singnal using wireless microphone device in the same KR20220050641A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020200134552A KR20220050641A (en) 2020-10-16 2020-10-16 Electronic device and method for recording audio singnal using wireless microphone device in the same
PCT/KR2021/014393 WO2022080964A1 (en) 2020-10-16 2021-10-15 Electronic device and audio recording method using wireless audio input/output device in electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200134552A KR20220050641A (en) 2020-10-16 2020-10-16 Electronic device and method for recording audio singnal using wireless microphone device in the same

Publications (1)

Publication Number Publication Date
KR20220050641A true KR20220050641A (en) 2022-04-25

Family

ID=81209209

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200134552A KR20220050641A (en) 2020-10-16 2020-10-16 Electronic device and method for recording audio singnal using wireless microphone device in the same

Country Status (2)

Country Link
KR (1) KR20220050641A (en)
WO (1) WO2022080964A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070098077A (en) * 2006-03-31 2007-10-05 (주)웨이브온 System and method for transmitting-receiving multicaannel audio data using bluetooth
EP2834813B1 (en) * 2012-04-05 2015-09-30 Huawei Technologies Co., Ltd. Multi-channel audio encoder and method for encoding a multi-channel audio signal
WO2014167165A1 (en) * 2013-04-08 2014-10-16 Nokia Corporation Audio apparatus
KR102570480B1 (en) * 2019-01-04 2023-08-25 삼성전자주식회사 Processing Method of Audio signal and electronic device supporting the same
KR102565882B1 (en) * 2019-02-12 2023-08-10 삼성전자주식회사 the Sound Outputting Device including a plurality of microphones and the Method for processing sound signal using the plurality of microphones

Also Published As

Publication number Publication date
WO2022080964A1 (en) 2022-04-21

Similar Documents

Publication Publication Date Title
CN112055280A (en) Wireless communication method for earphone and intelligent devices and wireless earphone assembly
KR20220102492A (en) Audio device for processing audio data and operating method thereof
KR20220017332A (en) Electronic device for processing audio data and method of opearating the same
KR20220050641A (en) Electronic device and method for recording audio singnal using wireless microphone device in the same
KR20220105402A (en) Electronic device for processing audio data and method of operating the same
KR20210150919A (en) Communication method between multi devices in bluetooth communication environment and electronic device therefor
KR20220109711A (en) Electronic device for broadcasting advertisement packet with counterpart electronic device and operating mehtod thereof
KR20210133004A (en) Method and Device for improving sound quality
KR20230051037A (en) Electronic device for providing audio service and operating method thereof
KR20220149250A (en) Electronic device and method for recording audio data acquired from a plurality of devices
KR20230080264A (en) Source device and sink device for transmitting and receiving audio packet and operating methods thereof
KR20230171357A (en) Electronic device for providing audio service and operating method thereof
KR20220147243A (en) Method for outputting audio signal and electronic device performing same
US20230116736A1 (en) Electronic device for providing audio service and operating method thereof
EP4300994A1 (en) Method and electronic device for recording audio data acquired from plurality of devices
KR20220104898A (en) Electronic device and method for swithching communication link with wireless audio device
EP4287649A1 (en) Electronic device for providing audio service, and operation method therefor
KR20240054132A (en) Electronic device and method for transmitting and/or receiving data according to configuration change in electronic device
KR20220102448A (en) Communication method between multi devices and electronic device therefor
KR20230148770A (en) Electronic device for providing audio service and method for operation thereof
KR20240043636A (en) Electronic device for providing audio service and method for operation thereof
US20230100921A1 (en) Electronic device for transmitting and receiving data packet and operating method thereof
KR20230037385A (en) Electronic device for recording video and operating method thereof
KR20230071583A (en) electronic device and method for processing audio data of electronic device
KR20240050963A (en) Electronic device for providing audio effect, operating method thereof, and storage medium