KR20210059503A - Method for switching receiving path and electronic device therefor - Google Patents

Method for switching receiving path and electronic device therefor Download PDF

Info

Publication number
KR20210059503A
KR20210059503A KR1020190147023A KR20190147023A KR20210059503A KR 20210059503 A KR20210059503 A KR 20210059503A KR 1020190147023 A KR1020190147023 A KR 1020190147023A KR 20190147023 A KR20190147023 A KR 20190147023A KR 20210059503 A KR20210059503 A KR 20210059503A
Authority
KR
South Korea
Prior art keywords
electronic device
path
data
antenna
processor
Prior art date
Application number
KR1020190147023A
Other languages
Korean (ko)
Other versions
KR102664874B1 (en
Inventor
정구필
강두석
김형근
이병철
현동훈
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020190147023A priority Critical patent/KR102664874B1/en
Priority claimed from KR1020190147023A external-priority patent/KR102664874B1/en
Priority to PCT/KR2020/015749 priority patent/WO2021096209A1/en
Publication of KR20210059503A publication Critical patent/KR20210059503A/en
Application granted granted Critical
Publication of KR102664874B1 publication Critical patent/KR102664874B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive loop type
    • H04B5/02Near-field transmission systems, e.g. inductive loop type using transceiver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • H04B1/16Circuits
    • H04B1/18Input circuits, e.g. for coupling to an antenna or a transmission line
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive loop type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive loop type
    • H04B5/0025Near field system adaptations
    • H04B5/0031Near field system adaptations for data transfer
    • H04B5/48
    • H04B5/72

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed is an electronic device comprising: an output circuit; an antenna; a communication circuit including a first reception path and a second reception path having a higher amplification factor than the first reception path, and electrically connected to the antenna; a processor; and a memory operatively connected to the processor. The memory can store one or more instructions which, during execution, enable the processor to: receive data from an external electronic device by using the antenna; buffer the data in a buffer area of the memory; and receive, from the external electronic device, a signal via the first reception path or the second reception path on the basis of the amount of residual data within the buffer area, by using the communication circuit. Besides various other embodiments identified through the present document are possible. The electronic device can reduce current consumption based on a receiving state and enhance communication quality.

Description

수신 경로 스위칭 방법 및 이를 위한 전자 장치{METHOD FOR SWITCHING RECEIVING PATH AND ELECTRONIC DEVICE THEREFOR}Receive path switching method and electronic device for the same

본 문서에서 개시된 다양한 실시예들은 수신 경로의 스위칭을 위한 방법 및 이를 위한 전자 장치에 관한 것이다. Various embodiments disclosed in this document relate to a method for switching a reception path and an electronic device therefor.

블루투스 SIG(bluetooth special interest group)에 의하여 규정되는 블루투스 표준 기술은 전자 장치들 간 근거리 무선 통신을 위한 프로토콜을 정의한다. 블루투스 네트워크 환경에서, 전자 장치들은 지정된 주파수 대역(예: 약 2.4기가헤르츠(gigahertz, GHz))에서 문자, 음성, 이미지, 또는 비디오와 같은 콘텐츠를 포함하는 데이터 패킷을 송신 또는 수신할 수 있다. The Bluetooth standard technology defined by the Bluetooth special interest group (SIG) defines a protocol for short-range wireless communication between electronic devices. In a Bluetooth network environment, electronic devices may transmit or receive data packets including content such as text, voice, image, or video in a designated frequency band (eg, about 2.4 gigahertz (GHz)).

예를 들어, 스마트폰(smartphone), 태블릿(tablet), 데스크탑(desktop) 컴퓨터, 또는 랩탑(laptop) 컴퓨터와 같은 사용자 단말(user equipment, UE)은 데이터 패킷을 다른 사용자 단말이나 액세서리 장치에게 전송할 수 있다. 액세서리 장치는 예를 들어, 이어폰, 헤드셋, 스피커, 마우스, 키보드, 또는 디스플레이 장치 중 적어도 하나를 포함할 수 있다. For example, a user equipment (UE) such as a smartphone, tablet, desktop computer, or laptop computer can transmit data packets to other user terminals or accessory devices. have. The accessory device may include, for example, at least one of an earphone, a headset, a speaker, a mouse, a keyboard, or a display device.

전자 장치는 전자 장치의 블루투스 통신 장치를 이용하여 무선 신호를 수신할 수 있다. 일반적으로, 블루투스 통신 장치는 고정된 하나의 수신 경로를 포함할 수 있다. 예를 들어, 블루투스 통신 장치는 수신 경로에 수신 신호의 증폭을 위한 증폭기를 포함할 수 있다. 증폭기를 이용하여 수신 신호를 증폭함으로써, 전자 장치의 블루투스 통신에 기반한 수신 신호의 수신 감도(Rx sensitivity)가 개선될 수 있다. 이 경우, 고정된 수신 경로의 증폭기가 포함되기 때문에, 전자 장치의 블루투스 통신 장치의 소모 전력이 증가될 수 있다. 특히, 휴대용 전자 장치는 상대적으로 낮은 용량의 배터리를 가질 수 있기 때문에, 소모 전력의 양은 전자 장치에 있어서 중요한 기준이 될 수 있다. 소모 전력의 감소를 위하여, 블루투스 통신 장치는 수신 경로에 저전력 증폭기를 포함하거나, 증폭기를 포함하지 않을 수 있다. 이 경우, 수신 감도의 열화로 인하여, 전자 장치의 통신 품질이 열화될 수 있다. The electronic device may receive a wireless signal using a Bluetooth communication device of the electronic device. In general, the Bluetooth communication device may include a fixed receiving path. For example, the Bluetooth communication device may include an amplifier for amplifying a received signal in a receiving path. By amplifying the received signal using the amplifier, the Rx sensitivity of the received signal based on Bluetooth communication of the electronic device may be improved. In this case, since an amplifier having a fixed reception path is included, power consumption of the Bluetooth communication device of the electronic device may increase. In particular, since a portable electronic device may have a battery having a relatively low capacity, the amount of power consumption may be an important criterion for an electronic device. In order to reduce power consumption, the Bluetooth communication device may or may not include a low power amplifier in a reception path. In this case, due to deterioration of the reception sensitivity, communication quality of the electronic device may deteriorate.

본 문서의 일 실시예에 따른 전자 장치는, 출력 회로, 안테나, 제1 수신 경로 및 상기 제1 수신 경로에 비하여 높은 증폭률을 갖는 제2 수신 경로를 포함하고, 상기 안테나에 전기적으로 연결된 통신 회로, 상기 출력 회로 및 상기 통신 회로에 작동적으로 연결된 프로세서, 및 상기 프로세서와 작동적으로 연결된 메모리를 포함하고, 상기 메모리는 실행 시에 상기 프로세서가, 상기 안테나를 이용하여 외부 전자 장치로부터 데이터를 수신하고, 상기 데이터를 상기 메모리의 버퍼 영역에 버퍼링하고, 상기 통신 회로를 이용하여, 상기 버퍼 영역 내의 잔여(residual) 데이터의 양에 기반하여 상기 제1 수신 경로 또는 상기 제2 수신 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하도록 하는 하나 이상의 인스트럭션들을 저장할 수 있다.An electronic device according to an embodiment of the present document includes an output circuit, an antenna, a first reception path, and a second reception path having a higher amplification factor than the first reception path, and a communication circuit electrically connected to the antenna, And a processor operatively connected to the output circuit and the communication circuit, and a memory operatively connected to the processor, the memory being executed by the processor to receive data from an external electronic device using the antenna , The external electronic device buffers the data in a buffer area of the memory, and through the first receiving path or the second receiving path based on the amount of residual data in the buffer area by using the communication circuit It can store one or more instructions that cause it to receive a signal from.

또한, 본 문서의 일 실시예에 따른 전자 장치의 데이터 수신을 위한 방법은, 상기 전자 장치의 안테나를 이용하여 외부 전자 장치로부터 데이터를 수신하는 동작, 상기 수신된 데이터를 상기 전자 장치의 버퍼 영역에 저장하는 동작, 및 상기 버퍼 영역에 저장된 데이터의 적어도 일부를 출력하는 동작을 포함하고, 상기 외부 전자 장치로부터 데이터를 수신하는 동작은, 상기 버퍼 영역 내의 잔여(residual) 데이터의 양에 기반하여 제1 수신 경로 또는 기 제1 수신 경로에 비하여 높은 증폭률을 갖는 제2 수신 경로를 상기 안테나와 연결하는 동작 및 상기 안테나를 이용하여 상기 외부 전자 장치로부터 데이터를 수신하는 동작을 포함할 수 있다.In addition, a method for receiving data by an electronic device according to an embodiment of the present document includes receiving data from an external electronic device using an antenna of the electronic device, and transferring the received data to a buffer area of the electronic device. An operation of storing and outputting at least a portion of the data stored in the buffer area, wherein the operation of receiving data from the external electronic device includes a first operation based on an amount of residual data in the buffer area. An operation of connecting a reception path or a second reception path having a higher amplification factor than the first reception path to the antenna, and an operation of receiving data from the external electronic device using the antenna.

또한, 본 문서의 일 실시예에 따른 전자 장치는, 출력 회로, 안테나, 상기 안테나에 전기적으로 연결된 통신 회로, 상기 출력 회로 및 상기 통신 회로에 작동적으로 연결된 프로세서, 및 상기 프로세서와 작동적으로 연결된 메모리를 포함하고, 상기 통신 회로는 상기 안테나를 제1 수신 경로 또는 상기 제1 수신 경로에 비하여 높은 증폭률을 갖는 제2 수신 경로를 통하여 상기 프로세서와 연결하도록 설정된 스위칭 회로를 포함하고, 상기 메모리는 실행 시에 상기 프로세서가, 상기 안테나를 이용하여 외부 전자 장치와 통신하고, 상기 외부 전자 장치로부터 데이터가 수신되면, 상기 데이터를 상기 메모리의 버퍼 영역에 저장하고, 상기 버퍼 영역에 저장된 데이터의 적어도 일부를 상기 출력 회로로 전달함으로써 상기 출력 회로를 이용하여 상기 데이터에 대응하는 미디어를 출력하도록 하는 하나 이상의 인스트럭션들을 저장하고, 상기 하나 이상의 인스트럭션들은 실행 시에, 상기 프로세서가 상기 버퍼 영역의 잔여 데이터의 양을 지정된 임계값과 비교하여, 상기 안테나가 상기 제1 수신 경로 또는 상기 수신 제2 경로와 연결되도록 상기 스위칭 회로를 제어하도록 할 수 있다.In addition, the electronic device according to an embodiment of the present document includes an output circuit, an antenna, a communication circuit electrically connected to the antenna, a processor operatively connected to the output circuit and the communication circuit, and a processor operatively connected to the processor. Including a memory, wherein the communication circuit includes a switching circuit configured to connect the antenna to the processor through a first receiving path or a second receiving path having a higher amplification factor than the first receiving path, and the memory is executed When the processor communicates with an external electronic device using the antenna and receives data from the external electronic device, the processor stores the data in a buffer area of the memory, and stores at least a portion of the data stored in the buffer area. Stores one or more instructions for outputting a media corresponding to the data using the output circuit by transferring to the output circuit, and when the one or more instructions are executed, the processor determines the amount of remaining data in the buffer area. Compared with a predetermined threshold, the switching circuit may be controlled so that the antenna is connected to the first receiving path or the second receiving path.

본 문서에 개시되는 다양한 실시예들에 따르면, 전자 장치는 수신 상태에 기반하여 소모 전류를 감소시키고 통신 품질을 개선할 수 있다.According to various embodiments disclosed in this document, the electronic device may reduce current consumption and improve communication quality based on a reception state.

본 문서에 개시되는 다양한 실시예들에 따르면, 전자 장치는 버퍼 상태에 기반하여 수신 경로를 변경함으로써 소모 전류 감소 및 통신 품질 개선을 달성할 수 있다. According to various embodiments of the present disclosure, the electronic device may reduce current consumption and improve communication quality by changing a reception path based on a buffer state.

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

도 1은 다양한 실시예들에 따른 네트워크에서 전자 장치의 블록도를 도시한다.
도 2는 다양한 실시 예들에 따른 블루투스 네트워크 환경에서 토폴로지(topology)를 도시한다.
도 3은 일 실시예에 따른 블루투스 네트워크의 전자 장치들을 도시한다.
도 4는 일 실시예에 따른 블루투스 네트워크 환경에서 장치들의 연결을 나타내는 사용자 인터페이스(user interface, UI)를 도시한다.
도 5는 일 실시예에 따른 전자 장치의 블록도를 도시한다.
도 6은 일 실시예에 따른 전자 장치의 수신 경로 설정을 도시한다.
도 7은 일 실시예에 따른 전자 장치의 데이터 출력 방법의 흐름도이다.
도 8은 일 실시예에 따른 전자 장치의 수신 경로 설정 방법의 흐름도이다.
도 9는 일 실시예에 따른 전자 장치의 수신 경로 설정 방법의 흐름도이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
1 is a block diagram of an electronic device in a network according to various embodiments.
2 illustrates a topology in a Bluetooth network environment according to various embodiments.
3 is a diagram illustrating electronic devices of a Bluetooth network according to an exemplary embodiment.
4 is a diagram illustrating a user interface (UI) indicating connection of devices in a Bluetooth network environment according to an exemplary embodiment.
5 is a block diagram of an electronic device according to an embodiment.
6 is a diagram illustrating a reception path setting of an electronic device according to an exemplary embodiment.
7 is a flowchart illustrating a method of outputting data by an electronic device according to an exemplary embodiment.
8 is a flowchart illustrating a method of setting a reception path by an electronic device according to an exemplary embodiment.
9 is a flowchart illustrating a method of setting a reception path by an electronic device according to an exemplary embodiment.
In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.

이하, 본 문서의 다양한 실시예들이 첨부된 도면을 참조하여 기재된다. 실시예 및 이에 사용된 용어들은 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 및/또는 대체물을 포함하는 것으로 이해되어야 한다. Hereinafter, various embodiments of the present document will be described with reference to the accompanying drawings. The examples and terms used therein are not intended to limit the technology described in this document to a specific embodiment, and should be understood to include various changes, equivalents, and/or substitutes for the corresponding embodiment.

도 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), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments. Referring to FIG. 1, in a network environment 100, the electronic device 101 communicates with the electronic device 102 through a first network 198 (for example, a short-range wireless communication network), or a second network 199 It is possible to communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108. According to an embodiment, the electronic device 101 includes a processor 120, a memory 130, an input device 150, an audio output device 155, a display device 160, an audio module 170, and a sensor module ( 176, interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, or antenna module 197 ) Can be included. In some embodiments, at least one of these components (eg, the display device 160 or the camera module 180) may be omitted or one or more other components may be added to the electronic device 101. In some embodiments, some of these components may be implemented as one integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).

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

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. The co-processor 123 is, for example, in place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, executing an application). ) While in the state, together with the main processor 121, at least one of the components of the electronic device 101 (for example, the display device 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the functions or states associated with it. According to an embodiment, the coprocessor 123 (eg, an image signal processor or a communication processor) may be implemented as a part of other functionally related components (eg, the camera module 180 or the communication module 190). have.

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

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

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

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

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

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

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

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

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

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

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

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101. According to an embodiment, the power management module 188 may be implemented as 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 an embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

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

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 안테나 모듈은, 일실시예에 따르면, 도전체 또는 도전성 패턴으로 형성될 수 있고, 어떤 실시예에 따르면, 도전체 또는 도전성 패턴 이외에 추가적으로 다른 부품(예: RFIC)을 더 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 하나 이상의 안테나들을 포함할 수 있고, 이로부터, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다.The antenna module 197 may transmit a signal or power to the outside (eg, an external electronic device) or receive from the outside. The antenna module may be formed of a conductor or a conductive pattern according to an exemplary embodiment, and may further include other components (eg, RFIC) in addition to the conductor or the conductive pattern according to some exemplary embodiments. According to an embodiment, the antenna module 197 may include one or more antennas, from which at least one suitable for a communication method used in a communication network such as the first network 198 or the second network 199 An antenna of, for example, may be selected by the communication module 190. The signal or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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 (e.g., a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI))) between peripheral devices and a signal ( E.g. commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199. Each of the external electronic devices 102 and 104 may be a device of the same or different type as the electronic device 101. According to an embodiment, all or part of the operations executed by the electronic device 101 may be executed by one or more of the external electronic devices 102, 104, or 108. For example, when the electronic device 101 needs to perform a function or service automatically or in response to a request from a user or another device, the electronic device 101 In addition or in addition, it is possible to request one or more external electronic devices to perform the function or at least part of the service. One or more external electronic devices receiving the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101. The electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this, for example, cloud computing, distributed computing, or client-server computing technology may be used.

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

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, “A 또는 B”, “A 및 B 중 적어도 하나”, “A 또는 B 중 적어도 하나”, “A, B 또는 C”, "A, B 및 C 중 적어도 하나”, 및 “A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, “기능적으로” 또는 “통신적으로”라는 용어와 함께 또는 이런 용어 없이, “커플드” 또는 “커넥티드”라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of the present document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutes of the corresponding embodiment. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the above items unless clearly indicated otherwise in a related context. In this document, “A or B”, “at least one of A and B”, “at least one of A or B”, “A, B or C”, “at least one of A, B and C”, and “A Each of phrases such as "at least one of B, or C" may include all possible combinations of items listed together in the corresponding phrase among the phrases. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish the component from other Order) is not limited. Some (eg, first) component is referred to as “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When mentioned, it means that any of the above components may be connected to the other components directly (eg by wire), wirelessly, or via a third component.

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

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

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

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

도 2는 다양한 실시 예들에 따른 블루투스 네트워크 환경의 토폴로지(200)를 도시한다. 2 illustrates a topology 200 of a Bluetooth network environment according to various embodiments.

도 2를 참조하면, 토폴로지(200)에 포함되는 사용자 장치(201) 및 장치들(202-1, 202-2, 및 202-3)은 도 1에 도시된 전자 장치(101)와 적어도 일부가 동일하거나 유사한 구성요소를 포함하고, 적어도 일부가 동일하거나 유사한 기능을 수행할 수 있다. 예를 들어, 사용자 장치(201) 및 장치들(202-1, 202-2, 및 202-3)은 블루투스 SIG에 의하여 규정되는 블루투스 네트워크에 따라 근거리에서 무선 통신을 수행할 수 있다. 블루투스 네트워크는 예를 들어, 블루투스 레거시(legacy) 네트워크와, BLE(bluetooth low energy) 네트워크를 포함할 수 있다. 일 실시 예에 따르면, 사용자 장치(201) 및 장치들(202-1, 202-2, 및 202-3)은 블루투스 레거시 네트워크와 BLE 네트워크 중 하나의 네트워크를 통해 무선 통신을 수행하거나, 두 개의 네트워크를 통해 무선 통신을 수행할 수 있다. Referring to FIG. 2, the user device 201 and devices 202-1, 202-2, and 202-3 included in the topology 200 are at least partially connected to the electronic device 101 illustrated in FIG. 1. The same or similar components may be included, and at least some may perform the same or similar functions. For example, the user device 201 and the devices 202-1, 202-2, and 202-3 may perform wireless communication in a short distance according to a Bluetooth network defined by the Bluetooth SIG. The Bluetooth network may include, for example, a Bluetooth legacy network and a Bluetooth low energy (BLE) network. According to an embodiment, the user device 201 and the devices 202-1, 202-2, and 202-3 perform wireless communication through one of a Bluetooth legacy network and a BLE network, or two networks. Wireless communication can be performed through.

사용자 장치(201)는 예를 들어, 스마트폰, 태블릿, 데스크탑 컴퓨터, 또는 랩탑 컴퓨터와 같은 사용자 단말을 포함하고, 장치들(202-1, 202-2, 및 202-3)은 이어폰, 헤드셋, 스피커, 마우스, 키보드, 또는 디스플레이 장치와 같은 액세서리 장치를 포함할 수 있다. 일 실시 예에 따르면, 장치들(202-1, 202-2, 및 202-3) 각각은 상대방 장치(예: 제1 장치(202-1), 제2 장치(202-2), 또는 제3 장치(202-3))를 미리 인식하거나, 상대방 장치의 정보(예: 주소 정보)를 미리 저장할 수 있다. 예를 들어, 제1 장치(202-1) 및 제2 장치(202-2)가 하나의 세트(set)를 구성하는 액세서리 장치(예: 이어폰)인 경우, 제1 장치(202-1) 및 제2 장치(202-2)는 서로를 미리 인식하거나, 서로의 주소 정보를 미리 저장할 수 있다. User device 201 includes, for example, a user terminal such as a smartphone, tablet, desktop computer, or laptop computer, and devices 202-1, 202-2, and 202-3 are earphones, headsets, It may include an accessory device such as a speaker, mouse, keyboard, or display device. According to an embodiment, each of the devices 202-1, 202-2, and 202-3 is a counterpart device (e.g., the first device 202-1, the second device 202-2, or the third device 202-1). The device 202-3) may be recognized in advance, or information (eg, address information) of the other device may be stored in advance. For example, when the first device 202-1 and the second device 202-2 are accessory devices (eg, earphones) constituting one set, the first device 202-1 and The second devices 202-2 may recognize each other in advance or may store address information of each other in advance.

