WO2022154257A1 - 오디오 데이터를 처리하는 전자 장치와 이의 동작 방법 - Google Patents

오디오 데이터를 처리하는 전자 장치와 이의 동작 방법 Download PDF

Info

Publication number
WO2022154257A1
WO2022154257A1 PCT/KR2021/017980 KR2021017980W WO2022154257A1 WO 2022154257 A1 WO2022154257 A1 WO 2022154257A1 KR 2021017980 W KR2021017980 W KR 2021017980W WO 2022154257 A1 WO2022154257 A1 WO 2022154257A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
external electronic
communication link
audio packet
audio
Prior art date
Application number
PCT/KR2021/017980
Other languages
English (en)
French (fr)
Inventor
정구필
강두석
최보근
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to PCT/KR2022/000568 priority Critical patent/WO2022154482A1/ko
Publication of WO2022154257A1 publication Critical patent/WO2022154257A1/ko
Priority to US18/337,987 priority patent/US20230336904A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/033Headphones for stereophonic communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • H04L43/065Generation of reports related to network devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0847Transmission error
    • 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
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/07Applications of wireless loudspeakers or wireless microphones

Definitions

  • Various embodiments relate to an electronic device for processing audio data and an operating method thereof.
  • the Bluetooth communication technology refers to a short-range wireless communication technology that enables electronic devices to exchange data or information by connecting to each other.
  • the Bluetooth communication technology may include a Bluetooth legacy (or classic) network technology or a Bluetooth low energy (BLE) network, and may include various connection types such as piconet and scatternet. It can have a topology.
  • Electronic devices may share data with each other with low power by using Bluetooth communication technology.
  • Bluetooth technology external wireless communication devices may be connected, audio data for content executed in the electronic device may be transmitted to the external wireless communication device, and the external wireless communication device may process the audio data and output it to the user.
  • Bluetooth earphones using Bluetooth communication technology have been widely used.
  • An electronic device using an audio over BLE (AoBLE) topology may form an independent communication link with the external electronic devices and communicate with each of the external electronic devices using the independent communication link. For example, in order to output stereo audio data, the electronic device may transmit a first mono audio packet to the first external electronic device and transmit a second mono audio packet to the second external electronic device. In this case, when the communication link connected to the specific external electronic device is deteriorated (or communication deteriorated) due to a physical obstacle or surrounding radio interference, the electronic device cannot transmit the corresponding mono audio packet to the specific external electronic device.
  • a specific external electronic device may output a roar or may not output a sound due to a buffer underrun (or buffer overflow). Also, the electronic device may consume excessive power to transmit an audio packet to a specific external electronic device.
  • the electronic device when the electronic device forms a communication link with respect to each of two external electronic devices and transmits mono audio data through each communication link, if communication deterioration of one communication link is confirmed, the other communication link is established. It is possible to provide an electronic device that transmits stereo audio data instead of mono audio data using the same, and an operating method thereof.
  • An electronic device includes a communication module and a processor supporting Bluetooth communication, wherein the processor forms a first communication link with a first external electronic device through the communication module, and a second external electronic device Forming a second communication link with the device, and obtaining a first audio packet including first audio data and a second audio packet including second audio data based on a command for outputting stereo audio, the first communication transmitting the first audio packet to the first external electronic device using a link, transmitting the second audio packet to the second external electronic device using the second communication link, and When it is confirmed that the communication state has deteriorated (hereinafter, communication deterioration), the first external electronic device uses the first communication link to transmit the second audio packet to the second external electronic device.
  • the device may be configured to transmit a stereo audio packet including the first audio data and the second audio data or to transmit the first audio packet and the second audio packet.
  • a first communication link is formed with a first external electronic device through the communication module, and a second external electronic device and a second communication link are formed.
  • Forming a communication link acquiring a first audio packet including first audio data and a second audio packet including second audio data based on a command for outputting stereo audio, the first communication link transmitting the first audio packet to the first external electronic device using If it is confirmed that the communication state of and transmitting a stereo audio packet including audio data and the second audio data or transmitting the first audio packet and the second audio packet.
  • a first electronic device includes a speaker, a communication module supporting Bluetooth communication, and a processor, wherein the processor forms a first communication link with the electronic device through the communication module, and A first operation for forming a second communication link with the electronic device, receiving a first audio packet including first audio data using the first communication link, and outputting the first audio data through the speaker and when a stereo audio packet including the first audio data and the second audio data or a second audio packet including the second audio data is received using the first communication link, the first operation is performed. and transmit the second audio packet including the second audio data to the second electronic device using the second communication link.
  • the electronic device When the electronic device according to various embodiments transmits audio data through a communication link formed with respect to each of a plurality of external electronic devices, when communication deterioration of the communication link of the first external electronic device is confirmed, the second external electronic device transmits the second external electronic device to the second external electronic device.
  • a plurality of audio data may be transmitted using a communication link with the second external electronic device to transmit the audio data to the first external electronic device.
  • FIG. 1 is a block diagram of an electronic device in a network environment, according to various embodiments of the present disclosure.
  • FIGS. 2A and 2B are schematic block diagrams of an electronic system, according to various embodiments.
  • FIG. 3 is a flowchart of a method of operating an electronic device, according to various embodiments of the present disclosure.
  • FIG. 4 is a flowchart illustrating a method of transmitting an audio packet from a first external electronic device to a second external electronic device, according to various embodiments of the present disclosure.
  • FIG. 5 is a flowchart illustrating a method for a second external electronic device to receive an audio packet from a first external electronic device, according to various embodiments of the present disclosure.
  • FIG. 6 is a flowchart of a method of operating an electronic device, according to various embodiments of the present disclosure.
  • FIGS. 7A and 7B are diagrams for explaining a method for an electronic device to transmit an audio packet to a plurality of external electronic devices, according to various embodiments of the present disclosure
  • FIG. 8 is a diagram for describing a method for an electronic device to transmit an audio packet to a plurality of external electronic devices, according to various embodiments of the present disclosure
  • FIGS. 9 and 10 are diagrams for explaining a method for an electronic device to transmit a stereo audio packet to a first external electronic device, according to various embodiments of the present disclosure.
  • FIG. 11 is a diagram for describing a method for an electronic device to transmit an audio packet to a plurality of external electronic devices, according to various embodiments of the present disclosure
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100, according to various embodiments.
  • 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 .
  • a first network 198 eg, a short-range wireless communication network
  • a second network 199 e.g., a second network 199
  • the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • 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 .
  • at least one of these components eg, the connection terminal 178
  • some of these components are integrated into one component (eg, display module 160 ). can be
  • the processor 120 for example, executes software (eg, a program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be stored in , process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 .
  • software eg, a program 140
  • 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 .
  • the volatile memory 132 may be stored in , process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 .
  • the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor).
  • the main processor 121 eg, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor.
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a
  • the secondary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the coprocessor 123 eg, an image signal processor or a communication processor
  • may be implemented as part of another functionally related component eg, the camera module 180 or the communication module 190 ). have.
  • the auxiliary processor 123 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.
  • the memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176 ) of the electronic device 101 .
  • the data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto.
  • the memory 130 may include a volatile memory 132 or a non-volatile memory 134 .
  • 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 .
  • the input module 150 may receive a command or data to be used by a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 .
  • the input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
  • the sound output module 155 may output a sound signal to the outside of the electronic device 101 .
  • the sound output module 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback.
  • the receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
  • 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.
  • 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.
  • the audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 , or an external electronic device (eg, a sound output module 155 ) connected directly or wirelessly with the electronic device 101 .
  • the electronic device 102) eg, a speaker or headphones
  • the electronic device 102 may output a sound.
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the sensed state. can do.
  • 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.
  • the interface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ).
  • 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.
  • 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 ).
  • 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).
  • 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.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • 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.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication performance through the established communication channel.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a local area network (LAN) communication module, or a power line communication module).
  • a wireless communication module 192 eg, a cellular communication module, a short-range communication module, or a global navigation satellite system (GNSS) communication module
  • GNSS global navigation satellite system
  • wired communication module 194 eg, : It may include a local area network (LAN) communication module, or a power line communication module.
  • a corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a first network 198 eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)
  • 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).
  • a telecommunication network
  • the wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 .
  • subscriber information eg, International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the electronic device 101 may be identified or authenticated.
  • 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)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • URLLC ultra-reliable and low-latency
  • the wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example.
  • a high frequency band eg, mmWave band
  • the wireless communication module 192 uses various techniques for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna.
  • the wireless communication module 192 may support various requirements defined in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ).
  • the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: Downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) can be supported.
  • a peak data rate eg, 20 Gbps or more
  • loss coverage eg, 164 dB or less
  • U-plane latency for realizing URLLC
  • the antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device).
  • 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.
  • 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.
  • other components eg, a radio frequency integrated circuit (RFIC)
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • GPIO general purpose input and output
  • SPI serial peripheral interface
  • MIPI mobile industry processor interface
  • 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 .
  • all or a part of operations executed in the electronic device 101 may be executed in one or more external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 may perform the function or service itself instead of executing the function or service itself.
  • 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.
  • 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.
  • the external electronic device 104 may include an Internet of things (IoT) device.
  • the server 108 may be an intelligent server using machine learning and/or neural networks.
  • 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.
  • FIGS. 2A and 2B are schematic block diagrams of an electronic system, according to various embodiments.
  • an electronic system may include an electronic device 201 and a plurality of external electronic devices (eg, a first external electronic device 202 and a second external electronic device 204 ).
  • the electronic device 201 , the first external electronic device 202 , and the second external electronic device 204 may be implemented the same as or similarly to the electronic device 101 of FIG. 1 .
  • the electronic device 201 may be implemented as a smartphone.
  • the first external electronic device 202 is implemented as an earphone in a first direction (eg, an earphone worn on the right ear), and the second external electronic device 204 is an earphone in a second direction (eg, an earphone worn on the left ear). ) can be implemented.
  • the first external electronic device 202 and the second external electronic device 204 may form a pair, but may not be limited thereto.
  • the electronic device 201 may transmit/receive data to/from a plurality of external electronic devices 202 and 204 .
  • the electronic device 201 may form a communication link with the plurality of external electronic devices 202 and 204 using a short-range communication method (eg, a Bluetooth communication method, a BLE communication method, or an AoBLE communication method).
  • a short-range communication method eg, a Bluetooth communication method, a BLE communication method, or an AoBLE communication method.
  • FIG. 2A a method in which the electronic device 201 establishes a communication link for transmitting and receiving data with a plurality of external electronic devices 202 and 204 will be described.
  • the electronic device 201 may form a communication link with the plurality of external electronic devices 202 and 204 in various ways.
  • the electronic device 201 forms a first communication link LINK1 with the first external electronic device 202 , and performs second communication with the second external electronic device 204 .
  • a link LINK2 can be formed.
  • the electronic device 201 transmits/receives data to and from the first external electronic device 202 using the first communication link LINK1, and communicates with the second external electronic device 204 using the second communication link LINK2. Data can be sent and received.
  • the electronic device 201 may manage a communication resource in order to transmit/receive data to and from the first external electronic device 202 or the second external electronic device 204 .
  • the electronic device 201 may communicate with the first external electronic device 202 or the second external electronic device 204 by dividing the frequency or time.
  • the first external electronic device 202 may form a third communication link LINK3 with the second external electronic device 204 .
  • the first external electronic device 202 may transmit/receive data to and from the second external electronic device 204 using the third communication link LINK3 .
  • the first communication link LINK1 , the second communication link LINK2 , and the third communication link LINK3 may be formed of a Bluetooth low energy (BLE) communication link.
  • BLE Bluetooth low energy
  • the technical spirit of the present invention is not limited thereto, and the first communication link LINK1 , the second communication link LINK2 , and the third communication link LINK3 may be formed of various communication links.
  • the electronic device 201 may include a processor 220 , a memory 230 , a communication module 240 , and a display 260 .
  • the processor 220 may control the overall operation of the electronic device 201 .
  • the processor 220 may be implemented the same as or similar to the processor 120 of FIG. 1 .
  • the processor 220 may acquire audio data in order to output audio.
  • the processor 220 may acquire audio data through an external electronic device (eg, a streaming server).
  • the processor 220 may acquire audio data stored in the memory 230 (eg, the memory 130 of FIG. 1 ).
  • the processor 220 may obtain stereo audio data capable of outputting stereo audio.
  • the processor 220 may identify a command for outputting stereo audio.
  • the command to output stereo audio may include, for example, a command to play stereo audio, a command to play content (eg, video) including stereo audio, a call reception/transmission command, and/or a video call reception/reception command. have.
  • the processor 220 may acquire (or generate) first audio data corresponding to the first direction and second audio data corresponding to the second direction based on a command to output stereo audio.
  • each of the first audio data and the second audio data may include mono audio data.
  • the processor 220 may obtain a first audio packet including the first audio data and a second audio packet including the second audio data.
  • the first audio packet may be a packet designated to the first external electronic device 202 (eg, a right earphone) to output stereo audio
  • the second audio packet may be a second external packet for outputting stereo audio. It may be a packet designated to the electronic device 204 (eg, the left earphone).
  • the processor 220 forms a first communication link with the first external electronic device 202 through the communication module 240 (eg, the communication module 190 of FIG. 1 ), and 2 A second communication link may be formed with the external electronic device 204 .
  • the communication module 240 may support short-range communication technology (eg, Bluetooth communication technology).
  • the processor 220 transmits the first audio packet to the first external electronic device 202 using the first communication link through the communication module 240 and uses the second communication link.
  • the second audio packet may be transmitted to the second external electronic device 204 .
  • the processor 220 uses the first communication link and the second communication link to send the first audio packet and the second audio packet to each of the plurality of external electronic devices 202 and 204 in a specified order in specified time intervals. Audio packets can be transmitted. For example, in the first time interval, the processor 220 transmits the first audio packet to the first external electronic device 202 for a specified time period, and transmits the second audio packet to the second external electronic device 204 for the specified time period.
  • the processor 220 transmits the first audio packet to the first external electronic device 202 for a specified time, and transmits the second audio packet to the second external device during the specified time. may be transmitted to the electronic device 204 .
  • the second time interval may be a different time interval from the first time interval.
  • the processor 220 may check the communication states of the first communication link and the second communication link through the communication module 240 . For example, the processor 220 may check whether the first audio packet and the second audio packet can be smoothly transmitted using the first communication link and the second communication link. For example, the processor 220, for the first communication link and the second communication link, a communication link due to a weak electric field situation due to a physical obstacle or a difference in physical distance, a decrease in reception quality, interference with a radio signal, and/or an increase in the number of retransmissions communication degradation can be confirmed.
  • communication degradation may mean a case in which a communication state of a communication link does not satisfy a reference value related to at least one of a weak electric field situation, reception quality deterioration, radio signal interference, and/or the number of retransmissions.
  • the processor 220 when the communication degradation of any one of the first communication link and the second communication link is confirmed, the other one of the first communication link and the second communication link
  • the stereo audio packet including the first audio data and the second audio data may be transmitted using the .
  • the processor 220 may transmit the first audio packet and the second audio packet through the first communication link and the second communication link.
  • the processor 220 transmits a stereo audio packet (or a first audio packet and a second audio packet) to the first external electronic device 202 for a specified time period, and a second external electronic device for a specified time period.
  • a second audio packet may be transmitted to 204 .
  • the processor 220 may sequentially transmit the first audio packet and the second audio packet using the other one of the first communication link and the second communication link. For example, the processor 220 transmits the first audio packet to the first external electronic device 202 through the first communication link for a specified time period, and then transmits the second audio packet through the first communication link for the specified time period. The packet may be transmitted to the first external electronic device 202 .
  • the processor 220 may check a time point at which to transmit the stereo audio packet. For example, the processor 220 may determine a reception sensitivity of a packet (eg, a response packet) received from the first external electronic device 202 or the second external electronic device 204 and/or an average reception sensitivity of packets in a unit time interval. It is possible to check the transmission time of the stereo audio packet based on . According to an embodiment, the processor 220 may check the transmission time of the stereo audio packet based on the retransmission time of the audio packet.
  • a reception sensitivity of a packet eg, a response packet
  • the processor 220 may check the transmission time of the stereo audio packet based on the retransmission time of the audio packet.
  • the processor 220 may transmit a stereo audio packet when an audio packet of a specific sequence number being transmitted is being retransmitted for a predetermined time or longer.
  • the processor 220 may check the transmission time of the stereo audio packet based on the number of retransmissions of the audio packet. For example, the processor 220 may transmit the stereo audio packet when the audio packet of a specific sequence number being transmitted is being retransmitted for a predetermined number or more.
  • the processor 222 may check the transmission time of the stereo audio packet based on the number of times the audio packet is retransmitted during a specified time. For example, the processor 220 may transmit a stereo audio packet when the number of packets retransmitted during a specified time is equal to or greater than a specified threshold.
  • the processor 220 may check the transmission time of the stereo audio packet based on whether the first external electronic device 202 and/or the second external electronic device 204 are attached or detached. According to an embodiment, when the first external electronic device 202 and the second external electronic device 204 are attached to a user's body (eg, an ear), the processor 220 may 204) to transmit a mono audio packet. At this time, if any one of the first communication link and the second communication link is confirmed as communication deterioration, the processor 220 may transmit the stereo audio packet through the other communication link. According to another embodiment, the processor 220 indicates that only one of the first external electronic device 202 and the second external electronic device 204 is attached to the user's body (eg, the ear).
  • the stereo audio packet may be transmitted to the attached external electronic device.
  • the processor 220 when a signal indicating that any one of the first external electronic device 202 and the second external electronic device 204 is detached from the user's body (eg, the ear) is identified, the processor 220 is , the stereo audio packet may not be transmitted to the detached corresponding external electronic device.
  • the processor 220 when a signal indicating that both the first external electronic device 202 and the second external electronic device 204 are detached from the user's body is confirmed, the processor 220 may be configured to An audio packet (eg, a stereo audio packet or a mono audio packet) may not be transmitted to the 202 and the second external electronic device 204 .
  • the processor 220 may display information on the first communication link and the second communication link through the display 260 (eg, the display module 160 of FIG. 1 ). For example, when communication degradation of any one of the first communication link and the second communication link is confirmed, the processor 220 may display information on the degradation of the corresponding communication link on the display 260 .
  • the processor 220 may obtain information on the wearing state of the plurality of external electronic devices 202 and 204 through the communication module 240 . For example, when the wearing state is confirmed by the sensors 276 and 286 included in each of the plurality of external electronic devices 202 and 204 , each of the plurality of external electronic devices 202 and 204 is transmitted to the electronic device 201 . Information about the wearing state may be transmitted. The processor 220 may check the wearing state of each of the plurality of external electronic devices 202 and 204 based on the information about the wearing state received from each of the plurality of external electronic devices 202 and 204 . Also, the processor 220 may display information on the wearing state through the display 260 .
  • the first external electronic device 202 may include a first processor 270 , a first communication module 272 , a first speaker 274 , and a first sensor 276 . .
  • the first processor 270 may control the overall operation of the first external electronic device 202 .
  • the first processor 270 may be implemented the same as or similar to the processor 120 of FIG. 1 .
  • the first processor 270 forms a first communication link with the electronic device 201 through the first communication module 272 , and performs third communication with the second external electronic device 204 . Links can be formed.
  • the first processor 270 may receive a first audio packet including first audio data (eg, mono audio data) from the electronic device 201 using the first communication link. .
  • the first processor 270 may perform a first operation for outputting the first audio data through the first speaker 274 based on the first audio packet.
  • the first operation may include decoding the first audio packet to obtain first audio data, and writing the first audio data to a buffer (eg, a digital signal processing (DSP) buffer). have. Thereafter, the first processor 270 may output the first audio data through the first speaker 274 based on the sync information included in the first audio packet.
  • DSP digital signal processing
  • the first processor 270 may receive a stereo audio packet including the first audio data and the second audio data from the electronic device 201 using the first communication link.
  • the first processor 270 receives a first audio packet including first audio data and a second audio packet including second audio data from the electronic device 101 using a first communication link. can be received sequentially.
  • the first processor 270 performs a first operation for outputting the first audio data through the first speaker 274, and uses the third communication link to provide the second audio data including the second audio data.
  • the packet may be transmitted to the second external electronic device 204 .
  • the first processor 270 may not receive the first audio data from the electronic device 201 using the first communication link (eg, communication deterioration of the first communication link);
  • the first audio packet may be received from the second external electronic device 204 using the third communication link.
  • the first processor 270 performs a first operation for outputting the first audio data included in the first audio packet through the first speaker 274 , and the first audio data through the first speaker 274 . can be printed out.
  • the first processor 270 may obtain information about the wearing state of the first external electronic device 202 through the first sensor 276 . Also, the first processor 270 transmits information on the wearing state of the first external electronic device 202 to the electronic device 201 through the first communication module 272 (eg, a communication module supporting Bluetooth communication technology). ) can be transmitted.
  • the first sensor 276 may include at least one of a proximity sensor and a pressure sensor.
  • the first processor 270 transmits the first communication module 272 when acquiring information on the wearing state of the first external electronic device 202 through the first sensor 276 . After activation, information on the wearing state of the first external electronic device 202 may be transmitted to the electronic device 201 . For example, when the first external electronic device 202 is not in a worn state, the first processor 270 may deactivate the first communication module 272 .
  • the second external electronic device 204 may include a second processor 280 , a second communication module 282 , a second speaker 284 , and a second sensor 286 . .
  • the second processor 280 may control the overall operation of the second external electronic device 204 .
  • the second processor 280 may be implemented the same as or similar to the processor 120 of FIG. 1 .
  • the second processor 280 may receive a second audio packet including second audio data (eg, mono audio data) from the electronic device 201 using the second communication link. .
  • the second processor 280 may perform a second operation for outputting second audio data through the second speaker 284 based on the second audio packet.
  • the second operation may include decoding the second audio packet to obtain second audio data, and writing the second audio data to a buffer (eg, a digital signal processing (DSP) buffer). Thereafter, the second processor 280 may output the second audio data through the second speaker 284 based on the sync information included in the second audio packet.
  • DSP digital signal processing
  • the second processor 280 may receive a stereo audio packet including the first audio data and the second audio data from the electronic device 201 using the second communication link.
  • the second processor 280 receives a second audio packet including the second audio data and a first audio packet including the first audio data from the electronic device 201 using the second communication link. can be received sequentially.
  • the second processor 280 performs a second operation for outputting the second audio data through the second speaker 284, and uses the third communication link to use the first audio data including the first audio data.
  • the packet may be transmitted to the first external electronic device 202 .
  • the second processor 280 in a state in which the second audio data is not received from the electronic device 201 using the second communication link (eg, a communication deterioration state of the second communication link), The second audio packet may be received from the first external electronic device 202 using the third communication link.
  • the second processor 280 performs a second operation for outputting the second audio data included in the second audio packet through the second speaker 284 , and the second audio data through the second speaker 384 . can be printed out.
  • the second processor 280 may obtain information on the wearing state of the second external electronic device 204 through the second sensor 286 .
  • the second processor 280 transmits information on the wearing state of the second external electronic device 204 to the electronic device 201 through the second communication module 282 (eg, a communication module supporting Bluetooth communication technology). ) can be transmitted.
  • the second sensor 286 may include at least one of a proximity sensor and a pressure sensor.
  • the second processor 280 when acquiring information on the wearing state of the second external electronic device 204 through the second sensor 286 , the second processor 280 transmits the second communication module 282 . After activation, information on the wearing state of the second external electronic device 204 may be transmitted to the electronic device 201 .
  • the second processor 280 may deactivate the second communication module 282 .
  • each of the first external electronic device 202 and the second external electronic device 204 is illustrated as including one speaker 274 and 284, but this is only for convenience of explanation.
  • the number of speakers may not be limited thereto.
  • each of the first external electronic device 202 and the second external electronic device 204 may include a plurality of speakers.
  • each of the first external electronic device 202 and the second external electronic device 204 may output audio data received from the electronic device 201 through a plurality of speakers.
  • each of the first external electronic device 202 and/or the second external electronic device 204 may further include at least one microphone (not shown).
  • the first external electronic device 202 may receive an external sound through a microphone and transmit data based on the received sound to the electronic device 201 through the first communication link.
  • the second external electronic device 204 may receive an external sound through a microphone and transmit data based on the received sound to the electronic device 201 using the second communication link.
  • At least some of the operations of the electronic device 201 described below may be performed by the processor 220 . Also, at least some of the operations of the first external electronic device 202 may be performed by the first processor 270 , and at least some of the operations of the second external electronic device 204 may be performed by the second processor 280 . ) can be done by
  • the electronic device 201 transmits a first audio packet to the second external electronic device 204, and the second external electronic device 204 receives the received first audio packet. It may be configured to transmit (or forward) the packet to the first external electronic device 202 through the third communication link.
  • FIG. 3 is a flowchart of a method of operating an electronic device, according to various embodiments of the present disclosure.
  • the electronic device uses a communication module (eg, the communication module 240 of FIG. 2B ), Forms a first communication link with a first external electronic device (eg, the first external electronic device 202 of FIG. 2A ), and forms a first communication link with a second external electronic device (eg, the second external electronic device 204 of FIG. 2A )
  • a communication module eg, the communication module 240 of FIG. 2B
  • Forms a first communication link with a first external electronic device eg, the first external electronic device 202 of FIG. 2A
  • a second external electronic device eg, the second external electronic device 204 of FIG. 2A
  • a second communication link may be formed.
  • the electronic device 201 may acquire (or generate) a first audio packet and a second audio packet based on a command to output stereo audio. For example, the electronic device 201 considers the first external electronic device 202 and the second external electronic device 204, and the first mono audio data and the second audio data corresponding to the channel in the first direction in the stereo audio data. Second mono audio data corresponding to the channel of the direction may be obtained. Also, the electronic device 201 may generate a first audio packet including the first mono audio data and a second audio packet including the second mono audio data. For example, the electronic device 201 may obtain (or generate) a service data unit (SDU) transmitted from the processor 220 to the communication module 240 by the processor 220 .
  • SDU service data unit
  • the communication module 240 receives the SDU from the processor 220, changes the SDU to a PDU (Protocol Data Unit) in accordance with the Bluetooth Protocol, and converts the PDU into a first external electronic device 202 and a second external device. to the electronic device 204 .
  • the communication module 240 performing the function of the Bluetooth controller receives SDUs for the first communication link (link 1) and the second communication link (link 2) from the processor 220, respectively, and the first communication link (Link) 1) and a PDU for each of the second communication link (Link 2) may be obtained (or generated).
  • the communication module 240 receives one stereo SDU from the processor 220 and obtains (or generates) a stereo PDU for each of the first communication link (Link 1) and the second communication link (Link 2). You may.
  • the electronic device 201 transmits the first audio packet to the first external electronic device using the first communication link and transmits the second audio packet by using the second communication link. It may transmit to the second external electronic device.
  • the electronic device 201 may check communication deterioration of any one of the first communication link and the second communication link. For example, the electronic device 201 communicates in consideration of at least one of whether a received signal (eg, a response signal) obtained from the external electronic device 202 or 204 is received, the strength of the received signal, or the noise level of the received signal. Communication deterioration of the link can be confirmed. For example, when the intensity of the received signal is less than a specified value or the noise level of the received signal is higher than the specified level, the electronic device 201 may determine that the corresponding communication link is deteriorated.
  • a received signal eg, a response signal
  • the electronic device 201 if the electronic device 201 does not receive a response signal corresponding to the corresponding audio packet after transmitting the preset number of first or second audio packets, it indicates that the communication link is deteriorated. can judge According to another embodiment, if the electronic device 201 does not receive a response signal corresponding to the corresponding audio packet after transmitting at least one first audio packet or a second audio packet for a preset time, the corresponding communication link can be considered to have deteriorated.
  • the electronic device 201 transmits at least one first audio packet or a second audio packet, the first external electronic device 202 or the second external electronic device 204 for the corresponding audio packet ), when the retransmission request for the corresponding audio packet is requested more than a specified number of times, it can be determined that the corresponding communication link is degraded.
  • the electronic device 201 uses a communication link different from the communication link for which communication deterioration is confirmed among the first communication link or the second communication link, the first audio packet and the second audio packet.
  • a stereo audio packet including For example, if communication deterioration of the second communication link is confirmed, the electronic device 201 transmits stereo audio including the first audio packet and the second audio packet to the first external electronic device 202 using the first communication link. packets can be transmitted. For another example, when communication degradation of the second communication link is confirmed, the electronic device 201 sequentially transmits the first audio packet and the second audio packet to the first external electronic device 202 using the first communication link. can be sent to This may be for the first external electronic device 202 to transmit the second audio packet to the second external electronic device 204 using the third communication link instead of the electronic device 201 .
  • FIG. 4 is a flowchart illustrating a method of transmitting an audio packet from a first external electronic device to a second external electronic device, according to various embodiments of the present disclosure.
  • a first external electronic device may include a communication module (eg, the first communication module of FIG. 2B ). 272) to form a first communication link with the electronic device (eg, the electronic device 201 of FIG. 2A ), and a second external electronic device (eg, the second external electronic device 204 of FIG. 2A ) ) and a third communication link.
  • a communication module eg, the first communication module of FIG. 2B .
  • the first external electronic device 202 receives the first audio packet from the electronic device 201 using the first communication link, and receives the first audio packet included in the first audio packet.
  • a first operation for outputting audio data may be performed.
  • the first external electronic device 202 may check whether a stereo audio packet including the first audio packet and the second audio packet has been received using the first communication link. . According to an embodiment, the first external electronic device 202 may check whether the second audio packet is received using the first communication link.
  • the first external electronic device 202 receives the first audio packet and receives the first audio data A first operation for outputting .
  • the first operation may include outputting the first audio data through a speaker (eg, the first speaker 274 of FIG. 2B ) based on sync information included in the first audio packet. have.
  • the first external electronic device 202 determines whether the stereo audio packet is received or not. Regardless, the first audio packet may be received from the electronic device 201 and the first operation may be performed.
  • the electronic device 201 or the user wears only the first external electronic device 202
  • the second external electronic device 204 cannot receive the second audio packet, and/or the electronic device 201
  • the first external electronic device 202 performs a first operation and a second audio packet may be transmitted to the second external electronic device.
  • the first external electronic device 202 decodes a stereo audio packet including the first audio packet and the second audio packet to obtain second audio data, and obtains second audio data including the second audio data. packets can be created.
  • the first external electronic device 202 may transmit the second audio packet to the second external electronic device 204 using the third communication link.
  • the first external electronic device 202 transmits (or transmits) the second audio packet received from the electronic device 201 to the second external electronic device 204 using the third communication link. forwarding) is possible.
  • FIG. 5 is a flowchart illustrating a method for a second external electronic device to receive an audio packet from a first external electronic device, according to various embodiments of the present disclosure.
  • a second external electronic device may include a communication module (eg, the second communication module of FIG. 2B ). 282) to form a second communication link with the electronic device (eg, the electronic device 201 of FIG. 2 ), and a first external electronic device (eg, the first external electronic device 202 of FIG. 2 ) ) and a third communication link.
  • a communication module eg, the second communication module of FIG. 2B
  • the second external electronic device 204 receives a second audio packet from the electronic device 201 using a second communication link, and receives a second audio packet included in the second audio packet.
  • a second operation for outputting audio data may be performed.
  • the second operation may include outputting the second audio data through a speaker (eg, the second speaker 284 of FIG. 2B ) based on the sync information included in the second audio packet. have.
  • the second external electronic device 204 in operation 505 , as deterioration of the second communication link occurs, the second external electronic device 204 normally receives the second audio packet from the electronic device 201 using the second communication link.
  • deterioration of the second communication link may be caused by a weak electric field situation due to a physical obstacle or a difference in physical distance between the electronic device 201 and the second external electronic device 204 , reception quality degradation, radio signal interference, and/or retransmission. It may be caused by an increase in frequency.
  • the second external electronic device 204 may request retransmission of the second audio packet to the electronic device 201 .
  • the second external electronic device 204 when deterioration of the second communication link occurs, the second external electronic device 204 requests transmission of the second audio packet to the first external electronic device 202 through the third communication link. may be
  • the second external electronic device 204 may receive a second audio packet from the first external electronic device 202 using a third communication link. Through this, the second external electronic device 204 may receive the second audio packet through the first external electronic device 202 even if the second communication link is deteriorated. According to an embodiment, the second external electronic device 204 receives the second audio packet through the first external electronic device 202 and outputs second audio data included in the second audio packet. action can be performed.
  • FIG. 6 is a flowchart of a method of operating an electronic device, according to various embodiments of the present disclosure.
  • the electronic device eg, the electronic device 201 of FIG. 2
  • the electronic device checks the deterioration of the second communication link and then uses the first communication link to stereo
  • the audio packet (or the first audio packet and the second audio packet) may be transmitted to the first external electronic device (eg, the first external electronic device 202 of FIG. 2 ).
  • the electronic device 201 transmits the second audio packet to the second external electronic device (eg, in FIG. 2A ) using the second communication link even after checking the deterioration of the second communication link. may be transmitted to the second external electronic device 204).
  • the electronic device 201 may transmit a specified number of second audio packets to the second external electronic device 204 to check the connection state of the second communication link.
  • the electronic device 201 transmits the second audio packet to the second external electronic device 204 for a specified period of time (eg, continuously, for a certain period of time, or once) to check the connection state of the second communication link. may be
  • the electronic device 201 after checking the deterioration of the second communication link, the electronic device 201 generates a designated packet for checking the connection state of the second communication link instead of the second audio packet using the second communication link. 2 It may be transmitted to the external electronic device 204 .
  • the electronic device 201 may determine whether a response signal corresponding to the second audio packet is received from the second external electronic device 204 .
  • the electronic device 201 uses the first communication link to The stereo audio packet (or the first audio packet and the second audio packet) may be transmitted to the first external electronic device (eg, the first external electronic device 202 of FIG. 2A ).
  • the electronic device 201 if a response signal corresponding to the second audio packet is received from the second external electronic device 204 (Yes in operation 605), in operation 607, the electronic device 201 establishes the first communication link.
  • the first audio packet may be transmitted to the first external electronic device 202 by using the device, and the second audio packet may be transmitted to the second external electronic device 204 using the second communication link.
  • the electronic device 201 may determine that the second communication link is in a normal state.
  • the electronic device 201 may not transmit the stereo audio packet (or the second audio packet) to the first external electronic device 202 using the first communication link.
  • a first audio packet is transmitted to the first external electronic device 202 using a first communication link
  • a second audio packet is transmitted to the second external electronic device 204 using a second communication link.
  • the electronic device 201 may transmit a separate packet for checking whether the second communication link with the second external electronic device 204 is in a normal state to the second external electronic device through the second communication link.
  • the electronic device may transmit a packet for checking the state of the second communication link to the second external electronic device 204 at a specified period.
  • the electronic device 201 may check the state of the second communication link based on the response to the packet.
  • FIGS. 7A and 7B are diagrams for explaining a method for an electronic device to transmit an audio packet to a plurality of external electronic devices, according to various embodiments of the present disclosure
  • the electronic device 201 forms a first communication link with the first external electronic device 202 , and forms a first communication link with the second external electronic device 204 .
  • Two communication links can be formed.
  • the first external electronic device 202 may form a third communication link with the second external electronic device 204 .
  • the electronic device 201 may identify a command to output stereo audio.
  • the electronic device 201 may obtain first audio data and second audio data for stereo audio data based on a command to output stereo audio. Also, the electronic device 201 may obtain a first audio packet including the first audio data and a second audio packet including the second audio data.
  • the electronic device 201 may transmit the first audio packet of the first time period to the first external electronic device 202 using the first communication link.
  • the electronic device 201 may receive a response signal (ACK signal) corresponding to the first audio packet of the first time interval.
  • the electronic device 201 may transmit the second audio packet of the first time period to the second external electronic device 204 using the second communication link.
  • the electronic device 201 may receive a response signal (ACK signal) corresponding to the second audio packet of the first time interval.
  • the electronic device 201 may transmit the first audio packet of the second time period to the first external electronic device 202 using the first communication link.
  • the electronic device 201 may receive a response signal (ACK signal) corresponding to the first audio packet of the second time interval.
  • the electronic device 201 may transmit the second audio packet of the second time period to the second external electronic device 204 using the second communication link.
  • the electronic device 201 may not receive a response signal (ACK signal) corresponding to the second audio packet of the second time interval.
  • failure to receive a response signal (ACK signal) may include a case in which a non-acknowledgment signal (NACK signal) is received after transmitting a corresponding packet or no response signal is received after transmitting a corresponding packet.
  • NACK signal non-acknowledgment signal
  • the electronic device 201 deteriorates the second communication link based on the failure to receive the response signal (ACK signal) corresponding to the second audio packet in the second time interval.
  • the electronic device 201 may transmit a stereo audio packet of a third time period to the first external electronic device 202 using the first communication link.
  • the stereo audio packet may include first audio data and second audio data of the third time period.
  • the electronic device 201 may sequentially transmit the first audio packet and the second audio packet of the third time period to the first external electronic device 202 using the first communication link.
  • the electronic device 201 may receive a response signal (ACK signal) corresponding to the stereo audio packet of the third time period.
  • the electronic device 201 may transmit the stereo audio packet of the second time period to the first external electronic device 202 using the first communication link.
  • the stereo audio packet may include the first audio data and the second audio data of the second time period.
  • the second time interval The stereo audio packet of the second time interval including the second audio packet may be transmitted.
  • the electronic device 201 may give up retransmission of the second audio packet and transmit the stereo audio packet of the third time period.
  • the electronic device 201 transmits the second audio packet of the third time period to the second external electronic device using the second communication link to check the state of the second communication link. It can be sent to (204).
  • the first external electronic device 202 may acquire the second audio packet of the third time period based on the second audio data included in the stereo audio packet. According to another embodiment, the first external electronic device 202 may receive the second audio packet of the third time period from the electronic device 201 . In operation 719, the first external electronic device 202 may transmit (or forward) the second audio packet of the third time period to the second external electronic device 204 using the third communication link. In operation 720, the first external electronic device 202 may receive a response signal (ACK signal) corresponding to the second audio packet of the third time period.
  • ACK signal response signal
  • the electronic device 201 may transmit the second audio packet to the second external electronic device 204 through the first external electronic device 202 even if the second communication link is deteriorated.
  • the electronic device 201 forms a first communication link with the first external electronic device 202 , and forms a first communication link with the second external electronic device 204 .
  • Two communication links can be formed.
  • the first external electronic device 202 may form a third communication link with the second external electronic device 204 .
  • the electronic device 201 may determine that deterioration of the second communication link has occurred.
  • the electronic device 201 may transmit a stereo audio packet of a fourth time period to the first external electronic device 202 using the first communication link.
  • the stereo audio packet may include the first audio data and the second audio data of the fourth time period.
  • the electronic device 201 may sequentially transmit the first audio packet and the second audio packet of the fourth time period to the first external electronic device 202 using the first communication link.
  • the electronic device 201 may receive a response signal (ACK signal) corresponding to the stereo audio packet of the fourth time period.
  • ACK signal response signal
  • the electronic device 201 transmits the second audio packet of the fourth time period to the second external electronic device using the second communication link to check the state of the second communication link. It can be sent to (204). According to an embodiment, due to deterioration of the second communication link, the electronic device 201 transmits a response signal (ACK signal) to the second audio packet of the fourth time period transmitted using the second communication link. 2 It may not be possible to receive from the external electronic device 204 . According to another embodiment, various methods for confirming that the second communication link with the second external electronic device is restored from a deteriorated state to a normal state may be applied to the electronic device 201 .
  • ACK signal response signal
  • the electronic device 201 may transmit a packet for checking the communication communication state of the second communication link including an empty packet instead of the second audio packet to the second external electronic device 204 .
  • the second external electronic device 204 determines the state of the second communication link by itself, and directly transmits information on the state of the second communication link to the electronic device 201 or the first external electronic device 202 may be transmitted to the electronic device 201 through
  • the first external electronic device 202 may acquire the second audio packet of the fourth time period based on the second audio data included in the stereo audio packet. According to another embodiment, the first external electronic device 202 may receive the second audio packet of the fourth time period from the electronic device 201 . In operation 759 , the first external electronic device 202 may transmit (or forward) the second audio packet of the fourth time period to the second external electronic device 204 using the third communication link. In operation 760, the first external electronic device 202 may receive a response signal (ACK signal) corresponding to the second audio packet of the fourth time period.
  • ACK signal response signal
  • the electronic device 201 may transmit a stereo audio packet of a fifth time period to the first external electronic device 202 using the first communication link. According to another embodiment, the electronic device 201 may sequentially transmit the first audio packet and the second audio packet of the fifth time period to the first external electronic device 202 using the first communication link. . In operation 762, the electronic device 201 may receive a response signal (ACK signal) corresponding to the stereo audio packet of the fifth time period.
  • ACK signal response signal
  • the electronic device 201 transmits the second audio packet of the fifth time period to the second external electronic device using the second communication link to check the state of the second communication link. It can be sent to (204).
  • the electronic device 201 may receive a response signal (ACK signal) corresponding to the second audio packet of the fifth time period from the second external electronic device 204 .
  • ACK signal response signal
  • the electronic device 201 receives a response signal (ACK signal) corresponding to the second audio packet of the fifth time period from the second external electronic device 204, the second communication link is in a normal state. can be judged to be
  • the first external electronic device 202 transmits (or forwards) the second audio packet of the fifth time period to the second external electronic device 204 using the second communication link. )can do.
  • the first external electronic device 202 may receive a response signal (ACK signal) corresponding to the second audio packet of the fifth time period.
  • ACK signal response signal
  • the second external electronic device 204 since the second audio packet of the fifth time period has already been received by the second external electronic device 204 , the second external electronic device 204 receives it from the first external electronic device 202 .
  • the second audio packet of the fifth time interval may be discarded or ignored.
  • the electronic device 201 may transmit the first audio packet of the sixth time period to the first external electronic device 202 using the first communication link. For example, since deterioration of the second communication link is eliminated, the electronic device 201 transmits a stereo audio packet (or a second audio packet) to the first external electronic device 202 using the first communication link. may not transmit.
  • the electronic device 201 may receive a response signal (ACK signal) corresponding to the first audio packet of the sixth time period.
  • the electronic device 201 may transmit the second audio packet of the sixth time period to the second external electronic device 204 using the second communication link.
  • the electronic device 201 may receive a response signal (ACK signal) corresponding to the second audio packet of the sixth time period.
  • FIG. 8 is a diagram for describing a method for an electronic device to transmit an audio packet to a plurality of external electronic devices, according to various embodiments of the present disclosure
  • the electronic device 201 may perform an operation of connecting to each of the external electronic devices (eg, the external electronic devices 202 and 204 of FIG. 2A ).
  • the electronic device 201 may form a communication link with each of the external electronic devices 202 and 204 using BLE communication technology.
  • the electronic device 201 performs a BLE scan operation, receives an advertisement signal from the first external electronic device 202 , and based on the received advertisement signal, the first external electronic device ( 202) and may form a first communication link.
  • the electronic device 201 performs a BLE scan operation, receives an advertisement signal from the second external electronic device 204, and based on the received advertisement signal, the second external electronic device ( 204) and may form a second communication link.
  • the electronic device 201 may identify an audio channel role of each of the external electronic devices 202 and 204 while forming a communication link with each of the external electronic devices 202 and 204 .
  • the electronic device 201 transmits the first external electronic device 202 to an audio channel in the first direction based on a signal (eg, an advertisement signal) received from the first external electronic device 202 . It can be confirmed that it is a compatible device.
  • the electronic device 201 transmits the second external electronic device 204 to the audio channel in the second direction. It can be confirmed that it is a compatible device. According to an embodiment, the electronic device 201 establishes a communication link with each of the external electronic devices 202 and 204 , and then performs an audio channel role of each of the external electronic devices 202 and 204 . can also be checked. According to an embodiment, before the first external electronic device 202 and the second external electronic device 204 form a communication link (eg, the first link and the second link of FIG. 2A ) with the electronic device 201 ) , a communication link (eg, the third link in FIG. 2A ) may be formed between the two devices. For example, before the first external electronic device 202 and the second external electronic device 204 form a communication link with the electronic device 201 , the respective audio channel roles may be determined.
  • a signal eg, an advertisement signal
  • the electronic device 201 may perform an operation in a standby state while maintaining a communication link with each of the external electronic devices 202 and 204 .
  • the electronic device 201 establishes a communication link (eg, a BLE link) with each of the external electronic devices 202 and 204 , independently of each of the external electronic devices 202 and 204 . It may refer to a state in which a connection is maintained while operating.
  • the electronic device 201 may set a time for transmitting an audio packet through a communication link (eg, a BLE link) of each of the external electronic devices 202 and 204 .
  • the electronic device 201 transmits the first audio packet to the first external electronic device 202 through the first communication link (first time period). sub-interval), and a second time (second sub-interval) for transmitting the second audio packet to the second external electronic device 204 through the second communication link may be set.
  • the electronic device 201 may perform an operation of starting a stereo audio output operation.
  • the step of starting the stereo audio output operation may mean a period in which the synchronized AoBLE service is started on the communication link of each of the external electronic devices 202 and 204 .
  • the electronic device 201 may transmit a packet (AS service start packet) indicating that stereo audio output is started to each of the external electronic devices 202 and 204 .
  • a packet indicating that stereo audio output is started includes an output delay value, a packet type, and an interval of each of the external electronic devices 202 and 204 that can be synchronized. may include parameters for .
  • the electronic device 201 provides first audio data (or first audio packet) and second audio for stereo audio data based on the respective audio channel roles of the external electronic devices 202 and 204 .
  • Data (or second audio packet) may be generated.
  • the first audio data may be mono audio data corresponding to the audio channel in the first direction
  • the second audio data may be mono audio data corresponding to the audio channel in the second direction.
  • the electronic device 201 may perform an operation of transmitting an audio packet to each of the external electronic devices 202 and 204 .
  • the electronic device 201 transmits the first audio packet AU1 including the first audio data to the first external electronic device 202 using the first communication link for each designated time interval, and the second The second audio packet AU2 including the second audio data may be transmitted to the second external electronic device 204 using the communication link.
  • FIGS. 9 and 10 are diagrams for explaining a method for an electronic device to transmit a stereo audio packet to a first external electronic device, according to various embodiments of the present disclosure.
  • the electronic device 201 may transmit the first audio packet AU1-1 of the first time period to the first external electronic device 202 using the first communication link.
  • the electronic device 201 may receive the response signal ACK1-1 corresponding to the first audio packet AU1-1 in the first time interval.
  • the electronic device 201 may transmit the second audio packet AU1 - 2 of the first time period to the second external electronic device 204 using the second communication link.
  • the electronic device 201 receives a response signal (ACK signal) corresponding to the second audio packet of the second time interval from the second external electronic device 204 .
  • ACK signal response signal
  • the second external electronic device 204 may not receive the second audio packet of the second time interval from the electronic device 201 .
  • the electronic device 201 receives a response signal (ACK signal) corresponding to the second audio packet of the second time interval from the second external electronic device 204 . may not be able to
  • the electronic device 201 responds to failure to receive a response signal (ACK signal) corresponding to the second audio packet AU1 - 2 of the first time interval from the second external electronic device 204 . Based on it, it can be confirmed that deterioration of the second communication link has occurred. For example, the electronic device 201 retransmits a preset number of second audio packets AU1-2 of the first time interval and receives a response signal (ACK signal) corresponding thereto from the second external electronic device 204 . Based on the failure, it can be confirmed that deterioration of the second communication link has occurred.
  • ACK signal response signal
  • the electronic device 201 retransmits the second audio packet AU1-2 of the first time period for a preset time and transmits a response signal (ACK signal) corresponding thereto to the second external electronic device ( 204), it can be confirmed that deterioration of the second communication link has occurred.
  • ACK signal response signal
  • the electronic device 201 may transmit a stereo audio packet (SAU) of the second time period to the first external electronic device 202 using the first communication link.
  • the electronic device 201 may transmit a stereo audio packet (SAU) in the first sub-interval of the second time period.
  • the stereo audio packet SAU may include the first audio data and the second audio data of the second time period.
  • the electronic device 201 may receive the response signal ACK2 corresponding to the stereo audio packet SAU of the second time period from the first external electronic device 202 through the first communication link.
  • the electronic device 201 may transmit the stereo audio packet of the first time period to the first external electronic device 202 using the first communication link. For example, when a preset time has not elapsed after the second external electronic device 204 does not receive the second audio packet AU1-2 of the first time interval, the electronic device 201 may The device 202 may transmit a stereo audio packet including the first audio data and the second audio data of the existing first time interval to the first external electronic device 202 .
  • the electronic device 201 may A stereo audio packet (SAU) including the first audio data and the second audio data of the second time period to be newly transmitted to the first external electronic device 202 may be transmitted to the first external electronic device 202 .
  • SAU stereo audio packet
  • the electronic device 201 transmits the second audio packet AU2-2 of the second time period using the second communication link to the second external electronic device in order to check the state of the second communication link. may be sent to device 204 .
  • the electronic device 201 transmits a stereo audio packet (SAU) to the first external electronic device 202 in a time interval allocated to the first communication link, and transmits the first stereo audio packet in the time interval allocated to the second communication link.
  • SAU stereo audio packet
  • the second audio packet AU2 - 2 of the second time period may be transmitted to the external electronic device 204 .
  • the first external electronic device 202 acquires the second audio packet AU2-2 of the second time period based on the second audio data included in the stereo audio packet, and performs the third communication
  • the second audio packet AU2-2 of the second time period may be transmitted to the second external electronic device 204 using the link.
  • the first external electronic device 202 transmits the first audio data and/or the stereo audio packet (SAU) to the first external electronic device 202 and the electronic device 201
  • a second time interval to the second external electronic device 204 through the third communication link in a time interval that does not overlap with a time during which the device 201 transmits the second audio data to the second external electronic device 204 of the second audio packet can be transmitted.
  • the electronic device 201 may sequentially transmit a first audio packet and a second audio packet to the first external electronic device 202 .
  • the electronic device 201 transmits a stereo audio packet (SAU) to the first external electronic device 202 in response to confirming communication degradation of the second communication link.
  • SAU stereo audio packet
  • the first audio packet AU1 - 2 and the second audio packet AU2 - 2 may be sequentially transmitted to the first external electronic device 202 .
  • the first external electronic device 202 may forward the second audio packet AU2-2 received from the electronic device 201 to the second external electronic device 204 using the third communication link.
  • FIG. 11 is a diagram for describing a method for an electronic device to transmit an audio packet to a plurality of external electronic devices, according to various embodiments of the present disclosure
  • the electronic device 201 transmits a stereo audio packet of a first time interval to the first external electronic device 202 using the first communication link based on the occurrence of deterioration of the second communication link.
  • SAU1 can be transmitted.
  • the stereo audio packet SAU1 may include the first audio data and the second audio data of the first time period.
  • the electronic device 201 transmits the second audio packet AU2-1 of the first time interval to the second external electronic device using the second communication link to check the state of the second communication link. It can be sent to (204).
  • the second external electronic device 204 may not normally receive the second audio packet AU2-1 of the first time period from the electronic device 201 due to deterioration of the second communication link.
  • the first external electronic device 202 may acquire the second audio packet of the first time period based on the second audio data included in the stereo audio packet SAU1 of the first time period. have.
  • the first external electronic device 202 may transmit the second audio packet AU2-1 of the first time period to the second external electronic device 204 using the third communication link.
  • the electronic device 201 may transmit the stereo audio packet SAU2 of the second time period to the first external electronic device 202 using the first communication link. Also, in order to check the state of the second communication link, the electronic device 201 transmits the second audio packet AU2-2 of the second time interval to the second external electronic device 204 using the second communication link. can be sent to In an embodiment, when the second communication link is out of the degraded state, the electronic device 201 responds from the second external electronic device 204 to the second audio packet AU2-2 in the second time interval. A signal ACK2-2 may be received. For example, the electronic device 201 may determine that the second communication link is in a normal state based on the reception of the response signal ACK2-2.
  • the first external electronic device 202 may transmit the second audio packet AU2-2 of the second time period to the second external electronic device 204 using the third communication link. . However, since the second external electronic device 204 has already received the second audio packet AU2-2 of the second time period, the second external electronic device 204 returns to the first external electronic device 202. Transmitting a response signal (eg, an ACK signal) to the second audio packet AU2-2 of a 2-hour period, and receiving the second audio packet AU2- of the second time period from the first external electronic device 202 2) can be discarded or ignored.
  • a response signal eg, an ACK signal
  • the electronic device 201 may transmit the first audio packet AU1-3 of the third time period to the first external electronic device 202 using the first communication link.
  • the electronic device 201 may transmit the second audio packet AU2-3 of the third time period to the second external electronic device 204 using the second communication link. That is, since the deterioration of the second communication link is eliminated, the electronic device 201 may not transmit the stereo audio packet to the first external electronic device 202 using the first communication link.
  • the electronic device 201 may be connected to two or more external electronic devices.
  • the electronic device may be connected to six or more external electronic devices to provide 5.1CH audio.
  • the electronic device 201 checks an audio channel role (eg, left, right, center, left rear, right rear, and bass) of each external electronic device to provide 5.1CH audio, A mono audio packet may be transmitted to each external electronic device.
  • the electronic device 201 may transmit a stereo audio packet to another external electronic device (eg, center).
  • An electronic device (eg, electronic device 201) according to various embodiments includes a communication module (eg, communication module 240) and a processor (eg, processor 220) supporting Bluetooth communication, and the processor forms a first communication link with a first external electronic device (eg, the first external electronic device 202) through the communication module, and forms a first communication link with the second external electronic device (eg, the second external electronic device 204) ) to form a second communication link, and to obtain a first audio packet including first audio data and a second audio packet including second audio data based on a command for outputting stereo audio, the first communication transmitting the first audio packet to the first external electronic device using a link, transmitting the second audio packet to the second external electronic device using the second communication link, and When it is confirmed that the communication state is deteriorated, the first audio is transmitted to the first external electronic device using the first communication link so that the first external electronic device transmits the second audio packet to the second external electronic device. It may be configured to transmit a stereo audio packet including data and the second audio data or
  • the first audio data may include first mono audio data corresponding to a first direction in the stereo audio data
  • the second audio data may include second mono audio data corresponding to a second direction in the stereo audio data.
  • the processor may be configured to transmit the second audio packet to the second external electronic device using the second communication link even if communication deterioration of the second communication link is confirmed.
  • the processor may be configured to confirm that the second communication link is in a normal state when a response packet to the second audio packet is received from the second external electronic device.
  • the processor is configured to transmit the first audio packet using the first communication link and transmit the second audio packet using the second communication link.
  • the processor may be configured to transmit the stereo audio packet to the first external electronic device if at least one response signal to the second audio packets is not received after transmitting a specified number of second audio packets have.
  • the processor may be configured to check the transmission time of the stereo audio packet based on whether the first external electronic device or the second external electronic device is detached.
  • the processor may be configured to generate the stereo audio packet based on a second audio packet of a first time that the second external electronic device has not received due to deterioration of the second communication link.
  • the processor is configured to, when a specified time elapses after the second external electronic device fails to receive the second audio packet of the first time due to deterioration of the second communication link, transmits the second time to the first external electronic device. It may be configured to generate the stereo audio packet based on the first audio packet of , and the second audio packet of the second time.
  • Each of the first communication link and the second communication link may include a Bluetooth low energy (BLE) communication link.
  • BLE Bluetooth low energy
  • the first external electronic device may include an earphone in a first direction
  • the second external electronic device may include an earphone in a second direction.
  • the first audio data may include first mono audio data corresponding to a first direction in the stereo audio data
  • the second audio data may include second mono audio data corresponding to a second direction in the stereo audio data.
  • the second audio is transmitted to the second external electronic device using the second communication link to check the state of the second communication link.
  • the method may further include transmitting the packet.
  • the method of operating the electronic device may further include, when a response packet to the second audio packet is received from the second external electronic device, confirming that the second communication link is in a normal state.
  • the method of operating the electronic device when it is confirmed that the second communication link is in a normal state, the first audio packet is transmitted using the first communication link, and the second audio packet is transmitted using the second communication link.
  • the method may further include transmitting the packet.
  • Each of the first communication link and the second communication link may include a Bluetooth low energy (BLE) communication link.
  • BLE Bluetooth low energy
  • the first electronic device (eg, the first external electronic device 202) according to various embodiments includes a speaker (eg, the first speaker 274) and a communication module (eg, the first communication module (eg, the first communication module) supporting Bluetooth communication) 272)), and a processor (eg, the first processor 270), wherein the processor forms a first communication link with an electronic device (eg, the electronic device 201) through the communication module, Forms a second communication link with a second electronic device (eg, the second external electronic device 204), receives a first audio packet including first audio data using the first communication link, and 1 Performs a first operation for outputting audio data through the speaker, and includes a stereo audio packet including the first audio data and the second audio data or the second audio data using the first communication link When a second audio packet of .
  • a speaker eg, the first speaker 274
  • a communication module eg, the first communication module (eg, the first communication module) supporting Bluetooth communication) 272)
  • a processor eg, the first processor
  • the processor may be configured to receive the first audio packet from the second electronic device using the second communication link when the communication state of the first communication link is deteriorated.
  • the first electronic device may be implemented as an earphone in a first direction
  • the second electronic device may be implemented as an earphone in a second direction.
  • Each of the aforementioned components of the electronic device may be composed of one or more components, and the name of the corresponding component may vary depending on the type of the electronic device.
  • the electronic device may be configured to include at least one of the above-described components, and some components may be omitted or may further include additional other components.
  • the functions of the components prior to being combined may be identically performed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

