KR20240002107A - Electronic device and method for transmitting data to wireless earphone through external device - Google Patents
Electronic device and method for transmitting data to wireless earphone through external device Download PDFInfo
- Publication number
- KR20240002107A KR20240002107A KR1020220092621A KR20220092621A KR20240002107A KR 20240002107 A KR20240002107 A KR 20240002107A KR 1020220092621 A KR1020220092621 A KR 1020220092621A KR 20220092621 A KR20220092621 A KR 20220092621A KR 20240002107 A KR20240002107 A KR 20240002107A
- Authority
- KR
- South Korea
- Prior art keywords
- communication
- external device
- electronic device
- wireless earphone
- received signal
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 25
- 238000004891 communication Methods 0.000 claims abstract description 301
- 230000007423 decrease Effects 0.000 claims abstract description 46
- 230000008569 process Effects 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 238000013528 artificial neural network Methods 0.000 description 8
- 230000005684 electric field Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000013473 artificial intelligence Methods 0.000 description 5
- 230000000638 stimulation Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013527 convolutional neural network Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 230000009977 dual effect Effects 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000306 recurrent effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 101000741965 Homo sapiens Inactive tyrosine-protein kinase PRAG1 Proteins 0.000 description 1
- 102100038659 Inactive tyrosine-protein kinase PRAG1 Human genes 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 230000002542 deteriorative effect Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 230000003155 kinesthetic effect Effects 0.000 description 1
- 239000007769 metal material Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72415—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/60—Substation equipment, e.g. for use by subscribers including speech amplifiers
- H04M1/6033—Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
- H04M1/6041—Portable telephones adapted for handsfree use
- H04M1/6058—Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone
- H04M1/6066—Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone including a wireless connection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/19—Connection re-establishment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2201/00—Electronic components, circuits, software, systems or apparatus used in telephone systems
- H04M2201/34—Microprocessors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/02—Details of telephonic subscriber devices including a Bluetooth interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/06—Details of telephonic subscriber devices including a wireless LAN interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2420/00—Details of connection covered by H04R, not provided for in its groups
- H04R2420/07—Applications of wireless loudspeakers or wireless microphones
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
일 실시예에 따른 전자 장치는, 적어도 하나의 명령어를 저장하는 메모리, 및 메모리에 저장된 명령어를 실행하는 프로세서를 포함하고, 프로세서는, 무선 이어폰의 전자 장치에 대한 제1 수신 신호 강도(received signal strength power) 및 전자 장치에서 무선 이어폰으로의 제1 데이터 재전송(transmission) 횟수를 주기적으로 측정하고, 무선 이어폰으로 전송할 대상 데이터를 외부 기기에 전송하며, 측정된 제1 수신 신호 강도가 제1 임계값 이하로 감소하거나 측정된 제1 데이터 재전송 횟수가 제1 임계 횟수 이상으로 증가하는 경우, 전자 장치와 무선 이어폰 간의 통신을 종료하고, 외부 기기를 제어하여 무선 이어폰이 외부 기기로부터 대상 데이터를 수신하도록 외부 기기와 무선 이어폰 간의 통신을 연결시킬 수 있다.An electronic device according to an embodiment includes a memory that stores at least one instruction, and a processor that executes the instruction stored in the memory, and the processor includes a first received signal strength for the electronic device of the wireless earphone. power) and the number of first data retransmissions from the electronic device to the wireless earphones are periodically measured, and the target data to be transmitted to the wireless earphones is transmitted to an external device, and the measured first received signal strength is less than or equal to the first threshold. decreases or the measured number of first data retransmissions increases beyond the first threshold number, terminates communication between the electronic device and the wireless earphone, and controls the external device so that the wireless earphone receives target data from the external device. You can connect communication between and wireless earphones.
Description
아래의 개시는 외부 기기를 경유하여 무선 이어폰으로 데이터를 전송하는 장치 및 방법에 관한 것이다.The disclosure below relates to a device and method for transmitting data to wireless earphones via an external device.
최근에 무선 무선 이어폰에서 고음질의 오디오 성능을 확보하기 위해 많은 노력을 기울이고 있다. 블루투스(Bluetooth) 표준인 SBC(Sub Band Codec), AAC(Advanced Audio Codec), Proprietary SSC(Samsung Scalable Codec), LE Audio의 표준인 LC3(Low Complexity Communication Codec), Lossless Codec등 다양한 코덱을 활용하여 무선 무선 이어폰의 오디오 성능을 확보 중이며, 오디오 음질 향상을 위하여 무선 무선 이어폰으로 전송되는 데이터량이 점점 많아지는 추세이다. 이로 인해, TCP 속도(TCP throughput) 및 안정적인 전계 확보는 상당히 중요하며, 안테나 성능 개선, 안테나 추가, 및 개선된 TCP 속도로 데이터를 전송 할 수 있는 기술들이 연구되고 있다. 그러나, 안테나에 의한 개선은 한계가 있다. 현재 대다수의 전자 장치에는 1개의 블루투스 안테나가 배치되고, 일부 고사양 전자 장치에는 듀얼 블루투스 듀얼 모드를 지원하기 위해 2개의 블루투스 안테나가 배치된다. 이때, 전자 장치는 사용자가 전자 장치를 파지하는 형태에 따른 데스 그립(death grip) 현상의 발생 또는 전자 장치의 위치(예를 들어, 블루투스 안테나를 블락(block)하는 금속성 물질 근처에 위치)에 따라 전계가 급격히 나빠질 수 있는데, 블루투스 안테나가 영향을 많이 받게되어 블루투스로 통신이 연결된 무선 이어폰의 오디오 성능이 나빠지고, 전자 장치에서 무선 이어폰으로의 데이터 재전송이 증가함에 따라 TCP 속도에도 많은 제약이 발생하게 된다. 더 나아가, 전자 장치의 사용자가 무선 무선 이어폰을 통해 오디오를 청취하거나 전화(call)를 하고 있는 경우에는 끊김 현상이 발생할 수 있다. 또한, 무선 이어폰으로 전송할 데이터가 많아지는 Lossless Codec을 사용하기 위해서는 안정적인 전계가 상당이 중요한 요소가 되는데, 무선 이어폰에 대한 전자 장치의 전계 상황이 불안정하다면 Lossless Codec을 사용하기 어렵다는 문제점이 있다.Recently, a lot of effort has been put into securing high-quality audio performance in wireless earphones. Wireless using various codecs such as Bluetooth standard SBC (Sub Band Codec), AAC (Advanced Audio Codec), Proprietary SSC (Samsung Scalable Codec), LE Audio standard LC3 (Low Complexity Communication Codec), and Lossless Codec. The audio performance of wireless earphones is being secured, and the amount of data transmitted to wireless earphones is increasing to improve audio quality. For this reason, securing TCP throughput and a stable electric field is very important, and technologies that can improve antenna performance, add antennas, and transmit data at improved TCP speeds are being researched. However, improvements made by antennas have limitations. Currently, most electronic devices have one Bluetooth antenna, and some high-end electronic devices have two Bluetooth antennas to support dual Bluetooth dual mode. At this time, the electronic device may experience a death grip phenomenon depending on the way the user holds the electronic device, or depending on the location of the electronic device (for example, located near a metallic material that blocks the Bluetooth antenna). The electric field can deteriorate rapidly, and the Bluetooth antenna is greatly affected, deteriorating the audio performance of wireless earphones connected to Bluetooth communication. As data retransmission from electronic devices to wireless earphones increases, many limitations also occur in TCP speed. do. Furthermore, when the user of the electronic device is listening to audio or making a call through wireless earphones, a disconnection phenomenon may occur. In addition, in order to use Lossless Codec, which increases the amount of data to be transmitted through wireless earphones, a stable electric field is a very important factor. However, if the electric field situation of the electronic device for wireless earphones is unstable, there is a problem in that it is difficult to use Lossless Codec.
일 실시예에 따른 전자 장치는, 무선 이어폰과 통신을 연결하는 통신부, 적어도 하나의 명령어를 저장하는 메모리, 및 상기 메모리에 저장된 명령어를 실행하는 프로세서를 포함하고, 상기 프로세서는, 상기 무선 이어폰의 상기 전자 장치에 대한 제1 수신 신호 강도(received signal strength power) 및 상기 전자 장치에서 상기 무선 이어폰으로의 제1 데이터 재전송(transmission) 횟수를 주기적으로 측정하고, 상기 무선 이어폰으로 전송할 대상 데이터를 외부 기기에 전송하며, 상기 측정된 제1 수신 신호 강도가 제1 임계값 이하로 감소하거나 상기 측정된 제1 데이터 재전송 횟수가 제1 임계 횟수 이상으로 증가하는 경우, 상기 전자 장치와 상기 무선 이어폰 간의 통신을 종료하고, 상기 외부 기기를 제어하여 상기 무선 이어폰이 상기 외부 기기로부터 상기 대상 데이터를 수신하도록 상기 외부 기기와 상기 무선 이어폰 간의 통신을 연결시킬 수 있다.An electronic device according to an embodiment includes a communication unit for communicating with wireless earphones, a memory for storing at least one command, and a processor for executing the command stored in the memory, wherein the processor Periodically measure the first received signal strength power for the electronic device and the number of first data retransmissions from the electronic device to the wireless earphone, and transmit target data to the wireless earphone to an external device. transmits, and when the measured first received signal strength decreases below the first threshold or the measured number of first data retransmissions increases above the first threshold, communication between the electronic device and the wireless earphone is terminated. And, by controlling the external device, communication between the external device and the wireless earphone can be established so that the wireless earphone receives the target data from the external device.
일 실시예에 따른 전자 장치는, 외부 네트워크로부터 실시간 데이터를 수신하여 무선 이어폰으로 상기 실시간 데이터를 전송하는 통신부, 적어도 하나의 명령어를 저장하는 메모리, 및 상기 메모리에 저장된 명령어를 실행하는 프로세서를 포함하고, 상기 프로세서는, 상기 전자 장치의 상기 외부 네트워크에 대한 제4 수신 신호 강도 및 상기 외부 네트워크에서 상기 전자 장치로의 제2 데이터 재전송 횟수를 주기적으로 측정하고, 상기 측정된 제4 수신 신호 강도가 제4 임계값 이하로 감소하거나 상기 측정된 제2 데이터 재전송 횟수가 제4 임계 횟수 이상으로 증가하는 경우, 상기 전자 장치와 상기 무선 이어폰 간의 통신을 종료하고, 외부 기기를 제어하여 상기 무선 이어폰이 상기 외부 기기로부터 실시간 데이터를 수신하도록 상기 외부 기기와 상기 외부 네트워크 간의 통신 및 상기 외부 기기와 상기 무선 이어폰 간의 통신을 연결시킬 수 있다.An electronic device according to an embodiment includes a communication unit that receives real-time data from an external network and transmits the real-time data to wireless earphones, a memory that stores at least one command, and a processor that executes the command stored in the memory, , the processor periodically measures a fourth received signal strength for the external network of the electronic device and the number of second data retransmissions from the external network to the electronic device, and the measured fourth received signal strength is a 4 When the measured number of second data retransmissions decreases below the threshold or increases above the fourth threshold, communication between the electronic device and the wireless earphone is terminated, and an external device is controlled so that the wireless earphone is connected to the external device. Communication between the external device and the external network and communication between the external device and the wireless earphone can be connected to receive real-time data from the device.
일 실시예에 따른 프로세서에 의해 수행되는 방법은, 전자 장치와 통신이 수립된 무선 이어폰의 상기 전자 장치에 대한 제1 수신 신호 강도 및 상기 전자 장치에서 상기 무선 이어폰으로의 제1 데이터 재전송 횟수를 주기적으로 측정하는 동작, 상기 무선 이어폰으로 전송할 대상 데이터를 외부 기기에 전송하는 동작, 및 상기 측정된 제1 수신 신호 강도가 제1 임계값 이하로 감소하거나 상기 측정된 제1 데이터 재전송 횟수가 제1 임계 횟수 이상으로 증가하는 경우, 상기 전자 장치와 상기 무선 이어폰 간의 통신을 종료하고, 상기 외부 기기를 제어하여 상기 무선 이어폰이 상기 외부 기기로부터 상기 대상 데이터를 수신하도록 상기 외부 기기와 상기 무선 이어폰 간의 통신을 연결시키는 동작을 포함할 수 있다.A method performed by a processor according to an embodiment includes periodically calculating the first received signal strength of a wireless earphone with which communication with the electronic device is established for the electronic device and the first number of data retransmissions from the electronic device to the wireless earphone. an operation of measuring, an operation of transmitting target data to be transmitted to the wireless earphone to an external device, and the measured first received signal strength decreases below a first threshold or the measured number of first data retransmissions is set to a first threshold. If the number increases beyond the number, communication between the electronic device and the wireless earphone is terminated, and the external device is controlled to enable communication between the external device and the wireless earphone so that the wireless earphone receives the target data from the external device. It may include connecting actions.
일 실시예에 따른 프로세서에 의해 수행되는 방법은, 외부 네트워크로부터 실시간 데이터를 수신하여 무선 이어폰으로 상기 실시간 데이터를 전송하는 동작, 전자 장치의 상기 외부 네트워크에 대한 제4 수신 신호 강도 및 상기 외부 네트워크에서 상기 전자 장치로의 제2 데이터 재전송 횟수를 주기적으로 측정하는 동작, 및 상기 측정된 제4 수신 신호 강도가 제4 임계값 이하로 감소하거나 상기 측정된 제2 데이터 재전송 횟수가 제4 임계 횟수 이상으로 증가하는 경우, 상기 전자 장치와 상기 무선 이어폰 간의 통신을 종료하고, 외부 기기를 제어하여 상기 무선 이어폰이 상기 외부 기기로부터 실시간 데이터를 수신하도록 상기 외부 기기와 상기 외부 네트워크 간의 통신 및 상기 외부 기기와 상기 무선 이어폰 간의 통신을 연결시키는 동작을 포함할 수 있다.A method performed by a processor according to an embodiment includes receiving real-time data from an external network and transmitting the real-time data to a wireless earphone, a fourth received signal strength for the external network of an electronic device, and a fourth received signal strength for the external network in the external network. An operation of periodically measuring the number of second data retransmissions to the electronic device, and the measured fourth received signal strength decreases below a fourth threshold or the measured number of second data retransmissions decreases to a fourth threshold or more. When the increase occurs, communication between the electronic device and the wireless earphone is terminated, and the external device is controlled so that the wireless earphone receives real-time data from the external device. Communication between the external device and the external network and the external device and the It may include an operation of connecting communication between wireless earphones.
도 1은 일 실시예에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 일 실시예에 따른 전자 장치가 전자 장치와 무선 이어폰 간의 통신을 종료하고 외부 기기와 무선 이어폰 간의 통신을 연결시키는 동작을 설명하는 흐름도이다.
도 3 내지 도 4는 일 실시예에 따른 전자 장치가 전자 장치와 무선 이어폰 간의 통신을 종료하고, 외부 기기가 전자 장치로부터 대상 데이터를 수신하여 무선 이어폰으로 전송하도록 외부 기기와 무선 이어폰 간의 통신을 연결시키는 과정을 설명하는 도면이다.
도 5는 일 실시예에 따른 전자 장치가 외부 기기와 무선 이어폰 간의 통신을 연결시킨 후 다시 전자 장치와 무선 이어폰 간의 통신을 재연결시키는 과정을 설명하는 흐름도이다.
도 6은 전자 장치, 외부 기기, 및 무선 이어폰 간의 통신 연결을 설명하는 도면이다.
도 7 내지 도 8은 일 실시예에 따른 전자 장치가 전자 장치와 무선 이어폰 간의 통신을 종료하고, 외부 기기가 네트워크로부터 실시간 데이터를 수신하여 무선 이어폰으로 전송하도록 외부 기기와 무선 이어폰 간의 통신을 연결시키는 과정을 설명하는 도면이다.
도 9는 일 실시예예 따른 전자 장치가 외부 기기와 외부 네트워크 간의 통신을 연결시킨 후 다시 전자 장치와 외부 네트워크 간의 통신을 재연결시키는 과정을 설명하는 흐름도이다.
도 10은 전자 장치, 외부 기기, 무선 이어폰, 네트워크 간의 통신 연결을 설명하는 도면이다.1 is a block diagram of an electronic device in a network environment according to one embodiment.
FIG. 2 is a flowchart illustrating an operation in which an electronic device terminates communication between the electronic device and wireless earphones and connects communication between an external device and wireless earphones, according to an embodiment.
3 and 4 show that the electronic device terminates communication between the electronic device and the wireless earphone, according to an embodiment, and connects communication between the external device and the wireless earphone so that the external device receives target data from the electronic device and transmits it to the wireless earphone. This is a drawing explaining the ordering process.
FIG. 5 is a flowchart illustrating a process in which an electronic device connects communication between an external device and wireless earphones and then reconnects communication between the electronic device and wireless earphones, according to an embodiment.
Figure 6 is a diagram explaining the communication connection between an electronic device, an external device, and wireless earphones.
7 and 8 show an electronic device terminating communication between the electronic device and the wireless earphones according to an embodiment, and connecting communication between the external device and the wireless earphones so that the external device receives real-time data from the network and transmits it to the wireless earphones. This is a drawing explaining the process.
FIG. 9 is a flowchart illustrating a process in which an electronic device connects communication between an external device and an external network and then reconnects communication between the electronic device and an external network, according to an embodiment.
FIG. 10 is a diagram illustrating communication connections between electronic devices, external devices, wireless earphones, and networks.
이하, 실시예들을 첨부된 도면들을 참조하여 상세하게 설명한다. 첨부 도면을 참조하여 설명함에 있어, 도면 부호에 관계없이 동일한 구성 요소는 동일한 참조 부호를 부여하고, 이에 대한 중복되는 설명은 생략하기로 한다.Hereinafter, embodiments will be described in detail with reference to the attached drawings. In the description with reference to the accompanying drawings, identical components will be assigned the same reference numerals regardless of the reference numerals, and overlapping descriptions thereof will be omitted.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 in a
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (e.g., program 140) to operate at least one other component (e.g., hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and various data processing or calculations can be performed. According to one embodiment, as at least part of data processing or computation, the processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132. The commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134. According to one embodiment, the processor 120 includes a main processor 121 (e.g., a central processing unit or an application processor) or an auxiliary processor 123 that can operate independently or together (e.g., a graphics processing unit, a neural network processing unit ( It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, if the electronic device 101 includes a main processor 121 and a secondary processor 123, the secondary processor 123 may be set to use lower power than the main processor 121 or be specialized for a designated function. You can. The auxiliary processor 123 may be implemented separately from the main processor 121 or as part of it.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The auxiliary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or while the main processor 121 is in an active (e.g., application execution) state. ), together with the main processor 121, at least one of the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) At least some of the functions or states related to can be controlled. According to one embodiment, co-processor 123 (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g.,
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101. Data may include, for example, input data or output data for software (e.g., program 140) and instructions related thereto. Memory 130 may include volatile memory 132 or non-volatile memory 134.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142, middleware 144, or application 146.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output sound signals to the outside of the electronic device 101. The sound output module 155 may include, for example, a speaker or a receiver. Speakers 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 the speaker or as part of it.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 160 can visually provide information to the outside of the electronic device 101 (eg, a user). The display module 160 may include, for example, a display, a hologram device, or a projector, and a control circuit for controlling the device. According to one embodiment, the display module 160 may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of force generated by the touch.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module 170 acquires sound through the
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects the operating state (e.g., power or temperature) of the electronic device 101 or the external environmental state (e.g., user state) and generates an electrical signal or data value corresponding to the detected state. can do. According to one embodiment, the sensor module 176 includes, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, humidity sensor, or light sensor.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102). According to one embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 can convert electrical signals into mechanical stimulation (e.g., vibration or movement) or electrical stimulation that the user can perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 can manage power supplied to the electronic device 101. According to one embodiment, the power management module 188 may be implemented as at least a part of, for example, a power management integrated circuit (PMIC).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101. According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. Communication module 190 is configured to provide a direct (e.g., wired) communication channel or wireless communication channel between electronic device 101 and an external electronic device (e.g., electronic device 102,
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support 5G networks after 4G networks and next-generation communication technologies, for example, NR access technology (new radio access technology). NR access technology provides 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)) can be supported. The wireless communication module 192 may support high frequency bands (eg, mmWave bands), for example, to achieve high data rates. The wireless communication module 192 uses various technologies to secure performance in high frequency bands, for example, beamforming, massive array multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. It can support technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., second network 199). According to one embodiment, the wireless communication module 192 supports Peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mmTC, or U-plane latency (e.g., 164 dB or less) for realizing URLLC. Example: Downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) can be supported.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive signals or power to or from the outside (eg, an external electronic device). According to one embodiment, the antenna module 197 may include an antenna including a radiator made of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected to the plurality of antennas by, for example, the communication module 190. can be selected Signals or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna. According to some embodiments, in addition to the radiator, other components (eg, radio frequency integrated circuit (RFIC)) may be additionally formed as part of the antenna module 197.
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, a mmWave antenna module includes: a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band. can do.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( (e.g. commands or data) can be exchanged with each other.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to one embodiment, commands or data may be transmitted or received between the electronic device 101 and the external
도 2는 일 실시예에 따른 전자 장치가 전자 장치와 무선 이어폰 간의 통신을 종료하고 외부 기기와 무선 이어폰 간의 통신을 연결시키는 동작을 설명하는 흐름도이다.FIG. 2 is a flowchart illustrating an operation in which an electronic device terminates communication between the electronic device and wireless earphones and connects communication between an external device and wireless earphones, according to an embodiment.
동작(210)에서 전자 장치(예: 도 1의 전자 장치(101))는 무선 이어폰의 전자 장치에 대한 제1 수신 신호 강도(received signal strength power) 및 전자 장치에서 무선 이어폰으로의 제1 데이터 재전송(transmission) 횟수를 주기적으로 측정할 수 있다. 수신 신호 강도는 수신기에서 수신되는 전력이 얼마인지 그 수치를 나타낼 수 있다. 수신 신호 강도의 단위로는 dBm이 사용되며, 수치가 클수록 수신되는 신호의 강도가 강한 것을 나타낼 수 있다. 데이터 재전송 횟수는 송신기가 데이터를 수신기에 재전송한 횟수를 나타낼 수 있다. 예를 들어, 수신기가 송신기로부터 획득한 데이터를 정확하게 디코딩하지 못한 경우, 수신기가 송신기에게 디코딩 실패를 알리는 정보(NACK; Negative Acknowledgment)를 전송하여 송신기가 물리 계층에서 해당 데이터를 재전송할 수 있도록 한다. 수신기는 송신기로부터 획득한 데이터를 정확하게 복호한 경우 송신기에게 디코딩 성공을 알리는 정보(ACK; Acknowledgement)를 전송하여 송신기가 새로운 데이터를 전송할 수 있도록 할 수 있다. 송신기는 수신기로부터 디코딩 성공을 알리는 정보를 수신하기 전까지 데이터를 재전송한 횟수를 산출할 수 있다.In
동작(220)에서 전자 장치는 무선 이어폰으로 전송할 대상 데이터를 외부 기기에 전송할 수 있다. 전자 장치는 무선 이어폰 및 외부 기기와 통신을 연결할 수 있다. 외부 기기는 전자 기기로서, 예를 들어, 스마트폰(smartphone), 태블릿 PC(tablet personal computer), 랩탑(laptop), 웨어러블 디바이스(werable device) 등 일 수 있으나, 이로 한정되는 것은 아니다. 통신이 연결된다는 것은 서로 데이터를 송수신할 수 있는 것을 나타낼 수 있다. 전자 장치는 무선 이어폰으로 대상 데이터를 전송하면서 외부 기기로 대상 데이터를 전송할 수 있다. 예를 들어, 대상 데이터는 오디오 데이터(audio data)일 수 있다.In
동작(230)에서 전자 장치는 측정된 제1 수신 신호 강도가 제1 임계값 이하로 감소하거나 측정된 제1 데이터 재전송 횟수가 제1 임계 횟수 이상으로 증가하는 경우, 전자 장치와 무선 이어폰 간의 통신을 종료하고, 외부 기기를 제어하여 무선 이어폰이 외부 기기로부터 대상 데이터를 수신하도록 외부 기기와 무선 이어폰 간의 통신을 연결시킬 수 있다. 전자 장치는 전자 장치와 무선 이어폰 간의 통신이 원활하지 않은 경우에는 전자 장치가 무선 이어폰으로 대상 데이터를 직접 전송하는 대신, 외부 기기를 경유하여 무선 이어폰에게 대상 데이터를 전송할 수 있다. 예를 들어, 전자 장치는 무선 이어폰의 전자 장치에 대한 제1 수신 신호 강도 보다 무선 이어폰의 외부 기기에 대한 제2 수신 신호 강도가 더 높은 경우, 외부 기기가 무선 이어폰으로 대상 데이터를 대신 전송하도록 함으로써 무선 이어폰이 대상 데이터를 효과적으로 수신할 수 있도록 할 수 있다.In
도 3 내지 도 4는 일 실시예에 따른 전자 장치가 전자 장치와 무선 이어폰 간의 통신을 종료하고, 외부 기기가 전자 장치로부터 대상 데이터를 수신하여 무선 이어폰으로 전송하도록 외부 기기와 무선 이어폰 간의 통신을 연결시키는 과정을 설명하는 도면이다.3 and 4 show that the electronic device terminates communication between the electronic device and the wireless earphone, according to an embodiment, and connects communication between the external device and the wireless earphone so that the external device receives target data from the electronic device and transmits it to the wireless earphone. This is a drawing explaining the ordering process.
일 실시예에 따르면, 전자 장치(310)(예: 도 1의 전자 장치(101))는 전자 장치(310)와 통신 연결이 가능한 전자 기기를 모니터링(monitoring)할 수 있다. 도 3에서, 전자 장치(310)는 전자 장치(310)의 주변에 배치된 외부 기기(330)를 모니터링할 수 있고, 무선 이어폰(320)과는 통신을 연결할 수 있다. 여기서, 전자 장치(310)가 외부 기기(330)를 모니터링한다는 것은, 전자 장치(310)가 외부 기기(330)의 위치를 파악하는 것 및 통신 연결을 위하여 외부 기기(330)의 정보를 전자 장치(310)에 등록하는 것을 포함할 수 있으나, 전자 장치(310)와 외부 기기(330) 사이에서 데이터를 송수신하지는 못한다. 전자 장치(310)는 무선 이어폰(320)과 통신을 연결하여 무선 이어폰(320)으로 대상 데이터를 전송할 수 있다. 이때, 전자 장치(310)는 블루투스(Bluetooth) 통신 또는 와이 파이(Wi-Fi) 통신을 통해 무선 이어폰(320)과 통신을 연결할 수 있다. 외부 기기(330)는 외부 기기(330)와 통신 연결이 가능한 전자 장치(310)를 모니터링할 수 있고, 외부 기기(330)와 무선 이어폰(320)은 서로를 모니터링할 수 있다.According to one embodiment, the electronic device 310 (e.g., the electronic device 101 of FIG. 1) may monitor electronic devices capable of communication connection with the
전자 장치(310)는 무선 이어폰(320)의 전자 장치(310)에 대한 제1 수신 신호 강도 및 전자 장치(310)에서 무선 이어폰(320)으로의 제1 데이터 재전송 횟수를 주기적으로 측정할 수 있다.The
도 4에서, 전자 장치(310)는 무선 이어폰(320)의 전자 장치(310)에 대한 제1 수신 신호 강도가 제1 임계값 이하로 감소하거나 전자 장치(310)의 무선 이어폰(320)에 대한 제1 데이터 재전송 횟수가 제1 임계 횟수 이상으로 증가하는 경우, 전자 장치(310)와 무선 이어폰(320) 간의 통신을 종료하고 외부 기기(330)와 무선 이어폰(320) 간의 통신을 연결시킬 수 있다. 무선 이어폰의 전자 장치에 대한 수신 신호 강도 및 전자 장치에서 무선 이어폰으로의 데이터 재전송 횟수는, 전자 장치와 무선 이어폰 사이의 거리, 전자 장치와 무선 이어폰 사이의 장애물들(obstacles), 무선 이어폰이 사용하는 주파수 대역(예를 들어, 2.4GHz 대역)과 유사한 주파수 대역을 사용하는 다른 전자 기기에 의한 영향 등이 반영된 무선 이어폰과 전자 장치의 통신 상태를 판단하는 요소들(factors)일 수 있다. 이하 명세서에서는, 수신 신호 강도 및 데이터 재전송 횟수를 통신 상태의 판단에 사용되는 요소로서 주로 설명하나, 이로 한정하는 것은 아니며, 기타 수신 품질을 확인할 수 있는 다른 요소가 통신 상태의 판단에 사용될 수도 있다.In FIG. 4 , the
일 실시예에 따르면, 전자 장치는 측정된 제1 수신 신호의 강도가 제1 임계값 보다 큰 제2 임계값 이하로 감소하거나 측정된 제1 데이터 재전송 횟수가 제1 임계 횟수 보다 작은 제2 임계 횟수 이상으로 증가하는 경우, 외부 기기(330)와 통신을 연결할 수 있고 대상 데이터를 외부 기기(330)에 전송할 수 있다. 전자 장치(310)는 외부 기기(330)와 와이 파이 통신 또는 블루투스 통신을 통해 통신을 연결할 수 있다. 제2 임계값과 제1 임계값의 차이는 2dB 내지 3dB의 범위 내에 있을 수 있으나, 반드시 이로 한정하는 것은 아니다. 제2 임계 횟수와 제1 임계 횟수의 차이는 2회 내지 4회의 범위 내에 있을 수 있으나, 반드시 이로 한정하는 것은 아니다. 전자 장치(310)와 무선 이어폰(320) 사이의 통신이 점차적으로 불안정해짐에 따라, 무선 이어폰(320)의 전자 장치(310)에 대한 제1 수신 신호 강도가 점차적으로 감소하여 제2 임계값에 도달하거나 전자 장치(310)에서 무선 이어폰(320)으로의 제1 데이터 재전송 횟수가 점차적으로 증가하여 제2 임계 횟수에 도달할 수 있다. 제2 임계값에 도달한다는 것은 제2 임계값 이하로 감소하는 것을 포함할 수 있고, 제2 임계 횟수에 도달한다는 것은 제2 임계 횟수 이상으로 증가하는 것을 포함할 수 있다. 전자 장치(310)는 무선 이어폰(320)과의 통신을 종료하기 이전 시점부터 외부 기기(330)와 통신을 연결함으로써 외부 기기(330)에 무선 이어폰(320)으로 전송할 대상 데이터를 전송할 수 있다. 다시 말해, 전자 장치(310)는 무선 이어폰(320)과 외부 기기(330)에 대상 데이터를 동시에 전송할 수 있다.According to one embodiment, the electronic device reduces the measured strength of the first received signal to a second threshold value that is greater than the first threshold value or the measured number of first data retransmissions decreases to a second threshold number that is less than the first threshold number. If it increases beyond this, communication with the
그리고, 전자 장치(310)는 외부 기기(330)와 통신을 연결한 이후에 무선 이어폰(320)과의 통신을 종료하고, 무선 이어폰(320)과의 통신을 종료한 이후에 외부 기기(330)를 제어하여 외부 기기(330)와 무선 이어폰(320) 간의 통신을 연결시킬 수 있다. 전자 장치(310)는 외부 기기(330)가 무선 이어폰(320)과 통신을 연결하도록 외부 기기(330)에 제어 명령을 전송할 수 있다.Also, after connecting communication with the
외부 기기(330)는 무선 이어폰(320)과 통신을 연결할 수 있고, 전자 장치(310)로부터 수신한 대상 데이터를 무선 이어폰(320)으로 전송할 수 있다. 전자 장치(310)와 무선 이어폰(320) 간의 통신 종료 시점과 외부 기기(330)와 무선 이어폰(320) 간의 통신 연결 시점은 상이할 수 있다. 무선 이어폰(320)은 전자 장치(310)와 통신이 종료된 시점부터 외부 기기(330)와 통신이 연결되는 시점까지 대상 데이터를 수신하지 못한다. 다만, 무선 이어폰(320)은 전자 장치(310)로부터 수신한 일부 대상 데이터를 버퍼 메모리에 저장하고 있기 때문에, 전자 장치(310)와 통신이 종료된 시점부터 외부 기기(330)와 통신이 연결되는 시점까지 버퍼 메모리에 저장된 일부 대상 데이터를 처리함으로써 끊김 없는(seamless) 신호(예를 들어, 오디오 신호)를 재생할 수 있다. 전자 장치(310)는 무선 이어폰(320)과의 통신을 종료한 채로 무선 이어폰(320)을 지속적으로 모니터링할 수 있고, 외부 기기(330)와는 대상 데이터의 전송을 위해 통신 연결을 유지할 수 있다.The
도 5는 일 실시예에 따른 전자 장치가 외부 기기와 무선 이어폰 간의 통신을 연결시킨 후 다시 전자 장치와 무선 이어폰 간의 통신을 재연결시키는 과정을 설명하는 흐름도이다.FIG. 5 is a flowchart illustrating a process in which an electronic device connects communication between an external device and wireless earphones and then reconnects communication between the electronic device and wireless earphones, according to an embodiment.
동작(501)에서, 일 실시예에 따른 전자 장치(예: 도 1의 전자 장치(101))는 무선 이어폰과 통신을 연결할 수 있다. 전자 장치는 오디오 재생에 사용될 대상 데이터를 무선 이어폰으로 전송할 수 있다.In
동작(502)에서, 전자 장치는 무선 이어폰의 전자 장치에 대한 제1 수신 신호 강도가 제2 임계값 보다 큰 제3 임계값 이하로 감소하거나 전자 장치에서 무선 이어폰으로의 제1 데이터 재전송 횟수가 제2 임계 횟수 보다 작은 제3 임계 횟수 이상으로 증가하는 경우, 무선 이어폰의 외부 기기에 대한 제2 수신 신호 강도 및 외부 기기의 전자 장치에 대한 제3 수신 신호 강도를 주기적으로 요청할 수 있다. 예를 들어, 전자 장치는 무선 이어폰의 외부 기기에 대한 제2 수신 신호 강도를 외부 기기 또는 무선 이어폰에 요청할 수 있고, 외부 기기의 전자 장치에 대한 제3 수신 신호 강도를 외부 기기에 요청할 수 있다.At
제3 임계값과 제2 임계값의 차이는 2dB 내지 3dB의 범위 내에 있을 수 있으나, 반드시 이로 한정하는 것은 아니다. 제2 임계 횟수와 제1 임계 횟수의 차이는 2회 내지 4회의 범위 내에 있을 수 있으나, 반드시 이로 한정하는 것은 아니다. 예를 들어, 전자 장치와 무선 이어폰 사이의 통신이 점차적으로 불안정해짐에 따라, 무선 이어폰의 전자 장치에 대한 제1 수신 신호 강도가 점차적으로 감소하여 제3 임계값에 도달하거나 전자 장치에서 무선 이어폰으로의 제1 데이터 재전송 횟수가 점차적으로 증가하여 제3 임계 횟수에 도달할 수 있다. 제3 임계값에 도달한다는 것은 제3 임계값 이하로 감소하는 것을 포함할 수 있고, 제3 임계 횟수에 도달한다는 것은 제3 임계 횟수 이상으로 증가하는 것을 포함할 수 있다. 다시 말해, 전자 장치는 외부 기기에 대상 데이터를 전송하기 이전 시점부터 무선 이어폰의 외부 기기에 대한 제2 수신 신호 강도 및 외부 기기의 전자 장치에 대한 제3 수신 신호 강도를 주기적으로 확인할 수 있다.The difference between the third threshold and the second threshold may be within the range of 2dB to 3dB, but is not necessarily limited thereto. The difference between the second critical number of times and the first critical number of times may be within the range of 2 to 4 times, but is not necessarily limited to this. For example, as the communication between the electronic device and the wireless earphone becomes increasingly unstable, the first received signal strength of the wireless earphone to the electronic device gradually decreases until it reaches a third threshold or from the electronic device to the wireless earphone. The number of first data retransmissions may gradually increase to reach the third threshold number. Reaching the third threshold may include decreasing below the third threshold, and reaching the third threshold number may include increasing above the third threshold number. In other words, the electronic device may periodically check the strength of the second received signal of the wireless earphone to the external device and the strength of the third received signal of the external device to the electronic device from a time before transmitting the target data to the external device.
일 실시예에 따르면, 전자 장치는 제1 수신 신호 강도가 변경되거나 제1 데이터 재전송 횟수가 변경되는 경우에는 제2 수신 신호 강도 및 제3 수신 신호 강도의 요청을 중단할 수 있다. 전자 장치는 제1 수신 신호 강도가 제3 임계값을 초과하여 다시 증가하고 제1 데이터 재전송 횟수가 제3 임계 횟수 미만으로 다시 감소하는 경우, 무선 이어폰의 외부 기기에 대한 제2 수신 신호 강도 및 외부 기기의 전자 장치에 대한 제3 수신 신호 강도의 요청을 중단할 수 있다.According to one embodiment, when the first received signal strength changes or the number of first data retransmissions changes, the electronic device may stop requesting the second received signal strength and the third received signal strength. When the first received signal strength increases again beyond the third threshold and the first data retransmission number decreases again below the third threshold number, the electronic device transmits the second received signal strength to the external device of the wireless earphone and the external The request for the third received signal strength to the electronic device of the device may be stopped.
동작(503)에서, 전자 장치는 무선 이어폰의 전자 장치에 대한 제1 수신 신호 강도가 제1 임계값 보다 큰 제2 임계값 이하로 감소하거나 전자 장치의 무선 이어폰에 대한 제1 데이터 재전송 횟수가 제1 임계 횟수 보다 작은 제2 임계 횟수 이상으로 증가하는 경우, 외부 기기와 통신을 연결할 수 있고 대상 데이터를 외부 기기에 전송할 수 있다.In
일 실시예에 따르면, 전자 장치는 외부 기기와 블루투스 통신 또는 와이 파이 통신을 통하여 통신을 연결할 수 있고, 외부 기기에 대상 데이터를 전송할 수 있다. 일반적으로, 전자 장치에 배치된 블루투스 안테나는 사용자의 전자 장치 파지 형태(예를 들어, 데스 그립) 및 전자 장치가 배치되는 위치에 의해 성능상 영향을 많이 받을 수 있기 때문에, 전자 장치에 배치된 와이 파이 안테나를 이용하여 와이 파이 통신을 통해 외부 기기와 통신을 연결할 수 있다. 예를 들어, 전자 장치는 대상 데이터를 광대역의 TCP 속도가 뛰어난 2.4GHz 와이 파이 또는 5GHz 와이 파이를 통해 짧은 시간 안에 대상 데이터를 외부 기기에 전송할 수 있다. 참고로, 전자 장치에는 와이 파이 안테나가 최대 3개 내지 4개까지도 배치될 수 있어서 블루투스 안테나와 비교하여 사용자의 전자 장치 파지 형태 및 전자 장치가 배치되는 위치에 의한 영향을 상대적으로 덜 받을 수 있다. 외부 기기는 전자 장치로부터 수신한 대상 데이터를 버퍼 메모리에 저장할 수 있다.According to one embodiment, the electronic device can connect to an external device through Bluetooth communication or Wi-Fi communication and transmit target data to the external device. In general, because the performance of a Bluetooth antenna placed on an electronic device can be greatly affected by the user's grip on the electronic device (e.g., death grip) and the location where the electronic device is placed, the Wi-Fi antenna placed on the electronic device Using an antenna, you can connect to external devices through Wi-Fi communication. For example, an electronic device can transmit target data to an external device in a short period of time via 2.4GHz Wi-Fi or 5GHz Wi-Fi, which have excellent broadband TCP speeds. For reference, up to three to four Wi-Fi antennas can be placed in an electronic device, so compared to a Bluetooth antenna, it can be relatively less affected by the shape of the user's grip on the electronic device and the location where the electronic device is placed. An external device may store target data received from an electronic device in a buffer memory.
일 실시예에 따르면, 전자 장치는 대상 데이터를 외부 기기로 전송하는 도중에, 제1 수신 신호 강도가 변경되거나 제1 데이터 재전송 횟수가 변경되는 경우에는 대상 데이터를 외부 기기로 전송하는 것을 중단할 수 있다. 예를 들어, 전자 장치는 제1 수신 신호 강도가 제2 임계값을 초과하여 다시 증가하고 제1 데이터 재전송 횟수가 제2 임계 횟수 미만으로 다시 감소하는 경우, 외부 기기와의 통신을 종료할 수 있고 대상 데이터를 외부 기기에 전송하는 것을 중단할 수 있다. 더 나아가, 전자 장치는 제1 수신 신호 강도가 제3 임계값을 초과하여 증가하고 제1 데이터 재전송 횟수가 제3 임계 횟수 미만으로 감소하는 경우, 무선 이어폰의 외부 기기에 대한 제2 수신 신호 강도 및 외부 기기의 전자 장치에 대한 제3 수신 신호 강도의 요청까지도 중단할 수 있다.According to one embodiment, while transmitting target data to an external device, if the first received signal strength changes or the number of first data retransmissions changes, the electronic device may stop transmitting the target data to the external device. . For example, when the first received signal strength increases again beyond the second threshold and the first data retransmission number decreases again below the second threshold, the electronic device may terminate communication with the external device; You can stop sending the target data to an external device. Furthermore, when the first received signal strength increases beyond the third threshold and the first data retransmission number decreases below the third threshold, the electronic device transmits a second received signal strength to the external device of the wireless earphone and It is possible to even stop requesting the third received signal strength to the electronic device of the external device.
동작(504)에서, 전자 장치는 무선 이어폰의 전자 장치에 대한 제1 수신 신호 강도가 제1 임계값 이하로 감소하거나 제1 데이터 재전송 횟수가 제1 임계 횟수 이상으로 증가하는 경우, 전자 장치와 무선 이어폰 간의 통신을 종료하고 외부 기기를 제어하여 외부 기기와 무선 이어폰 간의 통신을 연결시킬 수 있다. 전자 장치는 외부 기기로 하여금 무선 이어폰에게 대상 데이터를 전송하도록 외부 기기를 제어할 수 있다. 무선 이어폰은 외부 기기로부터 대상 데이터를 수신하여 대상 데이터에 대응하는 신호를 재생할 수 있다.At
일 실시예에 따르면, 전자 장치는 무선 이어폰의 외부 기기에 대한 제2 수신 신호 강도 및 외부 기기의 전자 장치에 대한 제3 수신 신호 강도를 추가적으로 고려하여 전자 장치와 무선 이어폰 간의 통신을 종료하고 외부 기기와 무선 이어폰 간의 통신을 연결시킬 지 여부를 결정할 수 있다. 일 실시예에 따르면, 전자 장치는 제1 수신 신호 강도와 제2 수신 신호 강도의 비교 및 제3 수신 신호 강도와 한계값의 비교에 기초하여, 외부 기기와 무선 이어폰 간의 통신을 연결시킬 지 여부를 결정할 수 있다. 예를 들어, 전자 장치는 무선 이어폰의 전자 장치에 대한 제1 수신 신호 강도 보다 무선 이어폰의 외부 기기에 대한 제2 수신 신호 강도가 크고, 제3 수신 신호 강도가 한계값 보다 큰 경우에 외부 기기와 무선 이어폰 간의 통신을 연결시키는 것으로 결정할 수 있다. 여기서, 한계값은 전자 장치가 외부 기기에 데이터를 원활히 전송하는데 요구되는 최소의 수신 신호 강도로서, 전자 장치에서 미리 결정된 값일 수 있다. 즉, 전자 장치는 외부 기기와 무선 이어폰 간의 전계 상황이 전자 장치와 무선 이어폰 간의 전계 상황 보다 좋은지 여부 및 전자 장치가 외부 기기에 대상 데이터를 원활히 전송할 수 있는지 여부를 판단함으로써 외부 기기와 무선 이어폰 간의 통신을 연결시킬 지 여부를 결정할 수 있다. 다시 말해, 전자 장치는 제1 수신 신호 강도가 제1 임계값 이하로 감소하거나 제1 데이터 재전송 횟수가 제1 임계 횟수 이상으로 증가하더라도, 제1 수신 신호 강도 보다 제2 수신 신호 강도가 크고 제3 수신 신호 강도가 한계값 보다 큰 경우에, 외부 기기와 무선 이어폰 간의 통신을 연결시킬 수 있다.According to one embodiment, the electronic device terminates communication between the electronic device and the wireless earphone by additionally considering the second received signal strength of the wireless earphone to the external device and the third received signal strength to the electronic device of the external device, and the external device You can decide whether to connect communication between and wireless earphones. According to one embodiment, the electronic device determines whether to connect communication between an external device and wireless earphones based on a comparison of the first received signal strength and the second received signal strength and a comparison of the third received signal strength and a threshold value. You can decide. For example, when the second received signal strength for the external device of the wireless earphone is greater than the first received signal strength for the electronic device of the wireless earphone and the third received signal strength is greater than the threshold, the electronic device may be connected to the external device. It can be decided to connect communication between wireless earphones. Here, the threshold is the minimum received signal strength required for the electronic device to smoothly transmit data to an external device, and may be a value predetermined by the electronic device. In other words, the electronic device communicates between the external device and the wireless earphones by determining whether the electric field situation between the external device and the wireless earphones is better than that between the electronic device and the wireless earphones and whether the electronic device can smoothly transmit target data to the external device. You can decide whether to connect or not. In other words, even if the first received signal strength decreases below the first threshold or the number of first data retransmissions increases above the first threshold, the electronic device determines that the second received signal strength is greater than the first received signal strength and the third received signal strength is greater than the first received signal strength. If the received signal strength is greater than the threshold, communication between the external device and the wireless earphones can be established.
동작(505)에서, 전자 장치는 무선 이어폰과의 통신을 종료한 이후에도 무선 이어폰을 모니터링할 수 있고, 무선 이어폰의 전자 장치에 대한 제1 수신 신호 강도를 무선 이어폰에 요청하여 확인할 수 있다. 또한, 전자 장치는 무선 이어폰과의 통신을 종료한 이후에도 무선 이어폰의 외부 기기에 대한 제2 수신 신호 강도를 요청하여 확인할 수 있다. 다시 말해, 전자 장치는 제1 수신 신호 강도 및 제2 수신 신호 강도를 지속적으로 확인할 수 있다.In
동작(506)에서, 전자 장치는 전자 장치와 무선 이어폰 간의 통신이 다시 안정됨에 따라, 외부 기기와 무선 이어폰 간의 통신 연결을 종료시키고 전자 장치와 무선 이어폰 간의 통신을 재연결할 수 있다.In
일 실시예에 따르면, 전자 장치는 무선 이어폰의 전자 장치에 대한 제1 수신 신호 강도 및 무선 이어폰의 외부 기기에 대한 제2 수신 신호 강도에 기초하여, 전자 장치와 무선 이어폰 간의 통신을 재연결할 지 여부를 결정할 수 있다. 일 실시예에 따르면, 전자 장치는 외부 기기와 무선 이어폰 간의 통신이 연결된 상태에서, 제1 수신 신호 강도가 제2 임계값 이상으로 증가하고, 제1 수신 신호 강도가 제2 수신 신호 강도를 초과하는 경우, 외부 기기를 제어하여 외부 기기와 무선 이어폰 간의 통신을 종료시키고 전자 장치와 무선 이어폰 간의 통신을 재연결하여 대상 데이터를 무선 이어폰으로 직접적으로 전송할 수 있다.According to one embodiment, the electronic device determines whether to reconnect communication between the electronic device and the wireless earphone based on the first received signal strength for the electronic device of the wireless earphone and the second received signal strength for the external device of the wireless earphone. can be decided. According to one embodiment, while communication between an external device and wireless earphones is connected, the electronic device increases the first received signal strength above the second threshold, and the first received signal strength exceeds the second received signal strength. In this case, the external device can be controlled to terminate communication between the external device and the wireless earphones, and communication between the electronic device and the wireless earphones can be reconnected to directly transmit target data to the wireless earphones.
일 실시예예 따르면, 전자 장치는 무선 이어폰에 버퍼링된 데이터에 기초하여, 외부 기기와 무선 이어폰 간의 통신을 종료할 시점을 결정할 수 있다. 일 실시예에 따르면, 전자 장치는 대상 데이터의 무선 이어폰에 버퍼링된 데이터 크기가 임계 데이터 크기 이상이 되는 시점에, 외부 기기를 제어하여 외부 기기와 무선 이어폰 간의 통신을 종료할 수 있다. 예를 들어, 무선 이어폰과 외부 기기가 통신 연결이 종료되는 시점과 무선 이어폰과 전자 장치의 통신이 연결되는 시점은 서로 상이하여 시간 간격이 존재하기 때문에, 무선 이어폰과 통신이 연결되는 장치가 변경되면서도 무선 이어폰에서 끊김 없는 신호를 재생하기 위해서는 무선 이어폰에서 처리할 데이터가 일정량 존재하여야 한다. 따라서, 전자 장치는 무선 이어폰이 통신이 전환되는 시간 동안 버퍼링된 데이터를 처리하여 끊김없는 신호를 재생할 수 있도록, 무선 이어폰에 버퍼링된 데이터 크기가 제2 임계 데이터 크기 이상이 되는 시점에 외부 기기를 제어하여 외부 기기와 무선 이어폰 간의 통신을 종료할 수 있고, 이후에 전자 장치는 무선 이어폰과 통신을 연결할 수 있다.According to one embodiment, the electronic device may determine when to end communication between the external device and the wireless earphone based on data buffered in the wireless earphone. According to one embodiment, when the data size buffered in the wireless earphone of the target data exceeds the threshold data size, the electronic device may control the external device to terminate communication between the external device and the wireless earphone. For example, the time when the communication connection between the wireless earphones and an external device ends and the time when the communication between the wireless earphones and the electronic device is connected are different from each other, so there is a time interval, so even if the device to which the wireless earphones are connected changes, In order to reproduce an uninterrupted signal from wireless earphones, there must be a certain amount of data to be processed by the wireless earphones. Accordingly, the electronic device controls the external device when the data size buffered in the wireless earphone becomes more than the second threshold data size so that the wireless earphone can process the buffered data during the time when communication is switched and play back an uninterrupted signal. Thus, communication between the external device and the wireless earphone can be terminated, and then the electronic device can connect communication with the wireless earphone.
도 6은 전자 장치, 외부 기기, 및 무선 이어폰 간의 통신 연결을 설명하는 도면이다.Figure 6 is a diagram explaining the communication connection between an electronic device, an external device, and wireless earphones.
전자 장치(610), 무선 이어폰(620), 및 외부 기기(630)은 서로 간에 모니터링할 수 있다. 먼저, 전자 장치(610)는 무선 이어폰(620)의 전자 장치(610)에 대한 제1 수신 신호 강도가 제2 임계값 이하로 감소하거나 전자 장치(610)에서 무선 이어폰(620)으로의 제1 데이터 재전송 횟수가 제2 임계 횟수 이상으로 증가하는 경우, 외부 기기(630)와 통신을 연결하여 대상 데이터를 외부 기기(630)에 전송할 수 있다. 도 6의 예시에서, 전자 장치(610)는 외부 기기(630)와 와이 파이 통신으로 통신을 연결하여, 외부 기기(630)에 와이 파이 통신을 통해 대상 데이터를 전송할 수 있다. 다만, 이로 한정하는 것은 아니며, 전자 장치(610)는 외부 기기(630)와 블루투스 통신으로도 연결될 수 있다. 외부 기기(630)는 메모리(예를 들어, 버퍼 메모리)(631)에 전자 장치(610)로부터 수신한 대상 데이터를 저장할 수 있다.The
그리고, 전자 장치(610)는 제1 수신 신호 강도가 제1 임계값 이하로 감소하거나 제1 데이터 재전송 횟수가 제1 임계 횟수 이상으로 증가하는 경우, 전자 장치(610)와 무선 이어폰(620) 간의 통신을 종료하고 외부 기기(630)와 무선 이어폰(620) 간의 통신을 연결할 수 있다. 도 6에 도시된 바와 같이, 외부 기기(630)는 무선 이어폰(620)과 블루투스 통신 또는 와이파이 통신으로 통신을 연결할 수 있다. 예를 들어, 외부 기기(630)는 블루투스 통신을 통해 대상 데이터를 무선 이어폰(620)으로 전송할 수 있고, 외부 기기(630)는 와이 파이 통신을 통해 대상 데이터를 무선 이어폰(620)으로 전송할 수도 있다. 이하에서는, 전자 장치(610)가 무선 이어폰(620)과의 통신을 종료하는 시점에 관하여 설명한다.And, when the first received signal strength decreases below the first threshold or the number of first data retransmissions increases above the first threshold, the
일 실시예에 따르면, 전자 장치는 대상 데이터의 외부 기기에 버퍼링된 데이터 중 무선 이어폰에서 처리된 데이터 부분 외에 다른 데이터 부분의 데이터 크기가 제1 임계 데이터 크기 보다 커지는 시점 이후에 전자 장치와 무선 이어폰 간의 통신은 종료할 수 있다. 외부 기기는 전자 장치로부터 대상 데이터를 모두 수신하기 전에 무선 이어폰과 통신을 연결하여 대상 데이터를 전송할 수 있다. 따라서, 무선 이어폰에서의 끊김없는 신호의 재생을 위하여, 외부 기기에는 대상 데이터 중 무선 이어폰에서 처리된 데이터 외의 데이터가 충분히 확보되어야 한다. 따라서, 전자 장치는 외부 기기에 버퍼링된 데이터 중 무선 이어폰에서 처리된 부분 외에 다른 데이터 부분의 데이터 크기와 제1 임계 데이터 보다 커지는 시점 이후에, 외부 기기와 무선 이어폰 간의 통신을 연결하기 위해 전자 장치와 무선 이어폰 간의 통신을 종료할 수 있다.According to one embodiment, the electronic device determines the connection between the electronic device and the wireless earphone after the data size of the data portion other than the data portion processed by the wireless earphone among the data buffered in the external device of the target data becomes larger than the first threshold data size. Communication can be terminated. The external device may transmit the target data by establishing communication with the wireless earphone before receiving all the target data from the electronic device. Therefore, in order to reproduce signals without interruption in wireless earphones, the external device must have sufficient data other than the data processed by the wireless earphones among the target data. Therefore, after the data size of the data portion other than the portion processed by the wireless earphone among the data buffered in the external device becomes larger than the first threshold data, the electronic device is connected to the electronic device to connect communication between the external device and the wireless earphone. Communication between wireless earphones can be terminated.
일 실시예에 따르면, 전자 장치는 대상 데이터 중 무선 이어폰(620)에 버퍼링되고 있는 데이터 크기와 제2 임계 데이터 크기 보다 커지는 시점 이후에 전자 장치와 무선 이어폰 간의 통신을 종료할 수 있다. 무선 이어폰이 전자 장치에서 외부 기기로 통신을 전환하는 경우, 무선 이어폰과 전자 장치 간의 통신 연결이 종료되는 시점과 무선 이어폰과 전자 장치의 통신이 연결되는 시점은 서로 상이할 수 있다. 따라서, 무선 이어폰에서 끊김없는 신호의 재생을 위하여, 무선 이어폰과 통신이 연결되는 장치가 변경되면서도 무선 이어폰에서 끊김 없는 신호를 재생하기 위해서는 무선 이어폰에서 처리할 데이터가 일정량 존재하여야 한다. 따라서, 전자 장치는 무선 이어폰이 통신이 전환되는 시간 동안 버퍼링된 데이터를 처리하여 끊김없는 신호를 재생할 수 있도록, 대상 데이터 중 무선 이어폰에 버퍼링되고 있는 데이터 크기가 제2 임계 데이터 크기 보다 커지는 시점 이후에 전자 장치와 무선 이어폰 간의 통신을 종료할 수 있고, 이후 전자 장치는 외부 기기를 제어하여 외부 기기와 무선 이어폰 간의 통신을 연결시킬 수 있다.According to one embodiment, the electronic device may terminate communication between the electronic device and the wireless earphone after the size of the data buffered in the
도 7 내지 도 8은 일 실시예에 따른 전자 장치가 전자 장치와 무선 이어폰 간의 통신을 종료하고, 외부 기기가 네트워크로부터 실시간 데이터를 수신하여 무선 이어폰으로 전송하도록 외부 기기와 무선 이어폰 간의 통신을 연결시키는 과정을 설명하는 도면이다.7 and 8 show an electronic device terminating communication between the electronic device and the wireless earphones according to an embodiment, and connecting communication between the external device and the wireless earphones so that the external device receives real-time data from the network and transmits it to the wireless earphones. This is a drawing explaining the process.
일 실시예에 따르면, 전자 장치(710)(예: 도 1의 전자 장치(101))는 외부 네트워크(740)와 통신을 연결할 수 있다. 전자 장치(710)는 외부 네트워크(740)와 직접적으로 통신을 연결하거나, 액세스 포인트(access point, AP)를 통해 외부 네트워크(740)와 통신을 연결할 수도 있다. 즉, 전자 장치(710)가 외부 네트워크(740)와 통신을 연결한다는 것은 액세스 포인트(AP)와 통신을 연결하는 것을 포함할 수 있다. 후술하겠으나, 전자 장치(710)가 외부 네트워크(740)와 통신을 종료한다는 것은 액세스 포인트(AP)와 통신을 종료하는 것을 포함할 수 있다.According to one embodiment, the electronic device 710 (eg, the electronic device 101 of FIG. 1) may establish communication with the
전자 장치(710)는 무선 이어폰(720)과 통신을 연결할 수 있다. 전자 장치(710)는 외부 네트워크(740)로부터 실시간 데이터를 수신하여 무선 이어폰(720)으로 수신한 실시간 데이터를 전송할 수 있다. 예를 들어, 전자 장치(710)는 외부 네트워크(740)로부터 수신한 실시간 데이터를 무선 이어폰(720)으로 전송함으로써 실시간 음악 스트리밍 서비스 또는 전화(call) 기능을 무선 이어폰(720)을 통해 사용자가 이용할 수 있도록 할 수 있다. 전자 장치(710)의 주변에 배치된 외부 기기(730)와 무선 이어폰(720)은 서로를 모니터링할 수 있고, 외부 기기(730)와 외부 네트워크(740)은 서로를 모니터링할 수 있다. 일 실시예에 따르면, 전자 장치(710)는 전자 장치(710)의 외부 네트워크(740)에 대한 제4 수신 신호 강도 및 외부 네트워크(740)에서 전자 장치(710)로의 제2 데이터 재전송 횟수를 주기적으로 측정할 수 있다.The
도 8에서, 전자 장치(710)는 전자 장치(710)의 외부 네트워크(740)에 대한 제4 수신 신호 강도가 제4 임계값 이하로 감소하거나 외부 네트워크(740)에서 전자 장치(710)로의 제2 데이터 재전송 횟수가 제4 임계 횟수 이상으로 증가하는 경우, 전자 장치(710)와 무선 이어폰(720) 간의 통신을 종료하고, 외부 기기(730)를 제어하여 무선 이어폰(720)이 외부 기기(730)로부터 실시간 데이터를 수신하도록 외부 기기(730)와 외부 네트워크(740) 간의 통신 및 외부 기기(730)와 무선 이어폰(720) 간의 통신을 연결시킬 수 있다. 전자 장치(710)는 전자 장치(710)와 무선 이어폰(720) 간의 통신을 종료하면서 외부 네트워크(740)와의 통신을 종료할 수도 있다. 다시 말해, 전자 장치(710)는 전자 장치(710)와 외부 네트워크(740) 사이의 통신이 불안정해짐에 따라, 전자 장치(710) 대신 외부 기기(730)가 외부 네트워크(740)를 통해 무선 이어폰(720)에게 실시간 데이터를 전송하도록 외부 기기(730)를 제어할 수 있다. 전자 장치(710)는 외부 네트워크(740)와의 통신을 종료한 이후에는 외부 네트워크(740)를 모니터링할 수 있고, 무선 이어폰(720)과의 통신을 종료한 이후에는 무선 이어폰(720)을 모니터링할 수 있다.In FIG. 8 , the
도 9는 일 실시예예 따른 전자 장치가 외부 기기와 외부 네트워크 간의 통신을 연결시킨 후 다시 전자 장치와 외부 네트워크 간의 통신을 재연결시키는 과정을 설명하는 흐름도이다.FIG. 9 is a flowchart illustrating a process in which an electronic device connects communication between an external device and an external network and then reconnects communication between the electronic device and an external network, according to an embodiment.
동작(901)에서, 일 실시예에 따른 전자 장치(예: 도 1의 전자 장치(101))는 무선 이어폰과 통신을 연결할 수 있다. 전자 장치는 오디오 재생에 사용될 대상 데이터를 무선 이어폰으로 전송할 수 있다.In
동작(902)에서, 전자 장치는 전자 장치의 외부 네트워크에 대한 제4 수신 신호 강도가 제4 임계값 보다 큰 제5 임계값 이하로 감소하거나 외부 네트워크에서 전자 장치로의 제2 데이터 재전송 횟수가 제4 임계 횟수 보다 작은 제5 임계 횟수 이상으로 증가하는 경우, 외부 기기의 외부 네트워크에 대한 제5 수신 신호 강도를 요청할 수 있다. 제5 임계값과 제4 임계값의 차이는 2dB 내지 3dB의 범위 내에 있을 수 있으나, 이로 한정하는 것은 아니다. 제5 임계 횟수와 제4 임계 횟수의 차이는 2회 내지 4회의 범위 내에 있을 수 있으나, 이로 한정하는 것은 아니다. 예를 들어, 전자 장치와 외부 네트워크 사이의 통신이 점차적으로 불안정해짐에 따라, 전자 장치의 외부 네트워크에 대한 제4 수신 신호 강도가 점차적으로 감소하여 제5 임계값에 도달하거나 외부 네트워크에서 전자 장치로의 제2 데이터 재전송 횟수가 점차적으로 증가하여 제5 임계 횟수에 도달할 수 있다. 다시 말해, 전자 장치는 외부 기기와 무선 이어폰을 연결시키기 이전에 외부 기기의 외부 네트워크에 대한 제5 수신 신호 강도를 주기적으로 확인할 수 있다.In
동작(903)에서, 전자 장치는 전자 장치의 외부 네트워크에 대한 제4 수신 신호 강도가 제4 임계값 이하로 감소하거나 외부 네트워크에서 전자 장치로의 제2 데이터 재전송 횟수가 제4 임계 횟수 이상으로 증가하는 경우, 외부 기기를 제어하여 외부 기기가 외부 네트워크 및 무선 이어폰과 통신을 각각 연결시킬 수 있다.In
일 실시예에 따르면, 전자 장치는 외부 기기의 외부 네트워크에 대한 제5 수신 신호 강도를 추가로 고려하여 전자 장치와 무선 이어폰 간의 통신을 종료하고 외부 기기와 외부 네트워크 및 외부 기기와 무선 이어폰 간의 통신을 연결시킬 지 여부를 결정할 수 있다. 일 실시예에 따르면, 전자 장치는 전자 장치의 외부 네트워크에 대한 제4 수신 신호 강도 및 외부 기기의 외부 네트워크에 대한 제5 수신 신호 강도의 비교에 기초하여, 외부 기기와 외부 네트워크 및 외부 기기와 무선 이어폰 간의 통신을 연결시킬 지 여부를 결정할 수 있다. 예를 들어, 전자 장치는 전자 장치의 외부 네트워크에 대한 제4 수신 신호 강도 보다 외부 기기의 외부 네트워크에 대한 제5 수신 신호 강도가 큰 경우에 외부 기기와 외부 네트워크 및 외부 기기와 무선 이어폰 간의 통신을 연결시킬 지 여부를 결정할 수 있다. 즉, 전자 장치는 외부 기기와 외부 네트워크 간의 전계 상황이 전자 장치와 외부 네트워크 간의 전계 상황 보다 좋은지 여부를 판단함으로써 외부 기기와 외부 네트워크 및 외부 기기와 무선 이어폰 간의 통신을 연결시킬 지 여부를 결정할 수 있다.According to one embodiment, the electronic device further considers the fifth received signal strength for the external network of the external device, terminates communication between the electronic device and the wireless earphone, and terminates communication between the external device and the external network and the external device and the wireless earphone. You can decide whether to connect or not. According to one embodiment, based on a comparison of the fourth received signal strength for the external network of the electronic device and the fifth received signal strength for the external network of the external device, the electronic device is configured to connect the external device to the external network and the external device to the wireless network. You can decide whether to connect communication between earphones. For example, the electronic device establishes communication between the external device and the external network and the external device and the wireless earphone when the fifth received signal strength for the external network of the external device is greater than the fourth received signal strength for the external network of the electronic device. You can decide whether to connect or not. In other words, the electronic device can determine whether to connect communication between the external device and the external network and the external device and the wireless earphone by determining whether the electric field situation between the external device and the external network is better than the electric field situation between the electronic device and the external network. .
일 실시예에 따르면, 전자 장치는 무선 이어폰의 외부 기기에 대한 제2 수신 신호 강도를 추가적으로 고려하여 전자 장치와 무선 이어폰 간의 통신을 종료하고 외부 기기와 외부 네트워크 및 외부 기기와 무선 이어폰 간의 통신을 연결시킬 지 여부를 결정할 수 있다. 일 실시예에 따르면, 전자 장치는 무선 이어폰의 외부 기기에 대한 제2 수신 신호 강도가 외부 기기가 무선 이어폰에 데이터를 전송하는데 요구되는 최소의 수신 신호 강도인 한계값 보다 큰 경우에 외부 기기와 외부 네트워크 및 외부 기기와 무선 이어폰 간의 통신을 연결시킬 수 있다.According to one embodiment, the electronic device additionally considers the second received signal strength for the external device of the wireless earphone, terminates communication between the electronic device and the wireless earphone, and connects communication between the external device and the external network and the external device and the wireless earphone. You can decide whether to do it or not. According to one embodiment, the electronic device connects the external device to the external device when the second received signal strength of the wireless earphone to the external device is greater than the threshold value, which is the minimum received signal strength required for the external device to transmit data to the wireless earphone. Communication between network and external devices and wireless earphones can be established.
동작(904)에서, 전자 장치는 전자 장치와 무선 이어폰과의 통신을 종료한 이후에도, 전자 장치의 외부 네트워크에 대한 제4 수신 신호 강도를 측정하고 외부 기기의 외부 네트워크에 대한 제5 수신 신호 강도를 외부 기기에 요청하여 확인할 수 있다.In
동작(905)에서, 전자 장치는 전자 장치와 외부 네트워크 간의 통신이 다시 안정됨에 따라, 외부 기기와 무선 이어폰 간의 통신 연결을 종료시키고 전자 장치와 외부 네트워크 및 전자 장치와 무선 이어폰 간의 통신을 재연결할 수 있다.In
일 실시예에 따르면, 전자 장치는 전자 장치의 외부 네트워크에 대한 제4 수신 신호 강도 및 외부 기기의 외부 네트워크에 대한 제5 수신 신호 강도에 기초하여, 전자 장치와 무선 이어폰 간의 통신 및 전자 장치와 외부 네트워크 간의 통신을 재연결할 지 여부를 결정할 수 있다. 일 실시예에 따르면, 전자 장치는 외부 기기와 무선 이어폰 간의 통신 및 외부 기기와 외부 네트워크 간의 통신이 연결된 상태에서, 제4 수신 신호 강도가 제5 수신 신호 강도를 초과하는 경우, 외부 기기를 제어하여 외부 기기와 무선 이어폰 간의 통신 및 외부 기기와 외부 네트워크 간의 통신을 종료시키고 전자 장치와 무선 이어폰 및 전자 장치와 외부 네트워크 간의 통신을 재연결하여 실시간 데이터를 무선 이어폰으로 직접 전송할 수 있다.According to one embodiment, the electronic device communicates between the electronic device and the wireless earphone and the electronic device and the external device based on the fourth received signal strength for the external network of the electronic device and the fifth received signal strength for the external network of the external device. You can decide whether to reconnect communication between networks. According to one embodiment, the electronic device controls the external device when the fourth received signal strength exceeds the fifth received signal strength while communication between the external device and the wireless earphone and communication between the external device and the external network are connected. Real-time data can be transmitted directly to the wireless earphones by terminating the communication between the external device and the wireless earphone and the communication between the external device and the external network and reconnecting the communication between the electronic device and the wireless earphone and the electronic device and the external network.
도 10은 전자 장치, 외부 기기, 무선 이어폰, 네트워크 간의 통신 연결을 설명하는 도면이다.FIG. 10 is a diagram illustrating communication connections between electronic devices, external devices, wireless earphones, and networks.
전자 장치(1010), 무선 이어폰(1020), 외부 기기(1030), 및 외부 네트워크(1040)는 서로 간에 모니터링할 수 있다. 먼저, 전자 장치(1010)는 전자 장치(1010)의 외부 네트워크(1040)에 대한 제4 수신 신호 강도가 제4 임계값 이하로 감소하거나 외부 네트워크(1040)에서 전자 장치(1010)로의 제2 데이터 재전송 횟수가 제4 임계 횟수 이상으로 증가하는 경우, 전자 장치(1010)와 무선 이어폰(1020) 간의 통신을 종료하고 외부 기기(1030)와 무선 이어폰(1020) 간의 통신 및 외부 기기(1030)와 외부 네트워크(1040) 간의 통신을 연결할 수 있다. 도 10에 도시된 바와 같이, 외부 기기(1030)는 무선 이어폰(1020)과 블루투스 통신 또는 와이파이 통신으로 통신을 연결할 수 있다. 외부 기기(1030)는 외부 네트워크(1040)와 통신을 연결함으로써 외부 네트워크(1040)로부터 실시간 데이터를 수신할 수 있고, 수신한 실시간 데이터를 메모리(1031)(예를 들어, 버퍼 메모리)에 저장할 수 있다. 그리고, 외부 기기(1030)는 메모리(1031)에 저장된 실시간 데이터를 무선 이어폰(1020)에 전송할 수 있다.The
일 실시예에 따른 전자 장치는, 무선 이어폰과 통신을 연결하는 통신부, 적어도 하나의 명령어를 저장하는 메모리, 및 메모리에 저장된 명령어를 실행하는 프로세서를 포함하고, 프로세서는, 무선 이어폰의 전자 장치에 대한 제1 수신 신호 강도(received signal strength power) 및 전자 장치에서 무선 이어폰으로의 제1 데이터 재전송(transmission) 횟수를 주기적으로 측정하고, 무선 이어폰으로 전송할 대상 데이터를 외부 기기에 전송하며, 측정된 제1 수신 신호 강도가 제1 임계값 이하로 감소하거나 측정된 제1 데이터 재전송 횟수가 제1 임계 횟수 이상으로 증가하는 경우, 전자 장치와 무선 이어폰 간의 통신을 종료하고, 외부 기기를 제어하여 무선 이어폰이 외부 기기로부터 대상 데이터를 수신하도록 외부 기기와 무선 이어폰 간의 통신을 연결시킬 수 있다.An electronic device according to an embodiment includes a communication unit for communicating with wireless earphones, a memory for storing at least one command, and a processor for executing the command stored in the memory, and the processor is for the electronic device of the wireless earphone. Periodically measure the first received signal strength power and the number of first data retransmissions from the electronic device to the wireless earphone, transmit the target data to be transmitted to the wireless earphone to an external device, and transmit the measured first data to the wireless earphone. When the received signal strength decreases below the first threshold or the measured number of first data retransmissions increases above the first threshold, communication between the electronic device and the wireless earphones is terminated, and the external device is controlled to ensure that the wireless earphones are connected to the external device. Communication between an external device and wireless earphones can be established to receive target data from the device.
프로세서는, 측정된 제1 수신 신호 강도가 제1 임계값 보다 큰 제2 임계값 이하로 감소하거나 측정된 제1 데이터 재전송 횟수가 제1 임계 횟수 보다 작은 제2 임계 횟수 이상으로 증가하는 경우, 외부 기기와 통신을 연결하여 대상 데이터를 외부 기기에 전송할 수 있다.When the measured first received signal strength decreases below a second threshold greater than the first threshold or the measured first data retransmission number increases above a second threshold number less than the first threshold number, the external By connecting communication with the device, target data can be transmitted to an external device.
통신부는, 외부 기기와 블루투스(Bluetooth) 통신 또는 와이 파이(Wi-Fi) 통신을 통해 통신을 연결함으로써 대상 데이터를 외부 기기에 전송할 수 있다.The communication unit may transmit target data to an external device by connecting communication with the external device through Bluetooth communication or Wi-Fi communication.
프로세서는, 측정된 제1 수신 신호 강도가 제2 임계값 보다 큰 제3 임계값 이하로 감소하거나 측정된 제1 데이터 재전송 횟수가 제2 임계 횟수 보다 작은 제3 임계 횟수 이상으로 증가하는 경우, 무선 이어폰의 외부 기기에 대한 제2 수신 신호 강도 및 외부 기기의 전자 장치에 대한 제3 수신 신호 강도를 요청할 수 있다.If the measured first received signal strength decreases below a third threshold greater than the second threshold or the measured first data retransmission number increases above a third threshold number less than the second threshold number, the wireless The second received signal strength of the earphone to the external device and the third received signal strength to the electronic device of the external device may be requested.
프로세서는, 측정된 제1 수신 신호 강도와 측정된 제2 수신 신호 강도의 비교 및 제3 수신 신호 강도와 한계값의 비교에 기초하여, 외부 기기와 무선 이어폰 간의 통신을 연결시킬 지 여부를 결정할 수 있다.The processor may determine whether to connect communication between the external device and the wireless earphone based on the comparison of the measured first received signal strength and the measured second received signal strength and the comparison of the third received signal strength and the threshold. there is.
프로세서는, 대상 데이터의 외부 기기에 버퍼링된 데이터 중 무선 이어폰에서 처리된 데이터 부분 외에 다른 데이터 부분의 데이터 크기가 제1 임계 데이터 크기 보다 커지는 시점 이후에 전자 장치와 무선 이어폰 간의 통신을 종료할 수 있다.The processor may terminate communication between the electronic device and the wireless earphone after the data size of the data portion other than the data portion processed by the wireless earphone among the data buffered in the external device of the target data becomes greater than the first threshold data size. .
프로세서는, 대상 데이터 중 무선 이어폰에 버퍼링되고 있는 데이터 크기가 제2 임계 데이터 크기 보다 커지는 시점 이후에 전자 장치와 무선 이어폰 간의 통신을 종료할 수 있다.The processor may terminate communication between the electronic device and the wireless earphone after the point in time when the size of data buffered in the wireless earphone among the target data becomes greater than the second threshold data size.
프로세서는, 외부 기기와 무선 이어폰 간의 통신이 연결된 상태에서, 측정된 제1 수신 신호 강도가 제2 임계값 이상으로 증가하고, 측정된 제1 수신 신호 강도가 측정된 제2 수신 신호 강도를 초과하는 경우, 외부 기기를 제어하여 외부 기기와 무선 이어폰 간의 통신을 종료시키고 전자 장치와 무선 이어폰 간의 통신을 재연결하여 대상 데이터를 무선 이어폰에 직접적으로 전송할 수 있다.In a state where communication between the external device and the wireless earphone is connected, the processor increases the measured first received signal strength above the second threshold, and the measured first received signal strength exceeds the measured second received signal strength. In this case, the external device can be controlled to terminate communication between the external device and the wireless earphones, and communication between the electronic device and the wireless earphones can be reconnected to directly transmit target data to the wireless earphones.
일 실시예에 따른 전자 장치는, 외부 네트워크로부터 실시간 데이터를 수신하여 무선 이어폰으로 실시간 데이터를 전송하는 통신부, 적어도 하나의 명령어를 저장하는 메모리, 및 메모리에 저장된 명령어를 실행하는 프로세서를 포함하고, 프로세서는, 전자 장치의 외부 네트워크에 대한 제4 수신 신호 강도 및 외부 네트워크에서 전자 장치로의 제2 데이터 재전송 횟수를 주기적으로 측정하고, 측정된 제4 수신 신호 강도가 제4 임계값 이하로 감소하거나 측정된 제2 데이터 재전송 횟수가 제4 임계 횟수 이상으로 증가하는 경우, 전자 장치와 무선 이어폰 간의 통신을 종료하고, 외부 기기를 제어하여 무선 이어폰이 외부 기기로부터 실시간 데이터를 수신하도록 외부 기기와 외부 네트워크 간의 통신 및 외부 기기와 무선 이어폰 간의 통신을 연결시킬 수 있다.An electronic device according to an embodiment includes a communication unit that receives real-time data from an external network and transmits the real-time data to wireless earphones, a memory that stores at least one command, and a processor that executes the command stored in the memory, the processor Periodically measures the fourth received signal strength to the external network of the electronic device and the number of second data retransmissions from the external network to the electronic device, and the measured fourth received signal strength decreases below the fourth threshold or measures When the number of second data retransmissions increases beyond the fourth threshold number, communication between the electronic device and the wireless earphone is terminated, and the external device is controlled so that the wireless earphone receives real-time data from the external device. It is possible to connect communication between external devices and wireless earphones.
프로세서는, 외부 기기의 외부 네트워크에 대한 제5 수신 신호 강도를 요청하고, 측정된 제4 수신 신호 강도와 측정된 제5 수신 신호 강도의 비교에 기초하여, 외부 기기와 네트워크 간의 통신 및 외부 기기와 무선 이어폰 간의 통신을 연결시킬 지 여부를 결정할 수 있다.The processor requests the fifth received signal strength for the external network of the external device, and based on the comparison of the measured fourth received signal strength and the measured fifth received signal strength, communicates between the external device and the network and between the external device and the external device. You can decide whether to connect communication between wireless earphones.
일 실시예에 따른 프로세서에 의해 수행되는 방법은, 전자 장치와 통신이 수립된 무선 이어폰의 전자 장치에 대한 제1 수신 신호 강도 및 전자 장치에서 무선 이어폰으로의 제1 데이터 재전송 횟수를 주기적으로 측정하는 동작, 무선 이어폰으로 전송할 대상 데이터를 외부 기기에 전송하는 동작, 및 측정된 제1 수신 신호 강도가 제1 임계값 이하로 감소하거나 측정된 제1 데이터 재전송 횟수가 제1 임계 횟수 이상으로 증가하는 경우, 전자 장치와 무선 이어폰 간의 통신을 종료하고, 외부 기기를 제어하여 무선 이어폰이 외부 기기로부터 대상 데이터를 수신하도록 외부 기기와 무선 이어폰 간의 통신을 연결시키는 동작을 포함할 수 있다.A method performed by a processor according to an embodiment includes periodically measuring a first received signal strength for an electronic device of a wireless earphone with which communication with the electronic device is established and a first number of data retransmissions from the electronic device to the wireless earphone. An operation, an operation of transmitting target data to be transmitted through wireless earphones to an external device, and when the measured first received signal strength decreases below the first threshold or the measured number of first data retransmissions increases above the first threshold number. , may include terminating communication between the electronic device and the wireless earphone, controlling the external device, and connecting communication between the external device and the wireless earphone so that the wireless earphone receives target data from the external device.
대상 데이터를 외부 기기에 전송하는 동작은, 측정된 제1 수신 신호 강도가 제1 임계값 보다 큰 제2 임계값 이하로 감소하거나 측정된 제1 데이터 재전송 횟수가 제1 임계 횟수 보다 작은 제2 임계 횟수 이상으로 증가하는 경우, 외부 기기와 통신을 연결하여 대상 데이터를 외부 기기에 전송하는 동작을 포함할 수 있다.The operation of transmitting target data to an external device is performed when the measured first received signal strength decreases below a second threshold that is greater than the first threshold or the measured number of first data retransmissions decreases to a second threshold that is less than the first threshold. If the number increases beyond the number, it may include an operation of connecting communication with an external device and transmitting target data to the external device.
대상 데이터를 외부 기기에 전송하는 동작은, 외부 기기와 블루투스 통신 또는 와이 파이 통신을 통해 통신을 연결함으로써 대상 데이터를 외부 기기에 전송하는 동작을 포함할 수 있다.The operation of transmitting target data to an external device may include transmitting target data to an external device by connecting communication with the external device through Bluetooth communication or Wi-Fi communication.
일 실시예에 따른 프로세서에 의해 수행되는 방법은, 측정된 제1 수신 신호 강도가 제2 임계값 보다 큰 제3 임계값 이하로 감소하거나 측정된 제1 데이터 재전송 횟수가 제2 임계 횟수 보다 작은 제3 임계 횟수 이상으로 증가하는 경우, 무선 이어폰의 외부 기기에 대한 제2 수신 신호 강도 및 외부 기기의 전자 장치에 대한 제3 수신 신호 강도를 요청하는 동작을 더 포함할 수 있다.A method performed by a processor according to an embodiment may include: the measured first received signal strength decreases below a third threshold that is greater than the second threshold or the measured first number of data retransmissions is less than the second threshold number. If the number increases to more than 3 thresholds, the method may further include requesting a second received signal strength of the wireless earphone to the external device and a third received signal strength to the electronic device of the external device.
외부 기기와 무선 이어폰 간의 통신을 연결시키는 동작은, 측정된 제1 수신 신호 강도와 측정된 제2 수신 신호 강도의 비교 및 제3 수신 신호 강도와 한계값의 비교에 기초하여, 외부 기기와 무선 이어폰 간의 통신을 연결시킬 지 여부를 결정하는 동작을 포함할 수 있다.The operation of connecting communication between the external device and the wireless earphone is based on a comparison of the measured first received signal strength and the measured second received signal strength and a comparison of the third received signal strength and a threshold value, It may include an operation to determine whether to connect communication between devices.
외부 기기와 무선 이어폰 간의 통신을 연결시키는 동작은, 대상 데이터의 외부 기기에 버퍼링된 데이터 중 무선 이어폰에서 처리된 데이터 부분 외에 다른 데이터 부분의 데이터 크기가 제1 임계 데이터 크기 보다 커지는 시점 이후에 전자 장치와 무선 이어폰 간의 통신을 종료하는 동작을 포함할 수 있다.The operation of connecting communication between an external device and a wireless earphone is performed by an electronic device after the data size of the data portion other than the data portion processed by the wireless earphone among the data buffered in the external device of the target data becomes larger than the first threshold data size. It may include an operation of terminating communication between the wireless earphone and the wireless earphone.
외부 기기와 무선 이어폰 간의 통신을 연결시키는 동작은, 대상 데이터 중 무선 이어폰에 버퍼링되고 있는 데이터 크기가 제2 임계 데이터 크기 보다 커지는 시점 이후에 전자 장치와 무선 이어폰 간의 통신을 종료하는 동작을 포함할 수 있다.The operation of connecting communication between the external device and the wireless earphone may include terminating the communication between the electronic device and the wireless earphone after the point in time when the data size buffered in the wireless earphone among the target data becomes larger than the second threshold data size. there is.
일 실시예에 따른 프로세서에 의해 수행되는 방법은, 외부 기기와 무선 이어폰 간의 통신이 연결된 상태에서, 측정된 제1 수신 신호 강도가 제2 임계값 이상으로 증가하고, 측정된 제1 수신 신호 강도가 측정된 제2 수신 신호 강도를 초과하는 경우, 외부 기기를 제어하여 외부 기기와 무선 이어폰 간의 통신을 종료시키고 전자 장치와 무선 이어폰 간의 통신을 재연결하여 대상 데이터를 무선 이어폰에 직접적으로 전송하는 동작을 더 포함할 수 있다.A method performed by a processor according to an embodiment includes, in a state in which communication between an external device and wireless earphones is connected, the measured first received signal strength increases above the second threshold, and the measured first received signal strength is If the measured second received signal strength is exceeded, an operation of controlling the external device to terminate communication between the external device and the wireless earphones and reconnecting the communication between the electronic device and the wireless earphones to directly transmit target data to the wireless earphones. More may be included.
일 실시예에 따른 프로세서에 의해 수행되는 방법은, 외부 네트워크로부터 실시간 데이터를 수신하여 무선 이어폰으로 실시간 데이터를 전송하는 동작, 전자 장치의 외부 네트워크에 대한 제4 수신 신호 강도 및 외부 네트워크에서 전자 장치으로의 제2 데이터 재전송 횟수를 주기적으로 측정하는 동작, 및 측정된 제4 수신 신호 강도가 제4 임계값 이하로 감소하거나 측정된 제2 데이터 재전송 횟수가 제4 임계 횟수 이상으로 증가하는 경우, 전자 장치와 무선 이어폰 간의 통신을 종료하고, 외부 기기를 제어하여 무선 이어폰이 외부 기기로부터 실시간 데이터를 수신하도록 외부 기기와 외부 네트워크 간의 통신 및 외부 기기와 무선 이어폰 간의 통신을 연결시키는 동작을 포함할 수 있다.A method performed by a processor according to an embodiment includes receiving real-time data from an external network and transmitting the real-time data to a wireless earphone, fourth received signal strength for the external network of the electronic device, and from the external network to the electronic device. An operation of periodically measuring the number of second data retransmissions, and when the measured fourth received signal strength decreases below the fourth threshold or the measured number of second data retransmissions increases above the fourth threshold number, the electronic device It may include terminating communication between the external device and the wireless earphone, controlling the external device, and connecting communication between the external device and the external network and communication between the external device and the wireless earphone so that the wireless earphone receives real-time data from the external device.
일 실시예에 따른 프로세서에 의해 수행되는 방법은, 외부 기기의 외부 네트워크에 대한 제5 수신 신호 강도를 요청하는 동작을 더 포함하고, 외부 기기와 외부 네트워크 간의 통신 및 외부 기기와 무선 이어폰 간의 통신을 연결시키는 동작은, 측정된 제4 수신 신호 강도와 측정된 제5 수신 신호 강도의 비교에 기초하여, 외부 기기와 네트워크 간의 통신 및 외부 기기와 무선 이어폰 간의 통신을 연결시킬 지 여부를 결정하는 동작을 포함할 수 있다.The method performed by the processor according to one embodiment further includes an operation of requesting a fifth received signal strength for the external network of the external device, and performing communication between the external device and the external network and communication between the external device and the wireless earphone. The connecting operation includes determining whether to connect communication between an external device and a network and communication between an external device and wireless earphones based on a comparison of the measured fourth received signal strength and the measured fifth received signal strength. It can be included.
Claims (20)
무선 이어폰과 통신을 연결하는 통신부;
적어도 하나의 명령어를 저장하는 메모리; 및
상기 메모리에 저장된 명령어를 실행하는 프로세서
를 포함하고,
상기 프로세서는,
상기 무선 이어폰의 상기 전자 장치에 대한 제1 수신 신호 강도(received signal strength power) 및 상기 전자 장치에서 상기 무선 이어폰으로의 제1 데이터 재전송(transmission) 횟수를 주기적으로 측정하고,
상기 무선 이어폰으로 전송할 대상 데이터를 외부 기기에 전송하며,
상기 측정된 제1 수신 신호 강도가 제1 임계값 이하로 감소하거나 상기 측정된 제1 데이터 재전송 횟수가 제1 임계 횟수 이상으로 증가하는 경우, 상기 전자 장치와 상기 무선 이어폰 간의 통신을 종료하고, 상기 외부 기기를 제어하여 상기 무선 이어폰이 상기 외부 기기로부터 상기 대상 데이터를 수신하도록 상기 외부 기기와 상기 무선 이어폰 간의 통신을 연결시키는,
전자 장치.
In electronic devices,
A communication unit connecting wireless earphones and communication;
a memory storing at least one instruction; and
Processor executing instructions stored in the memory
Including,
The processor,
Periodically measuring a first received signal strength power of the wireless earphone to the electronic device and a first number of data retransmissions from the electronic device to the wireless earphone,
Transmits the target data to be transmitted through the wireless earphones to an external device,
When the measured first received signal strength decreases below the first threshold or the measured number of first data retransmissions increases above the first threshold, communication between the electronic device and the wireless earphone is terminated, and Controlling an external device to connect communication between the external device and the wireless earphone so that the wireless earphone receives the target data from the external device,
Electronic devices.
상기 프로세서는,
상기 측정된 제1 수신 신호 강도가 상기 제1 임계값 보다 큰 제2 임계값 이하로 감소하거나 상기 측정된 제1 데이터 재전송 횟수가 상기 제1 임계 횟수 보다 작은 제2 임계 횟수 이상으로 증가하는 경우, 상기 외부 기기와 통신을 연결하여 상기 대상 데이터를 상기 외부 기기에 전송하는,
전자 장치.
According to paragraph 1,
The processor,
When the measured first received signal strength decreases below a second threshold greater than the first threshold or the measured number of first data retransmissions increases above a second threshold number less than the first threshold number, Connecting communication with the external device to transmit the target data to the external device,
Electronic devices.
상기 통신부는,
상기 외부 기기와 블루투스(Bluetooth) 통신 또는 와이 파이(Wi-Fi) 통신을 통해 통신을 연결함으로써 상기 대상 데이터를 상기 외부 기기에 전송하는,
전자 장치.
According to paragraph 1,
The Department of Communications,
Transmitting the target data to the external device by connecting communication with the external device through Bluetooth communication or Wi-Fi communication,
Electronic devices.
상기 프로세서는,
상기 측정된 제1 수신 신호 강도가 상기 제2 임계값 보다 큰 제3 임계값 이하로 감소하거나 상기 측정된 제1 데이터 재전송 횟수가 상기 제2 임계 횟수 보다 작은 제3 임계 횟수 이상으로 증가하는 경우, 상기 무선 이어폰의 상기 외부 기기에 대한 제2 수신 신호 강도 및 상기 외부 기기의 상기 전자 장치에 대한 제3 수신 신호 강도를 요청하는,
전자 장치.
According to paragraph 1,
The processor,
When the measured first received signal strength decreases below a third threshold greater than the second threshold or the measured number of first data retransmissions increases above a third threshold number less than the second threshold, Requesting a second received signal strength of the wireless earphone to the external device and a third received signal strength of the external device to the electronic device,
Electronic devices.
상기 프로세서는,
상기 측정된 제1 수신 신호 강도와 상기 측정된 제2 수신 신호 강도의 비교 및 상기 제3 수신 신호 강도와 한계값의 비교에 기초하여, 상기 외부 기기와 상기 무선 이어폰 간의 통신을 연결시킬 지 여부를 결정하는,
전자 장치.
According to paragraph 4,
The processor,
Based on a comparison of the measured first received signal strength and the measured second received signal strength and a comparison of the third received signal strength and a threshold, whether to connect communication between the external device and the wireless earphones. deciding,
Electronic devices.
상기 프로세서는,
상기 대상 데이터의 상기 외부 기기에 버퍼링된 데이터 중 상기 무선 이어폰에서 처리된 데이터 부분 외에 다른 데이터 부분의 데이터 크기가 제1 임계 데이터 크기 보다 커지는 시점 이후에 상기 전자 장치와 상기 무선 이어폰 간의 통신을 종료하는,
전자 장치.
According to paragraph 1,
The processor,
Terminating communication between the electronic device and the wireless earphone after the data size of the data portion other than the data portion processed by the wireless earphone among the data buffered in the external device of the target data becomes greater than the first threshold data size. ,
Electronic devices.
상기 프로세서는,
상기 대상 데이터 중 상기 무선 이어폰에 버퍼링되고 있는 데이터 크기가 제2 임계 데이터 크기 보다 커지는 시점 이후에 상기 전자 장치와 상기 무선 이어폰 간의 통신을 종료하는,
전자 장치.
According to paragraph 1,
The processor,
Terminating communication between the electronic device and the wireless earphone after the point in time when the data size buffered in the wireless earphone among the target data becomes larger than the second threshold data size,
Electronic devices.
상기 프로세서는,
상기 외부 기기와 상기 무선 이어폰 간의 통신이 연결된 상태에서, 상기 측정된 제1 수신 신호 강도가 상기 제2 임계값 이상으로 증가하고, 상기 측정된 제1 수신 신호 강도가 상기 측정된 제2 수신 신호 강도를 초과하는 경우, 상기 외부 기기를 제어하여 상기 외부 기기와 상기 무선 이어폰 간의 통신을 종료시키고 상기 전자 장치와 상기 무선 이어폰 간의 통신을 재연결하여 상기 대상 데이터를 상기 무선 이어폰에 직접적으로 전송하는,
전자 장치.
According to paragraph 1,
The processor,
In a state where communication between the external device and the wireless earphone is connected, the measured first received signal strength increases above the second threshold, and the measured first received signal strength becomes the measured second received signal strength. If exceeds, controls the external device to terminate communication between the external device and the wireless earphone, reconnects communication between the electronic device and the wireless earphone, and directly transmits the target data to the wireless earphone.
Electronic devices.
외부 네트워크로부터 실시간 데이터를 수신하여 무선 이어폰으로 상기 실시간 데이터를 전송하는 통신부;
적어도 하나의 명령어를 저장하는 메모리; 및
상기 메모리에 저장된 명령어를 실행하는 프로세서
를 포함하고,
상기 프로세서는,
상기 전자 장치의 상기 외부 네트워크에 대한 제4 수신 신호 강도 및 상기 외부 네트워크에서 상기 전자 장치로의 제2 데이터 재전송 횟수를 주기적으로 측정하고,
상기 측정된 제4 수신 신호 강도가 제4 임계값 이하로 감소하거나 상기 측정된 제2 데이터 재전송 횟수가 제4 임계 횟수 이상으로 증가하는 경우, 상기 전자 장치와 상기 무선 이어폰 간의 통신을 종료하고, 외부 기기를 제어하여 상기 무선 이어폰이 상기 외부 기기로부터 실시간 데이터를 수신하도록 상기 외부 기기와 상기 외부 네트워크 간의 통신 및 상기 외부 기기와 상기 무선 이어폰 간의 통신을 연결시키는,
전자 장치.
In electronic devices,
a communication unit that receives real-time data from an external network and transmits the real-time data to wireless earphones;
a memory storing at least one instruction; and
Processor executing instructions stored in the memory
Including,
The processor,
periodically measuring a fourth received signal strength of the electronic device to the external network and a second number of data retransmissions from the external network to the electronic device;
When the measured fourth received signal strength decreases below the fourth threshold or the measured number of second data retransmissions increases above the fourth threshold, communication between the electronic device and the wireless earphone is terminated, and external Controlling the device to connect communication between the external device and the external network and communication between the external device and the wireless earphone so that the wireless earphone receives real-time data from the external device,
Electronic devices.
상기 프로세서는,
상기 외부 기기의 상기 외부 네트워크에 대한 제5 수신 신호 강도를 요청하고,
상기 측정된 제4 수신 신호 강도와 상기 측정된 제5 수신 신호 강도의 비교에 기초하여, 상기 외부 기기와 상기 네트워크 간의 통신 및 상기 외부 기기와 상기 무선 이어폰 간의 통신을 연결시킬 지 여부를 결정하는,
전자 장치.
According to clause 9,
The processor,
Request a fifth received signal strength for the external network of the external device,
Based on a comparison of the measured fourth received signal strength and the measured fifth received signal strength, determining whether to connect communication between the external device and the network and communication between the external device and the wireless earphone,
Electronic devices.
전자 장치와 통신이 수립된 무선 이어폰의 상기 전자 장치에 대한 제1 수신 신호 강도 및 상기 전자 장치에서 상기 무선 이어폰으로의 제1 데이터 재전송 횟수를 주기적으로 측정하는 동작;
상기 무선 이어폰으로 전송할 대상 데이터를 외부 기기에 전송하는 동작; 및
상기 측정된 제1 수신 신호 강도가 제1 임계값 이하로 감소하거나 상기 측정된 제1 데이터 재전송 횟수가 제1 임계 횟수 이상으로 증가하는 경우, 상기 전자 장치와 상기 무선 이어폰 간의 통신을 종료하고, 상기 외부 기기를 제어하여 상기 무선 이어폰이 상기 외부 기기로부터 상기 대상 데이터를 수신하도록 상기 외부 기기와 상기 무선 이어폰 간의 통신을 연결시키는 동작
을 포함하는 방법.
In a method performed by a processor,
An operation of periodically measuring a first received signal strength of a wireless earphone with which communication is established with the electronic device and a first number of data retransmissions from the electronic device to the wireless earphone;
An operation of transmitting target data to be transmitted to the wireless earphone to an external device; and
When the measured first received signal strength decreases below the first threshold or the measured number of first data retransmissions increases above the first threshold, communication between the electronic device and the wireless earphone is terminated, and An operation of controlling an external device to establish communication between the external device and the wireless earphone so that the wireless earphone receives the target data from the external device.
How to include .
상기 대상 데이터를 외부 기기에 전송하는 동작은,
상기 측정된 제1 수신 신호 강도가 상기 제1 임계값 보다 큰 제2 임계값 이하로 감소하거나 상기 측정된 제1 데이터 재전송 횟수가 상기 제1 임계 횟수 보다 작은 제2 임계 횟수 이상으로 증가하는 경우, 상기 외부 기기와 통신을 연결하여 상기 대상 데이터를 상기 외부 기기에 전송하는 동작
을 포함하는 방법.
According to clause 11,
The operation of transmitting the target data to an external device is:
When the measured first received signal strength decreases below a second threshold greater than the first threshold or the measured number of first data retransmissions increases above a second threshold number less than the first threshold number, An operation of connecting communication with the external device and transmitting the target data to the external device.
How to include .
상기 대상 데이터를 외부 기기에 전송하는 동작은,
상기 외부 기기와 블루투스 통신 또는 와이 파이 통신을 통해 통신을 연결함으로써 상기 대상 데이터를 상기 외부 기기에 전송하는 동작
을 포함하는 방법.
According to clause 11,
The operation of transmitting the target data to an external device is,
An operation of transmitting the target data to the external device by connecting communication with the external device through Bluetooth communication or Wi-Fi communication.
How to include .
상기 측정된 제1 수신 신호 강도가 상기 제2 임계값 보다 큰 제3 임계값 이하로 감소하거나 상기 측정된 제1 데이터 재전송 횟수가 상기 제2 임계 횟수 보다 작은 제3 임계 횟수 이상으로 증가하는 경우, 상기 무선 이어폰의 상기 외부 기기에 대한 제2 수신 신호 강도 및 상기 외부 기기의 상기 전자 장치에 대한 제3 수신 신호 강도를 요청하는 동작
을 더 포함하는 방법.
According to clause 11,
When the measured first received signal strength decreases below a third threshold greater than the second threshold or the measured number of first data retransmissions increases above a third threshold number less than the second threshold, Requesting a second received signal strength of the wireless earphone to the external device and a third received signal strength of the external device to the electronic device
How to include more.
상기 외부 기기와 상기 무선 이어폰 간의 통신을 연결시키는 동작은,
상기 측정된 제1 수신 신호 강도와 상기 측정된 제2 수신 신호 강도의 비교 및 상기 제3 수신 신호 강도와 한계값의 비교에 기초하여, 상기 외부 기기와 상기 무선 이어폰 간의 통신을 연결시킬 지 여부를 결정하는 동작
을 포함하는 방법.
According to clause 14,
The operation of connecting communication between the external device and the wireless earphone is,
Based on a comparison of the measured first received signal strength and the measured second received signal strength and a comparison of the third received signal strength and a threshold, whether to connect communication between the external device and the wireless earphones. action to decide
How to include .
상기 외부 기기와 상기 무선 이어폰 간의 통신을 연결시키는 동작은,
상기 대상 데이터의 상기 외부 기기에 버퍼링된 데이터 중 상기 무선 이어폰에서 처리된 데이터 부분 외에 다른 데이터 부분의 데이터 크기가 제1 임계 데이터 크기 보다 커지는 시점 이후에 상기 전자 장치와 상기 무선 이어폰 간의 통신을 종료하는 동작
을 포함하는 방법.
According to clause 11,
The operation of connecting communication between the external device and the wireless earphone is,
Terminating communication between the electronic device and the wireless earphone after the data size of the data portion other than the data portion processed by the wireless earphone among the data buffered in the external device of the target data becomes greater than the first threshold data size. movement
How to include .
상기 외부 기기와 상기 무선 이어폰 간의 통신을 연결시키는 동작은,
상기 대상 데이터 중 상기 무선 이어폰에 버퍼링되고 있는 데이터 크기가 제2 임계 데이터 크기 보다 커지는 시점 이후에 상기 전자 장치와 상기 무선 이어폰 간의 통신을 종료하는 동작
을 포함하는 방법.
According to clause 11,
The operation of connecting communication between the external device and the wireless earphone is,
An operation of terminating communication between the electronic device and the wireless earphone after the point in time when the data size buffered in the wireless earphone among the target data becomes larger than the second threshold data size.
How to include .
상기 외부 기기와 상기 무선 이어폰 간의 통신이 연결된 상태에서, 상기 측정된 제1 수신 신호 강도가 상기 제2 임계값 이상으로 증가하고, 상기 측정된 제1 수신 신호 강도가 상기 측정된 제2 수신 신호 강도를 초과하는 경우, 상기 외부 기기를 제어하여 상기 외부 기기와 상기 무선 이어폰 간의 통신을 종료시키고 상기 전자 장치와 상기 무선 이어폰 간의 통신을 재연결하여 상기 대상 데이터를 상기 무선 이어폰에 직접적으로 전송하는 동작
를 더 포함하는 방법.
According to clause 11,
In a state where communication between the external device and the wireless earphone is connected, the measured first received signal strength increases above the second threshold, and the measured first received signal strength becomes the measured second received signal strength. If it exceeds, an operation of controlling the external device to terminate communication between the external device and the wireless earphone and reconnecting communication between the electronic device and the wireless earphone to directly transmit the target data to the wireless earphone.
How to include more.
외부 네트워크로부터 실시간 데이터를 수신하여 무선 이어폰으로 상기 실시간 데이터를 전송하는 동작;
전자 장치의 상기 외부 네트워크에 대한 제4 수신 신호 강도 및 상기 외부 네트워크에서 상기 전자 장치로의 제2 데이터 재전송 횟수를 주기적으로 측정하는 동작; 및
상기 측정된 제4 수신 신호 강도가 제4 임계값 이하로 감소하거나 상기 측정된 제2 데이터 재전송 횟수가 제4 임계 횟수 이상으로 증가하는 경우, 상기 전자 장치와 상기 무선 이어폰 간의 통신을 종료하고, 외부 기기를 제어하여 상기 무선 이어폰이 상기 외부 기기로부터 실시간 데이터를 수신하도록 상기 외부 기기와 상기 외부 네트워크 간의 통신 및 상기 외부 기기와 상기 무선 이어폰 간의 통신을 연결시키는 동작
을 포함하는 방법.
In a method performed by a processor,
An operation of receiving real-time data from an external network and transmitting the real-time data to wireless earphones;
Periodically measuring a fourth received signal strength of an electronic device to the external network and a second number of data retransmissions from the external network to the electronic device; and
When the measured fourth received signal strength decreases below the fourth threshold or the measured number of second data retransmissions increases above the fourth threshold, communication between the electronic device and the wireless earphone is terminated, and external An operation of controlling a device to connect communication between the external device and the external network and communication between the external device and the wireless earphone so that the wireless earphone receives real-time data from the external device.
How to include .
상기 외부 기기의 상기 외부 네트워크에 대한 제5 수신 신호 강도를 요청하는 동작
을 더 포함하고,
상기 외부 기기와 상기 외부 네트워크 간의 통신 및 상기 외부 기기와 상기 무선 이어폰 간의 통신을 연결시키는 동작은,
상기 측정된 제4 수신 신호 강도와 상기 측정된 제5 수신 신호 강도의 비교에 기초하여, 상기 외부 기기와 상기 네트워크 간의 통신 및 상기 외부 기기와 상기 무선 이어폰 간의 통신을 연결시킬 지 여부를 결정하는 동작
을 포함하는 방법.
According to clause 19,
An operation of requesting a fifth received signal strength for the external network of the external device
It further includes,
The operation of connecting communication between the external device and the external network and communication between the external device and the wireless earphone,
An operation of determining whether to connect communication between the external device and the network and communication between the external device and the wireless earphone, based on a comparison of the measured fourth received signal strength and the measured fifth received signal strength.
How to include .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/KR2023/008880 WO2024005487A1 (en) | 2022-06-28 | 2023-06-26 | Electronic device and method for transmitting data to wireless earphone by means of external apparatus |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20220079059 | 2022-06-28 | ||
KR1020220079059 | 2022-06-28 |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20240002107A true KR20240002107A (en) | 2024-01-04 |
Family
ID=89542516
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020220092621A KR20240002107A (en) | 2022-06-28 | 2022-07-26 | Electronic device and method for transmitting data to wireless earphone through external device |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20240002107A (en) |
-
2022
- 2022-07-26 KR KR1020220092621A patent/KR20240002107A/en unknown
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11916987B2 (en) | Electronic device for processing audio data, and operation method thereof | |
KR20220102492A (en) | Audio device for processing audio data and operating method thereof | |
KR20240002107A (en) | Electronic device and method for transmitting data to wireless earphone through external device | |
KR20220168407A (en) | Electronic device and method thereof | |
KR20220073352A (en) | Accessory device controlling power consumption of external device and operating method thereof | |
KR20220103400A (en) | Electronic device for reducing harmonic interference and operating method thereof | |
WO2024005487A1 (en) | Electronic device and method for transmitting data to wireless earphone by means of external apparatus | |
KR20210158626A (en) | Electronic device for adjusting data rate and operating method thereof | |
US20230337302A1 (en) | Electronic device that carries out communication and operation method therefor | |
US20230336904A1 (en) | Electronic device for processing audio data and operation method therefor | |
KR20220106531A (en) | Electronic device for establishing communication connection with external electronic device and operating mehtod thereof | |
US20240056720A1 (en) | Method for outputting audio signal, and electronic device for performing same | |
US20240048613A1 (en) | Electronic device and method of forming wi-fi peer to peer (p2p) group | |
KR20220040639A (en) | Electronic device for direct communication with external electronic device and operating method thereof | |
KR20240020630A (en) | Electronic device and method for controlling generation thereof | |
KR20220107896A (en) | Electronic device performing communciation and method for operating thereof | |
KR20240020631A (en) | An electronic device and a method of forming wi-fi p2p group thereof | |
KR20240013626A (en) | Apparatus and method for controlling radio wave output in bluetooth environment | |
KR20230024818A (en) | Electronic device for switching a cellular communicatoin based on a status of the electronic device and method for the same | |
KR20220104898A (en) | Electronic device and method for swithching communication link with wireless audio device | |
KR20220102125A (en) | Electronic device for processing audio data and method of opearating the same | |
KR20220061740A (en) | Electronic device for transmitting data via communication connection and method of operating the same | |
KR20230171349A (en) | Electronic device and method for performing communication through a plurality of channels | |
KR20230057225A (en) | Electronic device and operation method of electronic device for controlling operating mode of wireless communication | |
KR20230064498A (en) | Electronic device, method, and computer readable storage medium for performing handover |