일 실시 예에 따르면, 사용자 장치(201)는 마스터 장치의 역할을 수행하고, 장치들(202-1, 202-2, 또는 202-3)은 슬레이브 장치의 역할을 수행할 수 있다. 슬레이브 장치의 역할을 수행하는 장치들의 개수는 도 2에 도시된 예로 제한되는 것은 아니다. 일 실시 예에 따르면, 마스터 장치 또는 슬레이브 장치의 역할은 장치들 간 링크(link)(예: 205, 210, 또는 215)가 생성되는 절차에서 결정될 수 있다. 다른 실시 예에 따르면, 제1 장치(202-1)와 제2 장치(202-2) 중에서 하나의 장치(예: 제1 장치(202-1))가 마스터 장치의 역할을 수행하고, 다른 하나의 장치(예: 제2 장치(202-2))가 슬레이브 장치의 역할을 수행할 수 있다.According to an embodiment, the user device 201 may serve as a master device, and the devices 202-1, 202-2, or 202-3 may serve as a slave device. The number of devices that perform the role of slave devices is not limited to the example shown in FIG. 2. According to an embodiment, the role of the master device or the slave device may be determined in a procedure in which a link (eg, 205, 210, or 215) is created between devices. According to another embodiment, one of the first device 202-1 and the second device 202-2 (for example, the first device 202-1) serves as a master device, and the other A device (for example, the second device 202-2) may perform the role of a slave device.

마스터 장치는 물리 채널(physical channel)을 제어할 수 있다. 예를 들어, 마스터 장치는 데이터 패킷을 전송할 수 있는 반면에, 슬레이브 장치는 데이터 패킷을 수신한 이후에 한하여 마스터 장치로 데이터 패킷을 전송할 수 있다. 다른 예를 들어, 데이터 패킷의 전송을 위한 채널 자원(예: 주파수 호핑 채널(frequency hopping channel))은 마스터 장치의 클록(clock)에 기반하여 생성될 수 있다. 블루투스 레거시 네트워크에서, 시간 자원(예: 시간 슬롯(time slot))은 마스터 장치의 클록에 기반하여 결정될 수 있다. 시간 슬롯은 예를 들어, 625 ㎲(microsecond)일 수 있다. BLE 네트워크에서, 마스터 장치와 슬레이브 장치는 지정된 구간(interval) 마다 데이터 패킷을 전송하고, 데이터 패킷이 수신되면 지정된 시간(예: T_IFS(the inter frame space), 약 150 ㎲) 이후에 응답할 수 있다. The master device can control a physical channel. For example, the master device can transmit the data packet, while the slave device can transmit the data packet to the master device only after receiving the data packet. For another example, a channel resource for transmission of a data packet (eg, a frequency hopping channel) may be generated based on a clock of the master device. In the Bluetooth legacy network, a time resource (eg, a time slot) may be determined based on a clock of the master device. The time slot may be, for example, 625 microseconds. In a BLE network, the master device and the slave device transmit a data packet every specified interval, and when a data packet is received, the master device and the slave device can respond after a specified time (e.g., the inter frame space (T_IFS), about 150 µs). .

일 실시 예에 따르면, 사용자 장치(201)는 장치들(202-1, 202-2, 및 202-3)에게 문자, 음성, 이미지, 또는 비디오와 같은 콘텐츠를 포함하는 데이터 패킷을 전송할 수 있다. 데이터 패킷이 포함하는 콘텐츠의 종류에 따라 사용자 장치(201)뿐만 아니라 장치들(202-1, 202-2, 또는 202-3) 중 적어도 하나의 장치도 데이터 패킷을 전송할 수 있다. 예를 들어, 사용자 장치(201)에서 음악이 재생되면, 사용자 장치(201)에 한하여 데이터 패킷을 전송할 수 있는 반면에, 사용자 장치(201)에서 통화가 수행되면, 사용자 장치(201)뿐만 아니라 장치들(202-1, 202-2, 또는 202-3) 중 적어도 하나의 장치도 콘텐츠(예: 음성 데이터)를 포함하는 데이터 패킷을 사용자 장치(201)로 전송할 수 있다. 사용자 장치(201)만 데이터 패킷을 전송하는 경우, 사용자 장치(201)는 소스 장치(source device)로 지칭되고, 장치들(202-1, 202-2, 및 202-3)은 싱크 장치(sink device)로 지칭될 수 있다. According to an embodiment, the user device 201 may transmit a data packet including content such as text, voice, image, or video to the devices 202-1, 202-2, and 202-3. Depending on the type of content included in the data packet, not only the user device 201 but also at least one of the devices 202-1, 202-2, or 202-3 may transmit the data packet. For example, when music is played on the user device 201, data packets can be transmitted only to the user device 201, whereas when a call is performed on the user device 201, not only the user device 201 but also the device At least one of the devices 202-1, 202-2, or 202-3 may also transmit a data packet including content (eg, voice data) to the user device 201. When only the user device 201 transmits a data packet, the user device 201 is referred to as a source device, and the devices 202-1, 202-2, and 202-3 are sink devices. device).

사용자 장치(201)가 데이터 패킷을 전송하기 위하여 복수의 장치들(202-1, 202-2, 및 202-3)과 복수의 링크를 생성(create, 또는 수립(establish))하면 사용자 장치(201)의 자원 소모 및 전력 소모가 증가할 수 있으므로, 사용자 장치(201)는 제1 장치(202-1)와 제1 링크(205)만을 형성하고, 제1 링크(205)를 통해 데이터 패킷을 전송할 수 있다. 이 경우, 적어도 하나의 다른 장치(예: 202-2, 202-3)는 콘텐츠를 포함하는 데이터 패킷을 수신하기 위하여 제1 링크(205)를 모니터링할 수 있다. 이 경우, 사용자 장치(201)는 DUT(device under test), 제1 장치(202-1)는 PE(primary earbud, 또는 primary equipment), 적어도 하나의 다른 장치(예: 202-2, 202-3)는 SE(secondary earbud, 또는 secondary equipment)로 지칭될 수 있다. When the user device 201 creates or establishes a plurality of links with the plurality of devices 202-1, 202-2, and 202-3 in order to transmit a data packet, the user device 201 ) May increase resource consumption and power consumption, so that the user device 201 forms only the first device 202-1 and the first link 205, and transmits a data packet through the first link 205. I can. In this case, at least one other device (eg, 202-2, 202-3) may monitor the first link 205 to receive a data packet including content. In this case, the user device 201 is a device under test (DUT), the first device 202-1 is a PE (primary earbud, or primary equipment), at least one other device (for example, 202-2, 202-3). ) May be referred to as SE (secondary earbud, or secondary equipment).

일 실시 예에 따르면, 제1 장치(202-1)는 제2 장치(202-2)와 제3 링크(215)를 생성할 수 있다. 제2 장치(202-2)가 제1 링크(205)를 모니터링하고 사용자 장치(201)에게 응답 메시지를 전송할 수 있도록, 제1 장치(202-1)는 제3 링크(215)를 통해 제1 링크(205)와 연관된 정보를 제2 장치(202-2)에게 전송할 수 있다. 이하에서, 용어 “모니터링”은 해당 링크를 통하여 전달되는 패킷의 적어도 일부의 수신을 시도하는 상태 또는 패킷의 적어도 일부를 수신할 수 있는 상태를 의미할 수 있다. 예를 들어, 제2 장치(202-2)가 제1 링크(205)를 모니터링하는 경우, 제2 장치(202-2)는 제1 링크(205)를 통하여 사용자 장치(201) 또는 제1 장치(202-1)(예: 제1 링크(205)를 형성한 전자 장치들)가 송신하는 패킷의 적어도 일부를 수신 또는 수신 시도할 수 있다. 이 경우, 사용자 장치(201)는 제2 링크(210)를 이용하여 제2 장치(202-2)를 인식할 수 있으나, 제1 링크(205)를 통하여는 제2 장치(202-2)의 존재를 인식하지 못할 수 있다. 제1 링크(205)와 연관된 정보는 주소 정보(예: 제1 링크(205)의 마스터 장치의 블루투스 주소, 사용자 장치(201)의 블루투스 주소, 및/또는 제1 장치(202-1)의 블루투스 주소), 피코넷(piconet) 클록 정보(예: 제1 링크(205)의 마스터 장치의 CLKN(clock native)), 논리 운송(logical transport, LT) 주소 정보(예: 제1 링크(205)의 마스터 장치에 의하여 할당된 정보), 사용 채널 맵(used channel map) 정보, 링크 키(link key) 정보, SDP(service discovery protocol) 정보(예: 제1 링크(205)에 연관된 서비스 및/또는 프로필 정보), 및/또는 지원 피쳐(supported feature) 정보를 포함할 수 있다. 제1 링크(205)와 연관된 정보는, 예를 들어, EIR(extended inquiry response) 패킷을 더 포함할 수 있다. EIR 패킷은 제1 링크(205)의 자원 제어 정보 및/또는 제조자에 대한 정보를 포함할 수 있다. 제2 장치(202-2)는 주소 정보 및 클록 정보를 통해 제1 링크(205)의 호핑 채널(hopping channel)(또는, 주파수 호핑 채널)을 결정할 수 있고, 링크 키 정보를 통해 암호화 된 데이터 패킷을 해독(decrypt) 할 수 있다. 제2 장치(202-2)는 제1 링크(205)와 연관된 정보에 기반하여 제1 링크(205)에 대응하는 액세스 코드(access code)(또는 채널 액세스 코드(channel access code)) 및 주소 정보(예: LT 주소 정보)를 생성하고, 생성된 액세스 코드 및 주소 정보를 포함하는 응답 메시지를 사용자 장치(201)에게 전송할 수 있다. According to an embodiment, the first device 202-1 may create the second device 202-2 and the third link 215. The first device 202-1 via the third link 215 so that the second device 202-2 can monitor the first link 205 and send a response message to the user device 201. Information associated with the link 205 may be transmitted to the second device 202-2. Hereinafter, the term “monitoring” may mean a state in which at least part of a packet transmitted through a corresponding link is attempted to be received or a state in which at least part of a packet can be received. For example, if the second device 202-2 monitors the first link 205, the second device 202-2 is the user device 201 or the first device via the first link 205. (202-1) (e.g., electronic devices that formed the first link 205) may receive or attempt to receive at least a part of a packet transmitted. In this case, the user device 201 may recognize the second device 202-2 using the second link 210, but the second device 202-2 is They may not be aware of their existence. The information associated with the first link 205 includes address information (e.g., the Bluetooth address of the master device of the first link 205, the Bluetooth address of the user device 201, and/or the Bluetooth address of the first device 202-1). Address), piconet clock information (eg, CLKN (clock native) of the master device of the first link 205), logical transport (LT) address information (eg, the master of the first link 205) Information allocated by the device), used channel map information, link key information, service discovery protocol (SDP) information (eg, service and/or profile information related to the first link 205) ), and/or supported feature information. The information associated with the first link 205 may further include, for example, an extended inquiry response (EIR) packet. The EIR packet may include resource control information of the first link 205 and/or information on a manufacturer. The second device 202-2 may determine a hopping channel (or frequency hopping channel) of the first link 205 through address information and clock information, and an encrypted data packet through the link key information. Can be decrypted. The second device 202-2 is an access code (or channel access code) and address information corresponding to the first link 205 based on the information associated with the first link 205. (Eg, LT address information) may be generated and a response message including the generated access code and address information may be transmitted to the user device 201.

다른 실시 예에 따르면, 제1 장치(202-1) 및 제2 장치(202-2)가 동일한 사용자 계정 또는 유사한 사용자 계정(예: 가족 계정)을 지원하는 장치인 경우, 제1 장치(202-1) 및 제2 장치(202-2)는 동일하거나 유사한 사용자 계정을 통해 제1 장치(202-1) 또는 제2 장치(202-2)와 연동되는 외부 장치(예: 외부 서버(203))를 통해 제1 링크(205)와 연관된 정보를 공유할 수 있다. 이 경우, 토폴로지(200)는 외부 서버(203)를 더 포함할 수 있다. 유사하게, 제3 장치(202-3) 또한 제1 장치(202-1)와 동일한 사용자 계정 또는 유사한 계정(예: 가족 계정)을 지원하는 장치일 수 있다. 예를 들어, 제1 장치(202-1)는 외부 서버(203)에게 제1 링크(205)와 연관된 정보를 전송하고, 외부 서버(203)는 제1 링크(205)와 연관된 정보를 제2 장치(202-2) 및/또는 제3 장치(202-3)에게 전송할 수 있다. 외부 서버(203)는, 예를 들어, 제2 장치(202-2) 및/또는 제3 장치(202-3)로부터 요청이 수신되면 제1 장치(202-1) 및/또는 사용자 장치(201)로부터 수신된 정보(예: 제1 링크(205)와 연관된 정보)를 제2 장치(202-2) 및/또는 제3 장치(202-3)에 송신할 수 있다. 외부 서버(203)는 제2 장치(202-2) 및/또는 제3 장치(202-3)로부터 요청이 수신되면 제1 장치(202-1) 및/또는 사용자 장치(201)에게 제1 링크(205)와 연관된 정보의 송신을 요청하고, 제1 장치(202-1) 및/또는 사용자 장치(201)로부터 제1 링크(205)와 연관된 정보를 수신할 수 있다. 외부 서버(203)는 제2 장치(202-2) 및/또는 제3 장치(202-3)로부터 요청이 수신되면 외부 서버(203)에 저장된 제1 링크(205)와 연관된 정보를 제2 장치(202-2) 및/또는 제3 장치(202-3)에 송신할 수 있다.According to another embodiment, when the first device 202-1 and the second device 202-2 are devices that support the same user account or a similar user account (eg, a family account), the first device 202- 1) and the second device 202-2 are an external device (for example, an external server 203) that is linked with the first device 202-1 or the second device 202-2 through the same or similar user account. Information associated with the first link 205 may be shared through. In this case, the topology 200 may further include an external server 203. Similarly, the third device 202-3 may also be a device that supports the same user account or a similar account (eg, family account) as the first device 202-1. For example, the first device 202-1 transmits information associated with the first link 205 to the external server 203, and the external server 203 transmits information associated with the first link 205 to the second. Device 202-2 and/or a third device 202-3. The external server 203, for example, when a request is received from the second device 202-2 and/or the third device 202-3, the first device 202-1 and/or the user device 201 ), information (eg, information associated with the first link 205) may be transmitted to the second device 202-2 and/or the third device 202-3. The external server 203 provides a first link to the first device 202-1 and/or the user device 201 when a request is received from the second device 202-2 and/or the third device 202-3. The transmission of information associated with 205 may be requested, and information associated with the first link 205 may be received from the first device 202-1 and/or the user device 201. When a request is received from the second device 202-2 and/or the third device 202-3, the external server 203 transmits the information associated with the first link 205 stored in the external server 203 to the second device. (202-2) and/or the third device 202-3.

도 3은 일 실시예에 따른 블루투스 네트워크(300)의 전자 장치들을 도시한다.3 illustrates electronic devices of the Bluetooth network 300 according to an exemplary embodiment.

도 3을 참조하여 , 예를 들어, 사용자 장치(201)는 휴대용 전자 장치(예: 스마트 폰)일 수 있다. 제1 장치(202-1)와 제2 장치(202-2)는 하나의 세트를 구성하는 무선 이어폰 또는 무선 이어버드일 수 있다. 예를 들어, 사용자 장치(201)와 제1 장치(202-1) 및 제2 장치(202-2)는 통신 링크(215)를 통해 연결된 상태일 수 있다. Referring to FIG. 3, for example, the user device 201 may be a portable electronic device (eg, a smart phone). The first device 202-1 and the second device 202-2 may be wireless earphones or wireless earbuds constituting one set. For example, the user device 201, the first device 202-1 and the second device 202-2 may be connected through the communication link 215.

