KR20190037918A - Electronic apparatus and the control method thereof - Google Patents

Electronic apparatus and the control method thereof Download PDF

Info

Publication number
KR20190037918A
KR20190037918A KR1020170127744A KR20170127744A KR20190037918A KR 20190037918 A KR20190037918 A KR 20190037918A KR 1020170127744 A KR1020170127744 A KR 1020170127744A KR 20170127744 A KR20170127744 A KR 20170127744A KR 20190037918 A KR20190037918 A KR 20190037918A
Authority
KR
South Korea
Prior art keywords
external device
external
user
electronic device
distance information
Prior art date
Application number
KR1020170127744A
Other languages
Korean (ko)
Inventor
이종근
김민섭
서제환
송기현
윤석훈
윤현규
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020170127744A priority Critical patent/KR20190037918A/en
Priority to PCT/KR2018/004250 priority patent/WO2019066178A1/en
Publication of KR20190037918A publication Critical patent/KR20190037918A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/28TPC being performed according to specific parameters using user profile, e.g. mobile speed, priority or network state, e.g. standby, idle or non transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Abstract

The present invention relates to an electronic device, a control method thereof, and a computer control program product thereof. The electronic device comprises: a communication unit capable of communicating with a plurality of external devices; and a processor that receives distance information from the plurality of external devices to each external device and controls to perform pairing with an external device whose rank of a close distance is within a predetermined range among the plurality of external devices based on the received distance information. Accordingly, the electronic device minimizes intervention of a user, speeds up a wireless connection, and allows the user to connect the wireless device with the external device desired by the user, in wireless connection with the external device.

Description

전자장치 및 그 제어방법 {ELECTRONIC APPARATUS AND THE CONTROL METHOD THEREOF}ELECTRONIC APPARATUS AND THE CONTROL METHOD THEREOF BACKGROUND OF THE INVENTION 1. Field of the Invention [0001]

본 발명은 전자장치 및 그 제어방법에 관한 것으로서, 보다 구체적으로는, 외부장치와의 무선 연결을 하는 전자장치 및 그 제어방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0002] The present invention relates to an electronic apparatus and a control method thereof, and more particularly, to an electronic apparatus and a control method thereof that establish a wireless connection with an external apparatus.

최근 전자장치는 다른 장치와의 무선 연결이 가능하다. 무선 연결을 하는 다양한 방법이 존재하는데, 블루투스(Bluetooth), 와이파이(Wi-fi), 지그비(ZigBee)등 여러가지 연결방법이 존재한다.Recently, electronic devices are capable of wireless connection with other devices. There are various ways of wireless connection, and there are various connection methods such as Bluetooth, Wi-fi and ZigBee.

전자장치는 복수개의 외부장치 중 한 개의 외부장치와 무선 연결을 할 때, 사용자는 다양한 방법을 이용하여 외부장치를 선택한다. 사용자가 선택할 때 익숙하지 않은 사용자는 무선 연결 방법을 몰라서 어려움을 겪거나, 소요시간이 길어서 불편함이 존재한다.When an electronic device establishes a wireless connection with an external device of a plurality of external devices, the user selects an external device using various methods. Users who are unfamiliar with the selection of the user have difficulty because they do not know the wireless connection method, and there is an inconvenience because it takes a long time.

사용자가 개입하지 않고 전자장치가 자동으로 무선 연결 하는 경우에도, 무선 연결에 소요시간이 길어서 불편하거나, 사용자가 무선 연결을 원하지 않는 외부장치와 무선 연결이 되는 등의 불편함이 존재한다.There is an inconvenience that the time required for the wireless connection is long and inconvenient even when the electronic device automatically connects wirelessly without the user intervention or that the user makes a wireless connection with an external device that does not want the wireless connection.

종래기술에 의하면, 상기한 문제점들을 해결할 방법이 없다. 따라서, 사용자가 개입하지 않고 외부장치와 전자장치의 무선 연결이 이루어지거나, 사용자가 원하는 외부장치와 전자장치가 무선 연결 될 수 있는 방법이 필요하다.According to the prior art, there is no way to solve the above problems. Therefore, there is a need for a wireless connection between an external device and an electronic device without a user intervention, or a method by which a desired external device and an electronic device can be wirelessly connected.

따라서, 본 발명의 목적은, 무선 연결에 있어서, 무선 연결 시 사용자의 개입을 최소화하는 전자장치와 그 제어방법 및 컴퓨터프로그램제품을 제공하는 것이다.SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide an electronic device, a control method thereof, and a computer program product for minimizing user intervention in wireless connection in a wireless connection.

또한, 본 발명의 다른 목적은, 무선 연결을 빠르게 진행하는 전자장치 및 그 제어방법을 제공하는 것이다.It is another object of the present invention to provide an electronic device and a control method thereof for rapidly making a wireless connection.

또한, 본 발명의 또 다른 목적은, 원하는 외부장치와 연결 하는 전자장치 및 그 제어방법을 제공하는 것이다.It is still another object of the present invention to provide an electronic device and a control method thereof that are connected to a desired external device.

상기 목적은, 전자장치에 있어서, 복수의 외부장치와 통신할 수 있는 통신부; 상기 복수의 외부장치로부터 각 외부장치까지의 거리정보를 수신하고, 상기 수신된 거리정보에 기초하여 상기 복수의 외부장치 중에서 가까운 거리의 순위가 소정 이내인 외부장치와의 페어링이 수행되도록 제어하는 프로세서를 포함하는 전자장치에 의해 달성될 수 있다. 이에 따라, 사용자는 복잡한 과정을 거치치 않고 상기 전자장치와 상기 전자장치에 가장 가까이 있는 외부장치간의 페어링을 수행할 수 있다.The above object is achieved by an electronic device comprising: a communication unit capable of communicating with a plurality of external devices; A processor for receiving the distance information from the plurality of external devices to each external device and controlling the pairing with an external device having a predetermined distance within a predetermined distance from the plurality of external devices based on the received distance information, And the like. Accordingly, the user can perform the pairing between the electronic device and the external device closest to the electronic device without complicating the process.

상기 프로세서는, 검색되는 상기 복수의 외부장치의 개수가 소정 목표값이 되도록 상기 통신부의 송출전력을 조정하도록 제어할 수 있다. 이에 따라, 송출전력을 제어함으로써, 전자장치가 소비하는 전력을 줄일 수 있다.The processor can control to adjust the transmission power of the communication unit such that the number of the plurality of external apparatuses to be searched becomes a predetermined target value. Thus, by controlling the transmission power, the power consumed by the electronic device can be reduced.

상기 프로세서는, 최초의 상기 외부장치의 검색 후 상기 소정 목표값의 개수의 외부장치가 검색될 때까지 상기 통신부의 송출전력을 점차적으로 증가시키도록 제어할 수 있다. 이에 따라, 전자장치(300)는 가까이 있는 외부장치를 보다 빠르게 찾을 수 있다. 또한, 이러한 방법을 이용하면, 송출전력의 소모도 최소화시킬 수 있다.The processor may control to gradually increase the transmission power of the communication unit until an external apparatus having the predetermined target value number is searched after the first search of the external apparatus. Accordingly, the electronic device 300 can find the nearby external device more quickly. Also, by using this method, it is possible to minimize the consumption of the transmission power.

상기 각 외부장치까지의 거리정보는, 상기 외부장치가 상기 통신부의 송출전력을 측정한 수신세기에 대응하는 정보를 포함할 수 있다.The distance information to each of the external devices may include information corresponding to a reception intensity at which the external device measured the transmission power of the communication unit.

상기 프로세서는, 상기 각 외부장치까지의 거리정보를 소정 횟수 수신하여 상기 거리의 대표값을 이용하도록 제어할 수 있다. 이에 따라, 오차가 적은 거리정보를 이용하여 보다 정확한 거리 순위를 계산할 수 있다.The processor may receive the distance information to the external devices a predetermined number of times and control the representative value of the distance to be used. Accordingly, it is possible to calculate a more accurate distance rank by using the distance information with a small error.

상기 전자장치는 사용자입력을 수신할 수 있는 사용자입력부를 더 포함하고, 상기 프로세서는, 상기 각 외부장치까지의 거리정보를 수신한 이후에 수신되는 상기 사용자입력에 대응하여 상기 외부장치와의 페어링이 수행되도록 제어할 수 있다. 이에 따라, 페어링이 보다 빠르게 이루어 질 수 있다.The electronic device further includes a user input unit capable of receiving a user input, and the processor is configured to perform a pairing with the external device corresponding to the user input received after receiving the distance information to the external device Can be controlled. As a result, pairing can be performed more quickly.

상기 프로세서는, 상기 사용자입력의 수신 전 슬립상태에서, 상기 각 외부장치까지의 거리정보를 수신하도록 제어할 수 있다. 이에 따라, 페어링이 보다 빠르게 이루어 질 수 있다.The processor can control to receive distance information from the external device in the sleep state before reception of the user input. As a result, pairing can be performed more quickly.

상기 프로세서는, 거리정보 수신 주기는 가변적으로 조절되도록 제어할 수 있다. 이에 따라, 소비되는 소모전력을 줄일 수도 있다. The processor may control the distance information reception period to be variably controlled. As a result, consumed power consumption can be reduced.

상기 프로세서는, 2이상의 상기 외부장치의 각 거리 간의 차이가 소정 범위 이내인 경우, 페어링 빈도가 높은 순위, 최근에 페어링 되었던 순위, 신호 세기가 강한 순위, 먼저 검색된 순위, 페어링이 배제된 외부장치를 제외한 순위 중 적어도 하나를 이용하여 외부장치와 페어링이 수행되도록 제어할 수 있다. 이에 따라, 전자장치는 사용자가 페어링을 원하는 외부장치와 페어링을 할 수 있다.When the difference between the distances of the two or more external devices is within a predetermined range, the processor may be configured to select one of a higher priority ranking, a recently paired ranking, a stronger signal strength, a first searched ranking, And perform the pairing with the external device using at least one of the excluded positions. Thus, the electronic device can pair with an external device that the user wants to pair with.

상기 프로세서는, 사용자에게 페어링을 원하는 외부장치에 이동할 것을 알린 후, 외부장치와 페어링 하도록 제어할 수 있다. 이에 따라, 페어링 시도 시, 사용자가 페어링을 원하는 외부장치가 가장 가까이 있지 않아도, 제어부는 출력부를 통해 사용자에게 알림하도록 제어하여, 사용자가 페어링을 원하는 외부장치와 페어링 할 수 있다.The processor can inform the user to move to an external device that wants to pair and then control to pair with the external device. Accordingly, even when the user does not have the nearest external device to be paired at the time of pairing, the control unit can control the user to notify the user through the output unit, so that the user can pair with an external device desired to be paired.

상기 프로세서는, 상기 전자장치의 이동 중에 상기 수신된 거리의 감축 정도가 상대적으로 높은 외부장치와 페어링하도록 제어할 수 있다. 이에 따라, 이동 후 뿐만 아니라 이동 중에도 페어링이 가능하며, 페어링이 보다 빠르게 이루어질 수 있다.The processor can control the degree of reduction of the received distance during the movement of the electronic device to be paired with a relatively high external device. Accordingly, pairing can be performed not only after the movement but also on the move, and the pairing can be performed more quickly.

상기 목적은, 본 발명에 따라, 전자장치를 제어하는 방법에 있어서, 통신부를 통하여 복수의 외부장치와 통신하는 단계; 복수의 외부장치로부터 각 외부장치까지의 거리정보를 수신하는 단계; 상기 수신된 거리정보에 기초하여 상기 복수의 외부장치 중에서 가까운 거리의 순위가 소정 이내인 외부장치와의 페어링이 수행되도록 제어하는 단계를 포함할 수 있다. 이에 따라, 사용자는 복잡한 과정을 거치치 않고 상기 전자장치와 상기 전자장치에 가장 가까이 있는 외부장치간의 페어링을 수행할 수 있다.The above object is achieved by a method of controlling an electronic device according to the present invention, comprising the steps of: communicating with a plurality of external devices via a communication unit; Receiving distance information from a plurality of external devices to respective external devices; And controlling to perform pairing with an external device having a predetermined distance within a predetermined distance from the plurality of external devices based on the received distance information. Accordingly, the user can perform the pairing between the electronic device and the external device closest to the electronic device without complicating the process.

상기 방법은, 검색되는 상기 복수의 외부장치의 개수가 소정 목표값이 되도록 상기 통신부의 송출전력을 조정하는 단계를 더 포함할 수 있다. 이에 따라, 송출전력을 제어함으로써, 전자장치가 소비하는 전력을 줄일 수 있다.The method may further comprise adjusting the transmission power of the communication unit such that the number of the plurality of external apparatuses to be searched becomes a predetermined target value. Thus, by controlling the transmission power, the power consumed by the electronic device can be reduced.

상기 각 외부장치까지의 거리정보는, 상기 외부장치가 상기 통신부의 송출전력을 측정한 수신세기에 대응하는 정보를 더 포함하는 단계를 포함할 수 있다. The distance information to each of the external devices may further include information corresponding to a reception intensity at which the external device measured transmission power of the communication unit.

상기 방법은, 상기 각 외부장치까지의 거리정보를 소정 횟수 수신하여 상기 거리정보의 대표값을 이용하는 단계를 더 포함할 수 있다. 이에 따라, 오차가 적은 거리정보를 이용하여 보다 정확한 거리 순위를 계산할 수 있다.The method may further include using a representative value of the distance information by receiving the distance information to each external device a predetermined number of times. Accordingly, it is possible to calculate a more accurate distance rank by using the distance information with a small error.