다양한 실시 예에 따른 전자 장치는, 블루투스 통신을 지원하는 통신 모듈 및 프로세서를 포함하고, 상기 프로세서는, 상기 통신 모듈을 통해, 제1외부 전자 장치와 제1통신 링크를 형성하고, 제2외부 전자 장치와 제2통신 링크를 형성하고, 스테레오 오디오를 출력하는 명령에 기초하여 제1오디오 데이터를 포함하는 제1오디오 패킷 및 제2오디오 데이터를 포함하는 제2오디오 패킷을 획득하고, 상기 제1통신 링크를 이용하여 상기 제1오디오 패킷을 상기 제1외부 전자 장치로 전송하고, 상기 제2통신 링크를 이용하여 상기 제2오디오 패킷을 상기 제2외부 전자 장치로 전송하고, 상기 제2통신 링크의 통신 상태가 열화된 것으로 확인되면, 상기 제1외부 전자 장치가 상기 제2외부 전자 장치로 상기 제2오디오 패킷을 전송하도록 상기 제1통신 링크를 이용하여 상기 제1외부 전자 장치로 상기 제1오디오 데이터와 상기 제2오디오 데이터를 포함하는 스테레오 오디오 패킷을 전송하거나 상기 제1오디오 패킷과 상기 제2오디오 패킷을 전송하도록 설정될 수 있다. 이 외에도 다양한 실시 예들이 가능할 수 있다.