예를 들어, 도 4 내지 도 9와 관련하여 후술되는 실시예들에 있어서, 제1 장치(202-1)와 제2 장치(202-2)는 각각 후술하는 실시예들에 따라서 사용자 장치(201)로부터의 데이터를 수신할 수 있다. 이 경우, 제1 장치(202-1)는 제2 장치(202-2)와는 독립적으로 데이터 수신 방법을 결정할 수 있다. 다른 예를 들어, 제1 장치(202-1)와 제2 장치(202-2) 중 하나가 수신 방법을 결정하고, 제1 장치(202-1)와 제2 장치(202-2)가 동일한 수신 방법을 이용하도록 설정될 수 있다. 이 경우, 제1 장치(202-1)가 수신 방법을 결정하고, 제2 장치(202-2)로 하여금 결정된 수신 방법에 따라서 사용자 장치(201)로부터의 데이터를 수신하도록 할 수 있다.For example, in the embodiments described later with reference to FIGS. 4 to 9, the first device 202-1 and the second device 202-2 are each of the user device 201 according to the embodiments to be described later. You can receive data from ). In this case, the first device 202-1 may determine a method of receiving data independently from the second device 202-2. For another example, one of the first device 202-1 and the second device 202-2 determines the receiving method, and the first device 202-1 and the second device 202-2 are the same. It can be set to use a receiving method. In this case, the first device 202-1 may determine a receiving method, and the second device 202-2 may receive data from the user device 201 according to the determined receiving method.

일 실시예에 따르면, 전자 장치(201)의 연결 상태에 기반하여 제1 장치(202-1) 및/또는 제2 장치(202-2)의 동작이 결정될 수 있다. 일 예를 들어, 사용자 장치(201)는 제1 링크(205)를 통하여 제1 데이터를 송신하고, 제1 장치(202-1)와 제2 장치(202-2)가 제1 링크(205)를 이용하여 제1 데이터를 수신할 수 있다. 이 경우, 제1 장치(202-1)와 제2 장치(202-2)는 단일 연결에 연관된 제1 기준의 통신 환경에 기반하여 제1 데이터를 수신하기 위한 수신 경로를 설정할 수 있다. 다른 예를 들어, 사용자 장치(201)는 복수의 링크를 통하여 데이터를 송신할 수 있다. 사용자 장치(201)는 제1 링크(205)를 통하여 제1 데이터를 제1 장치(202-1)로 송신하고, 제2 링크(210)를 통하여 제2 데이터를 제2 장치(202-2)로 송신할 수 있다. 이 경우, 제1 장치(202-1)와 제2 장치(202-2)는 다중 연결에 연관된 제2 기준의 통신 환경에 기반하여 수신 경로를 설정할 수 있다. 제2 기준은 제1 기준에 비하여 높은 품질의 통신 환경으로 참조될 수 있다. 따라서, 다중 링크 송신에 있어서, 제1 장치(202-1) 및/또는 제2 장치(202-2)는 단일 링크 송신에 비하여 보다 높은 빈도로 고증폭 수신 경로(도 5의 제2 수신 경로(585))를 이용할 수 있다. 일 예시에서, 사용자 장치(201)는 제1 장치(202-1) 및/또는 제2 장치(202-2)에 단일 링크 또는 다중 링크 송신에 대한 정보를 전달할 수 있다. 제1 장치(202-1) 및/또는 제2 장치(202-2)는 수신된 단일 링크 또는 다중 링크 송신에 대한 정보에 기반하여 수신 경로의 선택을 위한 기준을 제1 기준 또는 제2 기준으로 설정할 수 있다. According to an embodiment, the operation of the first device 202-1 and/or the second device 202-2 may be determined based on the connection state of the electronic device 201. For example, the user device 201 transmits the first data over the first link 205, and the first device 202-1 and the second device 202-2 are connected to the first link 205. The first data may be received by using. In this case, the first device 202-1 and the second device 202-2 may set a receiving path for receiving the first data based on the communication environment of the first reference associated with a single connection. For another example, the user device 201 may transmit data through a plurality of links. The user device 201 transmits the first data to the first device 202-1 through the first link 205, and the second data through the second link 210 to the second device 202-2. Can be sent to. In this case, the first device 202-1 and the second device 202-2 may set the reception path based on the communication environment of the second reference related to the multiple connection. The second criterion may be referred to as a communication environment of higher quality than the first criterion. Therefore, in multi-link transmission, the first device 202-1 and/or the second device 202-2 have a higher frequency than the single link transmission, and the high amplification receive path (the second receive path in FIG. 585)) can be used. In one example, the user device 201 may convey information for a single link or multiple link transmission to the first device 202-1 and/or the second device 202-2. The first device 202-1 and/or the second device 202-2 determine a criterion for selection of a receiving path based on the received information on single-link or multi-link transmission as a first criterion or a second criterion. Can be set.

일 실시예에 따르면, 제1 장치(202-1) 및/또는 제2 장치(202-2)의 수신 경로를 선택하기 위한 기준(예: 제1 기준, 제2 기준)은 사용자 장치(201)에서 실행 중인 어플리케이션 또는 사용자 장치(201)의 동작 모드에 따라서 변경될 수 있다. 예를 들어, 사용자 장치(201)가 송신하는 데이터가 지정된 어플리케이션(예: 게임, 오디오 재생, 또는 음성 통화)에 연관된 데이터인 경우, 제1 장치(202-1) 및/또는 제2 장치(202-2)는 다른 어플리케이션과는 다른 기준에 따라서 수신 경로를 선택할 수 있다. According to an embodiment, a criterion (eg, a first criterion, a second criterion) for selecting a receiving path of the first device 202-1 and/or the second device 202-2 is the user device 201 It may be changed according to an application running in the device or an operation mode of the user device 201. For example, if the data transmitted by the user device 201 is data related to a specified application (eg, game, audio playback, or voice call), the first device 202-1 and/or the second device 202 -2) can select a receiving path according to a criterion different from other applications.

도 4는 일 실시예에 따른 블루투스 네트워크 환경에서 장치들의 연결을 나타내는 사용자 인터페이스(user interface, UI)를 도시한다. 4 is a diagram illustrating a user interface (UI) indicating connection of devices in a Bluetooth network environment according to an exemplary embodiment.

도 4는 제1 장치(202-1) 및 제2 장치(202-2)가 세트로 구성되는 실시 예를 도시하지만, 사용자 장치(201)가 제1 장치(202-1)와의 연결만을 나타내는 사용자 인터페이스에도 동일한 원리가 적용될 수 있다. 4 shows an embodiment in which the first device 202-1 and the second device 202-2 are configured as a set, but the user device 201 shows only the connection with the first device 202-1. The same principle can be applied to interfaces.

도 4를 참조하면, 참조 번호 401에서, 사용자 장치(201)는 제1 장치(202-1)로부터 전송된 애드버타이징(advertising) 신호를 수신함으로써 제1 장치(202-1)를 인식(recognize)하고, 인식된 제1 장치(202-1) 및 제1 장치(202-1)와 세트를 구성하는 제2 장치(202-2)를 사용자에게 알리기 위한 제1 사용자 인터페이스(410)를 사용자 장치(201)의 디스플레이(360)(예: 도 1의 표시 장치(160))를 통해 출력할 수 있다. 4, at reference numeral 401, the user device 201 recognizes the first device 202-1 by receiving an advertising signal transmitted from the first device 202-1 ( recognize), and the first user interface 410 for informing the user of the recognized first device 202-1 and the second device 202-2 constituting the set with the first device 202-1. It can be output through the display 360 of the device 201 (eg, the display device 160 of FIG. 1 ).

제1 사용자 인터페이스(410)는 예를 들어, 제1 장치(202-1) 및 제2 장치(202-2)의 형태를 나타내는 이미지(415) 또는 제1 장치(202-1) 및 제2 장치(202-2)의 장치 이름(예: My Galaxy Buds)을 나타내는 텍스트(417) 중 적어도 하나를 포함할 수 있다. 다른 예를 들어, 도 4에는 도시되지 않았지만, 제1 사용자 인터페이스(410)는 제1 장치(202-1) 또는 제2 장치(202-2)가 이전에 연결된 이력이 있는지를 나타낼 수 있다. The first user interface 410 may be, for example, an image 415 representing the shape of the first device 202-1 and the second device 202-2 or the first device 202-1 and the second device It may include at least one of the texts 417 representing the device name (eg, My Galaxy Buds) of (202-2). For another example, although not shown in FIG. 4, the first user interface 410 may indicate whether the first device 202-1 or the second device 202-2 has a history of being previously connected.

일 실시 예에 따르면, 애드버타이징 신호는 사용자 장치(201)와 제1 장치(202-1)의 연결(또는 페어링(pairing))을 위한 정보를 포함할 수 있다. 예를 들어, 애드버타이징 신호는 제1 장치(202-1)의 식별 정보, 사용자 계정 정보, 제1 장치(202-1)가 다른 장치와 페어링 중인지를 나타내는 현재 페어링 정보, 제1 장치(202-1)가 이전에 페어링 된 장치에 관한 리스트(list)를 나타내는 페어링 리스트, 제1 장치(202-1)와 동시에 페어링 할 수 있는 장치를 나타내는 동시 페어링 정보, 송신 전력, 감지 영역, 또는 배터리 상태 정보 중 적어도 하나를 포함할 수 있다. 다른 예를 들어, 제1 장치(202-1)가 제2 장치(202-2)와 세트를 구성하는 경우, 애드버타이징 신호는 제2 장치(202-2)의 식별 정보, 사용자 계정 정보, 제2 장치(202-2)가 다른 장치와 페어링 중인지를 나타내는 현재 페어링 정보, 제2 장치(202-2)가 이전에 페어링 된 장치에 관한 리스트(list)를 나타내는 페어링 리스트, 제1 장치(202-2)와 동시에 페어링 할 수 있는 장치를 나타내는 동시 페어링 정보, 송신 전력, 감지 영역, 또는 배터리 상태 정보 중 적어도 하나를 더 포함할 수 있다. According to an embodiment, the advertising signal may include information for connection (or pairing) between the user device 201 and the first device 202-1. For example, the advertising signal may include identification information of the first device 202-1, user account information, current pairing information indicating whether the first device 202-1 is pairing with another device, and the first device ( Pairing list indicating a list of previously paired devices 202-1), simultaneous pairing information indicating devices that can be paired with the first device 202-1 at the same time, transmit power, detection area, or battery It may include at least one of status information. For another example, when the first device 202-1 forms a set with the second device 202-2, the advertising signal is identification information of the second device 202-2, user account information , Current pairing information indicating whether the second device 202-2 is pairing with another device, a pairing list indicating a list of devices to which the second device 202-2 has been previously paired, the first device ( 202-2) may further include at least one of simultaneous pairing information, transmission power, sensing area, and battery status information indicating a device that can be paired simultaneously.

일 실시 예에 따르면, 제1 장치(202-1)는 멀티캐스트(multicast) 방식 또는 브로드캐스트(broadcast) 방식을 통해 애드버타이징 신호를 전송할 수 있다. According to an embodiment, the first device 202-1 may transmit an advertising signal through a multicast method or a broadcast method.

일 실시 예에 따르면, 제1 장치(202-1)는 지정된 조건에 따라서 애드버타이징 신호를 전송할 수 있다. 예를 들어, 제1 장치(202-1)는 제1 장치(202-1)가 보관되는 케이스가 열린 것을 감지한 것에 응답하여 애드버타이징 신호를 전송할 수 있다. 다른 예를 들어, 제1 장치(202-1)는 전원이 공급되거나, 사용자 입력을 수신한 것에 응답하여 애드버타이징 신호를 전송할 수 있다. 다른 예를 들어, 제1 장치(202-1)는 지정된 주기마다 애드버타이징 신호를 전송할 수 있다. According to an embodiment, the first device 202-1 may transmit an advertising signal according to a specified condition. For example, the first device 202-1 may transmit an advertising signal in response to detecting that the case in which the first device 202-1 is stored is opened. For another example, the first device 202-1 may transmit an advertising signal in response to being supplied with power or receiving a user input. For another example, the first device 202-1 may transmit an advertising signal every specified period.

일 실시 예에 따르면, 사용자 장치(201)는 제1 장치(202-1)와의 연결을 요청하는 사용자 입력(418)을 수신한 것에 응답하여, 또는 사용자 입력 없이 자동적으로 제1 장치(202-1)와 제1 링크(예: 도 2의 제1 링크(205))를 수립할 수 있다. 일 실시 예에 따르면, 사용자 장치(201) 및 제1 장치(202-1)는 블루투스 표준 규격에 기반하는 절차에 따라서 제1 링크(205)를 수립할 수 있다. 예를 들어, 사용자 장치(201) 및 제1 장치(202-1)는 상대방 장치를 인식하기 위한 기저대역 페이지 절차(baseband page procedure), LMP(link manager protocol) 버전(version), 클록 오프셋(clock offset), 및 지원되는 기능(예: supported feature)을 확인(identify)하기 위한 LMP 절차, 연결의 확인을 위한 호스트 연결/응답(host request/response) 절차, 상대방 장치가 신뢰할 수 있는 장치인지 여부를 확인하기 위한 인증(authentication) 절차, 암호화(encryption) 절차, 및 호스트에게 연결(예: 제1 링크(205))의 완료를 알리기 위한 셋업 완료(setup complete) 절차를 수행할 수 있다. According to an embodiment, the user device 201 automatically transmits the first device 202-1 in response to receiving a user input 418 requesting connection with the first device 202-1 or without a user input. ) And a first link (eg, the first link 205 of FIG. 2) may be established. According to an embodiment, the user device 201 and the first device 202-1 may establish the first link 205 according to a procedure based on the Bluetooth standard. For example, the user device 201 and the first device 202-1 have a baseband page procedure for recognizing a counterpart device, a link manager protocol (LMP) version, and a clock offset. offset), and an LMP procedure to identify a supported function (e.g., a supported feature), a host request/response procedure to confirm the connection, and whether the other device is a trusted device. An authentication procedure for verification, an encryption procedure, and a setup complete procedure for informing the host of the completion of the connection (eg, the first link 205) may be performed.

제1 링크(205)가 수립되면, 참조 번호 402에서와 같이, 사용자 장치(201)는 제1 장치(202-1)가 사용자 장치(201)와 연결됨을 나타내는 제2 사용자 인터페이스(420)를 디스플레이(360)를 통해 출력할 수 있다. 제2 사용자 인터페이스(420)는 예를 들어, 제1 전자 장치(202-1) 및 제1 장치(202-1)와 세트를 구성하는 제2 장치(202-2)의 배터리 상태를 나타내는 이미지(425)를 더 포함할 수 있다. When the first link 205 is established, as in reference numeral 402, the user device 201 displays a second user interface 420 indicating that the first device 202-1 is connected to the user device 201. It can be output through (360). The second user interface 420 includes, for example, an image representing the battery status of the first electronic device 202-1 and the second device 202-2 constituting the set with the first device 202-1 ( 425) may be further included.

도 4에는 도시되지 않았지만, 일 실시 예에 따르면, 사용자 장치(201)가 제1 장치(202-1) 및 제2 장치(202-2) 이외의 외부 장치와 기 연결된 상태에서 제1 장치(202-1)가 발견(discover)되면, 제1 장치(202-1) 또는 제2 장치(202-2)가 사용자 장치(201)와 외부 장치 간 기 연결된 링크를 모니터링 할 수 있도록, 사용자 장치(201)는 제1 장치(202-1) 또는 제2 장치(202-2)에게 기 연결된 링크에 관한 정보를 전송할 수 있다. 이 경우, 제1 사용자 인터페이스(410)는 제1 장치(202-1) 또는 제2 장치(202-2)가 추가될 수 있음을 나타내는 정보를 포함할 수 있다. 제1 장치(202-1) 또는 제2 장치(202-2)의 추가를 요청하는 사용자 입력이 수신되면, 사용자 장치(201)는 제1 장치(202-1) 또는 제2 장치(202-2)에게 기 연결된 링크에 관한 정보를 전송할 수 있다. Although not shown in FIG. 4, according to an embodiment, the user device 201 is connected to an external device other than the first device 202-1 and the second device 202-2. -1) is discovered, the user device 201 so that the first device 202-1 or the second device 202-2 can monitor the link between the user device 201 and the external device. ) May transmit information about a previously connected link to the first device 202-1 or the second device 202-2. In this case, the first user interface 410 may include information indicating that the first device 202-1 or the second device 202-2 can be added. When a user input requesting the addition of the first device 202-1 or the second device 202-2 is received, the user device 201 is ) Can be sent information about the previously connected link.

다시 도 3을 참조하여, 일 실시예에 따르면, 사용자 장치(201)는 소스 장치(source device)로서 동작할 수 있다. 사용자 장치(201)는 제1 링크(205)를 통하여 제1 장치(202-1)로 오디오 데이터를 송신할 수 있다. 제1 장치(202-1)와 제2 장치(202-2)는 제1 링크(205)를 통하여 사용자 장치(201)로부터 수신된 오디오 데이터를 수신하고, 수신된 오디오 데이터를 출력하도록 설정될 수 있다. 예를 들어, 제1 장치(202-1)와 제2 장치(202-2)는 수신된 오디오 데이터를 버퍼에 저장하고, 버퍼에 저장된 데이터를 이용하여 오디오 신호를 출력할 수 있다. Referring back to FIG. 3, according to an embodiment, the user device 201 may operate as a source device. The user device 201 may transmit audio data to the first device 202-1 through the first link 205. The first device 202-1 and the second device 202-2 may be configured to receive audio data received from the user device 201 through the first link 205 and output the received audio data. have. For example, the first device 202-1 and the second device 202-2 may store the received audio data in a buffer and output an audio signal using the data stored in the buffer.

일 실시예에 따르면, 제1 장치(202-1) 및/또는 제2 장치(202-2)가 소스 장치로서 동작할 수 있다. 예를 들어, 제1 장치(202-1) 및/또는 제2 장치(202-2)가 제1 링크(205)의 무선 자원을 이용하여 사용자 장치(201)로 오디오 데이터를 송신할 수 있다. 사용자 장치(201)는 수신된 오디오 데이터를 버퍼에 저장하고, 버퍼에 저장된 데이터를 이용하여 오디오 신호를 출력할 수 있다. According to an embodiment, the first device 202-1 and/or the second device 202-2 may operate as a source device. For example, the first device 202-1 and/or the second device 202-2 may transmit audio data to the user device 201 by using the radio resource of the first link 205. The user device 201 may store the received audio data in a buffer and output an audio signal by using the data stored in the buffer.