상기 방법은, 사용자입력부를 통해 사용자입력을 수신하는 단계, 상기 각 외부장치까지의 거리정보를 수신한 이후에 수신되는 상기 사용자입력에 대응하여 상기 외부장치와의 페어링이 수행되도록 제어하는 단계를 더 포함할 수 있다. 이에 따라, 페어링이 보다 빠르게 이루어 질 수 있다.The method may further include receiving a user input through a user input unit and controlling the pairing with the external device corresponding to the user input received after receiving the distance information to the external device . As a result, pairing can be performed more quickly.

상기 방법은, 2이상의 상기 외부장치의 각 거리 간의 차이가 소정 범위 이내인 경우, 페어링 빈도가 높은 순위, 최근에 페어링 되었던 순위, 신호 세기가 강한 순위, 먼저 검색된 순위, 페어링이 배제된 외부장치를 제외한 순위 중 적어도 하나를 이용하여 외부장치와 페어링이 수행되도록 제어하는 단계를 포함할 수 있다. 이에 따라, 전자장치는 사용자가 페어링을 원하는 외부장치와 페어링을 할 수 있다. When the difference between the distances of two or more external apparatuses is within a predetermined range, the method may further comprise the steps of: determining an order in which the pairing frequency is high, the order that has been recently paired, the order in which the signal strength is strong, And controlling the pairing with the external device to be performed using at least one of the excluded positions. Thus, the electronic device can pair with an external device that the user wants to pair with.

상기 방법은, 사용자에게 페어링을 원하는 외부장치에 이동할 것을 알린 후, 외부장치와 페어링하도록 제어하는 단계를 포함할 수 있다. 이에 따라, 페어링 시도 시, 사용자가 페어링을 원하는 외부장치가 가장 가까이 있지 않아도, 제어부는 출력부를 통해 사용자에게 알림하도록 제어하여, 사용자가 페어링을 원하는 외부장치와 페어링 할 수 있다.The method may include the step of informing the user to move to an external device that wants to pair and then controlling the user to pair with the external device. Accordingly, even when the user does not have the nearest external device to be paired at the time of pairing, the control unit can control the user to notify the user through the output unit, so that the user can pair with an external device desired to be paired.

상기 방법은, 상기 전자장치의 이동 중에 수신된 거리의 감축 정도가 상대적으로 높은 외부장치와 페어링하도록 제어하는 단계를 더 포함할 수 있다. 이에 따라, 이동 후 뿐만 아니라 이동 중에도 페어링이 가능하며, 페어링이 보다 빠르게 이루어질 수 있다.The method may further include controlling the degree of reduction of the distance received during the movement of the electronic device to be paired with a relatively high external device. Accordingly, pairing can be performed not only after the movement but also on the move, and the pairing can be performed more quickly.

상기 목적은, 본 발명에 따라, 컴퓨터프로그램제품에 있어서, 인스트럭션을 저장하는 메모리와; 프로세서를 포함하고, 상기 인스트럭션은 복수의 외부장치로부터 각 외부장치까지의 거리정보를 수신하고, 상기 수신된 거리정보에 기초하여 상기 복수의 외부장치 중에서 가까운 거리의 순위가 소정 이내인 외부장치와의 페어링이 수행되도록 제어한다. 이에 따라, 사용자는 복잡한 과정을 거치치 않고 상기 전자장치와 상기 전자장치에 가장 가까이 있는 외부장치간의 페어링을 수행할 수 있다.This object is achieved according to the present invention by a computer program product comprising: a memory for storing instructions; A processor for receiving distance information from a plurality of external apparatuses to each external apparatus and for determining a distance between the plurality of external apparatuses and an external apparatus having a predetermined distance within a predetermined distance based on the received distance information, So that the pairing is performed. Accordingly, the user can perform the pairing between the electronic device and the external device closest to the electronic device without complicating the process.

상기한 바와 같이, 본 발명에 의하면, 외부장치와 전자장치의 무선 연결을 수행할 때, 사용자의 개입을 최소화 할 수 있다.As described above, according to the present invention, the user's intervention can be minimized when performing the wireless connection between the external device and the electronic device.

또한, 본 발명에 의하면, 무선 연결을 빠르게 진행할 수 있다.Further, according to the present invention, the wireless connection can be rapidly performed.

또한, 본 발명에 의하면, 원하는 외부장치와 연결할 수 있다.Further, according to the present invention, a desired external device can be connected.

도 1은 본 발명의 일 실시예에 따른 전자장치와 외부장치와의 무선 연결을 도시한다.
도 2는 본 발명의 일 실시예에 따른 전자장치가 거리에 관한 정보를 이용하여 외부장치와 무선 연결을 하는 과정을 도시한다.
도 3은 본 발명의 일 실시예에 따른 전자장치의 블록도를 도시한다.
도 4는 본 발명의 일 실시예에 따른 전자장치의 동작을 나타내는 흐름도를 도시한다.
도 5 및 6은 본 발명의 일 실시예에 따른 전자장치의 송출전력의 변화에 따른 무선통신 연결이 가능한 범위를 도시한다.
도 7은 본 발명의 일 실시예에 따른 외부장치로부터 수신한 정보를 이용하여 전자장치가 생성한 데이터 도표의 일례를 도시한다.
도 8은 본 발명의 일 실시예에 따른 전자장치가 생성하는 UI 또는 알림에 대하여 도시한다.
도 9는 본 발명의 일 실시예에 따른 외부장치에 대한 전자장치의 우선순위 판단에 대한 흐름도를 도시한다.
도 10은 본 발명의 일 실시예에 따른 전자장치의 이동으로 인하여 외부장치의 우선순위가 바뀌는 것을 도시한다.
도 11은 본 발명의 일 실시예에 따른 전자장치가 사용자에게 연결을 원하는 외부장치로의 이동을 알리는 흐름도를 도시한다.
도 12는 본 발명의 일 실시예에 따른 전자장치의 이동으로 인하여 외부장치의 거리 감축량을 도시한다.
도 13은 본 발명의 일 실시예에 따른 거리 감축량에 대한 우선순위 판단의 흐름도를 도시한다.
1 shows a wireless connection between an electronic device and an external device according to an embodiment of the present invention.
FIG. 2 illustrates a process in which an electronic device according to an exemplary embodiment of the present invention makes a wireless connection with an external device using information on a distance.
3 shows a block diagram of an electronic device according to an embodiment of the present invention.
4 shows a flow diagram illustrating the operation of an electronic device according to an embodiment of the present invention.
FIGS. 5 and 6 illustrate a range in which a wireless communication connection is possible according to a change in transmission power of an electronic device according to an embodiment of the present invention.
7 shows an example of a data table generated by an electronic device using information received from an external device according to an embodiment of the present invention.
FIG. 8 illustrates a UI or notification generated by an electronic device according to an embodiment of the present invention.
FIG. 9 shows a flowchart of prioritization of an electronic device for an external device according to an embodiment of the present invention.
FIG. 10 shows that the priority of an external device changes due to movement of an electronic device according to an embodiment of the present invention.
Figure 11 shows a flow diagram in which an electronic device according to an embodiment of the present invention informs a user of movement to an external device that he wants to connect to.
Figure 12 shows the amount of distance reduction of an external device due to movement of an electronic device according to an embodiment of the present invention.
FIG. 13 shows a flowchart of prioritization of distance reduction amount according to an embodiment of the present invention.

이하에서는 첨부 도면을 참조하여 본 발명의 실시예들을 상세히 설명한다. 도면에서 동일한 참조번호 또는 부호는 실질적으로 동일한 기능을 수행하는 구성요소를 지칭하며, 도면에서 각 구성요소의 크기는 설명의 명료성과 편의를 위해 과장되어 있을 수 있다. 다만, 본 발명의 기술적 사상과 그 핵심 구성 및 작용이 이하의 실시예에 설명된 구성 또는 작용으로만 한정되지는 않는다. 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략하기로 한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the drawings, the same reference numerals or signs refer to elements performing substantially the same function, and the sizes of the respective elements in the drawings may be exaggerated for clarity and convenience of explanation. However, the technical spirit and essential structure and function of the present invention are not limited to the structure or function described in the following embodiments. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail.

본 발명의 실시예에서, 제1, 제2 등과 같이 서수를 포함하는 용어는 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용되며, 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 또한, 본 발명의 실시예에서, '구성되다', '포함하다', '가지다' 등의 용어는 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다. 또한, 본 발명의 실시예에서, '모듈' 혹은 '부'는 적어도 하나의 기능이나 동작을 수행하며, 하드웨어 또는 소프트웨어로 구현되거나 하드웨어와 소프트웨어의 결합으로 구현될 수 있으며, 적어도 하나의 모듈로 일체화되어 적어도 하나의 프로세서로 구현될 수 있다.In an embodiment of the present invention, terms including ordinal numbers such as first, second, etc. are used only for the purpose of distinguishing one constituent element from another, and the singular expressions, unless the context clearly indicates otherwise, ≪ / RTI > It is also to be understood that in the practice of the invention, the terms " comprising, " " including, " " having ", and the like, Or < / RTI > Further, in the exemplary embodiments of the present invention, 'module' or 'sub-module' performs at least one function or operation, and may be implemented in hardware or software, or a combination of hardware and software, And may be implemented as at least one processor.

도 1은 본 발명의 일 실시예에 따른 전자장치(101a, 101b, 101c, 101d)를 도시한다. 본 발명의 일 실시예에 따른 전자장치(101a, 101b, 101c, 101d)는, 예컨대, 리모콘(101a), 헤드셋(101b), 키보드(101c), 전자시계(101d) 등으로 구현될 수 있다. 본 발명의 일 실시예에 따른 전자장치(101a, 101b, 101c, 101d)는 이에 한정되지 않고, 외부장치(도 3의 부호 310)와 무선 연결이 가능한 전자장치(도 3의 부호 300)라면 무엇이든 가능하다. 전자장치(101a, 101b, 101c, 101d)와 무선 연결하는 외부장치(310)는 TV, 모바일기기, 컴퓨터 등이 있으나, 전자장치(101a, 101b, 101c, 101d)와 마찬가지로 무선 연결(이하 '페어링'이라 함)이 가능한 장치라면 무엇이든 가능하다. 1 illustrates an electronic device 101a, 101b, 101c, 101d according to an embodiment of the present invention. The electronic devices 101a, 101b, 101c and 101d according to the embodiment of the present invention can be realized by, for example, a remote controller 101a, a headset 101b, a keyboard 101c, an electronic clock 101d and the like. The electronic devices 101a, 101b, 101c, and 101d according to an embodiment of the present invention are not limited thereto. Any electronic device (300 in FIG. 3) capable of wireless connection with an external device It is possible. The external device 310 wirelessly connected to the electronic devices 101a, 101b, 101c and 101d may be a TV, a mobile device, a computer or the like. However, the electronic device 101a, 101b, 101c, Quot;) is possible.

본 발명의 일 실시예에 의한 무선 연결은, 예컨대 블루투스등이 있으나, 본 발명의 실시예는 블루투스를 이용한 방법에만 한정되는 것이 아니라, 무선 연결을 하는 방법에 적용될 수 있다.The wireless connection according to an exemplary embodiment of the present invention includes, for example, Bluetooth, but the embodiment of the present invention is not limited to the method using Bluetooth, but can be applied to a method of wireless connection.

블루투스 연결에서는 연결되는 두 장치간에 Host와 Slave의 역할이 존재한다. Host는 블루투스 연결이 가능한 Slave장치를 검색하고 선택하여 무선 연결 과정을 주도할 수 있다. 하지만, Slave장치가 페어링 과정을 주도하여 Host장치를 검색하고 페어링 할 수 있다. 본 발명에서 전자장치(101a, 101b, 101c, 101d)는 Slave장치의 역할, 외부장치(310)는 Host장치의 역할을 가정하고 설명한다. 하지만 본 발명의 실시예는 이에 한정되는 것이 아니며, 장치간의 역할이 바뀌어 수행 될 수도 있다.In a Bluetooth connection, there is a role of a host and a slave between two devices to be connected. The host can initiate the wireless connection process by searching for and selecting a slave device capable of Bluetooth connection. However, the slave device can initiate the pairing process to discover and pair with the host device. In the present invention, the electronic devices 101a, 101b, 101c and 101d serve as a slave device and the external device 310 serves as a host device. However, the embodiment of the present invention is not limited to this, and may be performed by changing roles between devices.