Description

오디오 데이터를 처리하는 전자 장치와 이의 동작 방법
다양한 실시 예들은 오디오 데이터를 처리하는 전자 장치와 이의 동작 방법에 관한 것이다.
무선 통신 기술의 발달에 따라, 전자 장치는 다양한 무선 통신 기술들을 통해 다른 전자 장치와 통신할 수 있다. 블루투스 통신 기술은, 전자 장치들이 서로 연결하여 데이터나 정보를 교환할 수 있는 근거리 무선 통신 기술을 의미한다. 또한, 블루투스 통신 기술은 블루투스 레거시(legacy)(또는 클래식(classic)) 네트워크 기술 또는 BLE(Bluetooth low energy) 네트워크를 포함할 수 있으며, 피코넷(piconet), 스캐터넷(scatternet)과 같은 다양한 연결 형태의 토폴로지(topology)를 가질 수 있다. 전자 장치들은, 블루투스 통신 기술을 이용하여, 저전력으로 상호 간 데이터를 공유할 수 있다. 이러한 블루투스 기술을 이용하여 외부 무선 통신 기기들을 연결하고, 전자 장치에서 실행되는 콘텐츠에 대한 오디오 데이터를 외부 무선 통신 기기로 전송하여 외부 무선 통신 기기에서 오디오 데이터를 처리하여 사용자에게 출력할 수 있다. 최근에는 블루투스 통신 기술을 이용하는 무선 이어폰이 널리 이용되고 있다.
AoBLE(audio over BLE) 토폴로지를 이용하는 전자 장치는, 외부 전자 장치들과 독립적인 통신 링크를 형성하고, 독립적인 통신 링크를 이용하여 외부 전자 장치들 각각과 통신할 수 있다. 예컨대, 전자 장치는, 스테레오 오디오 데이터를 출력하기 위해, 제1외부 전자 장치로 제1모노 오디오 패킷을 전송하고, 제2외부 전자 장치로 제2모노 오디오 패킷을 전송할 수 있다. 이때, 전자 장치는, 특정 외부 전자 장치와 연결된 통신 링크가 물리적 장애물 또는 주변 무선 간섭에 의해 열화(또는 통신 열화)가 발생되면, 특정 외부 전자 장치로 해당 모노 오디오 패킷을 전송할 수 없다. 특정 외부 전자 장치는 버퍼 언더런(buffer underrun)(또는 버퍼 오버플로(buffer overflow))으로 인한 굉음을 출력하거나 소리를 출력하지 못할 수 있다. 또한, 전자 장치는, 특정 외부 전자 장치로 오디오 패킷을 전송하기 위해 과도한 전력을 소모할 수 있다.
다양한 실시 예들은, 전자 장치가 두 개의 외부 전자 장치들 각각에 대하여 통신 링크를 형성하여 각 통신 링크로 모노 오디오 데이터를 전송할 때, 어느 하나의 통신 링크의 통신 열화가 확인되면 다른 하나의 통신 링크를 이용하여 모노 오디오 데이터가 아닌 스테레오 오디오 데이터를 전송하는 전자 장치와 이의 동작 방법을 제공할 수 있다.
다양한 실시 예에 따른 전자 장치는, 블루투스 통신을 지원하는 통신 모듈 및 프로세서를 포함하고, 상기 프로세서는, 상기 통신 모듈을 통해, 제1외부 전자 장치와 제1통신 링크를 형성하고, 제2외부 전자 장치와 제2통신 링크를 형성하고, 스테레오 오디오를 출력하는 명령에 기초하여 제1오디오 데이터를 포함하는 제1오디오 패킷 및 제2오디오 데이터를 포함하는 제2오디오 패킷을 획득하고, 상기 제1통신 링크를 이용하여 상기 제1오디오 패킷을 상기 제1외부 전자 장치로 전송하고, 상기 제2통신 링크를 이용하여 상기 제2오디오 패킷을 상기 제2외부 전자 장치로 전송하고, 상기 제2통신 링크의 통신 상태가 열화(이하, 통신 열화)된 것으로 확인되면, 상기 제1외부 전자 장치가 상기 제2외부 전자 장치로 상기 제2오디오 패킷을 전송하도록 상기 제1통신 링크를 이용하여 상기 제1외부 전자 장치로 상기 제1오디오 데이터와 상기 제2오디오 데이터를 포함하는 스테레오 오디오 패킷을 전송하거나 상기 제1오디오 패킷과 상기 제2오디오 패킷을 전송하도록 설정될 수 있다.
다양한 실시 예에 따른 블루투스 통신을 지원하는 통신 모듈을 포함하는 전자 장치의 동작 방법은, 상기 통신 모듈을 통해, 제1외부 전자 장치와 제1통신 링크를 형성하고, 제2외부 전자 장치와 제2통신 링크를 형성하는 동작, 스테레오 오디오를 출력하는 명령에 기초하여, 제1오디오 데이터를 포함하는 제1오디오 패킷 및 제2오디오 데이터를 포함하는 제2오디오 패킷을 획득하는 동작, 상기 제1통신 링크를 이용하여 상기 제1오디오 패킷을 상기 제1외부 전자 장치로 전송하고, 상기 제2통신 링크를 이용하여 상기 제2오디오 패킷을 상기 제2외부 전자 장치로 전송하는 동작, 및 상기 제2통신 링크의 통신 상태가 열화된 것으로 확인되면, 상기 제1외부 전자 장치가 상기 제2외부 전자 장치로 상기 제2오디오 패킷을 전송하도록 상기 제1통신 링크를 이용하여 상기 제1외부 전자 장치로 상기 제1오디오 데이터와 상기 제2오디오 데이터를 포함하는 스테레오 오디오 패킷을 전송하거나 상기 제1오디오 패킷과 상기 제2오디오 패킷을 전송하는 동작을 포함할 수 있다.
다양한 실시 예에 따른 제1전자 장치는, 스피커, 블루투스 통신을 지원하는 통신 모듈, 및 프로세서를 포함하고, 상기 프로세서는, 상기 통신 모듈을 통해, 전자 장치와 제1통신 링크를 형성하고, 제2전자 장치와 제2통신 링크를 형성하고, 상기 제1통신 링크를 이용하여 제1오디오 데이터를 포함하는 제1오디오 패킷을 수신하고, 상기 제1오디오 데이터를 상기 스피커를 통해 출력하기 위한 제1동작을 수행하고, 상기 제1통신 링크를 이용하여 상기 제1오디오 데이터와 제2오디오 데이터를 포함하는 스테레오 오디오 패킷 또는 상기 제2오디오 데이터를 포함하는 제2오디오 패킷이 수신되면, 상기 제1동작을 수행하고 상기 제2통신 링크를 이용하여 상기 제2오디오 데이터를 포함하는 상기 제2오디오 패킷을 상기 제2전자 장치로 전송하도록 설정될 수 있다.
다양한 실시 예에 따른 전자 장치는, 복수의 외부 전자 장치들 각각에 대하여 형성된 통신 링크를 통해 오디오 데이터를 전송할 때, 제1외부 전자 장치의 통신 링크의 통신 열화가 확인되면 제2외부 전자 장치가 제1외부 전자 장치로 오디오 데이터를 전송하도록 제2외부 전자 장치와의 통신 링크를 이용하여 복수의 오디오 데이터를 전송할 수 있다.
도 1은, 다양한 실시 예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2a 및 도 2b는, 다양한 실시 예에 따른, 전자 시스템의 개략적인 블록도들이다.
도 3은, 다양한 실시 예에 따른, 전자 장치의 동작 방법에 대한 플로우 차트이다.
도 4는, 다양한 실시 예에 따른, 제1외부 전자 장치가 제2외부 전자 장치로 오디오 패킷을 전송하는 방법을 설명하기 위한 플로우 차트이다.
도 5는, 다양한 실시 예에 따른, 제2외부 전자 장치가 제1외부 전자 장치로부터 오디오 패킷을 수신하는 방법을 설명하기 위한 플로우 차트이다.
도 6은, 다양한 실시 예에 따른, 전자 장치의 동작 방법에 대한 플로우 차트이다.
도 7a 및 도 7b는, 다양한 실시 예에 따른, 전자 장치가 복수의 외부 전자 장치들로 오디오 패킷을 전송하는 방법을 설명하기 위한 도면들이다.
도 8은, 다양한 실시 예에 따른, 전자 장치가 복수의 외부 전자 장치들로 오디오 패킷을 전송하기 위한 방법을 설명하기 위한 도면이다.
도 9와 도 10은, 다양한 실시 예에 따른, 전자 장치가 제1외부 전자 장치로 스테레오 오디오 패킷을 전송하는 방법을 설명하기 위한 도면이다.
도 11은, 다양한 실시 예에 따른, 전자 장치가 복수의 외부 전자 장치들로 오디오 패킷을 전송하는 방법을 설명하기 위한 도면이다.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(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) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(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)를 확인 또는 인증할 수 있다.
무선 통신 모듈(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 이하)를 지원할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
일실시예에 따르면, 명령 또는 데이터는 제 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 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.
도 2a 및 도 2b는, 다양한 실시 예에 따른, 전자 시스템의 개략적인 블록도들이다.
도 2a를 참조하면, 전자 시스템은, 전자 장치(201), 복수의 외부 전자 장치들(예컨대, 제1외부 전자 장치(202), 및 제2외부 전자 장치(204))을 포함할 수 있다. 예컨대, 전자 장치(201), 제1외부 전자 장치(202), 및 제2외부 전자 장치(204)는, 도 1의 전자 장치(101)와 동일하거나 유사하게 구현될 수 있다. 예컨대, 전자 장치(201)는 스마트폰으로 구현될 수 있다. 제1외부 전자 장치(202)는 제1방향의 이어폰(예컨대, 오른쪽 귀에 착용되는 이어폰)으로 구현되고, 제2외부 전자 장치(204)는, 제2방향의 이어폰(예컨대, 왼쪽 귀에 착용되는 이어폰)으로 구현될 수 있다. 일 실시 예에 따르면, 제1외부 전자 장치(202)와 제2외부 전자 장치(204)는, 쌍(pair)을 이룰 수 있으나, 이에 한정되지는 않을 수 있다.
다양한 실시 예에 따라, 전자 장치(201)는, 복수의 외부 전자 장치들(202 및 204)과 데이터를 송수신할 수 있다. 이를 위해, 전자 장치(201)는, 복수의 외부 전자 장치들(202 및 204)과 근거리 통신 방식(예컨대, 블루투스 통신 방식, BLE 통신 방식, 또는 AoBLE 통신 방식)을 이용하여 통신 링크를 형성할 수 있다. 이하의 도 2a에서는 전자 장치(201)가 복수의 외부 전자 장치들(202 및 204)과 데이터를 송수신하기 위한 통신 링크를 형성하는 방법을 설명할 것이다. 다만, 이는 예시적인 것일 뿐, 본 발명의 기술적 사상은 이에 한정되지 않을 수 있다. 예컨대, 전자 장치(201)는, 복수의 외부 전자 장치들(202 및 204)과 다양한 방식으로 통신 링크를 형성할 수 있다.
도 2a를 참조하면, 다양한 실시 예에 따라, 전자 장치(201)는 제1외부 전자 장치(202)와 제1통신 링크(LINK1)를 형성하고, 제2외부 전자 장치(204)와 제2통신 링크(LINK2)를 형성할 수 있다. 전자 장치(201)는, 제1통신 링크(LINK1)를 이용하여 제1외부 전자 장치(202)와 데이터를 송수신하고, 제2통신 링크(LINK2)를 이용하여 제2외부 전자 장치(204)와 데이터를 송수신할 수 있다. 일 실시 예에 따라, 전자 장치(201)는, 제1외부 전자 장치(202) 또는 제2외부 전자 장치(204)와 데이터를 송수신하기 위해, 통신 자원(resource)를 관리할 수 있다. 예컨대, 전자 장치(201)는 주파수 또는 시간을 분할하여 제1외부 전자 장치(202) 또는 제2외부 전자 장치(204)와 통신할 수 있다.
다양한 실시 예에 따라, 제1외부 전자 장치(202)는, 제2외부 전자 장치(204)와 제3통신 링크(LINK3)를 형성할 수 있다. 제1외부 전자 장치(202)는, 제3통신 링크(LINK3)를 이용하여 제2외부 전자 장치(204)와 데이터를 송수신할 수 있다.
다양한 실시 예에 따라, 제1통신 링크(LINK1), 제2통신 링크(LINK2), 및 제3통신 링크(LINK3)는, BLE(Bluetooth low energy) 통신 링크로 형성될 수 있다. 다만, 본 발명의 기술적 사상은 이에 한정되지 않고, 제1통신 링크(LINK1), 제2통신 링크(LINK2), 및 제3통신 링크(LINK3)는 다양한 방식 통신 링크로 형성될 수 있다.
도 2b를 참조하면, 전자 장치(201)는, 프로세서(220), 메모리(230), 통신 모듈(240), 및 디스플레이(260)를 포함할 수 있다.
다양한 실시 예에 따라, 프로세서(220)는, 전자 장치(201)의 전반적인 동작을 제어할 수 있다. 예컨대, 프로세서(220)는 도 1의 프로세서(120)와 동일하거나 유사하게 구현될 수 있다.
다양한 실시 예에 따라, 프로세서(220)는, 오디오 출력을 수행하기 위해, 오디오 데이터를 획득할 수 있다. 일 실시 예에 따라, 프로세서(220)는, 외부 전자 장치(예컨대, 스트리밍 서버)를 통해 오디오 데이터를 획득할 수 있다. 또는, 프로세서(220)는, 메모리(230)(예컨대, 도 1의 메모리(130))에 저장된 오디오 데이터를 획득할 수 있다. 예컨대, 프로세서(220)는, 스테레오 오디오 출력이 가능한 스테레오 오디오 데이터를 획득할 수 있다.
다양한 실시 예에 따라, 프로세서(220)는, 스테레오 오디오를 출력하는 명령을 확인할 수 있다. 예컨대, 스테레오 오디오를 출력하는 명령은, 예컨대, 스테레오 오디오를 재생하는 명령, 스테레오 오디오를 포함하는 컨텐트(예컨대, 동영상)를 재생하는 명령, 통화 수발신 명령, 및/또는 영상 통화 수발신 명령을 포함할 수 있다.
다양한 실시 예에 따라, 프로세서(220)는, 스테레오 오디오를 출력하는 명령에 기초하여 제1방향에 대응하는 제1오디오 데이터 및 제2방향에 대응하는 제2오디오 데이터를 획득(또는 생성)할 수 있다. 예컨대, 제1오디오 데이터와 제2오디오 데이터 각각은, 모노 오디오 데이터를 포함할 수 있다. 또한, 프로세서(220)는, 제1오디오 데이터를 포함하는 제1오디오 패킷 및 제2오디오 데이터를 포함하는 제2오디오 패킷을 획득할 수 있다. 예컨대, 제1오디오 패킷은, 스테레오 오디오를 출력하기 위해 제1외부 전자 장치(202)(예컨대, 오른쪽 이어폰)에 지정된 패킷일 수 있고, 제2오디오 패킷은, 스테레오 오디오를 출력하기 위해 제2외부 전자 장치(204)(예컨대, 왼쪽 이어폰)에 지정된 패킷일 수 있다.
다양한 실시 예에 따라, 프로세서(220)는, 통신 모듈(240)(예컨대, 도 1의 통신 모듈(190))을 통해, 제1외부 전자 장치(202)와 제1통신 링크를 형성하고, 제2외부 전자 장치(204)와 제2통신 링크를 형성할 수 있다. 예컨대, 통신 모듈(240)은, 근거리 통신 기술(예컨대, 블루투스 통신 기술)을 지원할 수 있다.
다양한 실시 예에 따라, 프로세서(220)는, 통신 모듈(240)을 통해, 제1통신 링크를 이용하여 제1오디오 패킷을 제1외부 전자 장치(202)로 전송하고, 제2통신 링크를 이용하여 제2오디오 패킷을 제2외부 전자 장치(204)로 전송할 수 있다. 예컨대, 프로세서(220)는, 제1통신 링크 및 제2통신 링크를 이용하여, 지정된 시간 구간들에서 지정된 순서에 따라 복수의 외부 전자 장치들(202 및 204) 각각으로 제1오디오 패킷과 제2오디오 패킷을 전송할 수 있다. 예컨대, 프로세서(220)는, 제1시간 구간에서, 지정된 시간 동안 제1오디오 패킷을 제1외부 전자 장치(202)로 전송하고, 지정된 시간 동안 제2오디오 패킷을 제2외부 전자 장치(204)로 전송할 수 있다. 이후, 프로세서(220)는, 제1시간 구간 후의 제2시간 구간에서, 지정된 시간 동안 제1오디오 패킷을 제1외부 전자 장치(202)로 전송하고, 지정된 시간 동안 제2오디오 패킷을 제2외부 전자 장치(204)로 전송할 수 있다. 예컨대, 이때, 제2시간 구간은, 제1시간 구간과 상이한 시간 구간일 수 있다.
다양한 실시 예에 따라, 프로세서(220)는, 통신 모듈(240)을 통해, 제1통신 링크 및 제2통신 링크의 통신 상태를 확인할 수 있다. 예컨대, 프로세서(220)는, 제1통신 링크 및 제2통신 링크를 이용하여 원활하게 제1오디오 패킷 및 제2오디오 패킷을 전송할 수 있는지 여부를 확인할 수 있다. 예컨대, 프로세서(220)는, 제1통신 링크 및 제2통신 링크에 대하여, 물리적 장애물이나 물리적 거리 차이에 의한 약전계 상황, 수신 품질 저하, 무선 신호 간섭, 및/또는 재전송 횟수 증가로 인한 통신 링크의 통신 열화를 확인할 수 있다. 예컨대, 통신 열화는 통신 링크의 통신 상태가 약전계 상황, 수신 품질 저하, 무선 신호 간섭, 및/또는 재전송 횟수 중 적어도 하나에 관련된 기준값을 만족하지 못하는 경우를 의미할 수 있다.
다양한 실시 예에 따라, 프로세서(220)는, 제1통신 링크 및 제2통신 링크 중 어느 하나의 통신 링크의 통신 열화가 확인되면, 제1통신 링크 및 제2통신 링크 중 다른 하나의 통신 링크를 이용하여 제1오디오 데이터와 제2오디오 데이터를 포함하는 스테레오 오디오 패킷을 전송할 수 있다. 일 실시 예에 따르면, 프로세서(220)는, 제1 통신 링크 및 제2 통신 링크를 통해 제1 오디오 패킷과 제2 오디오 패킷을 전송할 수 있다. 예를 들어, 프로세서(220)는 지정된 시간 동안에서 스테레오 오디오 패킷(또는 제1오디오 패킷과 제2오디오 패킷)을 제1외부 전자 장치(202)로 전송하고, 지정된 시간 동안에서 제2외부 전자 장치(204)로 제2오디오 패킷을 전송할 수 있다. 다른 일 실시 예에 따르면, 프로세서(220)는, 제1통신 링크 및 제2통신 링크 중 다른 하나의 통신 링크를 이용하여 제1오디오 패킷과 제2오디오 패킷을 순차적으로 전송할 수 있다. 예를 들어, 프로세서(220)는 지정된 시간 동안에서 제1통신 링크를 통해 제1오디오 패킷을 제1외부 전자 장치(202)로 전송하고, 이후 지정된 시간 동안에서 제1 통신 링크를 통해 제2오디오 패킷을 제1외부 전자 장치(202)로 전송할 수 있다.
다양한 실시 예에 따라, 프로세서(220)는, 특정 통신 링크의 통신 열화가 확인되면, 스테레오 오디오 패킷을 전송할 시점을 확인할 수 있다. 예컨대, 프로세서(220)는, 제1외부 전자 장치(202) 또는 제2외부 전자 장치(204)로부터 수신된 패킷(예컨대, 응답 패킷)의 수신 감도 및/또는 단위 시간 구간에서 패킷들의 평균 수신 감도에 기초하여 스테레오 오디오 패킷의 전송 시점을 확인할 수 있다. 일 실시 예에 따르면, 프로세서(220)는, 오디오 패킷의 재전송 시간을 기준으로 스테레오 오디오 패킷의 전송 시점을 확인할 수 있다. 예컨대, 프로세서(220)는, 전송 중인 특정 시퀀스 넘버의 오디오 패킷이 일정 시간 이상 동안 재전송되고 있으면, 스테레오 오디오 패킷을 전송할 수 있다. 다른 일 실시 예에 따르면, 프로세서(220)는, 오디오 패킷의 재전송 횟수에 기반하여 스테레오 오디오 패킷의 전송 시점을 확인할 수 있다. 예컨대, 프로세서(220)는, 전송 중인 특정 시퀀스 넘버의 오디오 패킷이 일정 갯수 이상 동안 재전송되고 있으면, 스테레오 오디오 패킷을 전송할 수 있다. 또다른 일 실시 예에 따르면, 프로세서(222)는 지정된 시간 동안 오디오 패킷이 재전송되는 횟수에 기반하여 스테레오 오디오 패킷의 전송 시점을 확인할 수 있다. 예컨대, 프로세서(220)는 지정된 시간 동안 재전송되는 패킷의 수가 지정된 임계값 이상인 경우, 스테레오 오디오 패킷을 전송할 수 있다.
다양한 실시 예에 따라, 프로세서(220)는, 제1외부 전자 장치(202) 및/또는 제2외부 전자 장치(204)의 탈부착 여부에 기초하여 스테레오 오디오 패킷의 전송 시점을 확인할 수 있다. 일 실시 예에 따르면, 프로세서(220)는, 제1외부 전자 장치(202) 및 제2외부 전자 장치(204)가 사용자의 신체(예컨대, 귀)에 부착된 경우, 각 외부 전자 장치(202 및 204)로 모노 오디오 패킷을 전송할 수 있다. 이때, 프로세서(220)는, 제1통신 링크 및 제2통신 링크 중 어느 하나의 통신 링크가 통신 열화로 확인되면, 다른 하나의 통신 링크를 통해 스테레오 오디오 패킷을 전송할 수 있다. 다른 실시 예에 따르면, 프로세서(220)는, 제1외부 전자 장치(202) 및 제2외부 전자 장치(204) 중 어느 하나의 외부 전자 장치만 사용자의 신체(예컨대, 귀)에 부착된 것을 나타내는 신호가 확인되면, 부착된 해당 외부 전자 장치로 스테레오 오디오 패킷을 전송할 수 있다. 또한, 프로세서(220)는, 제1외부 전자 장치(202) 및 제2외부 전자 장치(204) 중 어느 하나의 외부 전자 장치가 사용자의 신체(예컨대, 귀)로부터 탈착된 것을 나타내는 신호가 확인되면, 탈착된 해당 외부 전자 장치로 스테레오 오디오 패킷을 전송하지 않을 수 있다. 또다른 실시 예에 따르면, 프로세서(220)는, 제1외부 전자 장치(202) 및 제2외부 전자 장치(204) 모두가 사용자의 신체로부터 탈착된 것을 나타내는 신호가 확인되면, 제1외부 전자 장치(202) 및 제2외부 전자 장치(204)로 오디오 패킷(예컨대, 스테레오 오디오 패킷 또는 모노 오디오 패킷)을 전송하지 않을 수 있다.
다양한 실시 예에 따라, 프로세서(220)는, 디스플레이(260)(예컨대, 도 1의 디스플레이 모듈(160))를 통해, 제1통신 링크 및 제2통신 링크에 대한 정보를 표시할 수 있다. 예컨대, 프로세서(220)는, 제1통신 링크 및 제2통신 링크 중 어느 하나의 통신 링크의 통신 열화가 확인되면, 해당 통신 링크의 열화에 대한 정보를 디스플레이(260)에 표시할 수 있다.
다양한 실시 예에 따라, 프로세서(220)는, 통신 모듈(240)을 통해, 복수의 외부 전자 장치들(202 및 204)의 착용 상태에 대한 정보를 획득할 수 있다. 예컨대, 복수의 외부 전자 장치들(202 및 204) 각각에 포함된 센서(276, 286)에 의해 착용 상태가 확인되면, 복수의 외부 전자 장치들(202 및 204) 각각은 전자 장치(201)로 착용 상태에 대한 정보를 전송할 수 있다. 프로세서(220)는, 복수의 외부 전자 장치들(202 및 204) 각각으로부터 수신된 착용 상태에 대한 정보에 기초하여, 복수의 외부 전자 장치들(202 및 204) 각각의 착용 상태를 확인할 수 있다. 또한, 프로세서(220)는, 착용 상태에 대한 정보를 디스플레이(260)를 통해 표시할 수 있다.
다양한 실시 예에 따라, 제1외부 전자 장치(202)는, 제1프로세서(270), 제1통신 모듈(272), 제1스피커(274), 및 제1센서(276)를 포함할 수 있다.
다양한 실시 예에 따라, 제1프로세서(270)는, 제1외부 전자 장치(202)의 전반적인 동작을 제어할 수 있다. 예컨대, 제1프로세서(270)는 도 1의 프로세서(120)와 동일하거나 유사하게 구현될 수 있다.
다양한 실시 예에 따라, 제1프로세서(270)는, 제1통신 모듈(272)을 통해, 전자 장치(201)와 제1통신 링크를 형성하고, 제2외부 전자 장치(204)와 제3통신 링크를 형성할 수 있다.
다양한 실시 예에 따라, 제1프로세서(270)는, 제1통신 링크를 이용하여 전자 장치(201)로부터 제1오디오 데이터(예컨대, 모노 오디오 데이터)를 포함하는 제1오디오 패킷을 수신할 수 있다. 제1프로세서(270)는, 제1오디오 패킷에 기초하여 제1오디오 데이터를 제1스피커(274)를 통해 출력하기 위한 제1동작을 수행할 수 있다. 예컨대, 제1동작은, 제1오디오 패킷을 디코딩하여 제1오디오 데이터를 획득하고, 제1오디오 데이터를 버퍼(예컨대, DSP(digital signal processing) 버퍼)에 라이트(write)하는 동작을 포함할 수 있다. 이후, 제1프로세서(270)는, 제1오디오 패킷에 포함된 싱크 정보에 기초하여, 제1오디오 데이터를 제1스피커(274)를 통해 출력할 수 있다.
다양한 실시 예에 따라, 제1프로세서(270)는, 제1통신 링크를 이용하여 전자 장치(201)로부터 제1오디오 데이터 및 제2오디오 데이터를 포함하는 스테레오 오디오 패킷을 수신할 수 있다. 일 실시 예에 따라, 제1프로세서(270)는, 제1통신 링크를 이용하여 전자 장치(101)로부터 제1오디오 데이터를 포함하는 제1오디오 패킷 및 제2오디오 데이터를 포함하는 제2오디오 패킷을 순차적으로 수신할 수 있다. 이때, 제1프로세서(270)는, 제1오디오 데이터를 제1스피커(274)를 통해 출력하기 위한 제1동작을 수행하고, 제3통신 링크를 이용하여 제2오디오 데이터를 포함하는 제2오디오 패킷을 제2외부 전자 장치(204)로 전송할 수 있다.
다양한 실시 예에 따라, 제1프로세서(270)는, 제1통신 링크를 이용하여 전자 장치(201)로부터 제1오디오 데이터를 수신하지 못한 상태에서(예컨대, 제1통신 링크의 통신 열화 상태), 제3통신 링크를 이용하여 제2외부 전자 장치(204)로부터 제1오디오 패킷을 수신할 수도 있다. 제1프로세서(270)는, 제1오디오 패킷에 포함된 제1오디오 데이터를 제1스피커(274)를 통해 출력하기 위한 제1동작을 수행하고, 제1스피커(274)를 통해 제1오디오 데이터를 출력할 수 있다.
다양한 실시 예에 따라, 제1프로세서(270)는, 제1센서(276)를 통해, 제1외부 전자 장치(202)의 착용 상태에 대한 정보를 획득할 수 있다. 또한, 제1프로세서(270)는, 제1통신 모듈(272)(예컨대, 블루투스 통신 기술을 지원하는 통신 모듈)을 통해 제1외부 전자 장치(202)의 착용 상태에 대한 정보를 전자 장치(201)로 전송할 수 있다. 예컨대, 제1센서(276)는, 근접 센서 및 압력 센서 중 적어도 하나를 포함할 수 있다. 일 실시 예에 따라, 제1프로세서(270)는, 제1센서(276)를 통해, 제1외부 전자 장치(202)의 착용 상태에 대한 정보를 획득하는 경우, 제1통신 모듈(272)을 활성화하고, 제1외부 전자 장치(202)의 착용 상태에 대한 정보를 전자 장치(201)로 전송할 수 있다. 예를 들어, 제1프로세서(270)는, 제1외부 전자 장치(202)가 착용 상태가 아닌 경우, 제1통신 모듈(272)을 비활성화할 수 있다.
다양한 실시 예에 따라, 제2외부 전자 장치(204)는, 제2프로세서(280), 제2통신 모듈(282), 제2스피커(284), 및 제2센서(286)를 포함할 수 있다.
다양한 실시 예에 따라, 제2프로세서(280)는, 제2외부 전자 장치(204)의 전반적인 동작을 제어할 수 있다. 예컨대, 제2프로세서(280)는 도 1의 프로세서(120)와 동일하거나 유사하게 구현될 수 있다.
다양한 실시 예에 따라, 제2프로세서(280)는, 제2통신 링크를 이용하여 전자 장치(201)로부터 제2오디오 데이터(예컨대, 모노 오디오 데이터)를 포함하는 제2오디오 패킷을 수신할 수 있다. 제2프로세서(280)는, 제2오디오 패킷에 기초하여 제2오디오 데이터를 제2스피커(284)를 통해 출력하기 위한 제2동작을 수행할 수 있다. 예컨대, 제2동작은, 제2오디오 패킷을 디코딩하여 제2오디오 데이터를 획득하고, 제2오디오 데이터를 버퍼(예컨대, DSP(digital signal processing) 버퍼)에 라이트하는 동작을 포함할 수 있다. 이후, 제2프로세서(280)는, 제2오디오 패킷에 포함된 싱크 정보에 기초하여, 제2오디오 데이터를 제2스피커(284)를 통해 출력할 수 있다.
다양한 실시 예에 따라, 제2프로세서(280)는, 제2통신 링크를 이용하여 전자 장치(201)로부터 제1오디오 데이터 및 제2오디오 데이터를 포함하는 스테레오 오디오 패킷을 수신할 수 있다. 일 실시 예에 따라, 제2프로세서(280)는, 제2통신 링크를 이용하여 전자 장치(201)로부터 제2오디오 데이터를 포함하는 제2오디오 패킷 및 제1오디오 데이터를 포함하는 제1오디오 패킷을 순차적으로 수신할 수 있다. 이때, 제2프로세서(280)는, 제2오디오 데이터를 제2스피커(284)를 통해 출력하기 위한 제2동작을 수행하고, 제3통신 링크를 이용하여 제1오디오 데이터를 포함하는 제1오디오 패킷을 제1외부 전자 장치(202)로 전송할 수 있다.
다양한 실시 예에 따라, 제2프로세서(280)는, 제2통신 링크를 이용하여 전자 장치(201)로부터 제2오디오 데이터를 수신하지 못한 상태에서(예컨대, 제2통신 링크의 통신 열화 상태), 제3통신 링크를 이용하여 제1외부 전자 장치(202)로부터 제2오디오 패킷을 수신할 수도 있다. 제2프로세서(280)는, 제2오디오 패킷에 포함된 제2오디오 데이터를 제2스피커(284)를 통해 출력하기 위한 제2동작을 수행하고, 제2스피커(384)를 통해 제2오디오 데이터를 출력할 수 있다.
다양한 실시 예에 따라, 제2프로세서(280)는, 제2센서(286)를 통해, 제2외부 전자 장치(204)의 착용 상태에 대한 정보를 획득할 수 있다. 또한, 제2프로세서(280)는, 제2통신 모듈(282)(예컨대, 블루투스 통신 기술을 지원하는 통신 모듈)를 통해 제2외부 전자 장치(204)의 착용 상태에 대한 정보를 전자 장치(201)로 전송할 수 있다. 예컨대, 제2센서(286)는, 근접 센서 및 압력 센서 중 적어도 하나를 포함할 수 있다. 일 실시 예에 따라, 제2프로세서(280)는, 제2센서(286)를 통해, 제2외부 전자 장치(204)의 착용 상태에 대한 정보를 획득하는 경우, 제2통신 모듈(282)을 활성화하고, 제2외부 전자 장치(204)의 착용 상태에 대한 정보를 전자 장치(201)로 전송할 수 있다. 예를 들어, 제2프로세서(280)는, 제2외부 전자 장치(204)가 착용 상태가 아닌 경우, 제2통신 모듈(282)을 비활성화할 수 있다.
한편, 도 2b에서는, 제1외부 전자 장치(202) 및 제2외부 전자 장치(204) 각각이 하나의 스피커(274 및 284)를 포함하는 것으로 도시하고 있으나, 이는 설명의 편의를 위한 것일 뿐, 스피커의 개수는 이에 한정되지 않을 수 있다. 예컨대, 제1외부 전자 장치(202) 및 제2외부 전자 장치(204) 각각은, 복수의 스피커들을 포함할 수도 있다. 일 실시 예에 따르면, 제 1 외부 전자 장치(202) 및 제 2 외부 전자 장치(204) 각각은, 복수의 스피커들을 통해 전자 장치(201)로부터 수신된 오디오 데이터를 출력할 수 있다.
다양한 실시예에 따르면, 제1외부 전자 장치(202) 및/또는 제2외부 전자 장치(204)는 각각 적어도 하나의 마이크(미도시)를 더 포함할 수 있다. 예를 들어, 제1외부 전자 장치(202)는 마이크를 통해 외부의 소리를 수신하고, 제1통신 링크를 통하여 전자 장치(201)로 수신된 소리에 기반한 데이터를 전송할 수 있다. 다른 예를 들어, 제2외부 전자 장치(204)는 마이크를 통해 외부의 소리를 수신하고, 제2통신 링크를 이용하여 전자 장치(201)로 수신된 소리에 기반한 데이터를 전송할 수 있다.
한편, 이하에서 설명하는 전자 장치(201)의 동작들 중 적어도 일부는 프로세서(220)에 의해 수행될 수 있다. 또한, 제1외부 전자 장치(202)의 동작들 중 적어도 일부는 제1프로세서(270)에 의해 수행될 수 있고, 제2외부 전자 장치(204)의 동작들 중 적어도 일부는 제2프로세서(280)에 의해 수행될 수 있다.
이하에서는, 설명의 편의를 위해 제2통신 링크가 통신 열화된 경우를 기반으로, 전자 장치(201), 제1외부 전자 장치(202), 및 제2외부 전자 장치(204)의 동작들을 중점적으로 설명할 것이다. 다만, 본 발명의 기술적 사상은 이에 한정되지 않고, 제1통신 링크가 통신 열화된 경우에도 적용될 수 있다. 예컨대, 제1통신 링크가 통신 열화된 경우, 전자 장치(201)는, 제2외부 전자 장치(204)에게 제1오디오 패킷을 전송하고, 제2외부 전자 장치(204)는 수신된 제1오디오 패킷을 제3통신 링크를 통해 제1외부 전자 장치(202)로 전송(또는 포워딩)하도록 설정될 수 있다.
도 3은, 다양한 실시 예에 따른, 전자 장치의 동작 방법에 대한 플로우 차트이다.
도 3을 참조하면, 다양한 실시 예에 따라, 동작 301에서, 전자 장치(예컨대, 도 2a의 전자 장치(201))는, 통신 모듈(예컨대, 도 2b의 통신 모듈(240))을 이용하여, 제1외부 전자 장치(예컨대, 도 2a의 제1외부 전자 장치(202))와 제1통신 링크를 형성하고, 제2외부 전자 장치(예컨대, 도 2a의 제2외부 전자 장치(204))와 제2통신 링크를 형성할 수 있다.
다양한 실시 예에 따라, 동작 303에서, 전자 장치(201)는, 스테레오 오디오를 출력하는 명령에 기초하여 제1오디오 패킷 및 제2오디오 패킷을 획득(또는 생성)할 수 있다. 예컨대, 전자 장치(201)는, 제1외부 전자 장치(202)와 제2외부 전자 장치(204)를 고려하여, 스테레오 오디오 데이터에서 제1방향의 채널에 대응하는 제1모노 오디오 데이터 및 제2방향의 채널에 대응하는 제2모노 오디오 데이터를 획득할 수 있다. 또한, 전자 장치(201)는, 제1모노 오디오 데이터를 포함하는 제1오디오 패킷과 제2모노 오디오 데이터를 포함하는 제2오디오 패킷을 생성할 수 있다. 예컨대, 전자 장치(201)는, 프로세서(220)에 의해, 프로세서(220)로부터 통신 모듈(240)로 전달되는 SDU(Service data unit)을 획득(또는 생성)할 수 있다. 통신 모듈(240)은 프로세서(220)로부터 SDU를 전달받아, 블루투스 프로토콜(Bluetooth Protocol)에 맞게 SDU를 PDU(Protocol data unit)으로 변경하고, PDU를 제1외부 전자 장치(202) 및 제2외부 전자 장치(204)로 전송하게 됩니다. 블루투스 컨트롤러의 기능을 수행하는 통신 모듈(240)은, 제1통신 링크(link 1)와 제2통신 링크(link 2)를 위한 SDU를 프로세서(220)로부터 각각 수신하고, 제1통신 링크(Link 1) 및 제2통신 링크(Link 2) 각각을 위한 PDU를 획득(또는 생성)할 수 있다. 또는, 통신 모듈(240)은, 프로세서(220)로부터 하나의 스테레오 SDU를 수신하고, 제1통신 링크(Link 1) 및 제2통신 링크(Link 2) 각각을 위한 스테레오 PDU를 획득(또는 생성)할 수도 있다.
다양한 실시 예에 따라, 동작 305에서, 전자 장치(201)는, 제1통신 링크를 이용하여 제1오디오 패킷을 제1외부 전자 장치로 전송하고, 제2통신 링크를 이용하여 제2오디오 패킷을 제2외부 전자 장치로 전송할 수 있다.
다양한 실시 예에 따라, 동작 307에서, 전자 장치(201)는, 제1통신 링크 또는 제2통신 링크 중 어느 하나의 통신 링크의 통신 열화를 확인할 수 있다. 예컨대, 전자 장치(201)는, 외부 전자 장치(202 또는 204)로부터 획득된 수신 신호(예컨대, 응답 신호)의 수신 여부, 수신 신호의 세기, 또는 수신 신호의 노이즈 레벨 중 적어도 하나를 고려하여 통신 링크의 통신 열화를 확인할 수 있다. 예컨대, 전자 장치(201)는, 수신 신호의 세기가 지정된 값보다 작거나 수신 신호의 노이즈 레벨이 지정된 레벨보다 높으면, 해당 통신 링크가 열화되었다고 판단할 수 있다. 일 실시 예에 따라, 전자 장치(201)는, 기설정된 갯수의 제1오디오 패킷 또는 제2오디오 패킷을 전송한 후, 해당 오디오 패킷에 대응하는 응답 신호를 수신하지 못하면, 해당 통신 링크가 열화되었다고 판단할 수 있다. 다른 실시 예에 따라, 전자 장치(201)는, 기설정된 시간 동안 적어도 하나의 제1오디오 패킷 또는 제2오디오 패킷을 전송한 후, 해당 오디오 패킷에 대응하는 응답 신호를 수신하지 못하면, 해당 통신 링크가 열화되었다고 판단할 수 있다. 다른 실시 예에 따라, 전자 장치(201), 적어도 하나의 제1오디오 패킷 또는 제2오디오 패킷을 전송한 후, 해당 오디오 패킷에 대해 제1외부 전자 장치(202) 또는 제2외부 전자 장치(204)로부터 해당 오디오 패킷에 대한 재전송 요청을 지정된 횟수 이상 요청 받는 경우, 해당 통신 링크가 열화 되었다고 판단할 수 있다.
다양한 실시 예에 따라, 동작 309에서, 전자 장치(201)는, 제1통신 링크 또는 제2통신 링크 중 통신 열화가 확인된 통신 링크와 다른 통신 링크를 이용하여 제1오디오 패킷과 제2오디오 패킷을 포함하는 스테레오 오디오 패킷을 전송할 수 있다. 예컨대, 전자 장치(201)는, 제2통신 링크의 통신 열화가 확인되면, 제1통신 링크를 이용하여 제1외부 전자 장치(202)로 제1오디오 패킷과 제2오디오 패킷을 포함하는 스테레오 오디오 패킷을 전송할 수 있다. 다른 예를 들어, 전자 장치(201)는, 제2통신 링크의 통신 열화가 확인되면, 제1통신 링크를 이용하여 제1외부 전자 장치(202)로 제1오디오 패킷과 제2오디오 패킷을 순차적으로 전송할 수 있다. 이는, 제1외부 전자 장치(202)가, 전자 장치(201) 대신에, 제3통신 링크를 이용하여 제2오디오 패킷을 제2외부 전자 장치(204)로 전송하기 위한 것일 수 있다.
도 4는, 다양한 실시 예에 따른, 제1외부 전자 장치가 제2외부 전자 장치로 오디오 패킷을 전송하는 방법을 설명하기 위한 플로우 차트이다.
도 4를 참조하면, 다양한 실시 예에 따라, 동작 401에서, 제1외부 전자 장치(예컨대, 도 2a의 제1외부 전자 장치(202))는, 통신 모듈(예컨대, 도 2b의 제1통신 모듈(272))을 이용하여, 전자 장치(예컨대, 도 2a의 전자 장치(201))와 제1통신 링크를 형성하고, 제2외부 전자 장치(예컨대, 도 2a의 제2외부 전자 장치(204))와 제3통신 링크를 형성할 수 있다.
다양한 실시 예에 따라, 동작 403에서, 제1외부 전자 장치(202)는, 제1통신 링크를 이용하여 전자 장치(201)로부터 제1오디오 패킷을 수신하고, 제1오디오 패킷에 포함된 제1오디오 데이터를 출력하기 위한 제1동작을 수행할 수 있다.
다양한 실시 예에 따라, 동작 405에서, 제1외부 전자 장치(202)는, 제1통신 링크를 이용하여 제1오디오 패킷과 제2오디오 패킷을 포함하는 스테레오 오디오 패킷이 수신되었는지 여부를 확인할 수 있다. 일 실시 예에 따라, 제1외부 전자 장치(202)는, 제1통신 링크를 이용하여 제2오디오 패킷이 수신되었는지 여부를 확인할 수도 있다.
다양한 실시 예에 따라, 스테레오 오디오 패킷(또는 제2오디오 패킷)이 수신되지 않았으면(동작 405의 아니오), 제1외부 전자 장치(202)는, 제1오디오 패킷을 수신하고, 제1오디오 데이터를 출력하기 위한 제1동작을 수행할 수 있다. 예를 들어, 제1동작은, 제1오디오 패킷에 포함된 싱크 정보에 기초하여, 제1오디오 데이터를 스피커(예: 도2b의 제1스피커(274))를 통해 출력하는 동작을 포함할 수 있다. 다른 실시 예에 따르면, 제1외부 전자 장치(202)가 전자 장치(201)로부터 사전에 별도의 지정된 요청 메시지를 수신한 경우, 제1외부 전자 장치(202)는, 스테레오 오디오 패킷의 수신 여부와 무관하게 전자 장치(201)로부터 제1오디오 패킷을 수신하고, 제1동작을 수행할 수 있다. 예컨대, 전자 장치(201), 사용자가 제1외부 전자 장치(202)만 착용한 경우, 제2외부 전자 장치(204)가 제2오디오 패킷을 수신할 수 없는 경우, 및/또는 전자 장치(201)에서 사용자의 설정이 있는 경우에 제정된 요청 메시지를 제1외부 전자 장치(202)로 전송할 수 있다.
다양한 실시 예에 따라, 스테레오 오디오 패킷(또는 제2오디오 패킷)이 수신되었으면(동작 405의 예), 동작 407에서, 제1외부 전자 장치(202)는, 제1동작 수행하고, 제2오디오 패킷을 제2외부 전자 장치로 전송할 수 있다. 예를 들어, 제1외부 전자 장치(202)는, 제1오디오 패킷과 제2오디오 패킷을 포함하는 스테레오 오디오 패킷을 디코딩하여 제2오디오 데이터를 획득하고, 제2오디오 데이터를 포함하는 제2오디오 패킷을 생성할 수 있다. 제1외부 전자 장치(202)는, 제3통신 링크를 이용하여 제2오디오 패킷을 제2외부 전자 장치(204)로 전송할 수 있다. 다른 일 실시 예에 따라, 제1외부 전자 장치(202)는, 제3통신 링크를 이용하여, 전자 장치(201)로부터 수신된 제2오디오 패킷을 제2외부 전자 장치(204)로 전송(또는 포워딩)할 수 있다.
도 5는, 다양한 실시 예에 따른, 제2외부 전자 장치가 제1외부 전자 장치로부터 오디오 패킷을 수신하는 방법을 설명하기 위한 플로우 차트이다.
도 5를 참조하면, 다양한 실시 예에 따라, 동작 501에서, 제2외부 전자 장치(예컨대, 도 2의 제2외부 전자 장치(204))는, 통신 모듈(예: 도 2b의 제2통신 모듈(282))을 이용하여, 전자 장치(예컨대, 도 2의 전자 장치(201))와 제2통신 링크를 형성하고, 제1외부 전자 장치(예컨대, 도 2의 제1외부 전자 장치(202))와 제3통신 링크를 형성할 수 있다.
다양한 실시 예에 따라, 동작 503에서, 제2외부 전자 장치(204)는, 제2통신 링크를 이용하여 전자 장치(201)로부터 제2오디오 패킷을 수신하고, 제2오디오 패킷에 포함된 제2오디오 데이터를 출력하기 위한 제2동작을 수행할 수 있다. 예를 들어, 제2동작은, 제2오디오 패킷에 포함된 싱크 정보에 기초하여, 제2오디오 데이터를 스피커(예: 도 2b의 제2스피커(284))를 통해 출력하는 동작을 포함할 수 있다.
다양한 실시 예에 따라, 동작 505에서, 제2통신 링크의 열화가 발생됨에 따라, 제2외부 전자 장치(204)는 제2통신 링크를 이용하여 전자 장치(201)로부터 제2오디오 패킷을 정상적으로 수신하지 못할 수 있다. 예컨대, 제2통신 링크의 열화는, 전자 장치(201)와 제2외부 전자 장치(204) 사이에 물리적 장애물이나 물리적 거리 차이에 의한 약전계 상황, 수신 품질 저하, 무선 신호 간섭, 및/또는 재전송 횟수 증가로 인해 발생될 수 있다. 제2외부 전자 장치(204)는, 전자 장치(201)로 제2오디오 패킷의 재전송을 요청할 수 있다. 일 실시 예에 따라, 제2외부 전자 장치(204)는, 제2통신 링크의 열화가 발생되면, 제3통신 링크를 통해, 제1외부 전자 장치(202)로 제2오디오 패킷의 전송을 요청할 수도 있다.
다양한 실시 예에 따라, 동작 507에서, 제2외부 전자 장치(204)는, 제3통신 링크를 이용하여 제1외부 전자 장치(202)로부터 제2오디오 패킷을 수신할 수 있다. 이를 통해, 제2외부 전자 장치(204)는, 제2통신 링크의 열화가 발생되더라도, 제1외부 전자 장치(202)를 통해 제2오디오 패킷을 수신할 수 있다. 일 실시 예에 따라, 제2외부 전자 장치(204)는 제1외부 전자 장치(202)를 통해 제2오디오 패킷을 수신하고, 제2오디오 패킷에 포함된 제2오디오 데이터를 출력하기 위한 제2동작을 수행할 수 있다.
도 6은, 다양한 실시 예에 따른, 전자 장치의 동작 방법에 대한 플로우 차트이다.
도 6을 참조하면, 다양한 실시 예에 따라, 동작 601에서, 전자 장치(예컨대, 도 2의 전자 장치(201))는, 제2통신 링크의 열화를 확인한 후, 제1통신 링크를 이용하여 스테레오 오디오 패킷(또는, 제1오디오 패킷과 제2오디오 패킷)을 제1외부 전자 장치(예컨대, 도 2의 제1외부 전자 장치(202))로 전송할 수 있다.
다양한 실시 예에 따라, 동작 603에서, 전자 장치(201)는, 제2통신 링크의 열화를 확인한 후에도, 제2통신 링크를 이용하여 제2오디오 패킷을 제2외부 전자 장치(예컨대, 도 2a의 제2외부 전자 장치(204))로 전송할 수 있다. 예컨대, 전자 장치(201)는, 제2통신 링크의 연결 상태를 확인하기 위해 지정된 갯수의 제2오디오 패킷을 제2외부 전자 장치(204)로 전송할 수 있다. 예컨대, 전자 장치(201)는, 제2통신 링크의 연결 상태를 확인하기 위해 지정된 시간 동안(예컨대, 계속, 일정 시간, 또는 일회성으로) 제2오디오 패킷을 제2외부 전자 장치(204)로 전송할 수도 있다.
다른 실시 예에 따라, 전자 장치(201)는, 제2통신 링크의 열화를 확인한 후, 제2통신 링크를 이용하여 제2오디오 패킷 대신 제2통신 링크의 연결 상태를 확인하기 위한 지정된 패킷을 제2외부 전자 장치(204)로 전송할 수도 있다.
다양한 실시 예에 따라, 동작 605에서, 전자 장치(201)는 제2외부 전자 장치(204)로부터 제2오디오 패킷에 대응하는 응답 신호를 수신하였는지 여부를 확인할 수 있다.
다양한 실시 예에 따라, 제2외부 전자 장치(204)로부터 제2오디오 패킷에 대응하는 응답 신호가 수신되지 않았으면(동작 605의 아니오), 전자 장치(201)는, 제1통신 링크를 이용하여 스테레오 오디오 패킷(또는, 제1오디오 패킷과 제2오디오 패킷)을 제1외부 전자 장치(예컨대, 도 2a의 제1외부 전자 장치(202))로 전송할 수 있다.
다양한 실시 예에 따라, 제2외부 전자 장치(204)로부터 제2오디오 패킷에 대응하는 응답 신호가 수신되었으면(동작 605의 예), 동작 607에서, 전자 장치(201)는, 제1통신 링크를 이용하여 제1외부 전자 장치(202)로 제1오디오 패킷을 전송하고, 제2통신 링크를 이용하여 제2외부 전자 장치(204)로 제2오디오 패킷을 전송할 수 있다. 예컨대, 전자 장치(201)는, 제2외부 전자 장치(204)로부터 제2오디오 패킷에 대응하는 응답 신호가 수신되면, 제2통신 링크가 정상적인 상태인 것으로 판단할 수 있다. 전자 장치(201)는, 제1통신 링크를 이용하여 스테레오 오디오 패킷(또는, 제2오디오 패킷)을 제1외부 전자 장치(202)로 전송하지 않을 수 있다. 예를 들어, 제1통신 링크를 이용하여 제1외부 전자 장치(202)로 제1오디오 패킷을 전송하고, 제2통신 링크를 이용하여 제2외부 전자 장치(204)로 제2오디오 패킷을 전송할 수 있다.
일 실시 예에 따르면, 전자 장치(201)는 제2외부 전자 장치(204)와의 제2통신 링크가 정상적인 상태인지 확인하기 위한 별도의 패킷을 제2통신 링크를 통해 제2외부 전자 장치로 전송할 수 있다. 예를 들어, 전자 장치는 제2외부 전자 장치(204)로 지정된 주기로 제2통신 링크의 상태를 확인하기 위한 패킷을 전송할 수 있다. 전자 장치(201)는 상기 패킷에 대한 응답에 기반하여 제2통신 링크의 상태를 확인할 수 있다.
도 7a 및 도 7b는, 다양한 실시 예에 따른, 전자 장치가 복수의 외부 전자 장치들로 오디오 패킷을 전송하는 방법을 설명하기 위한 도면들이다.
도 7a를 참조하면, 다양한 실시 예에 따라, 동작 701에서, 전자 장치(201)는, 제1외부 전자 장치(202)와 제1통신 링크를 형성하고, 제2외부 전자 장치(204)와 제2통신 링크를 형성할 수 있다. 또한, 제1외부 전자 장치(202)는, 제2외부 전자 장치(204)와 제3통신 링크를 형성할 수 있다.
다양한 실시 예에 따라, 동작 703에서, 전자 장치(201)는, 스테레오 오디오를 출력하는 명령을 확인할 수 있다. 전자 장치(201)는, 스테레오 오디오를 출력하는 명령에 기초하여, 스테레오 오디오 데이터에 대한 제1오디오 데이터와 제2오디오 데이터를 획득할 수 있다. 또한, 전자 장치(201)는, 제1오디오 데이터를 포함하는 제1오디오 패킷 및 제2오디오 데이터를 포함하는 제2오디오 패킷을 획득할 수 있다.
다양한 실시 예에 따라, 동작 705에서, 전자 장치(201)는, 제1통신 링크를 이용하여 제1시간 구간의 제1오디오 패킷을 제1외부 전자 장치(202)로 전송할 수 있다. 동작 706에서, 전자 장치(201)는, 제1시간 구간의 제1오디오 패킷에 대응하는 응답 신호(ACK 신호)를 수신할 수 있다. 동작 707에서, 전자 장치(201)는, 제2통신 링크를 이용하여 제1시간 구간의 제2오디오 패킷을 제2외부 전자 장치(204)로 전송할 수 있다. 동작 708에서, 전자 장치(201)는, 제1시간 구간의 제2오디오 패킷에 대응하는 응답 신호(ACK 신호)를 수신할 수 있다.
다양한 실시 예에 따라, 동작 709에서, 전자 장치(201)는, 제1통신 링크를 이용하여 제2시간 구간의 제1오디오 패킷을 제1외부 전자 장치(202)로 전송할 수 있다. 동작 710에서, 전자 장치(201)는, 제2시간 구간의 제1오디오 패킷에 대응하는 응답 신호(ACK 신호)를 수신할 수 있다. 동작 711에서, 전자 장치(201)는, 제2통신 링크를 이용하여 제2시간 구간의 제2오디오 패킷을 제2외부 전자 장치(204)로 전송할 수 있다. 예컨대, 전자 장치(201)는, 제2시간 구간의 제2오디오 패킷에 대응하는 응답 신호(ACK 신호)를 수신하지 못할 수 있다. 예컨대, 응답 신호(ACK 신호)를 수신하지 못한 것은, 해당 패킷을 전송한 후 비응답 신호(NACK 신호)를 수신하거나 해당 패킷을 전송한 후 아무 응답 신호도 수신하지 못한 경우를 포함할 수 있다.
다양한 실시 예에 따라, 동작 713에서, 전자 장치(201)는, 제2시간 구간의 제2오디오 패킷에 대응하는 응답 신호(ACK 신호)를 수신하지 못한 것에 기초하여, 제2통신 링크의 열화가 발생된 것을 확인할 수 있다. 예를 들어, 지정된 시간 동안 제2시간 구간의 제2오디오 패킷에 대응하는 응답 신호(ACK 신호)를 수신하지 못하거나 또는 지정된 횟수 이상으로 제2시간 구간의 제2오디오 패킷을 재전송을 수행함에 기반하여 제2통신 링크의 열화가 발생된 것을 확인할 수 있다.
다양한 실시 예에 따라, 동작 715에서, 전자 장치(201)는, 제1통신 링크를 이용하여 제1외부 전자 장치(202)로 제3시간 구간의 스테레오 오디오 패킷을 전송할 수 있다. 예컨대, 스테레오 오디오 패킷은, 제3시간 구간의 제1오디오 데이터 및 제2오디오 데이터를 포함할 수 있다. 또는, 전자 장치(201)는, 제1통신 링크를 이용하여 제1외부 전자 장치(202)로 제3시간 구간의 제1오디오 패킷과 제2오디오 패킷을 순차적으로 전송할 수 있다. 동작 716에서, 전자 장치(201)는, 제3시간 구간의 스테레오 오디오 패킷에 대응하는 응답 신호(ACK 신호)를 수신할 수 있다. 다른 실시 예에 따라, 동작 715에서, 전자 장치(201)는, 제1통신 링크를 이용하여 제1외부 전자 장치(202)로 제2시간 구간의 스테레오 오디오 패킷을 전송할 수도 있다. 이때, 스테레오 오디오 패킷은, 제2시간 구간의 제1오디오 데이터 및 제2오디오 데이터를 포함할 수 있다. 예를 들어, 전자 장치(201)는, 제1외부 전자 장치(202)와 제2외부 전자 장치(204)의 버퍼가 300ms이고 제2통신 링크의 열화가 150ms만 발생한 경우, 제2시간 구간의 제2오디오 패킷을 포함하는 제2시간 구간의 스테레오 오디오 패킷을 전송할 수 있다. 반면에, 전자 장치(201)는, 제2통신 링크의 열화가 300ms를 넘는 경우, 제2오디오 패킷의 재전송을 포기하고, 제3시간 구간의 스테레오 오디오 패킷을 전송할 수 있다.
다양한 실시 예에 따라, 동작 717에서, 전자 장치(201)는, 제2통신 링크의 상태를 확인하기 위해, 제2통신 링크를 이용하여 제3시간 구간의 제2오디오 패킷을 제2외부 전자 장치(204)로 전송할 수 있다.
다양한 실시 예에 따라, 제1외부 전자 장치(202)는, 스테레오 오디오 패킷에 포함된 제2오디오 데이터에 기초하여 제3시간 구간의 제2오디오 패킷을 획득할 수 있다. 다른 실시 예에 따라, 제1외부 전자 장치(202)는, 전자 장치(201)로부터 제3시간 구간의 제2오디오 패킷을 수신할 수도 있다. 동작 719에서, 제1외부 전자 장치(202)는, 제3통신 링크를 이용하여 제2외부 전자 장치(204)로 제3시간 구간의 제2오디오 패킷을 전송(또는 포워딩)할 수 있다. 동작 720에서, 제1외부 전자 장치(202)는, 제3시간 구간의 제2오디오 패킷에 대응하는 응답 신호(ACK 신호)를 수신할 수 있다.
이를 통해, 전자 장치(201)는, 제2통신 링크의 열화가 발생되더라도, 제1외부 전자 장치(202)를 통해 제2오디오 패킷을 제2외부 전자 장치(204)로 전송할 수 있다.
도 7b를 참조하면, 다양한 실시 예에 따라, 동작 751에서, 전자 장치(201)는, 제1외부 전자 장치(202)와 제1통신 링크를 형성하고, 제2외부 전자 장치(204)와 제2통신 링크를 형성할 수 있다. 또한, 제1외부 전자 장치(202)는, 제2외부 전자 장치(204)와 제3통신 링크를 형성할 수 있다.
다양한 실시 예에 따라, 동작 753에서, 전자 장치(201)는, 제2통신 링크의 열화가 발생된 것을 확인할 수 있다.
다양한 실시 예에 따라, 동작 755에서, 전자 장치(201)는, 제1통신 링크를 이용하여 제1외부 전자 장치(202)로 제4시간 구간의 스테레오 오디오 패킷을 전송할 수 있다. 예컨대, 스테레오 오디오 패킷은, 제4시간 구간의 제1오디오 데이터 및 제2오디오 데이터를 포함할 수 있다. 또는, 전자 장치(201)는, 제1통신 링크를 이용하여 제1외부 전자 장치(202)로 제4시간 구간의 제1오디오 패킷과 제2오디오 패킷을 순차적으로 전송할 수 있다. 동작 756에서, 전자 장치(201)는, 제4시간 구간의 스테레오 오디오 패킷에 대응하는 응답 신호(ACK 신호)를 수신할 수 있다.
다양한 실시 예에 따라, 동작 757에서, 전자 장치(201)는, 제2통신 링크의 상태를 확인하기 위해, 제2통신 링크를 이용하여 제4시간 구간의 제2오디오 패킷을 제2외부 전자 장치(204)로 전송할 수 있다. 일 실시 예에 따르면, 전자 장치(201)는, 제2통신 링크의 열화로 인해, 제2통신 링크를 이용하여 전송한 제4시간 구간의 제2오디오 패킷에 대한 응답 신호(ACK신호)를 제2외부 전자 장치(204)로부터 수신하지 못할 수 있다. 다른 실시 예에 따라, 전자 장치(201)는, 제2외부 전자 장치와 의 제2통신 링크가 열화 상태에서 정상적인 상태로 복구됨을 확인하기 위한 다양한 방법들이 적용되 수 있다. 예컨대, 전자 장치(201)는, 제2오디오 패킷 대신 빈 패킷(empty packet)을 포함하는 제2통신 링크의 통신 통신 상태를 확인하기 위한 패킷을 제2외부 전자 장치(204)로 전송할 수도 있다. 또는, 제2외부 전자 장치(204)가 자체적으로 제2통신 링크의 상태를 판단하고, 제2통신 링크의 상태에 대한 정보를 직접 전자 장치(201)로 전송하거나 제1외부 전자 장치(202)를 통해 전자 장치(201)로 전송할 수도 있다.
다양한 실시 예에 따라, 제1외부 전자 장치(202)는, 스테레오 오디오 패킷에 포함된 제2오디오 데이터에 기초하여 제4시간 구간의 제2오디오 패킷을 획득할 수 있다. 다른 일 실시 예에 따라, 제1외부 전자 장치(202)는, 전자 장치(201)로부터 제4시간 구간의 제2오디오 패킷을 수신할 수도 있다. 동작 759에서, 제1외부 전자 장치(202)는, 제3통신 링크를 이용하여 제2외부 전자 장치(204)로 제4시간 구간의 제2오디오 패킷을 전송(또는 포워딩)할 수 있다. 동작 760에서, 제1외부 전자 장치(202)는, 제4시간 구간의 제2오디오 패킷에 대응하는 응답 신호(ACK 신호)를 수신할 수 있다.
다양한 실시 예에 따라, 동작 761에서, 전자 장치(201)는, 제1통신 링크를 이용하여 제1외부 전자 장치(202)로 제5시간 구간의 스테레오 오디오 패킷을 전송할 수 있다. 다른 일 실시 예에 따라, 전자 장치(201)는, 제1통신 링크를 이용하여 제1외부 전자 장치(202)로 제5시간 구간의 제1오디오 패킷과 제2오디오 패킷을 순차적으로 전송할 수 있다. 동작 762에서, 전자 장치(201)는, 제5시간 구간의 스테레오 오디오 패킷에 대응하는 응답 신호(ACK 신호)를 수신할 수 있다.
다양한 실시 예에 따라, 동작 763에서, 전자 장치(201)는, 제2통신 링크의 상태를 확인하기 위해, 제2통신 링크를 이용하여 제5시간 구간의 제2오디오 패킷을 제2외부 전자 장치(204)로 전송할 수 있다. 동작 764에서, 전자 장치(201)는, 제2외부 전자 장치(204)로부터 제5시간 구간의 제2오디오 패킷에 대응하는 응답 신호(ACK 신호)를 수신할 수 있다. 예컨대, 전자 장치(201)는, 제2외부 전자 장치(204)로부터 제5시간 구간의 제2오디오 패킷에 대응하는 응답 신호(ACK 신호)가 수신된 것에 기초하여, 제2통신 링크가 정상적인 상태인 것으로 판단할 수 있다.
다양한 실시 예에 따라, 동작 765에서, 제1외부 전자 장치(202)는, 제2통신 링크를 이용하여 제2외부 전자 장치(204)로 제5시간 구간의 제2오디오 패킷을 전송(또는 포워딩)할 수 있다. 동작 766에서, 제1외부 전자 장치(202)는, 제5시간 구간의 제2오디오 패킷에 대응하는 응답 신호(ACK 신호)를 수신할 수 있다. 다만, 동작 763에서 이미 제5시간 구간의 제2오디오 패킷이 제2외부 전자 장치(204)에 의해 수신되었기 때문에, 제2외부 전자 장치(204)는, 제1외부 전자 장치(202)로부터 수신된 제5시간 구간의 제2오디오 패킷을 폐기시키거나 무시할 수 있다.
다양한 실시 예에 따라, 동작 777에서, 전자 장치(201)는, 제1통신 링크를 이용하여 제6시간 구간의 제1오디오 패킷을 제1외부 전자 장치(202)로 전송할 수 있다. 예를 들어, 제2통신 링크의 열화가 해소되었기 때문에, 전자 장치(201)는, 제1통신 링크를 이용하여 스테레오 오디오 패킷(또는, 제2오디오 패킷)을 제1외부 전자 장치(202)로 전송하지 않을 수 있다. 동작 778에서, 전자 장치(201)는, 제6시간 구간의 제1오디오 패킷에 대응하는 응답 신호(ACK 신호)를 수신할 수 있다. 동작 779에서, 전자 장치(201)는, 제2통신 링크를 이용하여 제6시간 구간의 제2오디오 패킷을 제2외부 전자 장치(204)로 전송할 수 있다. 동작 780에서, 전자 장치(201)는, 제6시간 구간의 제2오디오 패킷에 대응하는 응답 신호(ACK 신호)를 수신할 수 있다.
도 8은, 다양한 실시 예에 따른, 전자 장치가 복수의 외부 전자 장치들로 오디오 패킷을 전송하기 위한 방법을 설명하기 위한 도면이다.
다양한 실시 예에 따라, 동작 810에서, 전자 장치(201)는 외부 전자 장치들(예컨대, 도 2a의 외부 전자 장치들(202 및 204)) 각각과 연결하는 동작을 수행할 수 있다. 예컨대, 전자 장치(201)는 외부 전자 장치들(202 및 204) 각각과 BLE 통신 기술을 이용하여 통신 링크를 형성할 수 있다. 예컨대, 전자 장치(201)는, BLE 스캔 동작을 수행하고, 제1외부 전자 장치(202)로부터 어드버타이즈먼트 신호를 수신하고, 수신된 어드버타이즈먼트 신호에 기초하여 제1외부 전자 장치(202)와 제1통신 링크를 형성할 수 있다. 또한, 전자 장치(201)는, BLE 스캔 동작을 수행하고, 제2외부 전자 장치(204)로부터 어드버타이즈먼트 신호를 수신하고, 수신된 어드버타이즈먼트 신호에 기초하여 제2외부 전자 장치(204)와 제2통신 링크를 형성할 수 있다. 전자 장치(201)는, 외부 전자 장치들(202 및 204) 각각과 통신 링크를 형성하면서, 외부 전자 장치들(202 및 204) 각각의 오디오 채널 역할(audio channel role)를 확인할 수 있다. 예컨대, 전자 장치(201)는, 제1외부 전자 장치(202)로부터 수신된 신호(예컨대, 어드버타이즈먼트 신호)에 기초하여, 제1외부 전자 장치(202)가 제1방향의 오디오 채널에 대응하는 장치인 것으로 확인할 수 있다. 또한, 전자 장치(201)는, 제2외부 전자 장치(204)로부터 수신된 신호(예컨대, 어드버타이즈먼트 신호)에 기초하여, 제2외부 전자 장치(204)가 제2방향의 오디오 채널에 대응하는 장치인 것으로 확인할 수 있다. 일 실시 예에 따른, 전자 장치(201)는, 외부 전자 장치들(202 및 204) 각각과 통신 링크를 형성한 후, 외부 전자 장치들(202 및 204) 각각의 오디오 채널 역할(audio channel role)을 확인할 수도 있다. 일 실시 예에 따르면, 제1외부 전자 장치(202)와 제2외부 전자 장치(204)는 전자 장치(201)와 통신 링크(예: 도 2a의 제1링크 및 제2링크)를 형성하기 전에, 두 장치 간에 통신 링크(예: 도 2a의 제3링크)를 형성할 수 있다. 예를 들어, 제1외부 전자 장치(202)와 제2외부 전자 장치(204)는 전자 장치(201)와 통신 링크를 형성하기 전에, 각각의 오디오 채널 역할이 정해질 수 있다.
다양한 실시 예에 따라, 동작 820에서, 전자 장치(201)는 외부 전자 장치들(202 및 204) 각각과 통신 링크를 유지하면서, 대기 상태에서 동작을 수행할 수 있다. 예컨대, 대기 상태는, 전자 장치(201)가 외부 전자 장치들(202 및 204) 각각과 통신 링크(예컨대, BLE 링크)를 형성한 상태로, 외부 전자 장치들(202 및 204) 각각과 독립적으로 연결을 유지하면서 동작하고 있는 상태를 의미할 수 있다. 전자 장치(201)는 외부 전자 장치들(202 및 204) 각각의 통신 링크(예컨대, BLE 링크)를 통해 오디오 패킷을 전송하기 위한 시간을 설정할 수 있다. 예컨대, 전자 장치(201)는, 제1시간 구간(예컨대, ISO interval)에서, 제1통신 링크를 통해 제1외부 전자 장치(202)로 제1오디오 패킷을 전송하기 위한 제1시간(제1서브 구간)을 설정하고, 제2통신 링크를 통해 제2외부 전자 장치(204)로 제2오디오 패킷을 전송하기 위한 제2시간(제2서브 구간)을 설정할 수 있다.
다양한 실시 예에 따라, 동작 830에서, 전자 장치(201)는, 스테레오 오디오 출력 동작을 시작하는 동작을 수행할 수 있다. 스테레오 오디오 출력 동작을 시작하는 단계는, 외부 전자 장치들(202 및 204) 각각의 통신 링크 상에서 동기화된 AoBLE 서비스를 시작하겠다는 구간을 의미할 수 있다. 이후, 전자 장치(201)는, AoBLE 서비스가 오픈되면, 스테레오 오디오 출력이 시작됨을 알리는 패킷(AS 서비스 시작 패킷)을 외부 전자 장치들(202 및 204) 각각으로 전송할 수 있다. 예컨대, 스테레오 오디오 출력이 시작됨을 알리는 패킷은, 싱크(sync)를 맞출 수 있는 외부 전자 장치들(202 및 204) 각각의 출력 지연(Delay)값, 패킷 타입(packet type), 및 인터벌(interval)에 대한 파라미터들을 포함할 수 있다. 전자 장치(201)는, 외부 전자 장치들(202 및 204) 각각의 오디오 채널 역할(audio channel role)에 기초하여, 스테레오 오디오 데이터에 대한 제1오디오 데이터(또는 제1오디오 패킷)와 제2오디오 데이터(또는 제2오디오 패킷)를 생성할 수 있다. 제1오디오 데이터는, 제1방향의 오디오 채널에 대응하는 모노 오디오 데이터일 수 있고, 제2오디오 데이터는, 제2방향의 오디오 채널에 대응하는 모노 오디오 데이터일 수 있다.
다양한 실시 예에 따라, 동작 840에서, 전자 장치(201)는, 외부 전자 장치들(202 및 204) 각각으로 오디오 패킷을 전송하는 동작을 수행할 수 있다. 예컨대, 전자 장치(201)는, 지정된 시간 구간 별로, 제1통신 링크를 이용하여 제1오디오 데이터를 포함하는 제1오디오 패킷(AU1)을 제1외부 전자 장치(202)로 전송하고, 제2통신 링크를 이용하여 제2오디오 데이터를 포함하는 제2오디오 패킷(AU2)을 제2외부 전자 장치(204)로 전송할 수 있다.
도 9와 도 10은, 다양한 실시 예에 따른, 전자 장치가 제1외부 전자 장치로 스테레오 오디오 패킷을 전송하는 방법을 설명하기 위한 도면이다.
도 9를 참조하면, 전자 장치(201)는, 제1통신 링크를 이용하여 제1시간 구간의 제1오디오 패킷(AU1-1)을 제1외부 전자 장치(202)로 전송할 수 있다. 전자 장치(201)는, 제1시간 구간의 제1오디오 패킷(AU1-1)에 대응하는 응답 신호(ACK1-1)를 수신할 수 있다. 전자 장치(201)는, 제2통신 링크를 이용하여 제1시간 구간의 제2오디오 패킷(AU1-2)을 제2외부 전자 장치(204)로 전송할 수 있다. 일 실시 예에서, 제2통신 링크가 열화 상태인 경우, 전자 장치(201)는 제2시간 구간의 제2오디오 패킷에 대응하는 응답 신호(ACK 신호)를 제2외부 전자 장치(204)로부터 수신하지 못할 수 있다. 예를 들어, 제2통신 링크가 열화 상태인 경우, 제2외부 전자 장치(204)는 전자 장치(201)로부터 제2시간 구간의 제2오디오 패킷을 수신하지 못할 수 있다. 다른 예를 들어, 제2통신 링크가 열화 상태인 경우, 전자 장치(201)는 제2외부 전자 장치(204)로부터 제2시간 구간의 제2오디오 패킷에 대응하는 응답 신호(ACK 신호)를 수신하지 못할 수 있다.
다양한 실시 예에 따라, 전자 장치(201)는, 제1시간 구간의 제2오디오 패킷(AU1-2)에 대응하는 응답 신호(ACK 신호)를 제2외부 전자 장치(204)로부터 수신하지 못한 것에 기초하여, 제2통신 링크의 열화가 발생된 것을 확인할 수 있다. 예컨대, 전자 장치(201)는, 기설정된 갯수의 제1시간 구간의 제2오디오 패킷(AU1-2)을 재전송하고 이에 대응하는 응답 신호(ACK 신호)를 제2외부 전자 장치(204)로부터 수신하지 못한 것에 기초하여, 제2통신 링크의 열화가 발생된 것을 확인할 수 있다. 다른 예를 들어, 전자 장치(201)는, 기설정된 시간 동안, 제1시간 구간의 제2오디오 패킷(AU1-2)을 재전송하고 이에 대응하는 응답 신호(ACK 신호)를 제2외부 전자 장치(204)로부터 수신하지 못한 것에 기초하여, 제2통신 링크의 열화가 발생된 것을 확인할 수 있다.
다양한 실시 예에 따라, 전자 장치(201)는, 제1통신 링크를 이용하여 제1외부 전자 장치(202)로 제2시간 구간의 스테레오 오디오 패킷(SAU)을 전송할 수 있다. 예컨대, 전자 장치(201)는, 제2시간 구간의 제1서브 구간에서 스테레오 오디오 패킷(SAU)을 전송할 수 있다. 예컨대, 스테레오 오디오 패킷(SAU)은, 제2시간 구간의 제1오디오 데이터 및 제2오디오 데이터를 포함할 수 있다. 전자 장치(201)는, 제2시간 구간의 스테레오 오디오 패킷(SAU)에 대응하는 응답 신호(ACK2)를 제1 통신 링크를 통해 제1외부 전자 장치(202)로부터 수신할 수 있다.
다른 실시 예에 따라, 전자 장치(201)는, 제1통신 링크를 이용하여 제1외부 전자 장치(202)로 제1시간 구간의 스테레오 오디오 패킷을 전송할 수 있다. 예컨대, 전자 장치(201)는, 제2외부 전자 장치(204)가 제1시간 구간의 제2오디오 패킷(AU1-2)을 수신하지 못한 후 기설정된 시간이 도과되지 않은 경우, 제1외부 전자 장치(202)로 기존의 제1시간 구간의 제1오디오 데이터 및 제2오디오 데이터를 포함하는 스테레오 오디오 패킷을 제1외부 전자 장치(202)로 전송할 수 있다. 또 다른 실시 예에 따라, 전자 장치(201)는, 제2외부 전자 장치(204)가 제1시간 구간의 제2오디오 패킷(AU1-2)을 수신하지 못한 후 기설정된 시간이 도과된 경우, 제1외부 전자 장치(202)로 새롭게 전송할 제2시간 구간의 제1오디오 데이터 및 제2오디오 데이터를 포함하는 스테레오 오디오 패킷(SAU)을 제1외부 전자 장치(202)로 전송할 수 있다.
다양한 실시 예에 따라, 전자 장치(201)는, 제2통신 링크의 상태를 확인하기 위해, 제2통신 링크를 이용하여 제2시간 구간의 제2오디오 패킷(AU2-2)을 제2외부 전자 장치(204)로 전송할 수 있다. 예를 들어, 전자 장치(201)는 제1 통신 링크에 할당된 시간 구간에 제1외부 전자 장치(202)로 스테레오 오디오 패킷(SAU)을 전송하고, 제2 통신 링크에 할당된 시간 구간에 제2외부 전자 장치(204)로 제2시간 구간의 제2오디오 패킷(AU2-2)을 전송할 수 있다.
다양한 실시 예에 따라, 제1외부 전자 장치(202)는, 스테레오 오디오 패킷에 포함된 제2오디오 데이터에 기초하여 제2시간 구간의 제2오디오 패킷(AU2-2)을 획득하고, 제3통신 링크를 이용하여 제2시간 구간의 제2오디오 패킷(AU2-2)을 제2외부 전자 장치(204)로 전송할 수 있다. 일 실시 예에 따라, 제1외부 전자 장치(202)는, 전자 장치(201)가 제1외부 전자 장치(202)로 제1오디오 데이터 및/또는 스테레오 오디오 패킷(SAU)을 전송하는 시간 및 전자 장치(201)가 제2외부 전자 장치(204)로 제2오디오 데이터를 전송하는 시간과 중복되지 않는 시간 구간에, 제3통신 링크를 통해, 제2외부 전자 장치(204)로 제2시간 구간의 제2오디오 패킷을 전송할 수 있다.
도 10을 참조하면, 전자 장치(201)는 제1오디오 패킷과 제2오디오 패킷을 순차적으로 제1외부 전자 장치(202)로 전송할 수 있다.
다양한 실시 예에 따라, 도 9와 비교할 때, 전자 장치(201)는, 제2통신 링크의 통신 열화가 확인되는 것에 응답하여, 제1외부 전자 장치(202)로 스테레오 오디오 패킷(SAU)를 전송하지 않고 제1오디오 패킷(AU1-2)과 제2오디오 패킷(AU2-2)을 순차적으로 제1외부 전자 장치(202)로 전송할 수 있다. 제1외부 전자 장치(202)는, 제3통신 링크를 이용하여 전자 장치(201)로부터 수신된 제2오디오 패킷(AU2-2)을 제2외부 전자 장치(204)로 포워딩할 수 있다.
도 11은, 다양한 실시 예에 따른, 전자 장치가 복수의 외부 전자 장치들로 오디오 패킷을 전송하는 방법을 설명하기 위한 도면이다.
도 11을 참조하면, 전자 장치(201)는, 제2통신 링크의 열화가 발생된 것에 기반하여, 제1통신 링크를 이용하여 제1외부 전자 장치(202)로 제1시간 구간의 스테레오 오디오 패킷(SAU1)을 전송할 수 있다. 예컨대, 스테레오 오디오 패킷(SAU1)은, 제1시간 구간의 제1오디오 데이터 및 제2오디오 데이터를 포함할 수 있다. 일 실시 예에서, 전자 장치(201)는, 제2통신 링크의 상태를 확인하기 위해, 제2통신 링크를 이용하여 제1시간 구간의 제2오디오 패킷(AU2-1)을 제2외부 전자 장치(204)로 전송할 수 있다. 다만, 제2외부 전자 장치(204)는, 제2통신 링크의 열화로 인해, 전자 장치(201)로부터 제1시간 구간의 제2오디오 패킷(AU2-1)을 정상적으로 수신하지 못할 수 있다.
다양한 실시 예에 따라, 제1외부 전자 장치(202)는, 제1시간 구간의 스테레오 오디오 패킷(SAU1)에 포함된 제2오디오 데이터에 기초하여 제1시간 구간의 제2오디오 패킷을 획득할 수 있다. 제1외부 전자 장치(202)는, 제3통신 링크를 이용하여 제2외부 전자 장치(204)로 제1시간 구간의 제2오디오 패킷(AU2-1)을 전송할 수 있다.
다양한 실시 예에 따라, 전자 장치(201)는, 제1통신 링크를 이용하여 제1외부 전자 장치(202)로 제2시간 구간의 스테레오 오디오 패킷(SAU2)을 전송할 수 있다. 또한, 전자 장치(201)는, 제2통신 링크의 상태를 확인하기 위해, 제2통신 링크를 이용하여 제2시간 구간의 제2오디오 패킷(AU2-2)을 제2외부 전자 장치(204)로 전송할 수 있다. 일 실시 예에서, 제2통신 링크가 열화 상태에서 벗어나는 경우, 전자 장치(201)는, 제2외부 전자 장치(204)로부터 제2시간 구간의 제2오디오 패킷(AU2-2)에 대응하는 응답 신호(ACK2-2)를 수신할 수 있다. 예컨대, 전자 장치(201)는, 응답 신호(ACK2-2)가 수신된 것에 기초하여, 제2통신 링크가 정상적인 상태인 것으로 판단할 수 있다.
다양한 실시 예에 따라, 제1외부 전자 장치(202)는, 제3통신 링크를 이용하여 제2외부 전자 장치(204)로 제2시간 구간의 제2오디오 패킷(AU2-2)을 전송할 수 있다. 다만, 제2외부 전자 장치(204)가 이미 제2시간 구간의 제2오디오 패킷(AU2-2)을 수신하였기 때문에, 제2외부 전자 장치(204)는 제1외부 전자 장치(202)로 제2시간 구간의 제2오디오 패킷(AU2-2)에 대한 응답 신호(예: ACK 신호)를 전송하고, 제1외부 전자 장치(202)로부터 수신한 제2시간 구간의 제2오디오 패킷(AU2-2)을 폐기시키거나 무시할 수 있다.
다양한 실시 예에 따라, 전자 장치(201)는, 제1통신 링크를 이용하여 제3시간 구간의 제1오디오 패킷(AU1-3)을 제1외부 전자 장치(202)로 전송할 수 있다. 전자 장치(201)는, 제2통신 링크를 이용하여 제3시간 구간의 제2오디오 패킷(AU2-3)을 제2외부 전자 장치(204)로 전송할 수 있다. 즉, 제2통신 링크의 열화가 해소되었기 때문에, 전자 장치(201)는, 제1통신 링크를 이용하여 스테레오 오디오 패킷을 제1외부 전자 장치(202)로 전송하지 않을 수 있다.
한편, 상술한 내용은, 설명의 편의를 위해 전자 장치(201)가 두 개의 외부 전자 장치들(202 및 204)과 연결하여 오디오 패킷을 전송하는 실시 예들을 설명하였으나, 본 발명의 기술적 사상은 이에 한정되지 않을 수 있다.
다양한 실시 예에 따르면, 전자 장치(201)는 2개 이상의 외부 전자 장치들과 연결될 수 있다. 예를 들어, 전자 장치는 6개 이상의 외부 전자 장치들과 연결되어 5.1CH 오디오를 제공할 수 있다. 전자 장치(201)는 5.1CH의 오디오를 제공하기 위해 각각의 외부 전자 장치들의 오디오 채널 역할(audio channel role)(예: left, right, centre, left rear, right rear, 및 bass)을 확인하고, 각각의 외부 전자 장치들로 모노 오디오 패킷을 전송할 수 있다. 전자 장치(201)는 복수의 외부 전자 장치들 중 하나(예: left)로부터 응답 신호를 수신하지 못하는 경우, 다른 외부 전자 장치(예: centre)로 스테레오 오디오 패킷을 전송할 수 있다.
다양한 실시 예에 따른 전자 장치(예: 전자 장치(201))는, 블루투스 통신을 지원하는 통신 모듈(예: 통신 모듈(240)) 및 프로세서(예: 프로세서(220))를 포함하고, 상기 프로세서는, 상기 통신 모듈을 통해, 제1외부 전자 장치(예: 제1외부 전자 장치(202))와 제1통신 링크를 형성하고, 제2외부 전자 장치(예: 제2외부 전자 장치(204))와 제2통신 링크를 형성하고, 스테레오 오디오를 출력하는 명령에 기초하여 제1오디오 데이터를 포함하는 제1오디오 패킷 및 제2오디오 데이터를 포함하는 제2오디오 패킷을 획득하고, 상기 제1통신 링크를 이용하여 상기 제1오디오 패킷을 상기 제1외부 전자 장치로 전송하고, 상기 제2통신 링크를 이용하여 상기 제2오디오 패킷을 상기 제2외부 전자 장치로 전송하고, 상기 제2통신 링크의 통신 상태가 열화된 것으로 확인되면, 상기 제1외부 전자 장치가 상기 제2외부 전자 장치로 상기 제2오디오 패킷을 전송하도록 상기 제1통신 링크를 이용하여 상기 제1외부 전자 장치로 상기 제1오디오 데이터와 상기 제2오디오 데이터를 포함하는 스테레오 오디오 패킷을 전송하거나 상기 제1오디오 패킷과 상기 제2오디오 패킷을 전송하도록 설정될 수 있다.
상기 제1오디오 데이터는 스테레오 오디오 데이터에서 제1방향에 대응하는 제1모노 오디오 데이터를 포함하고, 상기 제2오디오 데이터는 상기 스테레오 오디오 데이터에서 제2방향에 대응하는 제2모노 오디오 데이터를 포함할 수 있다.
상기 프로세서는, 상기 제2통신 링크의 통신 열화가 확인되더라도, 상기 제2통신 링크를 이용하여 상기 제2외부 전자 장치로 상기 제2오디오 패킷을 전송하도록 설정될 수 있다
상기 프로세서는, 상기 제2외부 전자 장치로부터 상기 제2오디오 패킷에 대한 응답 패킷이 수신되면, 상기 제2통신 링크가 정상적인 상태인 것으로 확인하도록 설정될 수 있다.
상기 프로세서는, 상기 제2통신 링크가 정상적인 상태인 것으로 확인되면, 상기 제1통신 링크를 이용하여 상기 제1오디오 패킷을 전송하고, 상기 제2통신 링크를 이용하여 제2오디오 패킷을 전송하도록 설정될 수 있다.
상기 프로세서는, 지정된 개수의 제2오디오 패킷들을 전송한 후 상기 제2오디오 패킷들에 대한 적어도 하나의 응답 신호를 수신하지 못하면, 상기 제1외부 전자 장치로 상기 스테레오 오디오 패킷을 전송하도록 설정될 수 있다.
상기 프로세서는, 상기 제1외부 전자 장치 또는 상기 제2외부 전자 장치의 탈착 여부에 기초하여 상기 스테레오 오디오 패킷의 상기 전송 시점을 확인하도록 설정될 수 있다.
상기 프로세서는, 상기 제2통신 링크의 열화에 의해 상기 제2외부 전자 장치가 수신하지 못한 제1시간의 제2오디오 패킷에 기초하여 상기 스테레오 오디오 패킷을 생성하도록 설정될 수 있다.
상기 프로세서는, 상기 제2통신 링크의 열화에 의해 상기 제2외부 전자 장치가 제1시간의 제2오디오 패킷을 수신하지 못한 후 지정된 시간이 도과된 경우, 상기 제1외부 전자 장치로 제2시간의 제1오디오 패킷 및 상기 제2시간의 제2오디오 패킷에 기초하여 상기 스테레오 오디오 패킷을 생성하도록 설정될 수 있다.
상기 제1통신 링크와 상기 제2통신 링크 각각은, BLE(Bluetooth low energy) 통신 링크를 포함할 수 있다.
상기 제1외부 전자 장치는 제1방향의 이어폰을 포함하고, 상기 제2외부 전자 장치는 제2방향의 이어폰을 포함할 수 있다.
다양한 실시 예에 따른 블루투스 통신을 지원하는 통신 모듈(예: 통신 모듈(240))을 포함하는 전자 장치(예: 전자 장치(201))의 동작 방법은, 상기 통신 모듈을 통해, 제1외부 전자 장치(예: 제1외부 전자 장치(202))와 제1통신 링크를 형성하고, 제2외부 전자 장치(예: 제2외부 전자 장치(204))와 제2통신 링크를 형성하는 동작, 스테레오 오디오를 출력하는 명령에 기초하여, 제1오디오 데이터를 포함하는 제1오디오 패킷 및 제2오디오 데이터를 포함하는 제2오디오 패킷을 획득하는 동작, 상기 제1통신 링크를 이용하여 상기 제1오디오 패킷을 상기 제1외부 전자 장치로 전송하고, 상기 제2통신 링크를 이용하여 상기 제2오디오 패킷을 상기 제2외부 전자 장치로 전송하는 동작, 및 상기 제2통신 링크의 통신 상태가 열화된 것으로 확인되면, 상기 제1외부 전자 장치가 상기 제2외부 전자 장치로 상기 제2오디오 패킷을 전송하도록 상기 제1통신 링크를 이용하여 상기 제1외부 전자 장치로 상기 제1오디오 데이터와 상기 제2오디오 데이터를 포함하는 스테레오 오디오 패킷을 전송하거나 상기 제1오디오 패킷과 상기 제2오디오 패킷을 전송하는 동작을 포함할 수 있다.
상기 제1오디오 데이터는 스테레오 오디오 데이터에서 제1방향에 대응하는 제1모노 오디오 데이터를 포함하고, 상기 제2오디오 데이터는 상기 스테레오 오디오 데이터에서 제2방향에 대응하는 제2모노 오디오 데이터를 포함할 수 있다.
상기 전자 장치의 동작 방법은, 상기 제2통신 링크의 통신 열화가 확인되면, 상기 제2통신 링크의 상태를 확인하기 위해 상기 제2통신 링크를 이용하여 상기 제2외부 전자 장치로 상기 제2오디오 패킷을 전송하는 동작을 더 포함할 수 있다.
상기 전자 장치의 동작 방법은, 상기 제2외부 전자 장치로부터 상기 제2오디오 패킷에 대한 응답 패킷이 수신되면, 상기 제2통신 링크가 정상적인 상태인 것으로 확인하는 동작을 더 포함할 수 있다.
상기 전자 장치의 동작 방법은, 상기 제2통신 링크가 정상적인 상태인 것으로 확인되면, 상기 제1통신 링크를 이용하여 상기 제1오디오 패킷을 전송하고, 상기 제2통신 링크를 이용하여 상기 제2오디오 패킷을 전송하는 동작을 더 포함할 수 있다.
상기 제1통신 링크와 상기 제2통신 링크 각각은, BLE(Bluetooth low energy) 통신 링크를 포함할 수 있다.
다양한 실시 예에 따른 제1전자 장치(예: 제1외부 전자 장치(202))는, 스피커(예: 제1스피커(274)), 블루투스 통신을 지원하는 통신 모듈(예: 제1통신 모듈(272)), 및 프로세서(예: 제1프로세서(270))를 포함하고, 상기 프로세서는, 상기 통신 모듈을 통해, 전자 장치(예: 전자 장치(201))와 제1통신 링크를 형성하고, 제2전자 장치(예: 제2외부 전자 장치(204))와 제2통신 링크를 형성하고, 상기 제1통신 링크를 이용하여 제1오디오 데이터를 포함하는 제1오디오 패킷을 수신하고, 상기 제1오디오 데이터를 상기 스피커를 통해 출력하기 위한 제1동작을 수행하고, 상기 제1통신 링크를 이용하여 상기 제1오디오 데이터와 제2오디오 데이터를 포함하는 스테레오 오디오 패킷 또는 상기 제2오디오 데이터를 포함하는 제2오디오 패킷이 수신되면, 상기 제1동작을 수행하고 상기 제2통신 링크를 이용하여 상기 제2오디오 데이터를 포함하는 상기 제2오디오 패킷을 상기 제2전자 장치로 전송하도록 설정될 수 있다.
상기 프로세서는, 상기 제1통신 링크의 통신 상태가 열화되면, 상기 제2통신 링크를 이용하여 상기 제2전자 장치로부터 상기 제1오디오 패킷을 수신하도록 설정될 수 있다.
상기 제1전자 장치는 제1방향의 이어폰으로 구현되고, 상기 제2전자 장치는 제2방향의 이어폰으로 구현될 수 있다.
상기 전자 장치의 전술한 구성요소들 각각은 하나 또는 그 이상의 부품(component)으로 구성될 수 있으며, 해당 구성 요소의 명칭은 전자 장치의 종류에 따라서 달라질 수 있다. 다양한 실시 예에서, 전자 장치는 전술한 구성요소 중 적어도 하나를 포함하여 구성될 수 있으며, 일부 구성요소가 생략되거나 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 또한, 다양한 실시 예에 따른 전자 장치의 구성 요소들 중 일부가 결합되어 하나의 개체(entity)로 구성됨으로써, 결합되기 이전의 해당 구성 요소들의 기능을 동일하게 수행할 수 있다.
그리고 본 문서에 개시된 실시 예는 개시된, 기술 내용의 설명 및 이해를 위해 제시된 것이며, 본 개시의 범위를 한정하는 것은 아니다. 따라서, 본 개시의 범위는, 본 개시의 기술적 사상에 근거한 모든 변경 또는 다양한 다른 실시 예를 포함하는 것으로 해석되어야 한다.