이하의 다양한 실시예들에 있어서, 전자 장치가 전자 장치의 통신 상태에 기반하여 수신 경로를 설정하는 다양한 방법들이 설명될 수 있다. 상술된 바와 같이, 사용자 장치(201), 제1 장치(202-1), 및/또는 제2 장치(202-2)가 소스 장치로부터 데이터를 수신하는 경우, 사용자 장치(201), 제1 장치(202-1), 및/또는 제2 장치(202-2)가 후술되는 실시예들을 수행할 수 있다. In the following various embodiments, various methods in which an electronic device sets a reception path based on a communication state of the electronic device may be described. As described above, when the user device 201, the first device 202-1, and/or the second device 202-2 receive data from the source device, the user device 201, the first device (202-1) and/or the second device 202-2 may perform the embodiments described below.

도 5는 일 실시예에 따른 전자 장치(501)의 블록도(500)를 도시한다.5 is a block diagram 500 of an electronic device 501 according to an embodiment.

일 실시예에 따르면, 전자 장치(501)(예: 도 2의 사용자 장치(201))는 프로세서(520), 메모리(530), 및 통신 회로(590)를 포함할 수 있다. 전자 장치(501)는 와이 파이 통신 모듈(595), 안테나(560), 및/또는 출력 회로(570)를 더 포함할 수 있다. 일 실시예에 따르면, 제1 장치(202-1) 또는 제2 장치(202-2)는 전자 장치(501)와 동일한 구성 요소를 포함할 수 있다.According to an embodiment, the electronic device 501 (eg, the user device 201 of FIG. 2) may include a processor 520, a memory 530, and a communication circuit 590. The electronic device 501 may further include a Wi-Fi communication module 595, an antenna 560, and/or an output circuit 570. According to an embodiment, the first device 202-1 or the second device 202-2 may include the same components as the electronic device 501.

일 실시예에 따르면, 프로세서(520)는 적어도 하나의 프로세서를 포함할 수 있다. 예를 들어, 프로세서(520)는 지정된 프로토콜에 따라 무선 통신을 수행하도록 설정된 통신 프로세서일 수 있다. 프로세서(520)는 블루투스 프로토콜에 따라서 무선 통신을 수행하도록 설정될 수 있다. 이하에서, 블루투스 프로토콜은, 예를 들어, 프로세서(520)는 도 1의 통신 모듈(190)에 포함된 프로세서일 수 있다. 다른 예를 들어, 프로세서(520)는 도 1의 통신 모듈(190)에 포함된 통신 프로세서 및 도 1의 프로세서(120)를 포함할 수 있다. According to an embodiment, the processor 520 may include at least one processor. For example, the processor 520 may be a communication processor configured to perform wireless communication according to a specified protocol. The processor 520 may be configured to perform wireless communication according to the Bluetooth protocol. Hereinafter, as for the Bluetooth protocol, for example, the processor 520 may be a processor included in the communication module 190 of FIG. 1. For another example, the processor 520 may include a communication processor included in the communication module 190 of FIG. 1 and the processor 120 of FIG. 1.

일 실시예에 따르면, 통신 회로(590)는 프로세서(520)와 작동적으로 연결될 수 있다. 예를 들어, 통신 회로(590)는 복수의 수신 경로를 포함할 수 있다. 통신 회로(590) 도 5에 미도시된 구성을 더 포함할 수 있다. 복수의 수신 경로는 제1 수신 경로(580) 및 제2 수신 경로(585)를 포함할 수 있다. 예를 들어, 통신 회로(590)는 스위칭 회로(591)를 이용하여 안테나(560)에 제1 수신 경로(580) 또는 제2 수신 경로(585)를 연결할 수 있다. 프로세서(520)는 통신 회로(590)를 이용하여, 안테나(560)를 제1 수신 경로(580) 또는 제2 수신 경로(585)를 연결할 수 있다. According to an embodiment, the communication circuit 590 may be operatively connected to the processor 520. For example, the communication circuit 590 may include a plurality of receive paths. The communication circuit 590 may further include a configuration not shown in FIG. 5. The plurality of reception paths may include a first reception path 580 and a second reception path 585. For example, the communication circuit 590 may connect the first receiving path 580 or the second receiving path 585 to the antenna 560 using the switching circuit 591. The processor 520 may connect the antenna 560 to the first reception path 580 or the second reception path 585 using the communication circuit 590.

예를 들어, 제1 수신 경로(580)는 제2 수신 경로(585)에 비하여 수신 감도가 낮은 수신 경로일 수 있다. 제1 수신 경로(580)는 제2 수신 경로(585)에 비하여 소모 전력이 낮은 수신 경로일 수 있다. 제1 수신 경로(580)는 증폭기를 포함하지 않고, 제2 수신 경로(585)는 적어도 하나의 증폭기(예: 저잡음 증폭기(586))를 포함하는 수신 경로일 수 있다. 증폭기(586)는, 예를 들어, LNA(low noise amplifier)일 수 있다. For example, the first reception path 580 may be a reception path having a lower reception sensitivity than the second reception path 585. The first reception path 580 may be a reception path having lower power consumption than the second reception path 585. The first reception path 580 may not include an amplifier, and the second reception path 585 may be a reception path including at least one amplifier (eg, low noise amplifier 586). The amplifier 586 may be, for example, a low noise amplifier (LNA).

예를 들어, 통신 회로(590)는 도 5에 도시된 것 보다 많은 수신 경로를 더 포함할 수 있다. 다른 예를 들어, 통신 회로(590)는 적어도 하나의 송신 경로를 포함할 수 있다. 적어도 하나의 송신 경로는 안테나(560)과 선택적으로 연결될 수 있다. 도 5의 통신 회로(590)의 구조는 예시적인 것으로서, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 제1 수신 경로(580)는 안테나(560)에 연결되고, 제2 수신 경로(585)는 별도의 안테나(미도시)에 연결될 수 있다. 이 경우, 스위칭 회로(591)는 생략될 수 있다. 프로세서(520)는, 스위칭 회로(591)를 이용하지 않고, 제1 수신 경로(580) 또는 제2 수신 경로(585)를 통하여 외부 전자 장치로부터 데이터를 수신할 수 있다. 예를 들어, 프로세서(520)는 서로 다른 안테나에 연결된 제1 수신 경로(580) 또는 제2 수신 경로(585)를 선택적으로 이용하여 외부 전자 장치로부터 데이터를 수신할 수 있다. For example, the communication circuit 590 may further include more receive paths than that shown in FIG. 5. For another example, the communication circuit 590 may include at least one transmission path. At least one transmission path may be selectively connected to the antenna 560. The structure of the communication circuit 590 of FIG. 5 is exemplary, and embodiments of the present document are not limited thereto. For example, the first reception path 580 may be connected to the antenna 560 and the second reception path 585 may be connected to a separate antenna (not shown). In this case, the switching circuit 591 may be omitted. The processor 520 may receive data from an external electronic device through the first receiving path 580 or the second receiving path 585 without using the switching circuit 591. For example, the processor 520 may receive data from an external electronic device by selectively using a first reception path 580 or a second reception path 585 connected to different antennas.

예를 들어, 안테나(560)는 지정된 대역의 주파수에 대응하는 공진 주파수 특성을 가질 수 있다. 통신 회로(590)는 안테나(560)를 통하여 지정된 대역의 신호를 수신할 수 있다. 프로세서(520)는 통신 회로(590)를 이용하여 안테나(560)를 통하여 지정된 대역의 신호를 수신할 수 있다.For example, the antenna 560 may have a resonance frequency characteristic corresponding to a frequency of a designated band. The communication circuit 590 may receive a signal of a designated band through the antenna 560. The processor 520 may receive a signal of a designated band through the antenna 560 using the communication circuit 590.

일 실시예에 따르면, 프로세서(520), 통신 회로(590), 및/또는 안테나(560)는 하나의 모듈로 구성될 수 있다. 예를 들어, 프로세서(520), 통신 회로(590), 및/또는 안테나(560)는 블루투스 모듈로 참조될 수 있다. According to an embodiment, the processor 520, the communication circuit 590, and/or the antenna 560 may be configured as one module. For example, the processor 520, the communication circuit 590, and/or the antenna 560 may be referred to as a Bluetooth module.

일 실시예에 따르면, 메모리(530)는 프로세서(520)와 작동적으로 연결되고, 프로세서(520)로 하여금 실행 시에 다양한 기능 또는 동작을 수행하도록 하는 하나 이상의 인스트럭션들을 저장할 수 있다. 메모리(530)는 버퍼(535)(예: fill-in 버퍼)를 포함할 수 있다. 예를 들어, 프로세서(520)는 통신 회로(580)를 이용하여 외부 전자 장치로부터 데이터를 수신하고, 수신된 데이터를 버퍼(535)에 저장할 수 있다. 도 5에는 버퍼(535)가 메모리(530)에 포함된 것으로 도시되어 있으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 버퍼(535)는 메모리(530)와는 별도의 메모리로 구현될 수 있다. 일 예를 들어, 버퍼(535)는 프로세서(520) 또는 통신 회로(590)에 포함될 수 있다. According to an embodiment, the memory 530 is operatively connected to the processor 520 and may store one or more instructions that cause the processor 520 to perform various functions or operations when executed. The memory 530 may include a buffer 535 (eg, a fill-in buffer). For example, the processor 520 may receive data from an external electronic device using the communication circuit 580 and store the received data in the buffer 535. 5 illustrates that the buffer 535 is included in the memory 530, embodiments of the present document are not limited thereto. The buffer 535 may be implemented as a memory separate from the memory 530. For example, the buffer 535 may be included in the processor 520 or the communication circuit 590.

일 실시예에 따르면, 프로세서(520)는 외부 전자 장치로부터 데이터를 수신하고, 수신된 데이터를 버퍼(535)에 저장할 수 있다. 예를 들어, 프로세서(520)는 외부 전자 장치로부터 수신된 데이터를 버퍼링할 수 있다. 프로세서(520)는 버퍼(535)에 저장된 데이터를 이용하여 미디어를 출력할 수 있다. 예를 들어, 출력 회로(570)는 오디오 출력 회로(예: 스피커)일 수 있다. 프로세서(520)는 버퍼(535)에 저장된 데이터에 기반하여 출력 회로(570)를 이용하여 오디오 신호를 출력할 수 있다. 프로세서(520)는 버퍼(535)에 저장된 데이터를 순차적으로 이용하여 미디어를 출력할 수 있다. 예를 들어, 프로세서(520)는 FIFO(first in-first out) 방식으로 버퍼(535)에 저장된 데이터를 순차적으로 출력할 수 있다. 예를 들어, 프로세서(520)는 외부 전자 장치와의 통신 중에 버퍼(535)에 저장된 데이터의 양이 지정된 양 이상이 되면, 버퍼(535)에 저장된 데이터를 순차적으로 이용하여 데이터를 순차적으로 출력하고, 출력에 이용된 데이터 또는 출력된 데이터는 버퍼(535)로부터 삭제하거나 출력될 데이터로부터 제외시킬 수 있다. 버퍼(535) 내에 남아있는 잔여 데이터는 이미 출력된 데이터를 제외하고, 버퍼(535)에 남아 있는 데이터를 의미할 수 있다. According to an embodiment, the processor 520 may receive data from an external electronic device and store the received data in the buffer 535. For example, the processor 520 may buffer data received from an external electronic device. The processor 520 may output media by using data stored in the buffer 535. For example, the output circuit 570 may be an audio output circuit (eg, a speaker). The processor 520 may output an audio signal using the output circuit 570 based on data stored in the buffer 535. The processor 520 may output media by sequentially using data stored in the buffer 535. For example, the processor 520 may sequentially output data stored in the buffer 535 in a first in-first out (FIFO) method. For example, when the amount of data stored in the buffer 535 is greater than or equal to a specified amount during communication with an external electronic device, the processor 520 sequentially outputs the data by using the data stored in the buffer 535 in sequence. , Data used for output or output data may be deleted from the buffer 535 or excluded from data to be output. The remaining data remaining in the buffer 535 may mean data remaining in the buffer 535 except for data that has already been output.

다양한 실시예들에 따르면, 프로세서(520)는 전자 장치(501)에 연관된 통신 환경에 기반하여 제1 수신 경로(580) 또는 제2 수신 경로(585)를 이용하여 외부 전자 장치로부터의 신호를 수신할 수 있다. 프로세서(520)는 통신 환경에 기반하여 제1 수신 경로(580) 또는 제2 수신 경로(585)를 선택하고, 선택된 수신 경로를 이용하여 외부 전자 장치로부터 데이터를 수신할 수 있다. 예를 들어, 프로세서(520)는 통신 회로(590)를 이용하여 안테나(560)를 제1 수신 경로(580) 또는 제2 수신 경로(585)에 연결할 수 있다. 예를 들어, 프로세서(520)는 전자 장치(501)에 연관된 통신 환경에 따라서 제1 수신 경로(580) 또는 제2 수신 경로(585)를 통하여 외부 전자 장치로부터 신호를 수신할 수 있다. 예를 들어, 프로세서(520)는 잔여 데이터의 양, 수신 신호 강도, 오류율, 채널 평가(channel assessment), 다른 통신 회로(예: 와이파이 통신 모듈(595))의 동작 상태, 다중 연결, 재송신 비율, 응답 신호, 동기화, 및/또는 데이터 오류 중 적어도 하나에 기반하여 식별할 수 있다. 예를 들어, 프로세서(520)는 통신 환경이 나쁜 경우, 통신 회로(590)를 이용하여 안테나(560)를 제2 수신 경로(585)에 연결하고, 제2 수신 경로(585)를 통하여 외부 전자 장치로부터 신호를 수신할 수 있다. 제2 수신 경로(585)를 통하여 신호를 수신함으로써, 프로세서(520)는 수신 신호의 품질을 개선할 수 있다. 다른 예를 들어, 프로세서(520)는 통신 환경이 양호한 경우, 통신 회로(590)를 이용하여 안테나(560)를 제1 수신 경로(580)에 연결하고, 제1 수신 경로(580)를 통하여 외부 전자 장치로부터 신호를 수신할 수 있다. 제1 수신 경로(580)를 통하여 신호를 수신함으로써, 프로세서(520)는 소모 전류를 감소시킬 수 있다. According to various embodiments, the processor 520 receives a signal from an external electronic device using the first reception path 580 or the second reception path 585 based on a communication environment associated with the electronic device 501. can do. The processor 520 may select the first reception path 580 or the second reception path 585 based on the communication environment, and may receive data from an external electronic device using the selected reception path. For example, the processor 520 may connect the antenna 560 to the first receiving path 580 or the second receiving path 585 using the communication circuit 590. For example, the processor 520 may receive a signal from an external electronic device through the first receiving path 580 or the second receiving path 585 according to a communication environment associated with the electronic device 501. For example, the processor 520 may determine the amount of remaining data, the received signal strength, the error rate, the channel assessment, the operation state of other communication circuits (eg, the WiFi communication module 595), multiple connections, the retransmission rate, It can be identified based on at least one of a response signal, synchronization, and/or data error. For example, when the communication environment is bad, the processor 520 connects the antenna 560 to the second reception path 585 using the communication circuit 590, and external electronic devices through the second reception path 585 It can receive signals from the device. By receiving the signal through the second receiving path 585, the processor 520 may improve the quality of the received signal. For another example, when the communication environment is good, the processor 520 connects the antenna 560 to the first receiving path 580 using the communication circuit 590, and externally through the first receiving path 580. A signal can be received from an electronic device. By receiving a signal through the first receiving path 580, the processor 520 may reduce current consumption.