사용자는 전자장치(101a, 101b, 101c, 101d)와, 전자장치(101a, 101b, 101c, 101d)에 연결되는 외부장치(310)를 한 쌍의 조합으로 사용하게 된다. 가령, 리모콘(101a)과 TV, 헤드셋(101b)과 핸드폰, 키보드(101c)와 컴퓨터, 전자시계(101d)와 핸드폰 등의 예가 있다. 사용자는 전자장치(101a, 101b, 101c, 101d)와 외부장치(310)를 모두 사용하며, 특히 전자장치(101a, 101b, 101c, 101d)를 이용하여 외부장치(310)를 조작할 수 있다. 이러한 경우 전자장치(101a, 101b, 101c, 101d)는 외부장치(310)보다는 상대적으로 사용자에 더 가까운 상태가 유지되고, 사용자의 움직임에 따라 전자장치(101a, 101b, 101c, 101d)도 함께 이동되는 상황을 고려할 수 있다. 또한, 여러 외부장치(310) 중에서, 사용자가 조작하는 전자장치(101a, 101b, 101c, 101d)와 무선 연결되는 외부장치(310)는 다른 외부장치(310)보다 전자장치(101a, 101b, 101c, 101d)에 더 가까울 수 있다. 예를 들어, 사용자가 전자장치(300)인 리모콘(101a)과 TV(외부장치1)를 무선 연결하고자 하는 경우, TV(외부장치1)는 다른 외부장치(310)인 컴퓨터(외부장치2)나 핸드폰(외부장치3)등보다 리모콘(101a)에 상대적으로 더 가까이 있을 가능성이 높다. 즉, 사용자가 전자장치(101a, 101b, 101c, 101d)를 외부장치(310)에 무선 연결하여 사용하기 위해서는 전자장치(101a, 101b, 101c, 101d)를 해당 외부장치(310)에 가까이 근접시키는 것이 일반적이다. 이 점을 이용하여, 본 발명은 사용자의 사용에 앞선 전자장치(101a, 101b, 101c, 101d)와, 외부장치(310) 간의 무선 연결 수행 시, 전자장치(101a, 101b, 101c, 101d)와 가장 근접한 외부장치(310)를 무선 연결의 대상으로 한다. 따라서, 본 발명은 전자장치(101a, 101b, 101c, 101d)는 무선 연결 수행 시, 복수의 외부장치(310)와의 거리를 판단한 후에 가장 가까운 외부장치(310)와 연결을 수행한다. 도 1에서는 외부장치(310)의 번호 순서대로 전자장치(101a, 101b, 101c, 101d)로부터 가까운 순위가 되는 것으로 한다. 즉, 전자장치(101a, 101b, 101c, 101d)로부터 가까운 순위는 외부장치1(모니터)은 1순위, 외부장치2(컴퓨터)는 2순위 및 외부장치3(핸드폰)은 3순위이다. 따라서 전자장치(101a, 101b, 101c, 101d)가 가장 가까운 외부장치(310)와 무선 연결을 하면 1순위인 외부장치1(모니터)과 연결할 것이다.The user uses the electronic devices 101a, 101b, 101c and 101d and the external devices 310 connected to the electronic devices 101a, 101b, 101c and 101d as a pair. For example, there are an example of a remote controller 101a and a TV, a headset 101b, a mobile phone, a keyboard 101c and a computer, an electronic clock 101d, and a mobile phone. The user can use both the electronic devices 101a, 101b, 101c and 101d and the external device 310 and can operate the external device 310 using the electronic devices 101a, 101b, 101c and 101d in particular. In this case, the electronic devices 101a, 101b, 101c, and 101d are maintained closer to the user than the external device 310, and the electronic devices 101a, 101b, 101c, Can be considered. Among the various external devices 310, the external device 310 wirelessly connected to the electronic devices 101a, 101b, 101c, and 101d operated by the user is connected to the electronic devices 101a, 101b, and 101c , ≪ / RTI > 101d. For example, when the user wants to wirelessly connect the remote controller 101a and the TV (external device 1), which are electronic devices 300, the TV (external device 1) is connected to the computer (external device 2) It is more likely to be closer to the remote controller 101a than the mobile phone (external device 3) or the like. That is, in order for the user to wirelessly connect the electronic devices 101a, 101b, 101c, and 101d to the external device 310, the electronic devices 101a, 101b, 101c, and 101d are brought close to the external device 310 It is common. In this regard, the present invention can be applied to the electronic devices 101a, 101b, 101c, 101d and the electronic devices 101a, 101b, 101c, 101d when performing a wireless connection between the electronic devices 101a, And the closest external device 310 is targeted for wireless connection. Accordingly, when performing a wireless connection, the electronic devices 101a, 101b, 101c, and 101d determine the distance to the plurality of external devices 310 and then make a connection with the closest external device 310. FIG. In FIG. 1, the external devices 310 are ranked in order from the electronic devices 101a, 101b, 101c, and 101d in order of number. That is, the external device 1 (monitor) is ranked first, the external device 2 (computer) is ranked second, and the external device 3 (mobile phone) is ranked third from the electronic devices 101a, 101b, 101c and 101d. Therefore, when the electronic devices 101a, 101b, 101c, and 101d make a wireless connection with the nearest external device 310, they will connect to the external device 1 (monitor) in the first place.