Claims (15)

  1. 전자 장치에 있어서,
    블루투스 통신을 지원하는 통신 모듈; 및
    프로세서를 포함하고, 상기 프로세서는,
    상기 통신 모듈을 통해, 제1외부 전자 장치와 제1통신 링크를 형성하고, 제2외부 전자 장치와 제2통신 링크를 형성하고,
    스테레오 오디오를 출력하는 명령에 기초하여 제1오디오 데이터를 포함하는 제1오디오 패킷 및 제2오디오 데이터를 포함하는 제2오디오 패킷을 획득하고,
    상기 제1통신 링크를 이용하여 상기 제1오디오 패킷을 상기 제1외부 전자 장치로 전송하고, 상기 제2통신 링크를 이용하여 상기 제2오디오 패킷을 상기 제2외부 전자 장치로 전송하고,
    상기 제2통신 링크의 통신 상태가 열화된 것으로 확인되면, 상기 제1외부 전자 장치가 상기 제2외부 전자 장치로 상기 제2오디오 패킷을 전송하도록 상기 제1통신 링크를 이용하여 상기 제1외부 전자 장치로 상기 제1오디오 데이터와 상기 제2오디오 데이터를 포함하는 스테레오 오디오 패킷을 전송하거나 상기 제1오디오 패킷과 상기 제2오디오 패킷을 전송하도록 설정된 전자 장치.
  2. 제1항에 있어서,
    상기 제1오디오 데이터는 스테레오 오디오 데이터에서 제1방향에 대응하는 제1모노 오디오 데이터를 포함하고, 상기 제2오디오 데이터는 상기 스테레오 오디오 데이터에서 제2방향에 대응하는 제2모노 오디오 데이터를 포함하는 전자 장치.
  3. 제1항에 있어서, 상기 프로세서는,
    상기 제2통신 링크의 통신 열화가 확인되더라도, 상기 제2통신 링크를 이용하여 상기 제2외부 전자 장치로 상기 제2오디오 패킷을 전송하도록 설정된 전자 장치.
  4. 제3항에 있어서, 상기 프로세서는,
    상기 제2외부 전자 장치로부터 상기 제2오디오 패킷에 대한 응답 패킷이 수신되면, 상기 제2통신 링크가 정상적인 상태인 것으로 확인하도록 설정된 전자 장치.
  5. 제4항에 있어서, 상기 프로세서는,
    상기 제2통신 링크가 정상적인 상태인 것으로 확인되면, 상기 제1통신 링크를 이용하여 상기 제1오디오 패킷을 전송하고, 상기 제2통신 링크를 이용하여 제2오디오 패킷을 전송하도록 설정된 전자 장치.
  6. 제1항에 있어서, 상기 프로세서는,
    지정된 개수의 제2오디오 패킷들을 전송한 후 상기 제2오디오 패킷들에 대한 적어도 하나의 응답 신호를 수신하지 못하면, 상기 제1외부 전자 장치로 상기 스테레오 오디오 패킷을 전송하도록 설정된 전자 장치.
  7. 제1항에 있어서, 상기 프로세서는,
    상기 제1외부 전자 장치 또는 상기 제2외부 전자 장치의 탈착 여부에 기초하여 상기 스테레오 오디오 패킷의 상기 전송 시점을 확인하도록 설정된 전자 장치.
  8. 제1항에 있어서, 상기 프로세서는,
    상기 제2통신 링크의 통신 열화에 의해 상기 제2외부 전자 장치가 수신하지 못한 제1시간의 제2오디오 패킷에 기초하여 상기 스테레오 오디오 패킷을 생성하도록 설정된 전자 장치.
  9. 제1항에 있어서, 상기 프로세서는,
    상기 제2통신 링크의 통신 열화에 의해 상기 제2외부 전자 장치가 제1시간의 제2오디오 패킷을 수신하지 못한 후 지정된 시간이 도과된 경우, 상기 제1외부 전자 장치로 제2시간의 제1오디오 패킷 및 상기 제2시간의 제2오디오 패킷에 기초하여 상기 스테레오 오디오 패킷을 생성하도록 설정된 전자 장치.
  10. 제1항에 있어서,
    상기 제1통신 링크와 상기 제2통신 링크 각각은, BLE(Bluetooth low energy) 통신 링크를 포함하는 전자 장치.
  11. 제1항에 있어서,
    상기 제1외부 전자 장치는 제1방향의 이어폰을 포함하고, 상기 제2외부 전자 장치는 제2방향의 이어폰을 포함하는 전자 장치.
  12. 블루투스 통신을 지원하는 통신 모듈을 포함하는 전자 장치의 동작 방법에 있어서,
    상기 통신 모듈을 통해, 제1외부 전자 장치와 제1통신 링크를 형성하고, 제2외부 전자 장치와 제2통신 링크를 형성하는 동작;
    스테레오 오디오를 출력하는 명령에 기초하여, 제1오디오 데이터를 포함하는 제1오디오 패킷 및 제2오디오 데이터를 포함하는 제2오디오 패킷을 획득하는 동작;
    상기 제1통신 링크를 이용하여 상기 제1오디오 패킷을 상기 제1외부 전자 장치로 전송하고, 상기 제2통신 링크를 이용하여 상기 제2오디오 패킷을 상기 제2외부 전자 장치로 전송하는 동작; 및
    상기 제2통신 링크의 통신 상태가 열화된 것으로 확인되면, 상기 제1외부 전자 장치가 상기 제2외부 전자 장치로 상기 제2오디오 패킷을 전송하도록 상기 제1통신 링크를 이용하여 상기 제1외부 전자 장치로 상기 제1오디오 데이터와 상기 제2오디오 데이터를 포함하는 스테레오 오디오 패킷을 전송하거나 상기 제1오디오 패킷과 상기 제2오디오 패킷을 전송하는 동작을 포함하는 전자 장치의 동작 방법.
  13. 제12항에 있어서,
    상기 제1오디오 데이터는 스테레오 오디오 데이터에서 제1방향에 대응하는 제1모노 오디오 데이터를 포함하고, 상기 제2오디오 데이터는 상기 스테레오 오디오 데이터에서 제2방향에 대응하는 제2모노 오디오 데이터를 포함하는 전자 장치의 동작 방법.
  14. 제12항에 있어서,
    상기 제2통신 링크의 통신 열화가 확인되더라도, 상기 제2통신 링크를 이용하여 상기 제2외부 전자 장치로 상기 제2오디오 패킷을 전송하는 동작을 더 포함하는 전자 장치의 동작 방법.
  15. 제14항에 있어서,
    상기 제2외부 전자 장치로부터 상기 제2오디오 패킷에 대한 응답 패킷이 수신되면, 상기 제2통신 링크가 정상적인 상태인 것으로 확인하는 동작을 더 포함하는 전자 장치의 동작 방법.