일 실시예에 따르면, 프로세서(520)는 잔여 데이터의 양에 기반하여 제1 수신 경로(580) 또는 제2 수신 경로(585)를 선택할 있다. 예를 들어, 프로세서(520)가 버퍼(535)의 데이터를 이용하여 미디어를 출력하는 경우, 데이터의 버퍼(535)로의 저장 속도가 데이터의 출력 속도보다 낮아질 수 있다. 예를 들어, 전자 장치(501)의 통신 환경이 좋지 않은 경우, 외부 전자 장치로부터의 데이터 수신 속도가 감소됨에 따라서 데이터의 버퍼(535)로의 저장 속도가 감소될 수 있다. 이 경우, 시간이 지남에 따라서, 버퍼(535) 내의 잔여 데이터의 양이 감소될 수 있다. 일 실시예에 따르면, 프로세서(520)는 잔여 데이터의 양이 제1 임계값 미만이면 제2 수신 경로(585)를 통하여 외부 전자 장치로부터 신호를 수신할 수 있다. 예를 들어, 안테나(560)가 제2 수신 경로(585)에 연결된 동안 잔여 데이터의 양이 제1 임계값 미만으로 감소되면, 프로세서(520)는 안테나(560)와 제2 수신 경로(585)의 연결을 유지할 수 있다. 다른 예를 들어, 안테나(560)가 제1 수신 경로(580)에 연결된 동안 잔여 데이터의 양이 제1 임계값 미만으로 감소되면, 프로세서(520)는 통신 회로(590)를 이용하여 안테나(560)를 제2 수신 경로(585)에 연결하고, 제2 수신 경로(585)를 통하여 외부 전자 장치로부터 신호를 수신할 수 있다. 또 다른 예를 들어, 안테나(560)가 제1 수신 경로(580)에 연결된 동안 잔여 데이터의 양이 제2 임계값 이상으로 증가되면, 프로세서(520)는 안테나(560)와 제1 수신 경로(580)의 연결을 유지할 수 있다. 또 다른 예를 들어, 안테나(560)가 제2 수신 경로(585)에 연결된 동안 잔여 데이터의 양이 제2 임계값 이상으로 증가되면, 프로세서(520)는 통신 회로(590)를 이용하여 안테나(560)를 제1 수신 경로(580)에 연결하고, 제1 수신 경로(580)를 통하여 외부 전자 장치로부터 신호를 수신할 수 있다. 예를 들어, 제2 임계값은 제1 임계값 이상일 수 있다. According to an embodiment, the processor 520 may select the first receiving path 580 or the second receiving path 585 based on the amount of remaining data. For example, when the processor 520 outputs media by using the data of the buffer 535, the storage speed of the data to the buffer 535 may be lower than the output speed of the data. For example, when the communication environment of the electronic device 501 is not good, the data storage speed in the buffer 535 may decrease as the data reception speed from the external electronic device decreases. In this case, as time passes, the amount of data remaining in the buffer 535 may decrease. According to an embodiment, if the amount of residual data is less than the first threshold value, the processor 520 may receive a signal from an external electronic device through the second reception path 585. For example, while the antenna 560 is connected to the second receive path 585, if the amount of residual data is reduced to less than the first threshold, the processor 520 may perform the antenna 560 and the second receive path 585. You can keep the connection. As another example, while the antenna 560 is connected to the first receiving path 580, if the amount of residual data is reduced to less than the first threshold, the processor 520 uses the communication circuit 590 to perform the antenna 560 ) May be connected to the second receiving path 585 and a signal from an external electronic device may be received through the second receiving path 585. As another example, while the antenna 560 is connected to the first reception path 580, if the amount of residual data increases above the second threshold value, the processor 520 performs the antenna 560 and the first reception path ( 580). As another example, while the antenna 560 is connected to the second reception path 585, when the amount of residual data increases above the second threshold, the processor 520 uses the communication circuit 590 to perform the antenna ( The 560 may be connected to the first receiving path 580 and a signal may be received from an external electronic device through the first receiving path 580. For example, the second threshold may be greater than or equal to the first threshold.

일 실시예에 따르면, 프로세서(520)는 외부 전자 장치로부터 수신되는 데이터의 유형에 기반하여 버퍼(535)의 크기 및/또는 임계값을 설정할 수 있다. 예를 들어, 데이터의 유형은 해당 데이터와 연관된 어플리케이션(예: 외부 전자 장치의 어플리케이션)에 의하여 설정될 수 있다. 데이터의 유형은 게임 어플리케이션과 연관된 데이터, 오디오 재생 어플리케이션과 연관된 데이터, 및/또는 통화 어플리케이션과 연관된 데이터를 포함할 수 있다. 일 예를 들어, 프로세서(520)는 게임 어플리케이션과 연관된 데이터에 대하여 제1 크기의 버퍼(535)를 이용하고, 오디오 재생 어플리케이션과 연관된 데이터에 대하여 제2 크기의 버퍼(535)를 이용할 수 있다. 일 예를 들어, 프로세서(520)는 게임 어플리케이션과 연관된 데이터에 대하여, 오디오 재생 어플리케이션과 연관된 데이터에 대한 임계값과 상이한 임계값을 이용할 수 있다. 일 예를 들어, 프로세서(520)는 버퍼(535)의 크기에 따라서 설정된 임계값을 이용할 수 있다. 이 경우, 해당 데이터의 유형을 지시하는 정보가 외부 전자 장치로부터 전자 장치(500)로 송신될 수 있다. 예를 들어, 전자 장치(501)는 외부 전자 장치와 연결될 때에 데이터의 유형을 지시하는 정보, 버퍼(535)의 크기를 지시하는 정보, 및/또는 임계값을 지시하는 정보를 외부 전자 장치로부터 수신할 수 있다. 다른 예를 들어, 외부 전자 장치는 외부 전자 장치와 임의의 다른 전자 장치가 연결될 때에, 외부 전자 장치와 연결된 전자 장치들(예: 전자 장치(501))에 데이터의 유형을 지시하는 정보, 버퍼(535)의 크기를 지시하는 정보, 및/또는 임계값을 지시하는 정보를 송신할 수 있다.According to an embodiment, the processor 520 may set a size and/or a threshold value of the buffer 535 based on the type of data received from an external electronic device. For example, the type of data may be set by an application associated with the data (eg, an application of an external electronic device). The type of data may include data associated with a game application, data associated with an audio playback application, and/or data associated with a call application. For example, the processor 520 may use a buffer 535 having a first size for data related to a game application, and may use a buffer 535 having a second size for data related to an audio playback application. For example, the processor 520 may use a threshold value different from the threshold value for data associated with the audio playback application for data associated with the game application. For example, the processor 520 may use a threshold value set according to the size of the buffer 535. In this case, information indicating the type of corresponding data may be transmitted from the external electronic device to the electronic device 500. For example, when connected to an external electronic device, the electronic device 501 receives information indicating the type of data, information indicating the size of the buffer 535, and/or information indicating a threshold value from the external electronic device. can do. For another example, when the external electronic device and any other electronic device are connected, the external electronic device includes information indicating the type of data to electronic devices (for example, the electronic device 501) connected to the external electronic device, and a buffer ( Information indicating the size of 535) and/or information indicating a threshold value may be transmitted.

일 실시예에 따르면, 프로세서(520)는 수신 신호의 강도에 기반하여 제1 수신 경로(580) 또는 제2 수신 경로(585)를 선택할 수 있다. 예를 들어, 프로세서(520)는 통신 회로(590)를 이용하여 외부 전자 장치로부터 수신된 신호의 강도 정보(예: RSSI(received signal strength indicator))를 통신 회로(590)를 이용하여 획득할 수 있다. 프로세서(520)는 수신 신호의 강도가 제3 임계값 이상이면 통신 회로(590)를 이용하여 안테나(560)를 제1 수신 경로(580)에 연결하고, 수신 신호의 강도가 제4 임계값 미만이면 안테나(560)를 통신 회로(590)를 이용하여 제2 수신 경로(585)에 연결할 수 있다. 예를 들어, 제3 임계값은 제4 임계값보다 높은 수신 신호 강도에 대응할 수 있다. According to an embodiment, the processor 520 may select the first receiving path 580 or the second receiving path 585 based on the strength of the received signal. For example, the processor 520 may acquire signal strength information (eg, RSSI (received signal strength indicator)) received from an external electronic device using the communication circuit 590 using the communication circuit 590. have. The processor 520 connects the antenna 560 to the first receiving path 580 using the communication circuit 590 when the strength of the received signal is greater than or equal to the third threshold, and the strength of the received signal is less than the fourth threshold. The rear antenna 560 may be connected to the second reception path 585 using the communication circuit 590. For example, the third threshold may correspond to a received signal strength higher than the fourth threshold.

일 실시예에 따르면, 프로세서(520)는 오류율에 기반하여 제1 수신 경로(580) 또는 제2 수신 경로(585)를 선택할 수 있다. 예를 들어, 오류율은 비트 오류율(bit error rate) 또는 패킷 오류율(packet error rate)을 포함할 수 있다. 프로세서(520)는 오류율이 제5 임계값 이상이면 통신 회로(590)를 이용하여 안테나(560)를 제2 수신 경로(585)에 연결하고, 오류율이 제6 임계값 미만이면 통신 회로(590)를 이용하여 안테나(560)를 제1 수신 경로(580)에 연결할 수 있다. 예를 들어, 제5 임계값은 제6 임계값 보다 높은 오류율에 대응하는 값일 수 있다.According to an embodiment, the processor 520 may select the first receiving path 580 or the second receiving path 585 based on the error rate. For example, the error rate may include a bit error rate or a packet error rate. The processor 520 connects the antenna 560 to the second reception path 585 using the communication circuit 590 when the error rate is greater than or equal to the fifth threshold, and the communication circuit 590 when the error rate is less than the sixth threshold value. The antenna 560 may be connected to the first receiving path 580 by using. For example, the fifth threshold may be a value corresponding to an error rate higher than the sixth threshold.

일 실시예에 따르면, 프로세서(520)는 채널 평가에 기반하여 제1 수신 경로(580) 또는 제2 수신 경로(585)를 선택할 수 있다. 예를 들어, 프로세서(520)는 통신 회로(590)를 이용하여 복수의 채널들에 대한 채널 평가를 수행할 수 있다. 채널 평가에 의하여 양호한 채널의 수가 제7 임계값 이상이면, 프로세서(520)는 통신 회로(590)를 이용하여 안테나(560)를 제1 수신 경로(580)에 연결할 수 있다. 양호한 채널의 수가 제8 임계값 미만이면, 프로세서(520)는 통신 회로(590)를 이용하여 안테나(560)를 제2 수신 경로(585)에 연결할 수 있다. 예를 들어, 제7 임계값은 제8 임계값 보다 큰 수일 수 있다.According to an embodiment, the processor 520 may select the first reception path 580 or the second reception path 585 based on channel evaluation. For example, the processor 520 may perform channel evaluation on a plurality of channels using the communication circuit 590. If the number of good channels is equal to or greater than the seventh threshold by channel evaluation, the processor 520 may connect the antenna 560 to the first reception path 580 using the communication circuit 590. If the number of good channels is less than the eighth threshold, the processor 520 may connect the antenna 560 to the second receive path 585 using the communication circuit 590. For example, the seventh threshold may be a number greater than the eighth threshold.

일 실시예에 따르면, 프로세서(520)는 다른 통신 회로의 동작 상태에 기반하여 제1 수신 경로(580) 또는 제2 수신 경로(585)를 선택할 수 있다. 예를 들어, 프로세서(520)는 와이 파이 통신 모듈(595)이 동작 중일 때(예: 와이 파이 통신 모듈(595)이 활성화 된 상태 또는 신호를 송신/수신하는 상태)에는 통신 회로(590)를 이용하여 안테나(560)를 제2 수신 경로(585)에 연결할 수 있다. 프로세서(520)는 와이 파이 통신 모듈(595)이 동작 중이 아닐 때에는 통신 회로(590)를 이용하여 안테나(560)를 제1 수신 경로(580)에 연결할 수 있다.According to an embodiment, the processor 520 may select the first receiving path 580 or the second receiving path 585 based on an operating state of another communication circuit. For example, when the Wi-Fi communication module 595 is in operation (for example, the Wi-Fi communication module 595 is activated or a signal is transmitted/received), the processor 520 operates the communication circuit 590. By using the antenna 560 can be connected to the second receiving path 585. When the Wi-Fi communication module 595 is not in operation, the processor 520 may connect the antenna 560 to the first reception path 580 using the communication circuit 590.

일 실시예에 따르면, 프로세서(520)는 다중 연결에 기반하여 제1 수신 경로(580) 또는 제2 수신 경로(585)를 선택할 수 있다. 예를 들어, 프로세서(520)는 통신 회로(590)가 동시에 다중 링크에 연결된 경우에는 통신 회로(590)를 이용하여 안테나(560)를 제2 수신 경로(585)에 연결할 수 있다. 프로세서(520)는 통신 회로(590)가 하나의 링크와만 연결된 경우에는 통신 회로(590)를 이용하여 안테나(560)를 제1 수신 경로(580)에 연결할 수 있다. According to an embodiment, the processor 520 may select the first receiving path 580 or the second receiving path 585 based on multiple connections. For example, when the communication circuit 590 is simultaneously connected to multiple links, the processor 520 may connect the antenna 560 to the second reception path 585 using the communication circuit 590. When the communication circuit 590 is connected to only one link, the processor 520 may connect the antenna 560 to the first reception path 580 using the communication circuit 590.

일 실시예에 따르면, 프로세서(520)는 재송신 비율에 기반하여 제1 수신 경로(580) 또는 제2 수신 경로(585)를 선택할 수 있다. 예를 들어, 프로세서(520)는 재송신 비율(예: 외부 전자 장치 또는 전자 장치(501)의 재송신 비율)이 제9 임계값 이상이면 통신 회로(590)를 이용하여 안테나(560)를 제2 수신 경로(585)에 연결할 수 있다. 프로세서(520)는 재송신 비율이 제10 임계값 미만이면 통신 회로(590)를 이용하여 안테나(560)를 제1 수신 경로(580)에 연결할 수 있다. 예를 들어, 제9 임계값은 제10 임계값 보다 높은 재전송 비율에 대응할 수 있다.According to an embodiment, the processor 520 may select the first receiving path 580 or the second receiving path 585 based on the retransmission rate. For example, the processor 520 receives the second antenna 560 using the communication circuit 590 when the retransmission rate (eg, the retransmission rate of the external electronic device or the electronic device 501) is greater than or equal to the ninth threshold. Can connect to path 585. When the retransmission rate is less than the tenth threshold, the processor 520 may connect the antenna 560 to the first reception path 580 using the communication circuit 590. For example, the ninth threshold may correspond to a retransmission rate higher than the tenth threshold.

일 실시예에 따르면, 프로세서(520)는 응답 신호에 기반하여 제1 수신 경로(580) 또는 제2 수신 경로(585)를 선택할 수 있다. 예를 들어, 프로세서(520)는 외부 전자 장치로부터의 NACK(negative acknowledgement)의 비율 또는 전자 장치(501)의 NACK의 비율이 제11 임계값 미만이면 통신 회로(590)를 이용하여 안테나(560)를 제1 수신 경로(580)에 연결하고, 제12 임계값 이상이면 통신 회로(590)를 이용하여 안테나(560)를 제2 수신 경로(585)에 연결할 수 있다 . 예를 들어, 제11 임계값은 제12 임계값 보다 낮은 NACK 비율에 대응할 수 있다. 다른 예를 들어, 프로세서(520)는 외부 전자 장치로부터의 ACK의 누락(missing) 비율이 제13 임계값 이상이면 통신 회로(590)를 이용하여 안테나(560)를 제2 수신 경로(585)에 연결하고, 제14 임계값 미만이면 통신 회로(590)를 이용하여 안테나(560)를 제1 수신 경로(580)에 연결할 수 있다 . 예를 들어, 제13 임계값은 제14 임계값에 비하여 높은 ACK 누락 비율에 대응할 수 있다.According to an embodiment, the processor 520 may select the first receiving path 580 or the second receiving path 585 based on the response signal. For example, if the ratio of the negative acknowledgment (NACK) from the external electronic device or the ratio of the NACK of the electronic device 501 is less than the eleventh threshold, the processor 520 uses the communication circuit 590 to the antenna 560 Is connected to the first reception path 580, and when the twelfth threshold value is higher, the antenna 560 may be connected to the second reception path 585 using the communication circuit 590. For example, the 11th threshold may correspond to a NACK rate lower than the 12th threshold. For another example, the processor 520 may use the communication circuit 590 to connect the antenna 560 to the second receiving path 585 when the ACK missing rate from the external electronic device is greater than or equal to the thirteenth threshold. If it is connected and is less than the 14th threshold, the antenna 560 may be connected to the first reception path 580 using the communication circuit 590. For example, the thirteenth threshold may correspond to a higher ACK drop rate than the 14th threshold.

일 실시예에 따르면, 프로세서(520)는 동기화에 기반하여 제1 수신 경로(580) 또는 제2 수신 경로(585)를 선택할 수 있다. 프로세서(520)는 외부 전자 장치(예: 마스터 장치)로부터 동기화를 위한 신호(예: 폴링 패킷(polling packet)을 포함하는 신호)를 수신하기 위하여, 통신 회로(590)를 활성화할 수 있다. 이 때, 프로세서(520)가 외부 전자 장치로부터 동기화를 위한 신호의 수신에 실패하면(예: 신호가 수신되지 않은 경우 또는 신호의 복호에 실패한 경우), 프로세서(520)는 동기 타임아웃(sync timeout)을 결정할 수 있다. 예를 들어, 프로세서(520)는 외부 전자 장치와의 동기 타임아웃(sync timeout) 빈도 또는 비율이 제15 임계값 이상이면 통신 회로(590)를 이용하여 안테나(560)를 제2 수신 경로(585)에 연결하고, 제16 임계값 미만이면 통신 회로(590)를 이용하여 안테나(560)를 제1 수신 경로(580)에 연결할 수 있다. 예를 들어, 제15 임계값은 제16 임계값 보다 많은 동기 타임아웃 빈도 또는 높은 동기 타임아웃 비율에 대응할 수 있다. According to an embodiment, the processor 520 may select the first receiving path 580 or the second receiving path 585 based on synchronization. The processor 520 may activate the communication circuit 590 to receive a signal for synchronization (eg, a signal including a polling packet) from an external electronic device (eg, a master device). At this time, if the processor 520 fails to receive a signal for synchronization from an external electronic device (for example, when a signal is not received or when the signal has failed to be decoded), the processor 520 performs a synchronization timeout (sync timeout). ) Can be determined. For example, if the frequency or ratio of the sync timeout with the external electronic device is greater than or equal to the fifteenth threshold, the processor 520 transmits the antenna 560 to the second receiving path 585 using the communication circuit 590. ), and if it is less than the 16th threshold, the antenna 560 may be connected to the first reception path 580 using the communication circuit 590. For example, the fifteenth threshold may correspond to a synchronization timeout frequency greater than the sixteenth threshold or a high synchronization timeout ratio.

일 실시예에 따르면, 프로세서(520)는 데이터 오류에 기반하여 제1 수신 경로(580) 또는 제2 수신 경로(585)를 선택할 수 있다. 예를 들어, 프로세서(520)는 수신된 데이터의 헤더 오류, CRC(cyclic redundancy check) 오류, 및/또는 페이로드 누락(missing)이 지정된 제17 임계값 이상이면 통신 회로(590)를 이용하여 안테나(560)를 제2 수신 경로(585)에 연결하고, 제18 임계값 미만이면 통신 회로(590)를 이용하여 안테나(560)를 제1 수신 경로(580)에 연결할 수 있다. 예를 들어, 제17 임계값은 제18 임계값 보다 높은 오류율에 대응할 수 있다.According to an embodiment, the processor 520 may select the first receiving path 580 or the second receiving path 585 based on a data error. For example, if a header error, a cyclic redundancy check (CRC) error, and/or a payload missing of the received data is greater than or equal to a specified 17th threshold, the processor 520 uses the communication circuit 590 to If 560 is connected to the second reception path 585 and less than the 18th threshold, the antenna 560 may be connected to the first reception path 580 using the communication circuit 590. For example, the 17th threshold may correspond to an error rate higher than the 18th threshold.