도 2는 본 발명의 일 실시예에 따른 전자장치(101a, 101b, 101c, 101d)가 외부장치(310)와 연결하는 과정을 도시한다. 본 실시예에서는 외부장치1과 외부장치2만을 도시하였으나, 이는 예시일 뿐, 전자장치(101a, 101b, 101c, 101d)는 복수의 외부장치(310)와 연결하는 과정에 적용 가능하다.FIG. 2 illustrates a process of connecting electronic devices 101a, 101b, 101c, and 101d with an external device 310 according to an embodiment of the present invention. Although only the external device 1 and the external device 2 are shown in this embodiment, the electronic devices 101a, 101b, 101c, and 101d are applicable to a process of connecting to the plurality of external devices 310. [

본 실시예에서 전자장치(101a, 101b, 101c, 101d)는 외부장치1, 외부장치2 등과의 거리를 판단한다. 전자장치(101a, 101b, 101c, 101d)와 외부장치1 등 간의 상호 거리는, 다양한 거리 측정 방법을 이용하여 결정될 수 있다. 본 발명의 일 실시예에 의한 전자장치(101a, 101b, 101c, 101d)는 외부장치(310)와 무선 연결을 수행하는 과정에서 거리를 결정할 수 있다. 거리 결정에 관한 보다 구체적인 설명은 후술한다.In this embodiment, the electronic devices 101a, 101b, 101c, and 101d determine the distance to the external device 1, the external device 2, and the like. The mutual distance between the electronic devices 101a, 101b, 101c, 101d and the external device 1, etc., can be determined using various distance measurement methods. The electronic devices 101a, 101b, 101c, and 101d according to an exemplary embodiment of the present invention can determine a distance in a process of performing a wireless connection with the external device 310. [ A more detailed description of the distance determination will be given later.

전자장치(101a, 101b, 101c, 101d)는 상기와 같이 판단한 거리에 기초하여 전자장치(101a, 101b, 101c, 101d)에 가까운 외부장치(310)의 순위를 판단할 수 있다. 전자장치(101a, 101b, 101c, 101d)는 판단한 순위를 기준으로 하여 가장 가까운 외부장치(310)와 페어링을 수행할 수 있다. 페어링 수행은 사용자의 입력에 따라 수행될 수도 있고, 다른 이벤트의 발생에 따라 전자장치(101a, 101b, 101c, 101d)가 자동으로 페어링을 수행할 수도 있다. 상기와 같은 방법에 의하면, 사용자는 외부장치(310)를 선택하거나, 전자장치(101a, 101b, 101c, 101d)를 복잡하게 조작할 필요 없이 보다 편리하게 외부장치(310)와 전자장치(101a, 101b, 101c, 101d)의 페어링을 수행할 수 있다. 본 발명의 다른 실시예에 의하면, 경우에 따라, 전자장치(101a, 101b, 101c, 101d)는 가장 가까운 거리의 외부장치(310) 외의 다른 외부장치(310)와 페어링을 수행할 수도 있다. 혹은 또 다른 실시예에 의하면, 전자장치(101a, 101b, 101c, 101d)는 일정 순위 이내의 외부장치(310) 중에서, 다른 기준을 이용하여 선택된 외부장치(310)와 페어링을 수행할 수도 있다. 상기한 방법에 대해서는 도 8 내지 도 13에서 구체적으로 후술한다.The electronic devices 101a, 101b, 101c and 101d can judge the order of the external devices 310 close to the electronic devices 101a, 101b, 101c and 101d based on the distances determined as described above. The electronic devices 101a, 101b, 101c, and 101d can perform pairing with the closest external device 310 based on the determined ranking. The pairing may be performed according to the input of the user, and the electronic device 101a, 101b, 101c, or 101d may automatically perform the pairing according to the occurrence of another event. According to the above method, the user can more easily select the external device 310 and the electronic devices 101a, 101b, 101c, 101d without having to select the external device 310 or to operate the electronic devices 101a, 101b, 101b, 101c, and 101d. According to another embodiment of the present invention, electronic devices 101a, 101b, 101c, 101d may perform pairing with an external device 310 other than the closest external device 310, as the case may be. Alternatively, according to another embodiment, the electronic devices 101a, 101b, 101c, and 101d may perform pairing with the external device 310 selected using another criterion among the external devices 310 within a predetermined rank. The above-described method will be described later in detail with reference to FIGS. 8 to 13. FIG.

이하, 도 3은 본 발명의 일 실시예에 의한 전자장치(300)의 블록도를 도시한다. 본 발명의 일 실시예에 따른 전자장치(300)는 제1제어부(301), 제1통신부(302), 사용자입력부(303) 및 출력부(304)를 포함한다. 전자장치(300)는 제1제어부(301)의 제어에 따라 각종 정보를 저장하는 저장부(미도시)를 포함할 수 있다. 도 3에 도시된 본 발명의 일 실시예에 의한 전자장치(300)의 구성은 하나의 예시일 뿐이고, 본 발명의 다른 실시예에 의한 전자장치(300)는 도 3에 도시된 구성 외에 다른 구성으로도 구현될 수 있다. 즉, 본 발명의 일 실시예에 의한 전자장치(300)는 도 3에 도시된 구성 외 다른 구성이 추가되거나, 혹은 도 3에 도시된 구성 중 어느 하나가 배제되어 구현될 수도 있다.3 shows a block diagram of an electronic device 300 according to an embodiment of the present invention. An electronic device 300 according to an embodiment of the present invention includes a first control unit 301, a first communication unit 302, a user input unit 303, and an output unit 304. The electronic device 300 may include a storage unit (not shown) for storing various information under the control of the first control unit 301. The configuration of the electronic device 300 according to an embodiment of the present invention shown in FIG. 3 is merely an example, and the electronic device 300 according to another embodiment of the present invention may have a configuration other than the configuration shown in FIG. As shown in FIG. That is, the electronic device 300 according to an embodiment of the present invention may be implemented by adding any configuration other than the configuration shown in FIG. 3, or by excluding any one of the configurations shown in FIG.

제1통신부(302)는 제1제어부(301)의 제어에 따라, 제2통신부(312)를 통하여 외부장치(310)와 통신한다. 제1통신부(302)는, 다양한 통신방식 중 어느 하나의 방식에 의해 구현된다. 예컨대 외부장치(310)와 무선 통신을 수행하기 위해 RF(Radio Frequency)신호를 송/수신하는 RF회로를 포함하거나, 블루투스(Bluetooth), 와이파이(Wi-fi), 지그비(Zigbee), UWB(Ultra-Wide Band), Wireless USB, NFC(Near Field Communication)를 포함하는 여러가지 통신방법 중 적어도 하나의 통신방법을 이용하여 통신을 수행하도록 구성될 수 있다.The first communication unit 302 communicates with the external device 310 through the second communication unit 312 under the control of the first control unit 301. [ The first communication unit 302 is implemented by any one of various communication methods. For example, an RF circuit for transmitting / receiving an RF (Radio Frequency) signal to perform wireless communication with the external device 310, or an RF circuit for transmitting / receiving an RF (Radio Frequency) The wireless communication method, the wireless communication method, the wireless communication method, the wireless communication method, the wireless communication method, the wireless communication method, the wireless communication method, the wireless communication method, and the wireless communication method.

사용자입력부(303)는 사용자의 입력을 수신한다. 사용자입력부(303)는 카메라, 마이크로폰(Mic), 터치판넬등과 같이 시각, 청각 및 촉각 등을 이용할 수 있다. 사용자의 입력은 사용자의 행동에 의한 시각적 입력, 음성에 의한 입력, 터치 및 버튼과 같은 접촉에 의한 입력을 포함한다.The user input unit 303 receives a user's input. The user input unit 303 can use visual, auditory, and tactile senses, such as a camera, a microphone, and a touch panel. The input of the user includes visual input by the action of the user, input by voice, input by touch such as touch and button.

출력부(304)는 제1제어부(301)의 제어에 따라, 시각, 청각, 촉각 등 사용자가 느낄 수 있는 감각을 이용하여 출력해서 사용자에게 정보를 알린다. 예컨대 출력부(304)는 디스플레이를 통하여 시각적으로 알리거나, 스피커를 이용하여 청각으로 알리거나, 진동장치를 이용하여 촉각으로 사용자에게 알릴 수 있다.The output unit 304 outputs information by using a sense that the user can feel, such as time, hearing, and tactile sense, according to the control of the first control unit 301, and informs the user of the information. For example, the output unit 304 may be visually informed through a display, audibly informed by using a speaker, or informed to a user by a tactile sense using a vibration device.

제1제어부(301)는 전자장치(300)의 제반 구성들이 동작하기 위한 제어를 수행한다. 제1제어부(301)는 이러한 제어 동작을 수행할 수 있도록 하는 제어프로그램(혹은 인스트럭션)과, 제어프로그램이 설치되는 비휘발성의 메모리, 설치된 제어프로그램의 적어도 일부가 로드되는 휘발성의 메모리 및 로드된 제어프로그램을 실행하는 적어도 하나의 프로세서 혹은 CPU(Central Processing Unit)를 포함할 수 있다. 또한 이와 같은 제어프로그램은, 전자장치(300) 이외의 다른 전자기기에도 저장될 수 있다. 제어프로그램은 BIOS, 디바이스드라이버, 운영체계, 펌웨어, 플랫폼 및 응용프로그램(어플리케이션) 중 적어도 하나의 형태로 구현되는 프로그램(들)을 포함할 수 있다. 일 실시예로서, 응용프로그램은, 전자장치(300)의 제조 시에 전자장치(300)에 미리 설치 또는 저장되거나, 혹은 추후 사용시에 외부로부터 응용프로그램의 데이터를 수신하여 수신된 데이터에 기초하여 전자장치(300)에 설치될 수 있다. 응용프로그램의 데이터는, 예컨대, 어플리케이션 마켓과 같은 외부서버(미도시)로부터 전자장치(300)로 다운로드될 수도 있다. 이와 같은 외부서버는, 본 발명의 컴퓨터프로그램제품의 일례이나, 이에 한정되는 것은 아니다.The first control unit 301 performs control for operating all components of the electronic device 300. The first control unit 301 includes a control program (or an instruction) for performing the control operation, a nonvolatile memory in which the control program is installed, a volatile memory in which at least a part of the installed control program is loaded, And at least one processor or a central processing unit (CPU) that executes the program. Such a control program may also be stored in an electronic device other than the electronic device 300. [ The control program may include program (s) implemented in the form of at least one of a BIOS, a device driver, an operating system, firmware, a platform and an application program. In one embodiment, the application program may be installed or stored in the electronic device 300 at the time of manufacture of the electronic device 300, or may receive data of the application program from the outside at the time of future use, May be installed in the apparatus 300. The data of the application program may be downloaded to the electronic device 300 from an external server (not shown), for example, an application market. Such an external server is an example of the computer program product of the present invention, but is not limited thereto.

외부장치(310)의 제2통신부(312)는 제1통신부(302)와 통신을 수행한다. 외부장치(310)의 제2제어부(311)는 제2통신부(312)를 제어하여 전자장치(300)에 대응하여 동작하도록 한다.The second communication unit 312 of the external device 310 performs communication with the first communication unit 302. The second control unit 311 of the external device 310 controls the second communication unit 312 to operate corresponding to the electronic device 300. [

외부장치(310)의 제2제어부(311)는 제2통신부(312)가 신호를 송출하여 전자장치(300)가 외부장치(310)를 검색하거나, 외부장치(310)와 신호를 송/수신할 수 있도록 제어한다. 제1제어부(301)는 제1통신부(302)가 수신하는 신호에 기초하여 외부장치(310)를 검색하도록 제어한다. 외부장치(310)는 도 3에 도시된 구성 외에 다른 기능을 위한 구성요소를 더 포함할 수 있다.The second control unit 311 of the external device 310 transmits a signal to the second communication unit 312 so that the electronic device 300 searches for the external device 310 or transmits / . The first control unit 301 controls the external device 310 to search based on the signal received by the first communication unit 302. The external device 310 may further include components for other functions than the configuration shown in FIG.

이하, 본 발명의 일 실시예에 의한 제1제어부(301)를 구체적으로 설명한다.Hereinafter, the first control unit 301 according to an embodiment of the present invention will be described in detail.

도 4는 본 발명의 일 실시예에 의한 전자장치(300)의 동작을 도시하는 흐름도이다. 먼저, 전자장치(300)의 전원이 켜진다(동작 S401).4 is a flow chart showing the operation of the electronic device 300 according to an embodiment of the present invention. First, the electronic device 300 is powered on (operation S401).

전자장치(300)는 전원의 켜진 후, 제1제어부(301)는 무선 연결을 수행하면서 외부장치(310)와의 거리를 판단한다. 무선 연결 과정은 외부장치(310)의 검색 과정과, 외부장치(310)와의 페어링 과정 순으로 진행한다. 제1제어부(301)는 통신 가능한 외부장치(310)가 있는지, 외부장치(310)로부터의 신호가 있는지를 검색하도록 제1통신부(302)를 제어한다(동작 S402). 구체적으로 먼저, 제1제어부(301)는 제1통신부(302)를 제어하여 소정 세기의 전력 (Tx power)으로 신호를 송출하는 Advertising 동작을 수행하도록 제어한다. 외부장치(310)는 전자장치(300)로부터 송출되는 신호를 수신하고, 이에 대응하여 스캔신호를 전송한다. 전자장치(300)는 스캔신호에 대응하여 응답신호를 전송함으로써 전자장치(300)와 외부장치(310) 간 페어링 과정으로 진행할 수 있다. 제1제어부(301)는 외부장치(310)로부터 수신되는 스캔신호로부터 거리에 관한 정보(이하 '거리정보')를 얻을 수 있다. 스캔신호에 포함된 거리정보는, 거리 자체를 나타내는 값이거나, 거리를 간접적으로 나타내는 다른 정보를 포함할 수 있다. 외부장치(310)가 수신하는 전자장치(300)의 신호의 세기는 Received Signal Strength Indication(이하 'RSSI'라 한다)라 한다. 예를 들어, 스캔신호는 전자장치(300)로부터 송출된 신호를 외부장치(310)가 수신한 세기(RSSI)의 정보를 포함할 수 있고, 송출세기(Tx power) 및 수신세기(RSSI)로부터 전자장치(300)와 외부장치(310)간의 거리를 도출할 수 있다. 송출 세기(Tx power) 및 수신 세기(RSSI)를 통하여 거리값(D)을 계산하는 방법은 다음과 같다.After turning on the power of the electronic device 300, the first control unit 301 determines a distance to the external device 310 while performing a wireless connection. The wireless connection process proceeds in the order of a search process of the external device 310 and a pairing process with the external device 310. The first control unit 301 controls the first communication unit 302 to search for a signal from the external device 310 whether the external device 310 is communicable (operation S402). Specifically, first, the first control unit 301 controls the first communication unit 302 to perform an Advertising operation of transmitting a signal at a power of a predetermined intensity (Tx power). The external device 310 receives a signal transmitted from the electronic device 300 and transmits a corresponding scan signal. The electronic device 300 may proceed to a pairing process between the electronic device 300 and the external device 310 by transmitting a response signal in response to the scan signal. The first control unit 301 may obtain distance information (hereinafter, 'distance information') from the scan signal received from the external device 310. The distance information included in the scan signal may be a value indicating the distance itself or other information indirectly indicating the distance. The strength of the signal of the electronic device 300 received by the external device 310 is called Received Signal Strength Indication (hereinafter referred to as 'RSSI'). For example, the scan signal may include information on the intensity (RSSI) received by the external device 310 from the signal transmitted from the electronic device 300, and may include information on the intensity The distance between the electronic device 300 and the external device 310 can be derived. A method of calculating the distance value D through the Tx power and the RSSI is as follows.

[수학식1][Equation 1]

RSSI = (-20 * log D) + Tx powerRSSI = (-20 * log D) + Tx power

(D: 전자장치(300)와 외부장치(310)간의 거리)(D: distance between the electronic device 300 and the external device 310)

[수학식2]&Quot; (2) "

D = 10^[(Tx power - RSSI)/20]D = 10 ^ [(Tx power - RSSI) / 20]

전자장치(300)의 송출세기(Tx power)는 전자장치(300)의 송출전력에 대응한다. 상기 RSSI 값은 전자장치(300)의 통신환경에 따라 편차가 존재할 수 있으므로, 평균적인 RSSI 값을 이용하면 제1제어부(301)는 오차가 작은 거리값(D)을 구할 수 있다. 따라서, 오차가 작은 거리값(D)을 구하기 위해, 전자장치(300)는 외부장치(310)와 복수 회 통신 후 누적된 RSSI 값 중에서 대표값을 산정하여 거리값(D)을 구할 수 있다. 대표값은 평균값, 중간값, 최대값, 최소값 등의 의미 있는 값이다. 다만, 거리를 구하는 방법은 전자장치(300)가 외부장치(310)로부터 수신하는 정보를 이용하는 것에 제한되지 않고, 제1제어부(301)는 다른 방법을 이용하여 거리정보를 판단할 수 있다. 이에 따라, 오차가 적은 거리정보를 이용하여 보다 정확한 거리 순위를 계산할 수 있다.The transmit power (Tx power) of the electronic device 300 corresponds to the transmit power of the electronic device 300. Since the RSSI value may have a deviation depending on the communication environment of the electronic device 300, the first controller 301 may obtain the distance value D having a small error using the average RSSI value. Therefore, in order to obtain the distance value D with a small error, the electronic device 300 can calculate the distance value D by calculating a representative value among the accumulated RSSI values after communication with the external device 310 a plurality of times. Representative values are meaningful values such as mean value, median value, maximum value, and minimum value. However, the method for obtaining the distance is not limited to the use of the information received by the electronic device 300 from the external device 310, and the first control unit 301 may determine the distance information using another method. Accordingly, it is possible to calculate a more accurate distance rank by using the distance information with a small error.

또한, 제1제어부(301)는 상술한 거리값(D)을 구하는 과정을 전자장치(300)의 슬립상태에서 수행하도록 제어할 수 있다. 이에 따르면, 페어링 과정에 소요되는 시간이 단축될 수 있다. 또는 제1제어부(301)는 정해진 주기에 따라 거리정보 수신을 하도록 제어할 수 있다. 상기 정해진 주기는 제1제어부(301)의 제어에 의해 또는 사용자입력에 의해 가변적으로 정해질 수 있다. 이에 따라, 페어링이 보다 빠르게 이루어 질 수 있다.Also, the first controller 301 may control the process of calculating the distance value D described above to be performed in the sleep state of the electronic device 300. Accordingly, the time required for the pairing process can be shortened. Alternatively, the first control unit 301 may control to receive distance information according to a predetermined period. The predetermined period may be variably determined by the control of the first control unit 301 or by user input. As a result, pairing can be performed more quickly.

이후, 제1제어부(301)는 검색된 외부장치(310)가 개수가 목표 하한값 이상인지 확인한다(동작 S403). 제1제어부(301)은 제1통신부(302)를 통하여 수신되는 신호를 이용하여 검색된 외부장치(310)의 개수를 확인할 수 있다. 목표값(상한값 및 하한값)을 설정하는 이유는 적절한 개수의 외부장치(310)를 검색하기 위함이다. 만일, 많은 외부장치(310)가 검색되면 제1제어부(301)가 외부장치(310)까지의 거리정보를 판단하는데 많은 시간 및 전력을 소요할 수 있다. 따라서 거리정보의 판단에 소요되는 시간 및 전력을 줄이기 위해 적절한 개수의 외부장치(310)를 검색할 수 있다. 반면, 소정의 목표값보다 적은 외부장치(310)를 검색하면, 사용자가 페어링을 원하는 외부장치(310)가 검색되지 않을 수 있다. 또한, 주변의 장애물 등에 의한 불안정한 통신환경인 경우, 사용자가 페어링을 원하는 외부장치(310)가 전자장치(300)에 가장 가까이 있음에도 불구하고 검색이 되지 않을 수도 있다. 거리정보에 대한 오차가 존재할 수 있으므로, 신뢰성을 높이기 복수개의 외부장치(310)를 검색할 수 있다. 상기와 같은 이유로, 제1제어부(301)는 검색된 외부장치(310)가 목표값 또는 목표값의 범위 이내가 되도록, 송출전력을 조절하도록 제어한다. 목표값 또는 목표값의 범위는 3~5개 정도가 바람직하나, 본 발명의 실시예가 이에 한정되는 것은 아니다. 만일 검색된 외부장치(310)가 목표값 또는 목표값의 범위 이내를 벗어나는 경우, 제1제어부(301)는 사용자에게 출력부(304)를 통해 검색되는 외부장치(310)가 없음을 알리거나, 전자장치(300)를 다른 위치로 이동할 것을 알리도록 제어할 수도 있다.Thereafter, the first controller 301 determines whether the number of the searched external devices 310 is equal to or greater than the target lower limit value (operation S403). The first control unit 301 can confirm the number of the searched external devices 310 using the signal received through the first communication unit 302. [ The reason for setting the target values (the upper limit value and the lower limit value) is to search for an appropriate number of the external devices 310. If many external devices 310 are searched, the first control unit 301 may spend a lot of time and power in determining the distance information to the external device 310. Accordingly, an appropriate number of external devices 310 can be searched to reduce the time and power required for determining the distance information. On the other hand, if an external device 310 that is smaller than a predetermined target value is searched, the external device 310 that the user wants to pair with may not be searched. In addition, in the case of an unstable communication environment due to an obstacle in the vicinity, the external device 310, which the user wants to pair with, may not be searched even though the electronic device 300 is closest to the electronic device 300. Since there may be an error in the distance information, a plurality of external devices 310 can be searched to increase the reliability. For this reason, the first control unit 301 controls the output power so that the searched external device 310 is within the range of the target value or the target value. The range of the target value or the target value is preferably about 3 to 5, but the embodiment of the present invention is not limited thereto. If the searched external device 310 is out of the range of the target value or the target value, the first control unit 301 informs the user that there is no external device 310 searched through the output unit 304, Or to inform the device 300 to move to another location.

제1제어부는 검색된 외부장치(310)의 개수가 목표 하한값 이상인지를 판단한다(동작 S403). 제1제어부는 검색된 외부장치(310)의 개수가 목표 하한값 미만이라고 판단하면(동작 S403의 NO), 제1제어부(301)는 송출전력을 높이도록 제어하여 외부장치(310) 검색 가능한 범위를 넓힌다(동작 S411). 제1제어부(301)는 검색 가능한 범위를 넓힘으로써, 검색되는 외부장치(310)가 더 많을 수 있다. 제1제어부(301)는 송출세기 내지 송출전력을 높이도록 제어(동작 S411)한 후 다시 동작 S403을 수행한다. 검색된 외부장치(310)의 개수가 목표 하한값 이상인 경우(동작 S403의 Yes), 제1제어부(301)는 검색된 외부장치(310)가 목표 상한값 이하인지 확인한다(동작 S404). 검색된 외부장치(310)의 개수가 목표 상한값 이하가 아닌 경우(동작 S404의 NO), 제1제어부(301)는 송출전력을 낮추도록 제어하여 검색 가능한 범위를 좁힌다(동작 S412). 제1제어부(301)가 송출전력을 낮추도록 제어하는(동작 S412) 과정은 동작 S404의 생략 여부에 따라 생략될 수 있다. 그 후, 제1제어부(301)는 동작 S403을 다시 수행하도록 제어한다. 검색된 외부장치(310)의 개수가 목표 상한값 이하인 경우(동작 S404의 Yes), 제1제어부(301)는 주변 외부장치(310)의 정보를 누적하여 수집하며, 외부장치(310)까지의 거리를 판단한다(동작 S405). 전자장치(300)가 판단하는 거리정보에 오차가 존재할 수 있으며, 제1제어부(301)는 전자장치(300)가 움직이는 상황에서의 거리정보의 변화값을 측정할 필요도 있을 수 있다. 따라서, 거리정보에 대한 신뢰성을 높이거나, 거리정보의 변화값을 측정하기 위해 제1제어부(301)가 누적적으로 수집하도록 제어할 수 있다.The first controller determines whether the number of the searched external devices 310 is equal to or greater than the target lower limit value (operation S403). If the number of the searched external devices 310 is less than the target lower limit value (NO in operation S403), the first controller 301 controls the transmission power to be increased so that the search range of the external device 310 can be widened (Operation S411). The first control unit 301 may widen the searchable range, and there may be more external devices 310 to be searched. The first control unit 301 controls to increase the sending intensity and the sending power (operation S411), and then performs the operation S403 again. If the number of searched external devices 310 is equal to or larger than the target lower limit value (Yes in step S403), the first control unit 301 determines whether the searched external device 310 is equal to or smaller than the target upper limit value (step S404). If the number of the searched external devices 310 is not less than the target upper limit value (NO in operation S404), the first control unit 301 controls the transmission power to be lowered to narrow the searchable range (operation S412). The process of controlling the first control unit 301 to lower the transmission power (operation S412) may be omitted depending on whether or not the operation S404 is omitted. Thereafter, the first control unit 301 controls to perform the operation S403 again. If the number of searched external devices 310 is equal to or less than the target upper limit value (Yes in operation S404), the first control unit 301 accumulates and collects information of the peripheral external devices 310, (Operation S405). An error may exist in the distance information determined by the electronic device 300 and the first control unit 301 may also need to measure a change value of the distance information in a state in which the electronic device 300 is moving. Therefore, it is possible to control the first control unit 301 to collectively accumulate in order to increase the reliability of the distance information or to measure the change value of the distance information.

제1제어부(301)는 거리정보를 외부장치(310)로부터 누적하여 수집 및 거리계산(동작 S405)을 수행하면서, 사용자의 페어링 시도가 있는지를 확인한다(동작 S406). 사용자가 사용자입력을 통해 페어링을 시도하는 것인 일 실시예일뿐, 본 발명이 이에 한정되지 않는다.The first control unit 301 accumulates the distance information from the external device 310 and performs distance calculation (operation S405) while checking whether there is a user's pairing operation (operation S406). The user tries to pair through user input, but the present invention is not limited thereto.

제1제어부(301)는 사용자의 페어링 시도가 없다고 판단하면(동작 S406의 No), 제1제어부(301)는 계속하여 검색되는 외부장치(310)의 개수가 목표 하한값 이상인지를 확인하도록 제어한다(동작 S403). 제1제어부(301)는 사용자의 페어링 시도가 있다고 판단하면(동작 S406의 Yes), 제1제어부(301)는 전자장치(300)와 가까운 정도가 가장 높은 외부장치(310)의 순위를 결정한다(동작 S407). 외부장치(310)의 순위를 결정하는 과정의 상세한 설명은 후술한다. 상기 결정된 순위에 따라, 제1제어부(301)는 가장 높은 순위의 외부장치(310)와 페어링을 완료한다(동작 S408). 제1제어부(301)가 사용자의 페어링 시도를 판단하는 과정(동작 S406)이 외부장치(310)의 순위를 결정하는 과정(동작 S407) 이전에 있는 과정(동작 S406)은 본 발명의 일 실시예일뿐 이에 한정되지 않는다. 즉, 제1제어부(301)가 사용자의 페어링 시도를 판단하는 과정(동작 S406)은 순위를 결정하는 과정(동작 S407) 이전 또는 그 이후에 존재할 수도 있다. 제1제어부(301)가 사용자의 페어링 시도를 판단하는 과정(동작 S406)이 순위를 결정하는 과정(동작 S407) 이후에 존재하면, 보다 빠르게 페어링이 이루어 질 수 있다.If the first control unit 301 determines that there is no pairing attempt by the user (No in operation S406), the first control unit 301 controls to check whether the number of the external apparatuses 310 to be searched continuously is greater than or equal to the target lower limit value (Operation S403). If the first control unit 301 determines that there is a pairing attempt by the user (Yes in operation S406), the first control unit 301 determines the ranking of the external apparatus 310 that is closest to the electronic apparatus 300 (Operation S407). A detailed description of the process of determining the ranking of the external device 310 will be described later. According to the determined rank, the first controller 301 completes the pairing with the highest ranking external device 310 (operation S408). The process (operation S406) of determining the ranking of the external device 310 (operation S407) in which the first controller 301 determines the pairing attempt of the user (operation S406) is an embodiment of the present invention But is not limited thereto. That is, the process of the first controller 301 determining the user's pairing attempt (operation S406) may exist before or after the operation of determining the ranking (operation S407). If the first control unit 301 determines that the user's paging attempt (operation S406) exists after the step of determining the ranking (operation S407), the pairing can be performed more quickly.

또한, 제1제어부(301)가 페어링 시도를 판단하는 과정(동작 S406)은 생략될 수도 있다. 제1제어부(301)가 순위를 결정하는 과정(동작 S407) 이후에 사용자의 페어링 시도를 판단하는 과정(동작 S406)이 있으면, 사용자가 느끼는 페어링 과정에 걸리는 시간이 짧을 수 있다.In addition, the process of determining the pairing attempt by the first control unit 301 (operation S406) may be omitted. If there is a process of determining a pairing attempt of a user after the first control unit 301 determines the ranking (operation S407) (operation S406), the time required for the pairing process felt by the user may be short.

동작 S403 및 동작 S404에서는 목표값이 범위로 설정되어 상한값과 하한값이 존재하지만, 이는 본 발명의 일 실시예에 불과할 뿐이며, 목표값은 범위가 아니고 단일값으로 설정할 수도 있다. 목표값이 단일값인 경우, 제1제어부(301)는 검색되는 외부장치(310)의 수가 목표값 미만일 때(동작 S403의 No), 송출전력을 높이고(동작 S411), 검색되는 외부장치(310)의 수가 목표값을 초과할 때(동작 S404의 No), 송출전력을 낮춘다(동작 S412). 즉 본 발명의 일 실시예에 따르면 사용자는 복잡한 과정을 거치지 않고 전자장치(300)와 전자장치(300)에 가장 가까이 있는 외부장치(310)간의 페어링을 수행할 수 있다.In operation S403 and operation S404, the target value is set in the range, and the upper limit value and the lower limit value exist. However, this is only an embodiment of the present invention, and the target value may be set to a single value instead of the range. When the target value is a single value, the first control unit 301 increases the transmission power (operation S411) when the number of searched external devices 310 is less than the target value (No in operation S403) Is lower than the target value (No in operation S404), the transmission power is lowered (operation S412). That is, according to one embodiment of the present invention, the user can perform the pairing between the electronic device 300 and the external device 310 closest to the electronic device 300 without complicated processes.

도 5는 본 발명의 일 실시예에 따른 전자장치(300)가 적절한 개수의 외부장치(310)를 검색하기 위한 과정(동작 S403, S404, S411, S412) 및 방법을 도시한다. 전자장치(300)를 중심으로, 외부장치(501, 502, 503)를 검색할 수 있는 가변적 범위를 원(511, 512, 513)으로 표시한다. 상기 표시된 원 안에 외부장치(310)가 위치하는 경우, 제1제어부(301)는 검색 가능한 것으로 판단한다. 예를 들어, 전자장치(300)의 소정의 송출전력에 해당하는 검색 가능한 범위는 부호 511의 원과 같다. 이와 같은 상황에서, 제1제어부(301)가 송출전력을 낮추도록 제어하면, 검색 가능한 범위는 부호 512와 같은 비교적 작은 원(512)이 될 수 있다. 제1제어부(301)가 송출전력을 높이도록 제어하면, 검색 가능한 범위는 부호 513과 같은 비교적 큰 원(513)이 될 수 있다.FIG. 5 illustrates a process (operations S403, S404, S411, S412) and a method for an electronic device 300 according to an embodiment of the present invention to search for an appropriate number of external devices 310. FIG. A variable range in which the external apparatuses 501, 502, 503 can be searched is represented by circles 511, 512, 513 with the electronic apparatus 300 as a center. If the external device 310 is located within the circle, the first controller 301 determines that the external device 310 is searchable. For example, the searchable range corresponding to the predetermined transmission power of the electronic device 300 is the same as the circle of the code 511. In such a situation, if the first control unit 301 controls the transmission power to be lowered, the searchable range may be a relatively small circle 512 such as the code 512. [ If the first control unit 301 is controlled so as to increase the transmission power, the searchable range may be a relatively large circle 513 such as 513.

전자장치(300)가 소정의 송출전력으로 현재 검색 가능한 범위를 원(511)으로 표시 할 때, 제1제어부(301)는 원(511)안에 있는 2개의 외부장치(501, 502)를 검색할 수 있다. 전자장치(300)의 검색 목표 하한값을 3개로 설정되어 있는 경우, 상기 범위(511)에서 검색되는 외부장치(310)의 개수가 목표 하한값(예: 3개)보다 작은 2개이므로, 제1제어부(301)는 송출전력을 높이도록 제어한다(동작 S411). 제1제어부(301)가 송출전력을 높임으로써, 전자장치(300)가 검색 가능한 범위는 기존의 범위(511)에서 조정된 범위(513)로 넓어진다(동작 S411). 조정된 범위(513)에서 전자장치(300)가 검색 가능한 외부장치(501, 502, 503)는 3개이므로, 제1제어부(301)는 송출전력을 유지하도록 제어한다.When the electronic device 300 displays the range that can be currently searched with a predetermined transmission power as a circle 511, the first control unit 301 searches for the two external devices 501 and 502 in the circle 511 . When the search target lower limit value of the electronic device 300 is set to three, since the number of the external devices 310 searched in the range 511 is two smaller than the target lower limit value (for example, three) The control section 301 controls the transmission power to be increased (operation S411). The first control unit 301 increases the transmission power so that the searchable range of the electronic device 300 is expanded to the adjusted range 513 in the existing range 511 (operation S411). Since the number of the external devices 501, 502, 503 that the electronic device 300 can search in the adjusted range 513 is three, the first control unit 301 controls to maintain the transmission power.

전자장치의(300)의 검색 목표 상한값이 1개로 설정되어 있는 경우, 상기 범위(511)에서 검색되는 외부장치(310)의 개수가 목표 상한값(1개)보다 작은 2개이므로, 제1제어부(301)는 송출전력을 낮추도록 제어한다(동작 S412). 제1제어부(301)가 송출전력을 낮춤으로써, 검색 가능한 범위는 기존의 범위(511)에서 조정된 범위(512)로 좁아진다. 조정된 범위(512)에서 전자장치(300)가 검색 가능한 외부장치(501)는 1개이므로, 제1제어부(301)는 송출전력을 유지하도록 제어한다. 즉, 본 발명의 일 실시예에 의하면, 제1제어부(301)가 송출전력을 이용하여 검색 가능한 범위를 조절하여 검색되는 외부장치(310)의 개수를 조절함으로써, 적절한 양의 거리정보를 수집할 수 있다. 수집할 거리정보의 양은, 거리정보의 오차로 인한 신뢰성 및 검색에 소요되는 소비전력 및 부하를 고려하여 적절히 결정될 수 있다. 앞서 서술한 숫자는 예시일 뿐, 본 발명의 실시예는 이에 한정되지 않는다. 제1제어부(301)가 앞서 서술한 과정을 수행하도록 제어하는 동안, 제1제어부(301) 또는 사용자가 사용자입력부(303)를 통하여 상기 목표값 또는 목표값의 범위를 조정할 수 있다. 이에 따라, 전자장치(300)는 송출전력을 조정하도록 제어하여 소비되는 전력을 줄일 수 있다.When the search target upper limit value of the electronic device 300 is set to one, since the number of the external devices 310 searched in the range 511 is two smaller than the target upper limit value (one), the first control unit 301 controls the transmission power to be lowered (operation S412). When the first control unit 301 lowers the transmission power, the searchable range narrows to the adjusted range 512 in the existing range 511. [ Since the number of the external devices 501 that the electronic device 300 can search in the adjusted range 512 is one, the first control unit 301 controls to maintain the transmission power. That is, according to an embodiment of the present invention, the first control unit 301 adjusts the searchable range using the transmission power to adjust the number of the searched external devices 310, thereby collecting an appropriate amount of distance information . The amount of the distance information to be collected can be appropriately determined in consideration of the reliability due to the error of the distance information, the power consumption and the load required for the search. The numbers described above are only examples, and the embodiments of the present invention are not limited thereto. The first control unit 301 or the user may adjust the range of the target value or the target value through the user input unit 303 while the first control unit 301 controls the process described above. Accordingly, the electronic device 300 can control to adjust the sending power so as to reduce the power consumed.

도 6은 본 발명의 일 실시예에 따른 전자장치(300)가 외부장치(601, 602, 603)를 검색하는 방법을 도시한다. 전자장치(300)를 중심으로, 검색 가능한 범위가 단계적으로 넓어지는 것을 원(611, 612, 613, 614)으로 표시한다. 제1제어부(301)는 외부장치(310)를 검색할 수 있는 최소의 송신전력에서부터 외부장치(310)의 검색을 시작하도록 제어하고, 검색되는 외부장치(310)의 개수가 설정된 목표값에 이를 때까지 송신전력을 단계적으로 높이도록 제어할 수 있다. 목표값은 제1제어부(301)가 자동으로 설정하거나, 사용자의 입력에 따라 설정 가능하다. 또한, 목표값은 단일값이거나, 범위로 설정될 수도 있으며, 상한값 또는 하한값일 수도 있다.6 illustrates a method for an electronic device 300 according to an embodiment of the present invention to search for an external device 601, 602, 603. The circles 611, 612, 613, and 614 indicate that the searchable range widened stepwise around the electronic device 300. The first control unit 301 controls the external device 310 to start the search from the minimum transmission power capable of searching for the external device 310. If the number of the detected external devices 310 reaches the set target value It is possible to control the transmission power to be increased stepwise. The target value can be set automatically by the first control unit 301 or can be set according to the user's input. Further, the target value may be a single value, a range, or an upper limit value or a lower limit value.

제1제어부(301)가 본 발명의 일실시예에 의하면, 외부장치(310)를 검색하는 과정에서 송신전력을 최소에서 단계적으로 높임으로써, 가까이 있는 외부장치(310)를 보다 빠르게 찾을 수 있다. 또한, 이러한 방법을 이용하면, 송출전력의 소모도 최소화시킬 수 있다.According to an embodiment of the present invention, the first control unit 301 can find the nearby external device 310 faster by increasing the transmission power step by step in the process of searching the external device 310. Also, by using this method, it is possible to minimize the consumption of the transmission power.

제1제어부(301)는, 최대 송신전력을 이용하여 한번에 복수의 외부장치(310)를 찾아 그 중 가장 가까운 외부장치(310)를 연결하도록 제어할 수 있다. 다른 실시예로서, 제1제어부(301)는, 외부장치(310)를 검색하는 과정을 복수 회에 걸쳐 나누어 수행하도록 제어할 수도 있다. The first control unit 301 can control the plurality of external apparatuses 310 to be connected to the closest one of the plurality of external apparatuses 310 at a time using the maximum transmission power. In another embodiment, the first control unit 301 may control the process of searching for the external device 310 to be divided into a plurality of times.

도 7은 본 발명의 일 실시예에 따른 전자장치(300)가 검색하는 외부장치(310)의 정보 및 순위를 도시한다. 상기 정보 및 순위는 데이터베이스형태로 전자장치(300)에 저장될 수 있다. 상기 정보 및 순위는 사용자가 페어링을 원하는 외부장치(310)를 선택하는데 사용될 수 있다. 제1제어부(301)는 출력부(304)를 통하여 사용자에게 다양한 방법으로 상기 정보 및 순위를 알리도록 제어할 수 있다. 제1제어부(301)는 검색되는 외부장치(310)의 ID, 신호세기, 거리정보 등을 수신하여 저장하도록 제어할 수 있다. 또는, 제1제어부(301)는 거리정보를 판단한 후, 전자장치(300)로부터 외부장치(310)까지 각 거리에 따라 가까운 정도의 순위를 결정한다. 상기 신호세기는, 제1제어부(301)의 제어에 따른 송출전력에 의해 가변될 수 있다.FIG. 7 shows information and ranking of an external device 310 that an electronic device 300 searches according to an embodiment of the present invention. The information and the ranking may be stored in the electronic device 300 in the form of a database. The information and the ranking may be used by the user to select an external device 310 that he wants to pair with. The first control unit 301 can control the user to inform the user of the information and the rank in various ways through the output unit 304. The first control unit 301 can receive and store ID, signal strength, distance information, and the like of the external device 310 to be searched. Alternatively, after determining the distance information, the first control unit 301 determines a ranking of the distance from the electronic device 300 to the external device 310 according to the respective distances. The signal strength can be varied by the transmission power under the control of the first control unit 301. [

제1제어부(301)는 사용자의 페어링 시도 시, 사용자에게 외부장치(310)와 연결 여부에 관한 안내를 수행할 수 있다. 도 8은 본 발명의 일 실시예에 따른 전자장치(300)가 알릴 수 있는 알림의 예시 중 하나이다. 부호 801은 가장 가까운 장치로 결정된 외부장치(310)와 연결할 것인지 사용자의 판단을 묻는 알림이다. 상기 알림은 디스플레이를 통한 UI 또는 팝업창, 스피커를 통한 음성안내 또는 진동장치를 이용한 약속된 진동 신호등을 통하여 사용자에게 알릴 수 있다.The first control unit 301 can perform guidance on whether or not the user is connected to the external device 310 when the user attempts to pair. FIG. 8 is one example of a notification that an electronic device 300 according to an embodiment of the present invention can announce. Reference numeral 801 denotes a notification of the user's judgment as to whether to connect to the external device 310 determined as the closest device. The notification can be informed to the user via a UI through a display or a pop-up window, voice guidance through a speaker, or a promised vibration signal using a vibration device.

부호 802는 두번째로 가까운 장치로 검색된 장치와 페어링 할 것인지를 묻는 알림이다. 상기 알림(802)은 사용자가 부호 801의 '아니요' 를 선택하는 경우, 제1제어부(301)은 출력부(304)를 통해 후속 알림으로 사용자에게 알리도록 제어할 수 있다. 제1제어부(301)는 부호 802의 알림은 부호 801의 '아니요' 선택 시 사용자에게 알리지 않도록 출력부(304)를 제어할 수도 있다. 부호 803은 페어링 과정 전, 전자장치(300)의 이동이 필요한 경우의 알림이다. 전자장치(300) 주변에 검색되는 외부장치(310)가 없거나, 사용자가 페어링을 원하는 외부장치(310)가 멀리 있거나 혹은 사용자가 페어링을 원하는 외부장치(310)가 다른 외부장치(310)보다 멀리 있는 등의 상황에서 사용될 수 있다. 상기 상황은 도 10 및 도 12에서 설명하도록 한다. 제1제어부(301)가 상기 알림(803)을 출력부(304)를 통해 사용자에게 알릴 수 있다. 상기 알림 방법은 도 3에서 서술한 방법과 동일하다.Reference numeral 802 is a notification asking whether to pair with the device found by the second closest device. The notification 802 may control the first control unit 301 to notify the user of the subsequent notification through the output unit 304 when the user selects 'No' at 801. The first control unit 301 may control the output unit 304 to notify the user of the notification of the reference numeral 802 when the user selects 'No' Reference numeral 803 denotes a notification when the electronic device 300 needs to be moved before the pairing process. There is no external device 310 to be searched around the electronic device 300 or the external device 310 to which the user wants to pair is far away or the external device 310 to which the user wants to pair is located farther away than the other external device 310 And the like. This situation will be described with reference to FIGS. 10 and 12. FIG. The first control unit 301 can notify the user of the notification 803 via the output unit 304. [ The notification method is the same as that described in Fig.

도 9는 본 발명의 일 실시예에 따른 전자장치(300)의 동작의 다른 예를 도시하는 흐름도이다. 도 9에 도시된 전자장치(300)에 있어서, 도 2 내지 도 8을 참조하여 설명한 전자장치(300)와 동일 내지 유사한 구성에 대한 설명은 생략한다. 제1제어부(301)는 누적하여 주변 외부장치(310)의 거리정보 수신 및 거리계산을 한다(동작 S903). 제1제어부(301)는 외부장치(310)까지의 각 거리간 차이가 소정범위 이상인지를 판단한다(동작 S904). 제1제어부(301)는 검색된 외부장치(310)의 순위를 결정할 수 있다. 거리값(D)의 오차가 존재할 수 있으므로, 전자장치(300)로부터 외부장치(310)까지 각 거리간 차이가 소정범위 이내라면 전자장치(300)가 판단한 가장 가까운 외부장치(310)는 사용자가 페어링을 원하는 외부장치(310)가 아닐 수 있다. 따라서, 전자장치(300)로부터 외부장치(310)까지의 거리가 소정범위 이내인 경우(동작 S904의 No), 다른 기준을 통해 우선순위를 다시 결정한다(동작 S911). 다른 기준은 여러가지가 있을 수 있다. 예를 들어, 제1제어부(301)는 우선순위 판단에, 페어링 빈도가 높은 외부장치(310)의 순위를 이용할 수 있다(동작 S912). 또한, 제1제어부(301)는 우선순위 판단에, 최근에 페어링을 한 외부장치(310)의 순위를 이용할 수 있다(동작 S913). 또한, 제1제어부(301)는 우선순위 판단에, 신호세기가 강한 외부장치(310)의 순위를 이용할 수 있다(동작 S914). 또한, 제1제어부(301)는 우선순위 판단에, 먼저 검색된 외부장치(310)의 순위를 이용할 수 있다(동작 S915). 또한 제1제어부(301)는 우선순위 판단에, 페어링이 배제된 외부장치(310)를 제외한 순위를 이용할 수도 있다(동작 S916). 거리값(D)을 이용하지 않은 다른 우선순위를 판단(동작 S911)에는 상술한 5가지의 기준(동작 S912 내지 S916)을 포함한다. 제1제어부(301)는 상술한 5가지의 기준(동작 S912 내지 S916) 중 적어도 하나의 기준을 이용하여 판단한다. 9 is a flow chart illustrating another example of the operation of the electronic device 300 according to an embodiment of the present invention. In the electronic device 300 shown in Fig. 9, description of the same or similar components as those of the electronic device 300 described with reference to Figs. 2 to 8 will be omitted. The first controller 301 accumulates the distance information of the peripheral external device 310 and calculates the distance (operation S903). The first control unit 301 determines whether the difference between the distances to the external device 310 is equal to or greater than a predetermined range (operation S904). The first control unit 301 can determine the ranking of the searched external device 310. The difference between the distances from the electronic device 300 to the external device 310 may be within a predetermined range so that the nearest external device 310 determined by the electronic device 300 is a user It may not be the external device 310 that wants to pair. Accordingly, when the distance from the electronic device 300 to the external device 310 is within the predetermined range (No in operation S904), the priority is determined again based on another criterion (operation S911). There are a variety of other criteria. For example, the first control unit 301 may use the ranking of the external device 310 having a high pairing frequency in the priority determination (operation S912). Also, the first control unit 301 can use the ranking of the external apparatus 310 that has recently been paired with the priority determination (operation S913). Also, the first controller 301 can use the ranking of the external device 310 having a strong signal strength for the priority determination (operation S914). In addition, the first controller 301 may use the ranking of the searched external device 310 for the priority determination (operation S915). In addition, the first control unit 301 may use the ranking excluding the external apparatus 310 from which the pairing is excluded, in order of priority determination (operation S916). The determination of the other priorities without using the distance value D (operation S911) includes the above-mentioned five criteria (operations S912 to S916). The first control unit 301 judges using at least one of the above-mentioned five criteria (operations S912 to S916).

제1제어부(301)에 의해 다른 기준을 통한 우선순위 판단이 이루어지면(동작 S911), 제1제어부(301)는 사용자의 페어링 시도가 있는지 판단한다(동작 S905). 전자장치(300)로부터 외부장치(310)까지의 거리가 소정범위 이상인 경우(동작 S904의 Yes), 제1제어부(301)는 사용자의 페어링 시도가 있는지 판단한다(동작 S905). 제1제어부(301)는 사용자의 페어링이 없는 것으로 판단하면(동작 S905의 No), 주변 외부장치(310)정보를 누적하여 수집하고 거리정보를 판단한다(동작 S903). 즉, 본 발명의 일 실시예에 의하면, 전자장치(300)가 거리값(D)을 이용한 페어링 할 때, 사용자가 원하지 않는 다른 외부장치(310)와 연결될 수 있는 문제점을 보완할 수 있다. 또한, 전자장치(300)는 사용자가 페어링을 원하는 외부장치(310)와 페어링을 할 수 있다.When the first control unit 301 determines the priority based on another criterion (operation S911), the first control unit 301 determines whether there is a user's pairing operation (operation S905). If the distance from the electronic device 300 to the external device 310 is equal to or greater than the predetermined range (Yes in step S904), the first control unit 301 determines whether there is a pairing attempt by the user (step S905). If the first control unit 301 determines that there is no user pairing (No in operation S905), the first control unit 301 cumulatively collects the peripheral external device 310 information and determines distance information (operation S903). That is, according to one embodiment of the present invention, when the electronic device 300 is paired using the distance value D, it is possible to solve the problem that the user can be connected to another external device 310 that the user does not desire. In addition, the electronic device 300 may be paired with an external device 310 that the user wants to pair with.

도 10 및 도 11은 본 발명의 일 실시예에 따른 전자장치(300)의 동작의 다른 예를 도시한다. 사용자가 페어링을 원하는 외부장치(310)를 이하 '목표 외부장치'라 한다. 도 10의 '이동 전'은 목표 외부장치(1002)가 전자장치(300)와 가장 가까운 외부장치(310)가 아닌 경우를 도시한다. '이동 전'에서 부호 1001은 가장 가까운 순위의 외부장치(1001)로 페어링 대상 1순위이며, 부호 1002는 페어링 대상 2순위 외부장치(1002) 및 사용자가 페어링을 원하는 목표 외부장치(이하 '목표 외부장치')이며, 부호 1003은 페어링 대상 3순위 외부장치(1003)이다. '이동 전'에서 사용자가 페어링을 시도할 경우, 제1제어부(301)는 목표 외부장치(1002)이 아니라 1순위 외부장치(1001)와 페어링하도록 제어할 것이다. 사용자가 원하는 목표 외부장치(1002)와 페어링 할 수 있는 방법을 도 11의 흐름도에서 제시한다.10 and 11 show another example of the operation of the electronic device 300 according to an embodiment of the present invention. The external device 310 to which the user wants to pair is hereinafter referred to as a 'target external device'. 10 shows a case where the target external device 1002 is not the external device 310 closest to the electronic device 300. [ In the 'before movement', reference numeral 1001 denotes an external device 1001 having the closest ranking, and a reference numeral 1002 denotes an external device 1002 to be paired with a target external device to which a user wants to pair Device '), and reference numeral 1003 denotes a third external device 1003 to be paired. When the user tries to pair in 'before movement', the first control unit 301 will control to pair with the first external device 1001 instead of the target external device 1002. A method by which a user can pair with a desired target external device 1002 is shown in the flowchart of FIG.

도 11에 도시된 전자장치(300)에 있어서, 도 2 내지 도 9를 참조하여 설명한 전자장치(300)와 동일 내지 유사한 구성에 대한 설명은 생략한다. 제1제어부(301)는 도 8의 부호 803과 같은 알림을 출력부(304)를 통하여 사용자에게 알린다(동작 S1103). 제1제어부(301)는 전자장치(300)의 이동이 완료 되었는지 확인한다(동작 S1104). 전자장치(300)의 이동이 완료되지 않으면(동작 S1104의 No), 제1제어부(301)는 다시 사용자에게 알리도록 제어한다. 전자장치(300)의 이동이 완료되었으면(동작 S1104의 Yes), 제1제어부(301)는 검색되는 외부장치(310) 정보 누적 수집 및 거리 계산을 수행한다(동작 S1105). 이동이 완료되었는지 여부는, 제1제어부가 사용자의 사용자입력부(303)를 통한 사용자입력으로 확인하거나, 제1제어부(301)가 주변 외부장치(310)와의 거리값(D)이 달라진 후 유지되는 것을 판단하여 전자장치(300)가 이동한 것을 확인하는 방법을 포함할 수 있다.In the electronic device 300 shown in Fig. 11, description of the same or similar components as those of the electronic device 300 described with reference to Figs. 2 to 9 will be omitted. The first control unit 301 notifies the user through the output unit 304 of a notification such as reference numeral 803 in FIG. 8 (operation S1103). The first control unit 301 confirms whether the movement of the electronic device 300 is completed (operation S1104). If the movement of the electronic device 300 is not completed (No in operation S1104), the first control unit 301 controls to inform the user again. When the movement of the electronic device 300 is completed (Yes in operation S1104), the first control unit 301 performs cumulative information collection and distance calculation of the searched external device 310 (operation S1105). Whether or not the movement has been completed can be determined by checking the user input through the user input unit 303 of the first control unit or after the first control unit 301 changes the distance value D to the peripheral device 310 And determining that the electronic device 300 has moved.

도 10의 '이동 후' 그림은 사용자가 전자장치(300)를 이동함으로써 목표 외부장치가 1순위 외부장치(1022)가 되는 것을 도시한다. 따라서, 도 10의 '이동 후' 그림을 참조하면, 사용자는 전자장치(300)를 이동시킨다. 그 결과, 사용자가 페어링을 원하는 목표 외부장치는 가장 가까운 1순위 외부장치(1022)가 되므로, 기존 도 4의 흐름도에 의해 목표 외부장치(1022)는 페어링 대상 1순위가 된다. 반면 '이동 전'의 가장 가까운 외부장치(1001)는, '이동 후' 두번째로 가까운 외부장치(1021)가 되므로 기존 도4의 흐름에 의해, 외부장치(1021)는 페어링 대상의 1순위가 아니다. 즉, 본 발명의 일 실시예에 의하면, 페어링 시도 시 목표 외부장치(310)가 가장 가까이 있지 않아도, 제1제어부(301)는 출력부(304)를 통해 사용자에게 알림(801)하도록 제어하여 목표 외부장치(310)와 페어링 할 수 있다. 도 11의 실시예에서는 전자장치(300)의 이동에 의한 거리값(D)의 변화를 설명하였지만, 본 발명은 이에 한정되는 것은 아니다. 제1제어부(301)는 전자장치(300)말고 외부장치(310)의 이동에 의한 거리값(D)의 변화를 이용하여 상기와 같은 기준을 이용한 우선순위 판단을 하도록 제어할 수 있다.10 shows that the target external device becomes the first external device 1022 by moving the electronic device 300 by the user. 10, the user moves the electronic device 300. As shown in FIG. As a result, since the target external device to which the user wants to pair becomes the closest first external device 1022, the target external device 1022 becomes the first to be paired according to the flowchart of FIG. On the other hand, since the nearest external device 1001 of the 'before movement' is the second closest external device 1021 after 'moving', the external device 1021 is not ranked as a pairing target according to the flow of FIG. 4 . That is, according to an embodiment of the present invention, even if the target external device 310 is not nearest when a pairing attempt is made, the first control unit 301 controls the output unit 304 to notify the user And can be paired with the external device 310. Although the variation of the distance value D by the movement of the electronic device 300 has been described in the embodiment of Fig. 11, the present invention is not limited to this. The first control unit 301 can control the priority determination using the reference as described above by using the change of the distance value D due to the movement of the external device 310 in addition to the electronic device 300. [

도 12 및 도 13은 본 발명의 일 실시예에 따른 전자장치(300)의 동작의 다른 예를 도시한다. 사용자가 페어링을 원하는 외부장치(310)을 이하 '목표 외부장치'라 한다. 도 12의 '이동 전'은 목표 외부장치(1203)가 전자장치(300)와 가장 가까운 외부장치(310)가 아닌 경우를 도시한다. 도 12의 '이동 전' 그림에서 외부장치(1201)는 가장 가까운 순위로 1순위, 외부장치(1202)는 2순위, 외부장치(1203)는 3순위이며 사용자가 페어링을 원하는 목표 외부장치는 3순위 외부장치(1203)이다. 이와 같은 상황에서 사용자가 페어링을 시도하는 경우, 제1제어부(301)는 1순위 외부장치(1201)와 페어링을 수행하도록 제어한다. 도 10 및 도 11에서 제시한 기준을 이용하여도, 도 12의 '이동 중 또는 이동 후' 에서 도시하는 바와 같이 목표 외부장치가 1순위가 아니므로, 전자장치(300)는 목표 외부장치(1223)와 페어링 할 수 없다. 도 13의 흐름도에서, 제1제어부(301)가 목표 외부장치(1203)와 페어링 할 수 있는 기준을 제시한다. 12 and 13 show another example of the operation of the electronic device 300 according to an embodiment of the present invention. The external device 310 to which a user wants to pair is hereinafter referred to as a 'target external device'. 12 shows a case where the target external device 1203 is not the external device 310 closest to the electronic device 300. [ 12, the external devices 1201 are ranked in the closest rank, the external device 1202 is in the second rank, the external device 1203 is in the third rank, and the target external device that the user wants to pair with is 3 Rank external device 1203. In this situation, when the user tries pairing, the first controller 301 controls the first external device 1201 to perform the pairing. 10 and 11, the target external device is not ranked as one, as shown in "during or after the movement" of FIG. 12, so that the electronic device 300 can communicate with the target external device 1223 ) Can not be paired. In the flowchart of Fig. 13, the first control unit 301 presents a criterion that can be paired with the target external apparatus 1203. [

도 13에 도시된 전자장치(300)에 있어서, 도 2 내지 도 11을 참조하여 설명한 전자장치(300)와 동일 내지 유사한 구성에 대한 설명은 생략한다. 제1제어부(301)는 사용자입력부(303)를 통하여 사용자가 페어링을 시도했는지 판단한다(동작 S1304). 사용자가 페어링을 시도하지 않았으면(동작 S1304의 No), 제1제어부(301)는 누적하여 외부장치(310) 정보 수집 및 거리 계산을 하도록 제어한다(동작 S1303). 다만 동작 S1303은 생략될 수도 있다. 사용자가 페어링을 시도하면(동작 S1304의 Yes), 제1제어부(301)는 출력부(304)를 제어하여 사용자에게 이동할 것을 알린다(동작 S1305). 그 후 제1제어부(301)는 주변 외부장치(310)의 정보 누적 수집 및 거리 계산을 시작하도록 제어할 수 있다(동작 S1306). 제1제어부(301)는 동작 S1303에서 얻은 결과와 동작 S1306에서 얻은 결과를 비교하거나, 동작 S1306에서 수 회를 반복하여 얻은 결과를 비교할 수도 있다. 제1제어부(301)는 상기 비교한 결과를 이용하여, 거리값(D)의 감축량이 큰 순위를 결정한다(동작 S1307). 도 12의 '이동 중 또는 이동 후'에서 전자장치(300)로부터 1순위 외부장치(1221)까지의 거리는 D1`이며, 2순위 외부장치(1222)까지의 거리는 D2`이고, 3순위 외부장치(1223)까지의 거리는 D3`이다. 거리 정도는 [D1 < D2 < D3], [D1` < D2` < D3`] 이다. 따라서 도 4 또는 도 11의 기준을 이용하여도 사용자는 목표 외부장치(1223)와 페어링 할 수 없다. 다만, 도 13에서 제시하는 거리값(D)의 감축량을 이용한 우선순위를 이용하면 우선순위의 결과가 다르다. In the electronic device 300 shown in Fig. 13, description of the same or similar components as those of the electronic device 300 described with reference to Figs. 2 to 11 will be omitted. The first control unit 301 determines whether the user has attempted pairing through the user input unit 303 (operation S1304). If the user has not attempted pairing (No in operation S1304), the first control unit 301 cumulatively controls information acquisition and distance calculation of the external device 310 (operation S1303). However, the operation S1303 may be omitted. If the user attempts pairing (Yes in operation S1304), the first control unit 301 controls the output unit 304 to inform the user that the user should move (operation S1305). Then, the first control unit 301 can control to start the information accumulation collection and distance calculation of the peripheral external device 310 (operation S1306). The first control unit 301 may compare the result obtained in operation S1303 with the result obtained in operation S1306 or compare the results obtained by repeating several times in operation S1306. The first control unit 301 determines the order of reduction of the distance value D using the comparison result (operation S1307). 12, the distance from the electronic device 300 to the first external device 1221 is D1 ', the distance to the second external device 1222 is D2`, the third external device 1222 1223 is D3`. The distance is [D1 <D2 <D3] and [D1` <D2` <D3`]. Therefore, the user can not pair with the target external device 1223 even using the criteria of FIG. 4 or FIG. However, when the priority using the reduction amount of the distance value D shown in Fig. 13 is used, the result of priority is different.

도 12의 '이동 전' 에서의 거리값(D1, D2, D3)과 '이동 중 또는 이동 후' 의 거리값(D1`, D2`, D3`)의 차이, 즉, 거리값(D)의 감축량(D1-D1`, D2-D2`, D3-D3`)을 살펴보면, 부호 1223 외부장치의 감축량(D3-D3`)이 가장 크다. 거리 감축 정도는 [D1-D1`< D2-D2` < D3-D3`]이다. 따라서 도 13에서 제시하는 기준으로는 목표 외부장치(1223)가 1순위이므로, 제1제어부(301)는 목표 외부장치(1223)와 페어링하도록 제어 할 수 있다. 즉, 본 발명의 일 실시예에 의하면, 사용자가 이동 후 및 이동 중에도 제1제어부(301)는 상기와 같은 기준을 이용하여 원하는 목표 외부장치와 페어링하도록 제어할 수 있다. 또한 페어링이 보다 빠르게 이루어질 수 있다. 도 13의 실시예에서는 전자장치(300)의 이동에 의한 거리값(D)의 변화를 설명하였지만, 본 발명은 이에 한정되는 것은 아니다. 제1제어부(301)는 전자장치(300)말고 외부장치(310)의 이동에 의한 거리값(D)의 변화를 이용하여 상기와 같은 기준을 이용하도록 제어할 수 있다.The difference between the distance values D1, D2 and D3 in the 'before movement' and the distance values D1 ', D2' and D3 'between' after movement or after movement 'in FIG. 12, The reduction amount (D1-D1`, D2-D2`, D3-D3`) is 1223, the reduction amount (D3-D3`) of the external device is the largest. The degree of distance reduction is [D1-D1` <D2-D2` <D3-D3`]. Therefore, since the target external device 1223 is in the first rank in the criteria shown in FIG. 13, the first control unit 301 can control to pair with the target external device 1223. [ That is, according to an embodiment of the present invention, the first control unit 301 can control to pair with a desired target external device using the same criteria even when the user moves and moves. Pairing can also be done more quickly. Although the variation of the distance value D by the movement of the electronic device 300 has been described in the embodiment of FIG. 13, the present invention is not limited thereto. The first control unit 301 can control to use the above-described criteria by using a change in the distance value D due to the movement of the external device 310, instead of the electronic device 300. [

300 : 전자장치
310 : 외부장치
S911 : 다른 우선순위 판단 방법
300: electronic device
310: External device
S911: Different prioritization methods

Claims (20)

전자장치에 있어서,
복수의 외부장치와 통신할 수 있는 통신부; 및
상기 복수의 외부장치로부터 각 외부장치까지의 거리정보를 수신하고,
상기 수신된 거리정보에 기초하여 상기 복수의 외부장치 중에서 가까운 거리의 순위가 소정 이내인 외부장치와의 페어링이 수행되도록 제어하는 프로세서를 포함하는 전자장치.
In an electronic device,
A communication unit capable of communicating with a plurality of external devices; And
Receiving distance information from the plurality of external devices to each external device,
And a processor for controlling to perform a pairing with an external apparatus whose ranking is within a predetermined distance from the plurality of external apparatuses based on the received distance information.
제 1항에 있어서,
상기 프로세서는 검색되는 상기 복수의 외부장치의 개수가 소정 목표값이 되도록 상기 통신부의 송출전력을 조정하는 전자장치.
The method according to claim 1,
Wherein the processor adjusts the transmission power of the communication unit such that the number of the plurality of external devices to be searched becomes a predetermined target value.
제2항에 있어서,
상기 프로세서는 최초의 상기 외부장치의 검색 후 상기 소정 목표값의 개수의 외부장치가 검색될 때까지 상기 통신부의 송출전력을 점차적으로 증가시키는 전자장치.
3. The method of claim 2,
Wherein the processor gradually increases the transmission power of the communication unit until an external device of the predetermined number of target values is searched after the first detection of the external device.
제 1항에 있어서,
상기 각 외부장치까지의 거리정보는, 상기 외부장치가 상기 통신부의 송출전력을 측정한 수신세기에 대응하는 정보를 포함하는 전자장치.
The method according to claim 1,
Wherein the distance information to each of the external devices includes information corresponding to a reception intensity at which the external device measured transmission power of the communication unit.
제 1항에 있어서,
상기 프로세서는 상기 각 외부장치까지의 거리정보를 소정 횟수 수신하여 상기 거리의 대표값을 이용하는 전자장치.
The method according to claim 1,
Wherein the processor receives the distance information to each of the external devices a predetermined number of times and uses the representative value of the distance.
제 1항에 있어서,
사용자입력을 수신할 수 있는 사용자입력부를 더 포함하고,
상기 프로세서는, 상기 각 외부장치까지의 거리정보를 수신한 이후에 수신되는 상기 사용자입력에 대응하여 상기 외부장치와의 페어링이 수행되도록 제어하는 전자장치.
The method according to claim 1,
Further comprising a user input portion capable of receiving user input,
Wherein the processor controls to perform pairing with the external device corresponding to the user input received after receiving the distance information to each external device.
제 1항에 있어서,
상기 프로세서는, 상기 사용자입력의 수신 전 슬립상태에서, 상기 각 외부장치까지의 거리정보를 수신하도록 제어하는 전자장치.
The method according to claim 1,
Wherein the processor controls to receive distance information to each of the external devices in a sleep state before reception of the user input.
제 1항에 있어서,
상기 프로세서는, 거리정보 수신 주기는 가변적으로 조절되도록 제어하는 전자장치.
The method according to claim 1,
Wherein the processor controls the distance information reception period to be variably adjusted.
제 1항에 있어서,
상기 프로세서는, 2이상의 상기 외부장치의 각 거리 간의 차이가 소정 범위 이내인 경우, 페어링 빈도가 높은 순위, 최근에 페어링 되었던 순위, 신호 세기가 강한 순위, 먼저 검색된 순위, 페어링이 배제된 외부장치를 제외한 순위 중 적어도 하나를 이용하여 외부장치와 페어링이 수행되도록 제어하는 전자장치.
The method according to claim 1,
When the difference between the distances of the two or more external devices is within a predetermined range, the processor may be configured to select one of a higher priority ranking, a recently paired ranking, a stronger signal strength, a first ranked ranking, And performs the pairing with the external device using at least one of the excluded positions.
제 1항에 있어서,
상기 프로세서는, 사용자에게 페어링을 원하는 외부장치에 이동할 것을 알린 후, 외부장치와 페어링하도록 제어하는 전자장치.
The method according to claim 1,
Wherein the processor notifies the user that the user wants to pair with the external device and then controls the user to pair with the external device.
제 1항에 있어서,
상기 프로세서는, 상기 전자장치의 이동 중에 상기 수신된 거리의 감축 정도가 상대적으로 높은 외부장치와 페어링하도록 제어하는 전자장치.
The method according to claim 1,
Wherein the processor controls the degree of reduction of the received distance during the movement of the electronic device to be paired with a relatively high external device.
전자장치를 제어하는 방법에 있어서,
통신부를 통하여 복수의 외부장치와 통신하는 단계;
복수의 외부장치로부터 각 외부장치까지의 거리정보를 수신하는 단계;
상기 수신된 거리정보에 기초하여 상기 복수의 외부장치 중에서 가까운 거리의 순위가 소정 이내인 외부장치와의 페어링이 수행되도록 제어하는 단계를 포함하는 방법.
A method of controlling an electronic device,
Communicating with a plurality of external devices through a communication unit;
Receiving distance information from a plurality of external devices to respective external devices;
And controlling to perform pairing with an external device whose rank of a short distance among the plurality of external devices is within a predetermined range based on the received distance information.
제 12항에 있어서,
검색되는 상기 복수의 외부장치의 개수가 소정 목표값이 되도록 상기 통신부의 송출전력을 조정하는 단계를 더 포함하는 방법.
13. The method of claim 12,
And adjusting the transmission power of the communication unit such that the number of the plurality of external apparatuses to be searched becomes a predetermined target value.
제 12항에 있어서,
상기 각 외부장치까지의 거리정보는, 상기 외부장치가 상기 통신부의 송출전력을 측정한 수신세기에 대응하는 정보를 더 포함하는 방법.
13. The method of claim 12,
Wherein the distance information to each of the external devices further includes information corresponding to a reception intensity at which the external device measured transmission power of the communication unit.
제 12항에 있어서,
상기 각 외부장치까지의 거리정보를 소정 횟수 수신하여 상기 거리정보의 대표값을 이용하는 단계를 더 포함하는 방법.
13. The method of claim 12,
Further comprising the step of receiving a predetermined number of times of distance information to each of the external devices and using a representative value of the distance information.
제 12항에 있어서,
사용자입력부를 통해 사용자입력을 수신하는 단계,
상기 각 외부장치까지의 거리정보를 수신한 이후에 수신되는 상기 사용자입력에 대응하여 상기 외부장치와의 페어링이 수행되도록 제어하는 단계를 더 포함하는 방법.
13. The method of claim 12,
Receiving user input via a user input,
And controlling the pairing with the external device to be performed corresponding to the user input received after receiving the distance information to each external device.
제 12항에 있어서,
2이상의 상기 외부장치의 각 거리 간의 차이가 소정 범위 이내인 경우, 페어링 빈도가 높은 순위, 최근에 페어링 되었던 순위, 신호 세기가 강한 순위, 먼저 검색된 순위, 페어링이 배제된 외부장치를 제외한 순위 중 적어도 하나를 이용하여 외부장치와 페어링이 수행되도록 제어하는 단계를 더 포함하는 방법.
13. The method of claim 12,
When the difference between the distances of the two or more external devices is within a predetermined range, the priority order of the pairing frequency, the recently paired rank, the stronger signal strength, the first searched rank, And controlling the pairing with an external device to be performed using one.
제 12항에 있어서,
사용자에게 페어링을 원하는 외부장치에 이동할 것을 알린 후, 외부장치와 페어링하도록 제어하는 단계를 더 포함하는 방법.
13. The method of claim 12,
Further comprising the step of controlling the user to pair with an external device after informing the user to move to an external device that wants to be paired.
제 12항에 있어서,
상기 전자장치의 이동 중에 상기 수신된 거리의 감축 정도가 상대적으로 높은 외부장치와 페어링하도록 제어하는 단계를 더 포함하는 방법.
13. The method of claim 12,
And controlling the degree of reduction of the received distance to be relatively high during the movement of the electronic device.
컴퓨터프로그램제품에 있어서,
인스트럭션을 저장하는 메모리와;
프로세서를 포함하며,
상기 인스트럭션은, 복수의 외부장치로부터 각 외부장치까지의 거리정보를 수신하고,
상기 수신된 거리정보에 기초하여 상기 복수의 외부장치 중에서 가까운 거리의 순위가 소정 이내인 외부장치와의 페어링이 수행되도록 제어하는 컴퓨터프로그램제품.
In a computer program product,
A memory for storing instructions;
&Lt; / RTI &gt;
The instruction receives distance information from a plurality of external devices to each external device,
And controls to perform pairing with an external device having a predetermined distance within a predetermined distance from the plurality of external devices based on the received distance information.
KR1020170127744A 2017-09-29 2017-09-29 Electronic apparatus and the control method thereof KR20190037918A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020170127744A KR20190037918A (en) 2017-09-29 2017-09-29 Electronic apparatus and the control method thereof
PCT/KR2018/004250 WO2019066178A1 (en) 2017-09-29 2018-04-11 Electronic device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170127744A KR20190037918A (en) 2017-09-29 2017-09-29 Electronic apparatus and the control method thereof

Publications (1)

Publication Number Publication Date
KR20190037918A true KR20190037918A (en) 2019-04-08

Family

ID=65902543

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170127744A KR20190037918A (en) 2017-09-29 2017-09-29 Electronic apparatus and the control method thereof

Country Status (2)

Country Link
KR (1) KR20190037918A (en)
WO (1) WO2019066178A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102142216B1 (en) * 2019-04-16 2020-08-06 선문대학교 산학협력단 Automatic pairing method between transceivers of wifi-based wireless video transmission system
WO2022145695A1 (en) * 2020-12-29 2022-07-07 주식회사 미로 Control method of iot-based home appliance
WO2023196397A1 (en) * 2022-04-06 2023-10-12 Bose Corporation Proximity-based connection for bluetooth devices

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111901788B (en) * 2020-08-27 2023-09-26 深圳创维-Rgb电子有限公司 Bluetooth connection method, device, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100836577B1 (en) * 2006-08-08 2008-06-10 엘지전자 주식회사 Bluetooth system and method of networking the same
KR100850910B1 (en) * 2006-12-22 2008-08-07 삼성전자주식회사 Apparatus and method for communicating with bluetooth device
KR101198402B1 (en) * 2009-09-09 2012-11-07 한국전자통신연구원 Wireless microphone device and method providing handover between speaker devices
CN107079061A (en) * 2014-07-07 2017-08-18 安晟信医疗科技控股公司 For the method and apparatus for improving device pairing using double duty piezo-electric acoustical component and vibrating sensor
KR20170019258A (en) * 2015-08-11 2017-02-21 엘지전자 주식회사 Mobile terminal and control method for the mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102142216B1 (en) * 2019-04-16 2020-08-06 선문대학교 산학협력단 Automatic pairing method between transceivers of wifi-based wireless video transmission system
WO2022145695A1 (en) * 2020-12-29 2022-07-07 주식회사 미로 Control method of iot-based home appliance
WO2023196397A1 (en) * 2022-04-06 2023-10-12 Bose Corporation Proximity-based connection for bluetooth devices
US11937159B2 (en) 2022-04-06 2024-03-19 Bose Corporation Proximity-based connection for Bluetooth devices

Also Published As

Publication number Publication date
WO2019066178A1 (en) 2019-04-04

Similar Documents

Publication Publication Date Title
KR20190037918A (en) Electronic apparatus and the control method thereof
KR101132046B1 (en) System, methods, devices and computer program products for controlling electronic appliances within a local area
CN109684249B (en) Host device for facilitating positioning of an accessory using connection attributes of an electronic accessory connection
US9819779B2 (en) Method and device for providing function of mobile terminal
EP2080325B1 (en) Pairing system and method for mobile devices
US9106337B2 (en) Terminal apparatus for auto pairing, remote control apparatus and method thereof
KR101759912B1 (en) Method and apparatus for transmitting data in a mobile terminal
EP2833646A1 (en) Headset having mobile communication terminal loss prevention function and headset system having loss prevention function
EP2355563A1 (en) Method for automatic pairing to a wireless network
US20180152840A1 (en) Wearable apparatus, information terminal, communication system, electronic apparatus, and communication control method
KR20080056525A (en) Apparatus and method for bluetooth connection in portable terminal
KR20120102446A (en) Mobile terminal, method for controlling wireless charge thereof, and wireless charging system thereof
US20080039136A1 (en) Networking of bluetooth system
US20110136441A1 (en) Portable terminal and a control method of peripheral device using the same
KR102123636B1 (en) Method for positioning based on network and an electronic device thereof
WO2014093027A2 (en) Mobile device location finder
EP3633880B1 (en) Radio frequency interference processing method and electronic device
US10660148B1 (en) Methods and systems for pairing electronic devices based upon proximity
JP4619918B2 (en) Wireless communication device
KR102655014B1 (en) Electronic device and method for identifying location in the electronic device
CN105491632A (en) Wireless access point switching method and wireless access point switching device
US20160134719A1 (en) Methods and systems for displaying graphic representations in a user interface
CN112004220A (en) Bluetooth connection method and system, Bluetooth device and readable storage medium
JP4120830B2 (en) Information processing apparatus and method, recording medium, and program
CN108848566B (en) Wireless communication transmission method, device, mobile terminal and computer readable storage medium