PCT/KR2021/017980 2021-01-12 2021-12-01 오디오 데이터를 처리하는 전자 장치와 이의 동작 방법 WO2022154257A1 (ko)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/KR2022/000568 WO2022154482A1 (ko) 2021-01-12 2022-01-12 오디오 데이터를 처리하는 전자 장치와 그 동작 방법
US18/337,987 US20230336904A1 (en) 2021-01-12 2023-06-20 Electronic device for processing audio data and operation method therefor

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2021-0003782 2021-01-12
KR20210003782 2021-01-12

Publications (1)

Publication Number Publication Date
WO2022154257A1 true WO2022154257A1 (ko) 2022-07-21

Family

ID=82447242

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/017980 WO2022154257A1 (ko) 2021-01-12 2021-12-01 오디오 데이터를 처리하는 전자 장치와 이의 동작 방법

Country Status (2)

Country Link
KR (1) KR20220102125A (ko)
WO (1) WO2022154257A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150097080A (ko) * 2014-02-18 2015-08-26 삼성전자주식회사 통신 채널 운용 방법 및 이를 지원하는 전자 장치
US20170366924A1 (en) * 2016-06-17 2017-12-21 Nxp B.V. Nfmi based robustness
US20180205813A1 (en) * 2015-06-05 2018-07-19 Apple Inc. Audio data routing between multiple wirelessly connected devices
KR20180109623A (ko) * 2017-03-28 2018-10-08 삼성전자주식회사 전자 장치 및 그 동작 방법
KR20200106742A (ko) * 2019-03-05 2020-09-15 삼성전자주식회사 블루투스 네트워크 환경에서 응답 메시지를 전송하기 위한 전자 장치 및 그에 관한 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150097080A (ko) * 2014-02-18 2015-08-26 삼성전자주식회사 통신 채널 운용 방법 및 이를 지원하는 전자 장치
US20180205813A1 (en) * 2015-06-05 2018-07-19 Apple Inc. Audio data routing between multiple wirelessly connected devices
US20170366924A1 (en) * 2016-06-17 2017-12-21 Nxp B.V. Nfmi based robustness
KR20180109623A (ko) * 2017-03-28 2018-10-08 삼성전자주식회사 전자 장치 및 그 동작 방법
KR20200106742A (ko) * 2019-03-05 2020-09-15 삼성전자주식회사 블루투스 네트워크 환경에서 응답 메시지를 전송하기 위한 전자 장치 및 그에 관한 방법