다양한 실시예들에 따르면, 프로세서(520)는 상술된 통신 상태에 연관된 기준들 중 복수의 기준들의 조합에 기반하여 제1 수신 경로(580) 또는 제2 수신 경로(585)를 선택할 수 있다. 예를 들어, 프로세서(520)는 잔여 데이터의 양에 기반하여 수신 경로의 변경이 요구되는지 결정할 수 있다. 수신 경로의 변경이 필요한 경우, 프로세서(520)는 나머지 기준들(예: 수신 신호 강도, 오류율, 채널 평가, 다른 통신 회로의 동작 상태, 다중 연결, 재송신 비율, 응답 신호, 동기화, 및/또는 데이터 오류) 중 적어도 하나를 더 고려하여 수신 경로의 변경 여부를 결정할 수 있다. 예를 들어, 잔여 데이터의 양이 현재 안테나(560)에 연결된 수신 경로의 변경이 불필요함을 지시하는 경우, 프로세서(520)는 현재 연결된 수신 경로를 유지할 수 있다. 잔여 데이터의 양이 현재 안테나(560)에 연결된 수신 경로의 변경이 필요함을 지시하는 경우, 프로세서(520)는 나머지 기준들 중 적어도 하나에 기반하여 수신 경로의 변경을 결정할 수 있다.According to various embodiments, the processor 520 may select the first reception path 580 or the second reception path 585 based on a combination of a plurality of criteria among the criteria related to the above-described communication state. For example, the processor 520 may determine whether a reception path change is required based on the amount of remaining data. If a change in the receive path is required, the processor 520 may use the remaining criteria (e.g., received signal strength, error rate, channel evaluation, operation status of other communication circuits, multiple connections, retransmission rate, response signal, synchronization, and/or Error) may be further considered to determine whether to change the reception path. For example, if the amount of remaining data indicates that it is not necessary to change the reception path currently connected to the antenna 560, the processor 520 may maintain the currently connected reception path. When the amount of residual data indicates that the reception path currently connected to the antenna 560 needs to be changed, the processor 520 may determine the change of the reception path based on at least one of the remaining criteria.

예를 들어, 전자 장치(501)는 소스 장치로부터 음원 데이터를 수신하는 장치(예: 도 2의 제1 장치(202-1) 또는 제2 장치(202-2))일 수 있다. 전자 장치(501)는 버퍼(535)의 크기를 500ms에 대응하는 크기로 설정할 수 있다. 전자 장치(501)는 외부 전자 장치로부터 약 20ms 마다 음원 데이터를 수신하고, 버퍼(535)에 저장된 데이터의 양이 지정된 값 이상이 되면 버퍼링된 데이터를 이용하여 음원을 출력할 수 있다. 예를 들어, 음원의 출력을 시작할 시에, 안테나(560)는 제1 경로(580)에 연결된 상태일 수 있다. 음원의 출력을 시작한 이후, 버퍼(535)의 잔여 데이터의 양이 75ms에 대응하는 크기 미만으로 떨어지는 경우, 전자 장치(501)는 통신 회로(590)를 이용하여 안테나(560)를 제2 수신 경로(585)에 연결할 수 있다. 전자 장치(501)는 제2 수신 경로(585)를 이용하여 수신 감도를 증가시키고, 음 끊김을 방지할 수 있다. 제2 수신 경로(585)와 안테나(560)의 연결 후, 잔여 데이터의 양이 400ms 이상으로 증가되는 경우, 전자 장치(501)는 통신 회로(590)를 이용하여 안테나(560)를 제1 수신 경로(580)에 연결할 수 있다. 전자 장치(501)는 제1 수신 경로(580)를 이용하여 전력 소모를 감소시킬 수 있다. 도 5의 예시들에 있어서, 프로세서(520)가 수신 경로의 변경을 결정하는 것으로 개시되었으나, 프로세서(520)의 결정 중 적어도 일부는 통신 회로(590)에 의하여 수행될 수 있다. 예를 들어, 프로세서(520)는 상술된 예시들에 기반하여 수신 경로의 변경을 결정할 수 있다. 이 경우, 프로세서(520)는 수신 경로의 변경을 요청하는 신호를 통신 회로(590)에 전달할 수 있다. 수신 경로의 변경 요청의 수신에 응답하여, 통신 회로(590)는 통신 환경에 기반하여 스위치 회로(591)를 이용하여 안테나(560)와 연결된 수신 경로를 변경할 수 있다. 이 경우, 통신 회로(590)는 통신 환경에 기반하여 수신 경로의 변경 여부를 결정할 수 있다. 다른 예를 들어, 수신 경로의 변경은 통신 회로(590)에 의하여 수행될 수 있다. 이 경우, 프로세서(520)는 수신 경로의 변경에 필요한 정보(예: 통신 환경에 대한 정보)를 통신 회로(590)에 전달하고, 통신 회로(590)는 프로세서(520)로부터 수신된 정보를 이용하여 수신 경로를 선택할 수 있다. 예를 들어, 프로세서(520)는 메모리의 상태에 대한 정보(예: 버퍼 상태 정보)를 통신 회로(590)에 전달하고, 통신 회로(590)는 메모리의 상태에 대한 정보에 기반하여 수신 경로를 선택할 수 있다.For example, the electronic device 501 may be a device that receives sound source data from a source device (eg, the first device 202-1 or the second device 202-2 of FIG. 2 ). The electronic device 501 may set the size of the buffer 535 to a size corresponding to 500 ms. The electronic device 501 may receive sound source data from the external electronic device every about 20 ms, and when the amount of data stored in the buffer 535 is greater than or equal to a specified value, the electronic device 501 may output the sound source using the buffered data. For example, when starting to output a sound source, the antenna 560 may be connected to the first path 580. After starting the output of the sound source, if the amount of residual data in the buffer 535 falls below a size corresponding to 75 ms, the electronic device 501 uses the communication circuit 590 to connect the antenna 560 to the second receiving path. Can be connected to (585). The electronic device 501 may increase reception sensitivity and prevent sound interruption by using the second reception path 585. After connecting the second reception path 585 and the antenna 560, when the amount of remaining data increases to 400 ms or more, the electronic device 501 first receives the antenna 560 using the communication circuit 590. Can connect to path 580. The electronic device 501 may reduce power consumption by using the first reception path 580. In the examples of FIG. 5, it is disclosed that the processor 520 determines to change the reception path, but at least some of the decisions of the processor 520 may be performed by the communication circuit 590. For example, the processor 520 may determine the change of the reception path based on the above-described examples. In this case, the processor 520 may transmit a signal requesting a change of a reception path to the communication circuit 590. In response to receiving the request to change the reception path, the communication circuit 590 may change the reception path connected to the antenna 560 using the switch circuit 591 based on the communication environment. In this case, the communication circuit 590 may determine whether to change the reception path based on the communication environment. For another example, the change of the reception path may be performed by the communication circuit 590. In this case, the processor 520 transmits information necessary for changing a reception path (eg, information on a communication environment) to the communication circuit 590, and the communication circuit 590 uses the information received from the processor 520. You can select the destination path. For example, the processor 520 transmits information about the state of the memory (eg, buffer state information) to the communication circuit 590, and the communication circuit 590 establishes a reception path based on the information about the state of the memory. You can choose.

도 5의 예시들에 있어서, 다양한 기준에 따른 수신 경로의 변경 방법들이 설명되었으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 일 실시예에 따르면, 도 5의 실시예들은 수신 데이터의 데이터 유형(예: 데이터에 연관된 어플리케이션에 따른 데이터의 유형)에 기반하여 수신 경로의 변경 여부를 결정할 수 있다. 예를 들어, 전자 장치(501)는 지정된 유형의 수신 데이터에 대하여는 지정된 수신 경로(예: 제1 수신 경로(580) 또는 제2 수신 경로(585))를 이용하도록 설정되고, 수신 경로의 변경을 수행하지 않을 수 있다. 예를 들어, 전자 장치(501)는 게임에 연관된 데이터에 대하여는 제2 수신 경로(585)를 이용하고, 음성 재생에 연관된 데이터에 대하여는 상술된 실시예들 중 적어도 하나에 따라서 수신 경로를 선택할 수 있다. In the examples of FIG. 5, methods of changing a reception path according to various criteria have been described, but embodiments of the present document are not limited thereto. According to an embodiment, the embodiments of FIG. 5 may determine whether to change a reception path based on a data type of received data (eg, a data type according to an application related to data). For example, the electronic device 501 is set to use a designated receiving path (eg, a first receiving path 580 or a second receiving path 585) for a designated type of received data, and changing the receiving path. It may not be done. For example, the electronic device 501 may use the second reception path 585 for game-related data, and may select a reception path for data related to voice reproduction according to at least one of the above-described embodiments. .

도 5의 예시들에 있어서, 다양한 기준에 따른 수신 경로의 변경 방법들이 설명되었으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 일 실시예에 따르면, 전자 장치(501)는 수신 데이터에 연관된 프로필에 따라서 수신 경로의 변경 방법을 결정할 수 있다. 예를 들어, 수신 데이터에 연관된 프로필이 음악 재생에 연관된 프로필(예: advanced audio distribution profile)인 경우, 전자 장치(501)는 상술된 실시예들 중 적어도 하나에 따라서 수신 경로를 선택할 수 이다. 다른 예를 들어, 수신 데이터에 연관된 프로필이 음성 통화에 연관된 프로필(예: synchronous connection oriented (SCO) 또는 enhanced SCO)인 경우, 전자 장치(501)는 지정된 시간 구간 내에 외부 전자 장치로부터 데이터가 수신되지 않거나, 데이터의 수신에 실패하면 제2 수신 경로(585)를 이용하여 데이터의 수신을 시도할 수 있다. 예를 들어, 지정된 시간 구간은 데이터의 수신과 관련하여 외부 전자 장치와 전자 장치(501) 사이에 설정된 시간 주기일 수 있다.In the examples of FIG. 5, methods of changing a reception path according to various criteria have been described, but embodiments of the present document are not limited thereto. According to an embodiment, the electronic device 501 may determine a method of changing a reception path according to a profile associated with the received data. For example, when the profile related to the received data is a profile related to music reproduction (eg, an advanced audio distribution profile), the electronic device 501 may select a receiving path according to at least one of the above-described embodiments. For another example, if the profile associated with the received data is a profile associated with a voice call (for example, synchronous connection oriented (SCO) or enhanced SCO), the electronic device 501 does not receive data from an external electronic device within a specified time period. Otherwise, if data reception fails, data reception may be attempted using the second reception path 585. For example, the designated time period may be a time period set between the external electronic device and the electronic device 501 in relation to data reception.

도 5의 예시들에 있어서, 다양한 기준에 따른 수신 경로의 변경은 둘 이상의 방법들의 조합에 기반하여 수행될 수 있다. 예를 들어, 둘 이상의 기준에 대한 우선 순위 또는 가중치에 기반하여 수신 경로의 변경이 결정될 수 있다. In the examples of FIG. 5, the change of the reception path according to various criteria may be performed based on a combination of two or more methods. For example, the change of the reception path may be determined based on the priority or weight of two or more criteria.

도 6은 일 실시예에 따른 전자 장치의 수신 경로 설정을 도시한다.6 is a diagram illustrating a reception path setting of an electronic device according to an exemplary embodiment.

참조 번호 601을 참조하여, 버퍼(535)의 잔여 데이터의 양은 제1 임계값(610) 이상일 수 있다. 이 경우, 통신 회로(590)는 스위치 회로(591)를 이용하여 안테나(560)를 제1 수신 경로(580)에 연결할 수 있다. 통신 회로(590)는 제1 수신 경로(580)를 이용하여 외부 전자 장치로부터 데이터를 수신할 수 있다. Referring to reference number 601, the amount of data remaining in the buffer 535 may be equal to or greater than the first threshold value 610. In this case, the communication circuit 590 may connect the antenna 560 to the first receiving path 580 using the switch circuit 591. The communication circuit 590 may receive data from an external electronic device using the first reception path 580.

참조 번호 602를 참조하여, 버퍼(535)의 잔여 데이터의 양은 제1 임계값(610) 미만일 수 있다. 이 경우, 통신 회로(590)는 스위치 회로(591)를 이용하여 안테나(560)를 제2 수신 경로(585)에 연결할 수 있다. 통신 회로(590)는 제2 수신 경로(585)를 이용하여 외부 전자 장치로부터 데이터를 수신할 수 있다. Referring to reference numeral 602, the amount of data remaining in the buffer 535 may be less than the first threshold value 610. In this case, the communication circuit 590 may connect the antenna 560 to the second reception path 585 using the switch circuit 591. The communication circuit 590 may receive data from an external electronic device using the second reception path 585.

위 예시에서, 제1 수신 경로(580)로의 변경을 위한 임계값과 제2 수신 경로(585)로의 변경을 위한 임계값이 제1 임계값(610)으로 동일하게 설정되었으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 제1 수신 경로(580)로의 변경을 위한 임계값은 제2 임계값(615)이고, 제2 수신 경로(585)로의 변경을 위한 임계값은 제1 임계값(610)일 수 있다. 이 경우, 통신 회로(590)는 버퍼(535)의 잔여 데이터의 양이 제2 임계값(615) 이상이면 스위치 회로(591)를 이용하여 안테나(560)를 제1 수신 경로(580)에 연결하고, 잔여 데이터의 양이 제1 임계값(610) 이하이면 스위치 회로(591)를 이용하여 안테나(560)를 제2 수신 경로(584)에 연결할 수 있다. 예를 들어, 잔여 데이터의 양이 제1 임계값(610)과 제2 임계값(615) 사이인 경우, 통신 회로(590)는 현재 연결된 수신 경로를 유지할 수 있다. In the above example, the threshold for changing to the first receiving path 580 and the threshold for changing to the second receiving path 585 are set to be the same as the first threshold 610, but the embodiment of this document Are not limited thereto. For example, the threshold for changing to the first receiving path 580 may be a second threshold 615, and the threshold for changing to the second receiving path 585 may be a first threshold 610. have. In this case, the communication circuit 590 connects the antenna 560 to the first receiving path 580 using the switch circuit 591 when the amount of residual data in the buffer 535 is greater than or equal to the second threshold value 615. And, if the amount of residual data is less than or equal to the first threshold value 610, the antenna 560 may be connected to the second reception path 584 using the switch circuit 591. For example, when the amount of residual data is between the first threshold value 610 and the second threshold value 615, the communication circuit 590 may maintain a currently connected reception path.

일 실시예에 따르면, 전자 장치(예: 도 5의 전자 장치(501))의 프로세서(예: 도 5의 프로세서(520))는 메모리(예: 도 5의 메모리(530))에 저장된 하나 이상의 인스트럭션들에 기반하여 도 7 내지 도 9와 관련하여 후술하는 동작들을 수행할 수 있다. According to an embodiment, a processor (eg, the processor 520 of FIG. 5) of an electronic device (eg, the electronic device 501 of FIG. 5) is one or more stored in a memory (eg, the memory 530 of FIG. 5). Operations described later with reference to FIGS. 7 to 9 may be performed based on the instructions.

도 7은 일 실시예에 따른 전자 장치의 데이터 출력 방법의 흐름도(700)이다.7 is a flowchart 700 of a method of outputting data by an electronic device according to an exemplary embodiment.

동작 705에서, 프로세서는 외부 전자 장치(예: 도 3의 제1 장치(202-1) 또는 제2 장치(202-2))와 통신할 수 있다. 예를 들어, 프로세서는 통신 회로(예: 도 5의 통신 회로(590))를 이용하여 외부 전자 장치와 블루투스 규격에 기반한 무선 통신을 수행할 수 있다. 프로세서는 전자 장치와 외부 전자 장치 사이의 링크 또는 외부 전자 장치와 다른 외부 전자 장치의 링크에 연관된 무선 자원을 통하여 외부 전자 장치로부터 신호를 수신할 수 있다.In operation 705, the processor may communicate with an external electronic device (eg, the first device 202-1 or the second device 202-2 of FIG. 3 ). For example, the processor may perform wireless communication based on a Bluetooth standard with an external electronic device using a communication circuit (eg, the communication circuit 590 of FIG. 5 ). The processor may receive a signal from the external electronic device through a link between the electronic device and the external electronic device or a radio resource associated with a link between the external electronic device and another external electronic device.

동작 710에서, 프로세서는 외부 전자 장치로부터 데이터를 수신하여 메모리의 버퍼 영역(예: 도 5의 버퍼(535))에 저장할 수 있다. 프로세서는 수신된 데이터를 순차적으로 버퍼 영역에 저장할 수 있다. In operation 710, the processor may receive data from an external electronic device and store it in a buffer area of the memory (eg, the buffer 535 of FIG. 5 ). The processor may sequentially store the received data in the buffer area.

동작 715에서, 프로세서는 버퍼 영역에 저장된 데이터의 적어도 일부를 출력할 수 있다. 예를 들어, 프로세서는 버퍼 영역에 저장된 데이터의 양이 지정된 값 이상이면 버퍼 영역에 저장된 데이터의 적어도 일부를 출력 회로(예: 도 5의 출력 회로(570))를 통해 출력할 수 있다. In operation 715, the processor may output at least a portion of the data stored in the buffer area. For example, if the amount of data stored in the buffer area is greater than or equal to a specified value, the processor may output at least part of the data stored in the buffer area through an output circuit (eg, the output circuit 570 of FIG. 5 ).

동작 720에서, 프로세서는 외부 전자 장치와의 통신이 종료되는지 결정하고, 통신이 계속되는 동안 데이터의 수신, 데이터의 버퍼링 및 데이터의 출력을 수행할 수 있다. 예를 들어, 데이터의 출력은 수신된 오디오 데이터에 대응하는 오디오 신호의 출력을 포함할 수 있다. In operation 720, the processor determines whether communication with the external electronic device is terminated, and performs data reception, data buffering, and data output while communication continues. For example, the output of data may include output of an audio signal corresponding to the received audio data.

도 8은 일 실시예에 따른 전자 장치의 수신 경로 설정 방법의 흐름도(800)이다. 8 is a flowchart 800 of a method of setting a reception path by an electronic device according to an exemplary embodiment.

동작 805에서, 프로세서는 버퍼 영역의 잔여 데이터의 양 이 지정된 임계값 이상인지 결정할 수 있다. 데이터의 양이 지정된 임계값 미만인 경우(예: 805-N), 동작 815에서, 프로세서는 통신 회로를 이용하여 안테나를 제2 수신 경로(예: 도 5의 제2 수신 경로(585))와 연결할 수 있다. 예를 들어, 안테나와 제2 수신 경로가 이미 연결된 상태인 경우, 프로세서는 제2 수신 경로와 안테나의 연결을 유지할 수 있다. 다른 예를 들어, 안테나와 제1 수신 경로가 연결된 상태인 경우, 동작 815에서, 프로세서는 안테나의 수신 경로를 제2 수신 경로로 변경할 수 있다. 데이터의 양이 지정된 임계값 이상인 경우(예: 805-Y), 동작 810에서, 프로세서는 통신 회로를 이용하여 안테나를 제1 수신 경로와 연결할 수 있다. 예를 들어, 안테나와 제1 수신 경로가 이미 연결된 상태인 경우, 동작 810에서, 프로세서는 안테나의 수신 경로를 제1 수신 경로로 유지할 수 있다. 다른 예를 들어, 안테나와 제2 수신 경로가 연결된 상태인 경우, 동작 810에서, 프로세서는 안테나의 수신 경로를 제1 수신 경로로 변경할 수 있다. In operation 805, the processor may determine whether the amount of data remaining in the buffer area is equal to or greater than a specified threshold. When the amount of data is less than the specified threshold (e.g., 805-N), in operation 815, the processor connects the antenna with the second receive path (e.g., the second receive path 585 in FIG. 5) using a communication circuit. I can. For example, when the antenna and the second reception path are already connected, the processor may maintain the connection between the second reception path and the antenna. For another example, when the antenna and the first reception path are connected, in operation 815, the processor may change the reception path of the antenna to the second reception path. When the amount of data is greater than or equal to the specified threshold (eg, 805-Y), in operation 810, the processor may connect the antenna to the first reception path using a communication circuit. For example, when the antenna and the first reception path are already connected, in operation 810, the processor may maintain the reception path of the antenna as the first reception path. For another example, when the antenna and the second reception path are connected, in operation 810, the processor may change the reception path of the antenna to the first reception path.

도 8과 관련하여 상술된 동작들은 도 7의 동작들 중 임의의 시점에 수행될 수 있다. 예를 들어, 도 8의 동작들은 도 7의 동작 710 후에, 또는 도 7의 동작 715 후에 수행될 수 있다. 또 다른 예를 들어, 도 8의 동작들은 도 7의 동작 715 후에 도 7의 동작과는 독립적으로 수행될 수 있다. The operations described above with respect to FIG. 8 may be performed at any time among the operations of FIG. 7. For example, the operations of FIG. 8 may be performed after operation 710 of FIG. 7 or after operation 715 of FIG. 7. As another example, the operations of FIG. 8 may be performed independently from the operation of FIG. 7 after operation 715 of FIG. 7.

도 9는 일 실시예에 따른 전자 장치의 수신 경로 설정 방법의 흐름도(900)이다. 9 is a flowchart 900 of a method for setting a reception path by an electronic device according to an exemplary embodiment.

예를 들어, 도 9의 예시에서, 전자 장치의 안테나는 제1 수신 경로에 연결된 상태로 가정될 수 있다. 동작 905에서, 프로세서는 버퍼 영역의 잔여 데이터의 양이 지정된 임계값 미만인지 결정 할 수 있다. 데이터의 양이 지정된 임계값 미만인 경우(예: 905-Y ), 동작 910에서, 프로세서는 전자 장치의 통신 상태에 기반하여 수신 경로를 선택할 수 있다. 예를 들어, 통신 상태가 양호한 경우, 프로세서는 안테나에 연관된 수신 경로를 제1 수신 경로로 선택할 수 있다. 다른 예를 들어, 통신 상태가 열악한 경우, 프로세서는 안테나에 연관된 수신 경로를 제2 수신 경로로 선택할 수 있다. For example, in the example of FIG. 9, it may be assumed that the antenna of the electronic device is connected to the first reception path. In operation 905, the processor may determine whether the amount of data remaining in the buffer area is less than a specified threshold. When the amount of data is less than the specified threshold (eg, 905-Y), in operation 910, the processor may select a reception path based on the communication state of the electronic device. For example, when the communication state is good, the processor may select a reception path associated with the antenna as the first reception path. For another example, when the communication state is poor, the processor may select a reception path associated with the antenna as the second reception path.

잔여 데이터의 양이 지정된 임계값 이상인 경우(예: 905-N ), 동작 915에서, 프로세서는 안테나의 수신 경로(예: 제1 수신 경로)를 유지할 수 있다.When the amount of residual data is equal to or greater than a specified threshold (eg, 905-N), in operation 915, the processor may maintain a reception path (eg, a first reception path) of the antenna.

예를 들어, 도 9의 예시에서, 전자 장치는 제1 수신 경로를 통신 시작 시의 수신 경로로 설정하되, 버퍼의 잔여 데이터 및 다른 통신 상태가 지정된 값 이하의 통신 품질을 지시하면 안테나에 연관된 수신 경로를 제2 수신 경로를 변경할 수 있다. For example, in the example of FIG. 9, the electronic device sets the first reception path as the reception path at the time of communication start, but if the remaining data in the buffer and other communication states indicate a communication quality less than a specified value, the reception associated with the antenna It is possible to change the path to the second receiving path.

도 9와 관련하여 상술된 동작들은 도 7의 동작들 중 임의의 시점에 수행될 수 있다. 예를 들어, 도 9의 동작들은 도 7의 동작 710 후에, 또는 도 7의 동작 715 후에 수행될 수 있다. 또 다른 예를 들어, 도 9의 동작들은 도 7의 동작 715 후에 도 7의 동작과는 독립적으로 수행될 수 있다 . The operations described above with respect to FIG. 9 may be performed at any time among the operations of FIG. 7. For example, the operations of FIG. 9 may be performed after operation 710 of FIG. 7 or after operation 715 of FIG. 7. As another example, the operations of FIG. 9 may be performed independently from the operation of FIG. 7 after operation 715 of FIG. 7.

다양한 실시예들에 따른 전자 장치(예: 도 5의 전자 장치)는, 출력 회로, 안테나, 제1 수신 경로 및 상기 제1 수신 경로에 비하여 높은 증폭률을 갖는 제2 수신 경로를 포함하고, 상기 안테나에 전기적으로 연결된 통신 회로, 상기 출력 회로 및 상기 통신 회로에 작동적으로 연결된 프로세서, 및 상기 프로세서와 작동적으로 연결된 메모리를 포함할 수 있다. 상기 메모리는 실행 시에 상기 프로세서가, 상기 안테나를 이용하여 외부 전자 장치로부터 데이터를 수신하고, 상기 데이터를 상기 메모리의 버퍼 영역에 버퍼링하고, 상기 통신 회로를 이용하여, 상기 버퍼 영역 내의 잔여(residual) 데이터의 양에 기반하여 상기 제1 수신 경로 또는 상기 제2 수신 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하도록 하는 하나 이상의 인스트럭션들을 저장할 수 있다.An electronic device (eg, the electronic device of FIG. 5) according to various embodiments includes an output circuit, an antenna, a first reception path, and a second reception path having a higher amplification factor than the first reception path, and the antenna And a communication circuit electrically connected to the output circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor. When the memory is executed, the processor receives data from an external electronic device using the antenna, buffers the data in a buffer area of the memory, and uses the communication circuit to provide residual data in the buffer area. ) One or more instructions for receiving a signal from the external electronic device through the first receiving path or the second receiving path based on the amount of data may be stored.

일 실시예에 따르면, 상기 하나 이상의 인스트럭션들은 실행시에 상기 프로세서가, 상기 제1 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하는 동안, 상기 잔여 데이터의 양이 제1 임계값 미만으로 감소되면, 상기 안테나와 상기 제2 수신 경로를 연결하고, 상기 안테나 및 상기 제2 수신 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하도록 할 수 있다. According to an embodiment, when the one or more instructions are executed, while the processor receives a signal from the external electronic device through the first path, when the amount of residual data is reduced to less than a first threshold value, The antenna and the second reception path may be connected, and a signal may be received from the external electronic device through the antenna and the second reception path.

일 실시예에 따르면, 상기 하나 이상의 인스트럭션들은 실행시에 상기 프로세서가, 상기 제2 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하는 동안, 상기 잔여 데이터의 양이 제2 임계값 이상 으로 증가되면, 상기 안테나와 상기 제1 수신 경로를 연결하고, 상기 안테나 및 상기 제1 수신 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하도록 할 수 있다.According to an embodiment, when the one or more instructions are executed, while the processor receives a signal from the external electronic device through the second path, if the amount of residual data increases to a second threshold or more, The antenna and the first reception path may be connected, and a signal may be received from the external electronic device through the antenna and the first reception path.

일 실시예에 따르면, 상기 하나 이상의 인스트럭션들은 실행 시에 상기 프로세서가, 상기 버퍼링된 데이터의 적어도 일부를 상기 출력 회로를 이용하여 출력하도록 할 수 있다. 상기 잔여 데이터는 상기 버퍼링된 데이터로부터 상기 출력된 데이터를 제외한 나머지 데이터일 수 있다.According to an embodiment, when the one or more instructions are executed, the processor may cause the processor to output at least a part of the buffered data using the output circuit. The residual data may be data other than the output data from the buffered data.

일 실시예에 따르면, 상기 하나 이상의 인스트럭션들은 실행시에 상기 프로세서가, 상기 제1 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하는 동안, 상기 잔여 데이터의 양이 제1 임계값 미만으로 감소되면, 상기 전자 장치의 통신 상태에 기반하여 상기 안테나에 연결된 수신 경로의 변경을 결정하도록 할 수 있다.According to an embodiment, when the one or more instructions are executed, while the processor receives a signal from the external electronic device through the first path, when the amount of residual data is reduced to less than a first threshold value, It may be determined to change a reception path connected to the antenna based on the communication state of the electronic device.

일 실시예에 따르면, 상기 하나 이상의 인스트럭션들은 실행시에 상기 프로세서가, 상기 제2 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하는 동안, 상기 잔여 데이터의 양이 제2 임계값 이상으로 증가되면, 상기 전자 장치의 통신 상태에 기반하여 상기 안테나에 연결된 수신 경로의 변경을 결정하도록 할 수 있다. According to an embodiment, when the one or more instructions are executed, while the processor receives a signal from the external electronic device through the second path, if the amount of residual data increases above a second threshold value, It may be determined to change a reception path connected to the antenna based on the communication state of the electronic device.

예를 들어, 상기 제2 임계값은 상기 제1 임계값 이상일 수 있다.For example, the second threshold may be equal to or greater than the first threshold.

일 실시예에 따르면, 상기 하나 이상의 인스트럭션들은 실행시에 상기 프로세서가, 오류율, 수신 신호 강도, 재송신 비율, 수신 신호 강도, 상기 통신 회로 외의 다른 통신 회로의 동작 상태, 상기 통신 회로의 연결의 수, 응답 신호, 동기화 오류, 또는 채널 평가 중 적어도 하나에 기반하여 상기 통신 상태를 식별하도록 할 수 있다.According to an embodiment, when the one or more instructions are executed, the processor performs an error rate, a received signal strength, a retransmission rate, a received signal strength, an operation state of a communication circuit other than the communication circuit, the number of connections of the communication circuit, The communication state may be identified based on at least one of a response signal, a synchronization error, or a channel evaluation.

일 실시예에 따른 전자 장치의 데이터 수신을 위한 방법은, 상기 전자 장치의 안테나를 이용하여 외부 전자 장치로부터 데이터를 수신하는 동작, 상기 수신된 데이터를 상기 전자 장치의 버퍼 영역에 저장하는 동작, 및 상기 버퍼 영역에 저장된 데이터의 적어도 일부를 출력하는 동작을 포함할 수 있다. 예를 들어, 상기 외부 전자 장치로부터 데이터를 수신하는 동작은, 상기 버퍼 영역 내의 잔여(residual) 데이터의 양에 기반하여 제1 수신 경로 또는 기 제1 수신 경로에 비하여 높은 증폭률을 갖는 제2 수신 경로를 상기 안테나와 연결하는 동작, 및 상기 안테나를 이용하여 상기 외부 전자 장치로부터 데이터를 수신하는 동작을 포함할 수 있다.A method for receiving data by an electronic device according to an embodiment includes: receiving data from an external electronic device using an antenna of the electronic device, storing the received data in a buffer area of the electronic device, and And outputting at least part of the data stored in the buffer area. For example, the operation of receiving data from the external electronic device may include a first receiving path or a second receiving path having a higher amplification factor than the first receiving path based on the amount of residual data in the buffer area. The operation of connecting to the antenna and receiving data from the external electronic device using the antenna may be included.

일 실시예에 따르면, 상기 버퍼 영역 내의 잔여(residual) 데이터의 양에 기반하여 제1 수신 경로 또는 기 제1 수신 경로에 비하여 높은 증폭률을 갖는 제2 수신 경로를 상기 안테나와 연결하는 동작은, 상기 제1 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하는 동안, 상기 잔여 데이터의 양이 제1 임계값 미만으로 감소되면, 상기 안테나와 상기 제2 수신 경로를 연결하는 동작을 포함할 수 있다. According to an embodiment, the operation of connecting a first reception path or a second reception path having a higher amplification factor than the first reception path to the antenna based on the amount of residual data in the buffer area, the While receiving a signal from the external electronic device through the first path, if the amount of the residual data decreases below a first threshold, connecting the antenna and the second reception path.

일 실시예에 따르면, 상기 버퍼 영역 내의 잔여(residual) 데이터의 양에 기반하여 제1 수신 경로 또는 기 제1 수신 경로에 비하여 높은 증폭률을 갖는 제2 수신 경로를 상기 안테나와 연결하는 동작은, 상기 제2 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하는 동안, 상기 잔여 데이터의 양이 제2 임계값 이상으로 증가되면, 상기 안테나와 상기 제1 수신 경로를 연결하는 동작을 포함할 수 있다.According to an embodiment, the operation of connecting a first reception path or a second reception path having a higher amplification factor than the first reception path to the antenna based on the amount of residual data in the buffer area, the While receiving a signal from the external electronic device through a second path, if the amount of the residual data increases above a second threshold, connecting the antenna and the first reception path.

일 실시예에 따르면, 상기 방법은 상기 버퍼링된 데이터의 적어도 일부를 출력하는 동작을 더 포함할 수 있다. 상기 잔여 데이터는 상기 버퍼링된 데이터로부터 상기 출력된 데이터를 제외한 나머지 데이터일 수 있다.According to an embodiment, the method may further include outputting at least a part of the buffered data. The residual data may be data other than the output data from the buffered data.

상기 버퍼 영역 내의 잔여(residual) 데이터의 양에 기반하여 제1 수신 경로 또는 기 제1 수신 경로에 비하여 높은 증폭률을 갖는 제2 수신 경로를 상기 안테나와 연결하는 동작은, 상기 제1 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하는 동안, 상기 잔여 데이터의 양이 제1 임계값 미만으로 감소되면, 상기 전자 장치의 통신 상태에 기반하여 상기 안테나에 연결된 수신 경로의 변경을 결정하는 동작을 포함할 수 있다. The operation of connecting a first reception path or a second reception path having a higher amplification factor than the first reception path to the antenna based on the amount of residual data in the buffer area, through the first path, While receiving a signal from an external electronic device, if the amount of residual data decreases below a first threshold, determining a change of a reception path connected to the antenna based on a communication state of the electronic device. have.

일 실시예에 따르면, 상기 버퍼 영역 내의 잔여(residual) 데이터의 양에 기반하여 제1 수신 경로 또는 기 제1 수신 경로에 비하여 높은 증폭률을 갖는 제2 수신 경로를 상기 제1 안테나와 연결하는 동작은, 상기 제2 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하는 동안, 상기 잔여 데이터의 양이 제2 임계값 이상으로 증가되면, 상기 전자 장치의 통신 상태에 기반하여 상기 안테나에 연결된 수신 경로의 변경을 결정하는 동작을 포함할 수 있다. 예를 들어, 상기 제2 임계값은 상기 제1 임계값 이상일 수 있다.According to an embodiment, the operation of connecting a first reception path or a second reception path having a higher amplification factor than the first reception path to the first antenna based on the amount of residual data in the buffer area , While receiving a signal from the external electronic device through the second path, if the amount of residual data increases above a second threshold value, change of a reception path connected to the antenna based on a communication state of the electronic device It may include an operation to determine. For example, the second threshold may be equal to or greater than the first threshold.

일 실시예에 따른 전자 장치는, 출력 회로, 안테나, 상기 안테나에 전기적으로 연결된 통신 회로, 상기 출력 회로 및 상기 통신 회로에 작동적으로 연결된 프로세서, 및 상기 프로세서와 작동적으로 연결된 메모리를 포함할 수 있다. 상기 통신 회로는 상기 안테나를 제1 수신 경로 또는 상기 제1 수신 경로에 비하여 높은 증폭률을 갖는 제2 수신 경로를 통하여 상기 프로세서와 연결하도록 설정된 스위칭 회로를 포함할 수 있다. 상기 메모리는 실행 시에 상기 프로세서가, 상기 안테나를 이용하여 외부 전자 장치와 통신하고, 상기 외부 전자 장치로부터 데이터가 수신되면, 상기 데이터를 상기 메모리의 버퍼 영역에 저장하고, 상기 버퍼 영역에 저장된 데이터의 적어도 일부를 상기 출력 회로로 전달함으로써 상기 출력 회로를 이용하여 상기 데이터에 대응하는 미디어를 출력하도록 하는 하나 이상의 인스트럭션들을 저장할 수 있다. 상기 하나 이상의 인스트럭션들은 실행 시에, 상기 프로세서가 상기 버퍼 영역의 잔여 데이터의 양을 지정된 임계값과 비교하여, 상기 안테나가 상기 제1 수신 경로 또는 상기 수신 제2 경로와 연결되도록 상기 스위칭 회로를 제어하도록 할 수 있다.An electronic device according to an embodiment may include an output circuit, an antenna, a communication circuit electrically connected to the antenna, a processor operatively connected to the output circuit and the communication circuit, and a memory operatively connected to the processor. have. The communication circuit may include a switching circuit configured to connect the antenna to the processor through a first reception path or a second reception path having a higher amplification factor than the first reception path. When the memory is executed, the processor communicates with an external electronic device using the antenna, and when data is received from the external electronic device, the memory stores the data in a buffer area of the memory, and data stored in the buffer area One or more instructions for outputting a media corresponding to the data by using the output circuit may be stored by transferring at least a portion of the output circuit to the output circuit. When the one or more instructions are executed, the processor compares the amount of residual data in the buffer area with a specified threshold value, and controls the switching circuit so that the antenna is connected to the first reception path or the reception second path. You can do it.

예를 들어, 상기 통신 회로는 블루투스 통신 규격에 기반한 신호를 송수신하도록 설정될 수 있다.For example, the communication circuit may be configured to transmit and receive signals based on a Bluetooth communication standard.

상기 하나 이상의 인스트럭션들은 실행 시에 상기 프로세서가, 상기 잔여 데이터의 양이 상기 지정된 임계값 미만이면, 상기 스위칭 회로를 제어하여 상기 안테나를 상기 제2 수신 경로에 연결하도록 할 수 있다.When the one or more instructions are executed, the processor may control the switching circuit to connect the antenna to the second reception path when the amount of the residual data is less than the specified threshold.