Also Published As

Publication number Publication date
KR20220102125A (ko) 2022-07-19

Similar Documents

Publication Publication Date Title
WO2021133026A1 (ko) 블루투스 네트워크 환경에서 데이터를 전송하기 위한 전자 장치 및 그에 관한 방법
WO2022114485A1 (ko) 긴급 호를 수행하기 위한 기지국을 선택하는 전자 장치 및 전자 장치의 동작 방법
WO2022154363A1 (ko) 오디오 데이터를 처리하기 위한 오디오 장치 및 그의 동작 방법
WO2022030882A1 (ko) 오디오 데이터를 처리하는 전자 장치와 이의 동작 방법
WO2022158735A1 (ko) 오디오 데이터를 처리하는 전자 장치와 이의 동작 방법
WO2022265190A1 (ko) 전자 장치 및 이의 동작 방법
WO2022055133A1 (ko) 음성 데이터를 전송하기 위한 전자 장치 및 그의 동작 방법
WO2022158763A1 (ko) 외부 전자 장치와의 통신 연결을 수립하는 전자 장치 및 이의 동작 방법
WO2022231205A1 (ko) Uwb 레인징시 데이터를 송수신하는 전자 장치 및 그 방법
WO2022154257A1 (ko) 오디오 데이터를 처리하는 전자 장치와 이의 동작 방법
WO2022154302A1 (ko) 고조파 간섭을 줄이기 위한 전자 장치 및 그의 동작 방법
WO2022158787A1 (ko) 전자 장치 및 외부 오디오 장치와의 통신 링크를 전환하는 방법
WO2022191438A1 (ko) 전자 장치의 오디오 데이터 전송 방법
WO2022114596A1 (ko) 액세서리 장치의 전력 소모를 제어하는 전자 장치 및 그 운용 방법
WO2021246751A1 (ko) 블루투스 통신 환경의 다중 장치간 통신 방법 및 이를 위한 전자 장치
WO2022065707A1 (ko) 외부 전자 장치와의 직접 통신을 위한 전자 장치 및 그의 동작 방법
WO2022154482A1 (ko) 오디오 데이터를 처리하는 전자 장치와 그 동작 방법
WO2022071766A1 (ko) 링크를 운용하기 위한 전자 장치 및 이의 동작 방법
WO2022225174A1 (ko) 오디오 출력을 위한 전자 장치 및 그 동작 방법
WO2021256747A1 (ko) 페어링된 장치 정보에 기반한 통신 방법 및 이를 위한 전자 장치
WO2023068507A1 (ko) Rcs 기능을 제공하기 위한 전자 장치 및 그의 동작 방법
WO2022154310A1 (ko) 전자 장치 및 전자 장치에서 블루투스 통신 기반의 송신 파워 제어 방법
WO2023038235A1 (ko) 링크의 프레임 에러율을 업데이트하는 전자 장치 및 전자 장치의 동작 방법
WO2023136672A1 (ko) 외부 전자 장치와의 통화 유형을 판단하는 전자 장치 및 이의 동작 방법
WO2024029688A1 (ko) 무선 환경 내에서의 오디오 스트리밍을 위한 전자 장치, 방법, 및 비일시적 컴퓨터 판독가능 저장 매체

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21919881

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21919881

Country of ref document: EP

Kind code of ref document: A1