상기 하나 이상의 인스트럭션들은 실행 시에 상기 프로세서가, 상기 잔여 데이터의 양이 상기 지정된 임계값 이상이면, 상기 스위칭 회로를 제어하여 상기 안테나를 상기 제1 수신 경로에 연결하도록 할 수 있다.When the one or more instructions are executed, the processor may control the switching circuit to connect the antenna to the first reception path when the amount of the residual data is greater than or equal to the specified threshold.

상기 제1 수신 경로는 증폭기를 포함하지 않고, 상기 제2 수신 경로는 적어도 하나의 증폭기를 포함할 수 있다. The first reception path may not include an amplifier, and the second reception path may include at least one amplifier.

Claims (20)

전자 장치로서,
출력 회로;
안테나;
제1 수신 경로 및 상기 제1 수신 경로에 비하여 높은 증폭률을 갖는 제2 수신 경로를 포함하고, 상기 안테나에 전기적으로 연결된 통신 회로;
상기 출력 회로 및 상기 통신 회로에 작동적으로 연결된 프로세서; 및
상기 프로세서와 작동적으로 연결된 메모리를 포함하고,
상기 메모리는 실행 시에 상기 프로세서가:
상기 안테나를 이용하여 외부 전자 장치로부터 데이터를 수신하고,
상기 데이터를 상기 메모리의 버퍼 영역에 버퍼링하고,
상기 통신 회로를 이용하여, 상기 버퍼 영역 내의 잔여(residual) 데이터의 양에 기반하여 상기 제1 수신 경로 또는 상기 제2 수신 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하도록 하는 하나 이상의 인스트럭션들을 저장하는, 전자 장치.
As an electronic device,
Output circuit;
antenna;
A communication circuit comprising a first receiving path and a second receiving path having a higher amplification factor than the first receiving path, and electrically connected to the antenna;
A processor operatively coupled to the output circuit and the communication circuit; And
And a memory operatively connected to the processor,
When the memory is executed, the processor:
Receiving data from an external electronic device using the antenna,
Buffering the data in a buffer area of the memory,
Using the communication circuit, storing one or more instructions for receiving a signal from the external electronic device through the first receiving path or the second receiving path based on the amount of residual data in the buffer area , Electronic devices.
제 1 항에 있어서,
상기 하나 이상의 인스트럭션들은 실행시에 상기 프로세서가:
상기 제1 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하는 동안, 상기 잔여 데이터의 양이 제1 임계값 미만으로 감소되면, 상기 안테나와 상기 제2 수신 경로를 연결하고,
상기 안테나 및 상기 제2 수신 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하도록 하는, 전자 장치.
The method of claim 1,
When the one or more instructions are executed, the processor:
While receiving a signal from the external electronic device through the first path, when the amount of residual data is reduced to less than a first threshold, the antenna and the second reception path are connected,
An electronic device configured to receive a signal from the external electronic device through the antenna and the second receiving path.
제 2 항에 있어서,
상기 하나 이상의 인스트럭션들은 실행시에 상기 프로세서가:
상기 제2 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하는 동안, 상기 잔여 데이터의 양이 제2 임계값 이상 으로 증가되면, 상기 안테나와 상기 제1 수신 경로를 연결하고,
상기 안테나 및 상기 제1 수신 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하도록 하는, 전자 장치.
The method of claim 2,
When the one or more instructions are executed, the processor:
While receiving a signal from the external electronic device through the second path, when the amount of the residual data increases above a second threshold, the antenna and the first reception path are connected,
An electronic device configured to receive a signal from the external electronic device through the antenna and the first receiving path.
제 1 항에 있어서,
상기 하나 이상의 인스트럭션들은 실행 시에 상기 프로세서가, 상기 버퍼링된 데이터의 적어도 일부를 상기 출력 회로를 이용하여 출력하도록 하고,
상기 잔여 데이터는 상기 버퍼링된 데이터로부터 상기 출력된 데이터를 제외한 나머지 데이터인, 전자 장치.
The method of claim 1,
The one or more instructions cause the processor to output at least a portion of the buffered data using the output circuit when executed,
The remaining data is data other than the output data from the buffered data.
제 1 항에 있어서,
상기 하나 이상의 인스트럭션들은 실행시에 상기 프로세서가:
상기 제1 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하는 동안, 상기 잔여 데이터의 양이 제1 임계값 미만으로 감소되면, 상기 전자 장치의 통신 상태에 기반하여 상기 안테나에 연결된 수신 경로의 변경을 결정하도록 하는, 전자 장치.
The method of claim 1,
When the one or more instructions are executed, the processor:
While receiving a signal from the external electronic device through the first path, if the amount of residual data is reduced to less than a first threshold value, a change of the reception path connected to the antenna is performed based on the communication state of the electronic device. The electronic device that makes the decision.
제 5 항에 있어서,
상기 하나 이상의 인스트럭션들은 실행시에 상기 프로세서가:
상기 제2 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하는 동안, 상기 잔여 데이터의 양이 제2 임계값 이상으로 증가되면, 상기 전자 장치의 통신 상태에 기반하여 상기 안테나에 연결된 수신 경로의 변경을 결정하도록 하는, 전자 장치.
The method of claim 5,
When the one or more instructions are executed, the processor:
While receiving a signal from the external electronic device through the second path, if the amount of the residual data increases above a second threshold, a change of the reception path connected to the antenna is performed based on the communication state of the electronic device. The electronic device that makes the decision.
제 6 항에 있어서,
상기 제2 임계값은 상기 제1 임계값 이상인, 전자 장치.
The method of claim 6,
The second threshold value is equal to or greater than the first threshold value.
제 5 항에 있어서,
상기 하나 이상의 인스트럭션들은 실행시에 상기 프로세서가, 오류율, 수신 신호 강도, 재송신 비율, 수신 신호 강도, 상기 통신 회로 외의 다른 통신 회로의 동작 상태, 상기 통신 회로의 연결의 수, 응답 신호, 동기화 오류, 또는 채널 평가 중 적어도 하나에 기반하여 상기 통신 상태를 식별하도록 하는, 전자 장치.
The method of claim 5,
When the one or more instructions are executed, the processor determines an error rate, a received signal strength, a retransmission rate, a received signal strength, an operating state of a communication circuit other than the communication circuit, the number of connections of the communication circuit, a response signal, a synchronization error Or to identify the communication state based on at least one of channel evaluation.
전자 장치의 데이터 수신을 위한 방법으로서,
상기 전자 장치의 안테나를 이용하여 외부 전자 장치로부터 데이터를 수신하는 동작;
상기 수신된 데이터를 상기 전자 장치의 버퍼 영역에 저장하는 동작; 및
상기 버퍼 영역에 저장된 데이터의 적어도 일부를 출력하는 동작을 포함하고,
상기 외부 전자 장치로부터 데이터를 수신하는 동작은,
상기 버퍼 영역 내의 잔여(residual) 데이터의 양에 기반하여 제1 수신 경로 또는 기 제1 수신 경로에 비하여 높은 증폭률을 갖는 제2 수신 경로를 상기 안테나와 연결하는 동작; 및
상기 안테나를 이용하여 상기 외부 전자 장치로부터 데이터를 수신하는 동작을 포함하는, 방법.
A method for receiving data from an electronic device, comprising:
Receiving data from an external electronic device using an antenna of the electronic device;
Storing the received data in a buffer area of the electronic device; And
And outputting at least part of the data stored in the buffer area,
The operation of receiving data from the external electronic device,
Connecting a first receiving path or a second receiving path having a higher amplification factor than the first receiving path with the antenna based on the amount of residual data in the buffer area; And
And receiving data from the external electronic device using the antenna.
제 9 항에 있어서,
상기 버퍼 영역 내의 잔여(residual) 데이터의 양에 기반하여 제1 수신 경로 또는 기 제1 수신 경로에 비하여 높은 증폭률을 갖는 제2 수신 경로를 상기 안테나와 연결하는 동작은,
상기 제1 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하는 동안, 상기 잔여 데이터의 양이 제1 임계값 미만으로 감소되면, 상기 안테나와 상기 제2 수신 경로를 연결하는 동작을 포함하는, 방법.
The method of claim 9,
An operation of connecting a first reception path or a second reception path having a higher amplification factor than the first reception path to the antenna based on the amount of residual data in the buffer area,
While receiving a signal from the external electronic device through the first path, if the amount of the residual data decreases below a first threshold, connecting the antenna and the second reception path.
제 9 항에 있어서,
상기 버퍼 영역 내의 잔여(residual) 데이터의 양에 기반하여 제1 수신 경로 또는 기 제1 수신 경로에 비하여 높은 증폭률을 갖는 제2 수신 경로를 상기 안테나와 연결하는 동작은,
상기 제2 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하는 동안, 상기 잔여 데이터의 양이 제2 임계값 이상으로 증가되면, 상기 안테나와 상기 제1 수신 경로를 연결하는 동작을 포함하는, 방법.
The method of claim 9,
An operation of connecting a first reception path or a second reception path having a higher amplification factor than the first reception path to the antenna based on the amount of residual data in the buffer area,
While receiving a signal from the external electronic device through the second path, connecting the antenna and the first reception path when the amount of the residual data increases above a second threshold value.
제 9 항에 있어서,
상기 버퍼링된 데이터의 적어도 일부를 출력하는 동작을 더 포함하고,
상기 잔여 데이터는 상기 버퍼링된 데이터로부터 상기 출력된 데이터를 제외한 나머지 데이터인, 방법.
The method of claim 9,
Further comprising an operation of outputting at least a portion of the buffered data,
The residual data is data remaining from the buffered data except for the output data.
제 9 항에 있어서,
상기 버퍼 영역 내의 잔여(residual) 데이터의 양에 기반하여 제1 수신 경로 또는 기 제1 수신 경로에 비하여 높은 증폭률을 갖는 제2 수신 경로를 상기 안테나와 연결하는 동작은,
상기 제1 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하는 동안, 상기 잔여 데이터의 양이 제1 임계값 미만으로 감소되면, 상기 전자 장치의 통신 상태에 기반하여 상기 안테나에 연결된 수신 경로의 변경을 결정하는 동작을 포함하는, 방법.
The method of claim 9,
An operation of connecting a first reception path or a second reception path having a higher amplification factor than the first reception path to the antenna based on the amount of residual data in the buffer area,
While receiving a signal from the external electronic device through the first path, if the amount of residual data is reduced to less than a first threshold value, a change of the reception path connected to the antenna is performed based on the communication state of the electronic device. A method comprising the act of determining.
제 13 항에 있어서,
상기 버퍼 영역 내의 잔여(residual) 데이터의 양에 기반하여 제1 수신 경로 또는 기 제1 수신 경로에 비하여 높은 증폭률을 갖는 제2 수신 경로를 상기 제1 안테나와 연결하는 동작은,
상기 제2 경로를 통하여 상기 외부 전자 장치로부터 신호를 수신하는 동안, 상기 잔여 데이터의 양이 제2 임계값 이상으로 증가되면, 상기 전자 장치의 통신 상태에 기반하여 상기 안테나에 연결된 수신 경로의 변경을 결정하는 동작을 포함하는, 방법.
The method of claim 13,
The operation of connecting a first receiving path or a second receiving path having a higher amplification factor than the first receiving path to the first antenna based on the amount of residual data in the buffer area,
While receiving a signal from the external electronic device through the second path, if the amount of the residual data increases above a second threshold, a change of the reception path connected to the antenna is performed based on the communication state of the electronic device. A method comprising the act of determining.
제 14 항에 있어서,
상기 제2 임계값은 상기 제1 임계값 이상인, 방법.
The method of claim 14,
The second threshold is equal to or greater than the first threshold.
전자 장치로서,
출력 회로;
안테나;
상기 안테나에 전기적으로 연결된 통신 회로;
상기 출력 회로 및 상기 통신 회로에 작동적으로 연결된 프로세서; 및
상기 프로세서와 작동적으로 연결된 메모리를 포함하고,
상기 통신 회로는 상기 안테나를 제1 수신 경로 또는 상기 제1 수신 경로에 비하여 높은 증폭률을 갖는 제2 수신 경로를 통하여 상기 프로세서와 연결하도록 설정된 스위칭 회로를 포함하고,
상기 메모리는 실행 시에 상기 프로세서가:
상기 안테나를 이용하여 외부 전자 장치와 통신하고,
상기 외부 전자 장치로부터 데이터가 수신되면, 상기 데이터를 상기 메모리의 버퍼 영역에 저장하고,
상기 버퍼 영역에 저장된 데이터의 적어도 일부를 상기 출력 회로로 전달함으로써 상기 출력 회로를 이용하여 상기 데이터에 대응하는 미디어를 출력하도록 하는 하나 이상의 인스트럭션들을 저장하고,
상기 하나 이상의 인스트럭션들은 실행 시에, 상기 프로세서가 상기 버퍼 영역의 잔여 데이터의 양을 지정된 임계값과 비교하여, 상기 안테나가 상기 제1 수신 경로 또는 상기 수신 제2 경로와 연결되도록 상기 스위칭 회로를 제어하도록 하는, 전자 장치.
As an electronic device,
Output circuit;
antenna;
A communication circuit electrically connected to the antenna;
A processor operatively coupled to the output circuit and the communication circuit; And
And a memory operatively connected to the processor,
The communication circuit includes a switching circuit configured to connect the antenna to the processor through a first reception path or a second reception path having a higher amplification factor than the first reception path,
When the memory is executed, the processor:
Communicates with an external electronic device using the antenna,
When data is received from the external electronic device, the data is stored in a buffer area of the memory,
Storing one or more instructions for outputting a media corresponding to the data using the output circuit by transferring at least a portion of the data stored in the buffer area to the output circuit,
When the one or more instructions are executed, the processor compares the amount of residual data in the buffer area with a specified threshold, and controls the switching circuit so that the antenna is connected to the first receiving path or the second receiving path. Electronic device.
제 16 항에 있어서,
상기 통신 회로는 블루투스 통신 규격에 기반한 신호를 송수신하도록 설정된, 전자 장치.
The method of claim 16,
The electronic device, wherein the communication circuit is configured to transmit and receive signals based on a Bluetooth communication standard.
제 16 항에 있어서,
상기 하나 이상의 인스트럭션들은 실행 시에 상기 프로세서가,
상기 잔여 데이터의 양이 상기 지정된 임계값 미만이면, 상기 스위칭 회로를 제어하여 상기 안테나를 상기 제2 수신 경로에 연결하도록 하는, 전자 장치.
The method of claim 16,
When the one or more instructions are executed, the processor,
If the amount of residual data is less than the specified threshold value, controlling the switching circuit to connect the antenna to the second receiving path.
제 16 항에 있어서,
상기 하나 이상의 인스트럭션들은 실행 시에 상기 프로세서가,
상기 잔여 데이터의 양이 상기 지정된 임계값 이상이면, 상기 스위칭 회로를 제어하여 상기 안테나를 상기 제1 수신 경로에 연결하도록 하는, 전자 장치.
The method of claim 16,
When the one or more instructions are executed, the processor,
If the amount of the residual data is equal to or greater than the specified threshold value, the switching circuit is controlled to connect the antenna to the first receiving path.
제 16 항에 있어서,
상기 제1 수신 경로는 증폭기를 포함하지 않고, 상기 제2 수신 경로는 적어도 하나의 증폭기를 포함하는, 전자 장치.
The method of claim 16,
The electronic device, wherein the first receive path does not include an amplifier, and the second receive path includes at least one amplifier.
KR1020190147023A 2019-11-15 2019-11-15 Method for switching receiving path and electronic device therefor KR102664874B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020190147023A KR102664874B1 (en) 2019-11-15 Method for switching receiving path and electronic device therefor
PCT/KR2020/015749 WO2021096209A1 (en) 2019-11-15 2020-11-11 Method for switching reception path and electronic device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190147023A KR102664874B1 (en) 2019-11-15 Method for switching receiving path and electronic device therefor

Publications (2)

Publication Number Publication Date
KR20210059503A true KR20210059503A (en) 2021-05-25
KR102664874B1 KR102664874B1 (en) 2024-05-14

Family

ID=

Also Published As

Publication number Publication date
WO2021096209A1 (en) 2021-05-20

Similar Documents

Publication Publication Date Title
US10558427B2 (en) Electronic device for reproducing audio signal via external device and operating method thereof
US11502786B2 (en) Electronic device for retransmitting data in Bluetooth network environment and method thereof
KR102632299B1 (en) Electronic device for transmitting response message in bluetooth network environment and method thereof
US20200128620A1 (en) Electronic device supporting link sharing and method therefor
US11252773B2 (en) Method for supporting multiple links in Bluetooth network environment and electronic device thereof
KR102652380B1 (en) Electronic device for transmitting response message in bluetooth network environment and method thereof
US11582815B2 (en) Electronic device for receiving data packet in Bluetooth network environment and method thereof
KR20200110086A (en) Method for establishing wireless communication link and electronic device supporting the same
US10735054B2 (en) Wireless communication device and method for transferring communication rights between electronic devices
EP3917273B1 (en) Electronic device for transmitting response message in bluetooth network environment and method therefor
EP4002737A1 (en) Electronic device for transmitting data packets in bluetooth network environment and method therefor
CN113853754A (en) In the bluetoothTMElectronic device and method for displaying external electronic device query list in network environment
KR20210080897A (en) Electronic device for transmitting data in bluetooth network environment and method thereof
US20210203454A1 (en) Method for transceiving data in bluetooth network environment and electronic device thereof
KR20220102492A (en) Audio device for processing audio data and operating method thereof
US20230097491A1 (en) Electronic device transmitting pairing support signal and method operating the same
US11943079B2 (en) Method for sharing channel information in Bluetooth network, and electronic device therefor
KR102664874B1 (en) Method for switching receiving path and electronic device therefor
KR20210059503A (en) Method for switching receiving path and electronic device therefor
US20220232647A1 (en) Electronic device for transmitting data in bluetooth network environment, and method therefor
US20220225452A1 (en) Electronic device for transmitting data packets in bluetooth network environment, and method therefor
US20220222036A1 (en) Audio device for processing audio data and operation method thereof
KR20210086517A (en) Method for transceiving data in bluetooth network environment and electronic device thereof
KR20220043681A (en) Electronic device and method for operating a link
KR20200032410A (en) Electronic device for preventing packet drop for up-link

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right