KR20220132360A - Electronic device for transmitting a data via a ultra wide band communication and method for the same - Google Patents

Electronic device for transmitting a data via a ultra wide band communication and method for the same Download PDF

Info

Publication number
KR20220132360A
KR20220132360A KR1020210037577A KR20210037577A KR20220132360A KR 20220132360 A KR20220132360 A KR 20220132360A KR 1020210037577 A KR1020210037577 A KR 1020210037577A KR 20210037577 A KR20210037577 A KR 20210037577A KR 20220132360 A KR20220132360 A KR 20220132360A
Authority
KR
South Korea
Prior art keywords
electronic device
message
external electronic
polling message
response
Prior art date
Application number
KR1020210037577A
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 KR1020210037577A priority Critical patent/KR20220132360A/en
Priority to PCT/KR2022/000083 priority patent/WO2022203168A1/en
Publication of KR20220132360A publication Critical patent/KR20220132360A/en
Priority to US18/456,204 priority patent/US20230400568A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/74Systems using reradiation of radio waves, e.g. secondary radar systems; Analogous systems
    • G01S13/76Systems using reradiation of radio waves, e.g. secondary radar systems; Analogous systems wherein pulse-type signals are transmitted
    • G01S13/765Systems using reradiation of radio waves, e.g. secondary radar systems; Analogous systems wherein pulse-type signals are transmitted with exchange of information between interrogator and responder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • G01S13/0209Systems with very large relative bandwidth, i.e. larger than 10 %, e.g. baseband, pulse, carrier-free, ultrawideband
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • G01S13/06Systems determining position data of a target
    • G01S13/08Systems for measuring distance only
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/87Combinations of radar systems, e.g. primary radar and secondary radar
    • G01S13/878Combination of several spaced transmitters or receivers of known location for determining the position of a transponder or a reflector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/88Radar or analogous systems specially adapted for specific applications
    • G01S13/93Radar or analogous systems specially adapted for specific applications for anti-collision purposes
    • G01S13/931Radar or analogous systems specially adapted for specific applications for anti-collision purposes of land vehicles
    • G01S2013/9329Radar or analogous systems specially adapted for specific applications for anti-collision purposes of land vehicles cooperating with reflectors or transponders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The present invention provides an electronic device and an operating method thereof, which can relatively reduce power consumption. According to various embodiments of the present invention, the electronic device comprises: a first communication circuit performing data transmission or reception via first communication using an ultra-wideband (UWB); a second communication circuit performing data transmission or reception via second communication different from the first communication; and a processor. The processor can be configured to receive an advertising message requesting location measurement of the electronic device through the second communication circuit from a first external electronic device and a second external electronic device, activate the first communication circuit in response to the advertizing message satisfying a designated condition, receive a first polling message for location measurement of the electronic device from the first external electronic device, check whether a second polling message for location measurement of the electronic device is received from the second external electronic device during a designated time from the reception time of the first polling message, and broadcast a first replay message including information for measurement of the distance between the electronic device and the first external electronic device and information for measurement of the distance between the electronic device and the second external electronic device in response to reception of the second polling message. Various other embodiments are also possible.

Description

UWB 통신을 통해 데이터를 전송하는 전자 장치 및 전자 장치의 동작 방법{ELECTRONIC DEVICE FOR TRANSMITTING A DATA VIA A ULTRA WIDE BAND COMMUNICATION AND METHOD FOR THE SAME}ELECTRONIC DEVICE FOR TRANSMITTING A DATA VIA A ULTRA WIDE BAND COMMUNICATION AND METHOD FOR THE SAME

본 발명의 다양한 실시예는, 전자 장치 및 전자 장치의 동작 방법에 관한 것으로, 예를 들어, UWB 통신 방식을 통해 전자 장치의 위치를 결정하는 기술에 관한 것이다.Various embodiments of the present disclosure relate to an electronic device and a method of operating the electronic device, for example, to a technology for determining a location of an electronic device through a UWB communication method.

스마트 폰(smart phone), 태블릿 PC(tablet PC), PMP(portable multimedia player), PDA(personal digital assistant), 랩탑 PC(laptop personal computer) 및/또는 웨어러블 기기(wearable device)와 같은 다양한 전자 장치들이 보급되고 있다.Various electronic devices, such as a smart phone, a tablet PC, a portable multimedia player (PMP), a personal digital assistant (PDA), a laptop personal computer, and/or a wearable device, are is being disseminated.

초 광대역 통신(ultra wideband, UWB)을 지원하는 전자 장치들을 이용한 기술이 연구되고 있다. 예를 들면, 전자 장치들 간 UWB 통신을 통해 전자 장치들의 위치를 측정하는 동작, 측정된 위치를 통해 다양한 서비스(예: 인증 서비스)를 제공하는 기술이 연구되고 있다. 초 광대역 통신은 다른 통신 방식에 비해 큰 대역폭을 이용할 수 있으며, 초 광대역 통신을 이용한 위치 측정은 GPS를 이용한 위치 측정에 비해 작은 오차를 가질 수 있다.Techniques using electronic devices supporting ultra wideband (UWB) are being studied. For example, an operation of measuring the location of electronic devices through UWB communication between electronic devices and a technology for providing various services (eg, authentication service) through the measured location are being studied. Ultra-wideband communication may use a larger bandwidth than other communication methods, and location measurement using ultra-wideband communication may have a small error compared to location measurement using GPS.

외부 전자 장치에 의해 전자 장치의 위치 측정이 수행될 수 있다. 전자 장치는, 외부 전자 장치가 전송하는 폴링 메시지를 수신하고, 전자 장치의 위치 측정을 위한 정보를 포함하는 응답 메시지를 전송할 수 있다. 응답 메시지에 포함된 전자 장치의 위치 측정을 위한 정보는 폴링 메시지의 수신 시간 및 응답 메시지의 전송 시간의 차이를 포함할 수 있다.Position measurement of the electronic device may be performed by the external electronic device. The electronic device may receive the polling message transmitted from the external electronic device and transmit a response message including information for measuring the location of the electronic device. The information for measuring the location of the electronic device included in the response message may include a difference between a reception time of a polling message and a transmission time of a response message.

전자 장치의 위치를 측정하는 외부 전자 장치의 개수가 증가하는 경우, 외부 전자 장치로 전송하는 응답 메시지의 개수가 증가할 수 있다. 응답 메시지가 증가할수록, 응답 메시지를 전송하는데 있어 소모되는 전력이 증가할 수 있다. 더 나아가, 전송될 응답 메시지가 증가하는 경우, 응답 메시지들 각각을 포함하는 신호의 간섭이 증가할 수 있어, 응답 메시지의 신호의 품질이 저하될 수 있다. When the number of external electronic devices measuring the location of the electronic device increases, the number of response messages transmitted to the external electronic device may increase. As the response message increases, power consumed in transmitting the response message may increase. Furthermore, when the number of response messages to be transmitted increases, interference of a signal including each of the response messages may increase, so that the quality of a signal of the response message may be deteriorated.

본 발명의 다양한 실시예에 따른 전자 장치 및 전자 장치의 동작 방법은, 폴링 메시지의 수신 시간에 기반하여, 외부 전자 장치들 각각과 전자 장치 사이의 위치 측정을 위한 정보를 포함하는 응답 메시지를 전송함으로써, 상대적으로 전력 소모를 감소시킬 수 있다.An electronic device and a method of operating an electronic device according to various embodiments of the present disclosure include transmitting a response message including information for location measurement between each of external electronic devices and the electronic device based on a reception time of a polling message. , it is possible to relatively reduce power consumption.

본 발명의 다양한 실시예에 따른 전자 장치는 UWB(ultra wide band) 대역을 이용한 제 1 통신을 통해 데이터 전송 또는 수신을 수행하는 제 1 통신 회로; 제 1 통신과 상이한 제 2 통신을 통해 데이터 전송 또는 수신을 수행하는 제 2 통신 회로; 및 프로세서를 포함하고, 상기 프로세서는 상기 제 2 통신 회로를 통해 상기 전자 장치의 위치 측정을 요청하는 어드버타이징 메시지를 제 1 외부 전자 장치 및 제 2 외부 전자 장치로부터 수신하고, 상기 어드버타이징 메시지가 지정된 조건을 만족함에 대응하여, 상기 제 1 통신 회로를 활성화하고, 상기 전자 장치의 위치 측정을 위한 제 1 폴링 메시지를 상기 제 1 외부 전자 장치로부터 수신하고, 상기 제 1 폴링 메시지의 수신 시간으로부터 지정된 시간 동안, 상기 전자 장치의 위치 측정을 위한 제 2 폴링 메시지를 상기 제 2 외부 전자 장치로부터 수신하는지 여부를 확인하고, 상기 제 2 폴링 메시지의 수신에 대응하여, 상기 전자 장치 및 상기 제 1 외부 전자 장치 사이의 거리의 측정을 위한 정보 및 상기 전자 장치 및 상기 제 2 외부 전자 장치 사이의 거리의 측정을 위한 정보를 포함하는 제 1 응답 메시지를 브로드캐스팅하도록 설정될 수 있다.An electronic device according to various embodiments of the present disclosure includes: a first communication circuit configured to transmit or receive data through first communication using an ultra wide band (UWB) band; a second communication circuit for performing data transmission or reception via a second communication different from the first communication; and a processor, wherein the processor receives an advertising message requesting to measure the location of the electronic device through the second communication circuit from a first external electronic device and a second external electronic device, and Activating the first communication circuit, receiving a first polling message for measuring the location of the electronic device from the first external electronic device, and receiving the first polling message in response to the message message satisfying a specified condition It is checked whether a second polling message for measuring the location of the electronic device is received from the second external electronic device for a specified time from time, and in response to the reception of the second polling message, the electronic device and the second polling message It may be configured to broadcast a first response message including information for measuring a distance between one external electronic device and information for measuring a distance between the electronic device and the second external electronic device.

본 발명의 다양한 실시예에 따른 전자 장치는 UWB(ultra wide band) 대역을 이용한 제 1 통신을 통해 데이터 전송 또는 수신을 수행하는 제 1 통신 회로; 제 1 통신과 상이한 제 2 통신을 통해 데이터 전송 또는 수신을 수행하는 제 2 통신 회로; 및 프로세서를 포함하고, 상기 프로세서는 상기 제 2 통신을 통해 외부 전자 장치의 위치 측정을 요청하는 어드버타이징 메시지를 브로드캐스팅하고, 상기 외부 전자 장치로부터, 상기 어드버타이징 메시지에 대응하는 응답 메시지를 수신함에 대응하여, 상기 제 1 통신 회로를 활성화하고, 상기 외부 전자 장치의 위치 측정을 위한 폴링 메시지를 전송하도록 상기 제 1 통신 회로를 제어하고, 상기 제 2 통신 회로를 통해 수신한 응답 메시지에 기반하여 상기 외부 전자 장치와 상기 전자 장치 사이의 상대적인 위치를 확인하고, 상기 외부 전자 장치와 상기 전자 장치 사이의 상대적인 위치가 지정된 조건을 만족함에 대응하여, 상기 외부 전자 장치가 알림을 출력하도록 요청하는 요청 메시지가 포함된 폴링 메시지를 전송하도록 설정될 수 있다.An electronic device according to various embodiments of the present disclosure includes: a first communication circuit configured to transmit or receive data through first communication using an ultra wide band (UWB) band; a second communication circuit for performing data transmission or reception via a second communication different from the first communication; and a processor, wherein the processor broadcasts an advertising message requesting location measurement of an external electronic device through the second communication, and receives a response corresponding to the advertising message from the external electronic device In response to receiving the message, the first communication circuit is activated, the first communication circuit is controlled to transmit a polling message for measuring the position of the external electronic device, and the response message received through the second communication circuit check the relative position between the external electronic device and the electronic device based on It may be configured to transmit a polling message including a request message to

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 상기 전자 장치의 위치 측정을 요청하는 어드버타이징 메시지를 제 1 외부 전자 장치 및 제 2 외부 전자 장치로부터 수신하는 동작; 상기 어드버타이징 메시지가 지정된 조건을 만족함에 대응하여, 제 1 통신을 수행하는 제 1 통신 회로를 활성화하는 동작; 상기 전자 장치의 위치 측정을 위한 제 1 폴링 메시지를 상기 제 1 외부 전자 장치로부터 수신하는 동작; 상기 제 1 폴링 메시지의 수신 시간으로부터 지정된 시간 동안, 상기 전자 장치의 위치 측정을 위한 제 2 폴링 메시지를 상기 제 2 외부 전자 장치로부터 수신하는지 여부를 확인하는 동작; 및 상기 제 2 폴링 메시지의 수신에 대응하여, 상기 전자 장치 및 상기 제 1 외부 전자 장치 사이의 거리의 측정을 위한 정보 및 상기 전자 장치 및 상기 제 2 외부 전자 장치 사이의 거리의 측정을 위한 정보를 포함하는 제 1 응답 메시지를 브로드캐스팅하는 동작을 포함할 수 있다.A method of operating an electronic device according to various embodiments of the present disclosure may include: receiving an advertising message requesting to measure a location of the electronic device from a first external electronic device and a second external electronic device; activating a first communication circuit for performing first communication in response to the advertising message satisfying a specified condition; receiving a first polling message for measuring the location of the electronic device from the first external electronic device; checking whether a second polling message for measuring the location of the electronic device is received from the second external electronic device during a specified time from the reception time of the first polling message; and information for measuring a distance between the electronic device and the first external electronic device and information for measuring a distance between the electronic device and the second external electronic device in response to the reception of the second polling message. It may include an operation of broadcasting the first response message including the

본 발명의 다양한 실시예에 따른 전자 장치 및 전자 장치의 동작 방법은, 제 1 외부 전자 장치로부터 폴링 메시지를 수신한 후, 지정된 시간 동안 다른 외부 전자 장치(예: 제 2 외부 전자 장치)로부터 폴링 메시지를 수신하는지 여부를 확인할 수 있다. 전자 장치는, 지정된 시간 이내 다른 외부 전자 장치로부터 폴링 메시지를 수신함에 대응하여, 수신된 폴링 메시지를 전송한 외부 전자 장치들로 하나의 응답 메시지를 전송할 수 있다. 따라서, 전자 장치 및 전자 장치의 동작 방법은 응답 메시지의 전송에 있어 소모될 전력을 감소시킬 수 있다. According to various embodiments of the present disclosure, an electronic device and a method of operating an electronic device include receiving a polling message from a first external electronic device and then receiving a polling message from another external electronic device (eg, a second external electronic device) for a specified time period. You can check whether you have received In response to receiving a polling message from another external electronic device within a specified time, the electronic device may transmit one response message to external electronic devices that have transmitted the received polling message. Accordingly, the electronic device and the method of operating the electronic device may reduce power consumed in transmission of a response message.

도 1은 본 발명의 다양한 실시예에 따른, 전자 장치의 블록도이다.
도 2a는 본 발명의 다양한 실시예에 따른, 전자 장치의 위치를 결정하는 실시예를 도시한 도면이다.
도 2b는 본 발명의 다양한 실시예에 따른, 제 1 외부 전자 장치, 제 2 외부 전자 장치 및/또는 제 3 외부 전자 장치가, 전자 장치의 위치를 결정하는 실시예를 도시한 도면이다.
도 3은 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.
도 4는 본 발명의 다양한 실시예에 따른 전자 장치가, 전자 장치의 위치를 측정하기 위해 제 1 통신을 활성화하는 실시예를 도시한 도면이다.
도 5는 본 발명의 다양한 실시예에 따른 전자 장치의 위치를 결정하는 실시예를 도시한 도면이다.
도 6은 본 발명의 다양한 실시예에 따른 전자 장치의 위치를 결정하는 실시예를 도시한 도면이다.
도 7은 본 발명의 다양한 실시예에 따른 전자 장치의 위치를 결정하는 실시예를 도시한 도면이다.
도 8a는 본 발명의 다양한 실시예에 따른 외부 전자 장치의 블록도이다.
도 8b, 도 8c 및 도 8d는, 본 발명의 다양한 실시예에 따른 외부 전자 장치가, 센서 모듈(예: 도 8a의 센서 모듈(807))을 통해 수집한 정보를 이용하여 전자 장치(200)의 위치를 확인하는 실시예를 도시한 도면이다.
도 9는 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 도시한 동작 흐름도이다.
도 10은 본 발명의 다양한 실시예에 따른 외부 전자 장치의 동작 방법을 도시한 동작 흐름도이다.
1 is a block diagram of an electronic device according to various embodiments of the present disclosure;
2A is a diagram illustrating an embodiment of determining a location of an electronic device according to various embodiments of the present disclosure;
2B is a diagram illustrating an embodiment in which a first external electronic device, a second external electronic device, and/or a third external electronic device determines a location of an electronic device, according to various embodiments of the present disclosure;
3 is a block diagram of an electronic device according to various embodiments of the present disclosure;
4 is a diagram illustrating an embodiment in which an electronic device activates first communication to measure a location of the electronic device according to various embodiments of the present disclosure;
5 is a diagram illustrating an embodiment of determining a location of an electronic device according to various embodiments of the present disclosure;
6 is a diagram illustrating an embodiment of determining a location of an electronic device according to various embodiments of the present disclosure;
7 is a diagram illustrating an embodiment of determining a location of an electronic device according to various embodiments of the present disclosure.
8A is a block diagram of an external electronic device according to various embodiments of the present disclosure;
8B, 8C, and 8D show an electronic device 200 using information collected by an external electronic device through a sensor module (eg, the sensor module 807 of FIG. 8A ) according to various embodiments of the present disclosure. It is a diagram showing an embodiment of confirming the location of.
9 is an operation flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure.
10 is an operation flowchart illustrating a method of operating an external electronic device according to various embodiments of the present disclosure.

도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 in a network environment 100, according to various embodiments. Referring to FIG. 1 , in a network environment 100 , an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with at least one of the electronic device 104 and the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an antenna module 197 . In some embodiments, at least one of these components (eg, the connection terminal 178 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components (eg, sensor module 176 , camera module 180 , or antenna module 197 ) are integrated into one component (eg, display module 160 ). can be

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

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The secondary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to an embodiment, the coprocessor 123 (eg, an image signal processor or a communication processor) may be implemented as part of another functionally related component (eg, the camera module 180 or the communication module 190 ). have. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example. The artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.

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

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

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

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

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

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

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

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

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

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

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

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

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

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR). NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)). The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 uses various techniques for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication module 192 may support various requirements defined in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ). According to an embodiment, the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: Downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) can be supported.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) other than the radiator may be additionally formed as a part of the antenna module 197 .

다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( e.g. commands or data) can be exchanged with each other.

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or a part of operations executed in the electronic device 101 may be executed in one or more external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a function or service automatically or in response to a request from a user or other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 . The electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an Internet of things (IoT) device. The server 108 may be an intelligent server using machine learning and/or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199 . The electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

도 2a는 본 발명의 다양한 실시예에 따른, 전자 장치의 위치를 결정하는 실시예를 도시한 도면이다.2A is a diagram illustrating an embodiment of determining a location of an electronic device according to various embodiments of the present disclosure;

도 2a는 본 발명의 다양한 실시예에 따른, 외부 전자 장치(예: 도 1의 전자 장치(104))가, 전자 장치(예: 도 1의 전자 장치(101))(200) 및 외부 전자 장치(104) 사이에 교환되는 메시지들에 기반하여, 전자 장치(200)의 위치를 결정하는 실시예를 도시하고 있다.2A illustrates an external electronic device (eg, the electronic device 104 of FIG. 1 ), an electronic device (eg, the electronic device 101 of FIG. 1 ) 200 , and an external electronic device, according to various embodiments of the present disclosure; An embodiment in which the location of the electronic device 200 is determined based on messages exchanged between 104 is illustrated.

본 발명의 다양한 실시예에 따르면, 전자 장치(200) 및 외부 전자 장치(104)는 다양한 통신 방식을 지원할 수 있다. 일 실시예에 따르면, 전자 장치(200) 및 외부 전자 장치(104)는, 제 1 통신을 통해 데이터를 교환할 수 있다. 제 1 통신은 예를 들어, 초 광대역(ultra wideband, 이하 UWB 통신)을 포함할 수 있다. UWB는 다른 통신 방식에 비해 넓은 대역의 주파수 대역(예: 3.1GHz에서 10GHz 대역의 주파수 대역)을 이용하여 정보를 전송하는 다양한 통신 방식을 의미할 수 있다.According to various embodiments of the present disclosure, the electronic device 200 and the external electronic device 104 may support various communication methods. According to an embodiment, the electronic device 200 and the external electronic device 104 may exchange data through the first communication. The first communication may include, for example, ultra wideband (hereinafter, UWB communication). UWB may refer to various communication methods for transmitting information using a wider frequency band than other communication methods (eg, a frequency band from 3.1 GHz to 10 GHz).

본 발명의 다양한 실시예예 따르면, 전자 장치(200) 및 외부 전자 장치(104)는, 제 1 통신과 상이한 제 2 통신을 통해 데이터를 교환할 수 있다. 제 2 통신은 장치 간 통신(D2D, device to device)을 지원하는 다양한 통신 방식으로, 예를 들어, 제 2 통신은 근거리 무선 통신 방식(예: Bluetooth, BLE, 또는 Wi-Fi)일 수 있다.According to various embodiments of the present disclosure, the electronic device 200 and the external electronic device 104 may exchange data through a second communication different from the first communication. The second communication may be various communication methods supporting device-to-device (D2D) communication. For example, the second communication may be a short-range wireless communication method (eg, Bluetooth, BLE, or Wi-Fi).

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(104)는, 동작 201에서, 어드버타이징(advertising) 메시지를 제 2 통신을 통해 전송(또는, 브로드캐스팅)할 수 있다. 어드버타이징 메시지는 예를 들어, 제 1 통신을 통한 데이터 교환을 수행하기 위해 요구되는 정보(예: 외부 전자 장치(104)의 제 1 통신의 지원 여부를 지시하는 정보, 외부 전자 장치(104)가 제 1 통신을 활성화했는지 여부를 짓시하는 정보, 외부 전자 장치(104)의 식별 정보)를 포함할 수 있다.According to various embodiments of the present disclosure, in operation 201 , the external electronic device 104 may transmit (or broadcast) an advertising message through the second communication. The advertising message includes, for example, information required to perform data exchange through the first communication (eg, information indicating whether the external electronic device 104 supports the first communication, the external electronic device 104 ) ) may include information indicating whether the first communication is activated, identification information of the external electronic device 104).

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(104)는, 외부 전자 장치(104)가 수집한 정보가 지정된 조건을 만족함에 대응하여, 어드버타이징 메시지를 전송할 수 있다. 일 실시예에 따르면, 외부 전자 장치(104)가 운송 수단인 경우, 외부 전자 장치(104)는 다양한 센서(예: 카메라)를 통해 수집한 정보 및/또는 운행 정보에 기반하여, 수집한 정보가 지정된 조건을 만족하는 경우, 어드버타이징 메시지를 전송할 수 있다. According to various embodiments of the present disclosure, the external electronic device 104 may transmit an advertising message in response to the information collected by the external electronic device 104 satisfying a specified condition. According to an embodiment, when the external electronic device 104 is a transportation means, the external electronic device 104 displays the collected information based on information and/or driving information collected through various sensors (eg, cameras). When a specified condition is satisfied, an advertising message may be transmitted.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 외부 전자 장치(104)가 전송한 어드버타이징 메시지를 수신하고, 동작 203에서, 어드버타이징 메시지에 대한 응답 메시지(예: BLE SCAN response message)를 외부 전자 장치(104)로 전송할 수 있다. According to various embodiments of the present disclosure, the electronic device 200 receives the advertising message transmitted by the external electronic device 104 , and in operation 203 , a response message to the advertising message (eg: BLE SCAN response message) may be transmitted to the external electronic device 104 .

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는 어드버타이징 메시지가 지정된 조건을 만족함에 대응하여, 응답 메시지를 제 2 통신을 통해 외부 전자 장치(104)로 전송할 수 있다. 전자 장치(200)는, 어드버타이징 메시지를 포함하는 신호의 품질(예: RSRP 및/또는 RSSI)이 지정된 조건(예: 신호의 품질이 지정된 값 이상인 조건)을 만족함에 대응하여, 응답 메시지를 외부 전자 장치(104)로 전송할 수 있다. 응답 메시지는, 제 1 통신을 통한 데이터 교환을 수행하기 위해 요구되는 정보(예: 전자 장치(200)의 제 1 통신의 지원 여부를 지시하는 정보, 전자 장치(200)가 제 1 통신을 활성화했는지 여부를 지시하는 정보, 전자 장치(200)의 식별 정보)를 포함할 수 있다.According to various embodiments of the present disclosure, in response to the advertising message satisfying a specified condition, the electronic device 200 may transmit a response message to the external electronic device 104 through the second communication. The electronic device 200 responds to that a signal quality (eg, RSRP and/or RSSI) including an advertising message satisfies a specified condition (eg, a condition in which signal quality is equal to or greater than a specified value), a response message may be transmitted to the external electronic device 104 . The response message includes information required to perform data exchange through the first communication (eg, information indicating whether the electronic device 200 supports the first communication, whether the electronic device 200 has activated the first communication) information indicating whether or not, identification information of the electronic device 200).

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(104)는, 응답 메시지를 수신함에 대응하여, 제 1 통신을 활성화할 수 있다, 외부 전자 장치(104)는, 제 1 통신을 통해 다양한 메시지를 전송하고, 수신하면서, 전자 장치(200)의 위치를 결정하기 위한 레인징(예: two-way ranging)를 수행할 수 있다.According to various embodiments of the present disclosure, the external electronic device 104 may activate the first communication in response to receiving the response message. The external electronic device 104 may transmit various messages through the first communication. While transmitting and receiving, ranging (eg, two-way ranging) for determining the location of the electronic device 200 may be performed.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(104)는, 동작 205에서, 폴링 메시지(polling message)를 전자 장치(200)로 전송할 수 있다. 폴링 메시지는 레인징의 시작을 지시하는 메시지일 수 있다. 외부 전자 장치(104)는, 폴링 메시지를 전송하면서, 폴링 메시지를 전송한 시간 정보(T1)를 저장할 수 있다.According to various embodiments of the present disclosure, the external electronic device 104 may transmit a polling message to the electronic device 200 in operation 205 . The polling message may be a message indicating the start of ranging. The external electronic device 104 may store time information T 1 at which the polling message is transmitted while transmitting the polling message.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 동작 207에서, 폴링 메시지의 수신에 따른 응답 메시지를 외부 전자 장치(104)로 전송할 수 있다. 응답 메시지는, 전자 장치(200)와 외부 전자 장치(104) 사이의 거리 측정을 위한 정보를 포함할 수 있다. 일 실시예에 따르면, 응답 메시지는 전자 장치(200)가, 폴링 메시지를 수신한 시간(예: T2) 정보 및/또는 응답 메시지를 전송한 시간(예: T3)의 차이 값(예: reply time)을 포함할 수 있다. 다른 실시예에 따르면, 응답 메시지는, 전자 장치(200)가, 폴링 메시지를 수신한 시간 정보 및/또는 응답 메시지를 전송한 시간 정보를 포함할 수 있다,According to various embodiments of the present disclosure, in operation 207 , the electronic device 200 may transmit a response message according to the reception of the polling message to the external electronic device 104 . The response message may include information for measuring a distance between the electronic device 200 and the external electronic device 104 . According to an embodiment, the response message is a difference value (eg, T 3 ) between time (eg, T 2 ) information at which the electronic device 200 receives the polling message and/or the time (eg, T 3 ) at which the response message is transmitted. reply time). According to another embodiment, the response message may include time information at which the electronic device 200 receives the polling message and/or time information at which the response message is transmitted.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(200)는, 동작 209에서, 전자 장치(200)의 위치를 결정할 수 있다. 외부 전자 장치(200)는, 응답 메시지를 수신한 시간(예: T4), 폴링 메시지를 전송한 시간(예: T1) 및 응답 메시지에 포함된 reply time에 기반하여 전자 장치(200)의 위치를 결정할 수 있다. 외부 전자 장치(104)는 아래의 수학식 1을 이용하여 전자 장치(200)의 위치를 결정할 수 있다.According to various embodiments of the present disclosure, the external electronic device 200 may determine a location of the electronic device 200 in operation 209 . The external electronic device 200 determines the location of the electronic device 200 based on a time at which the response message is received (eg, T4), a time at which the polling message is transmitted (eg, T1), and a reply time included in the response message. can decide The external electronic device 104 may determine the location of the electronic device 200 using Equation 1 below.

Figure pat00001
Figure pat00001

도 2b는 본 발명의 다양한 실시예에 따른, 제 1 외부 전자 장치, 제 2 외부 전자 장치 및/또는 제 3 외부 전자 장치가, 전자 장치의 위치를 결정하는 실시예를 도시한 도면이다.2B is a diagram illustrating an embodiment in which a first external electronic device, a second external electronic device, and/or a third external electronic device determines a location of an electronic device, according to various embodiments of the present disclosure;

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 복수의 외부 전자 장치(예: 제 1 외부 전자 장치(104-a), 제 2 외부 전자 장치(104-b) 및/또는 제 3 외부 전자 장치(104-c))로 전자 장치(200)의 위치 측정을 위한 정보를 포함하는 메시지(예: 응답 메시지)를 전송할 수 있다.According to various embodiments of the present disclosure, the electronic device 200 includes a plurality of external electronic devices (eg, a first external electronic device 104-a, a second external electronic device 104-b, and/or a third A message (eg, a response message) including information for measuring the location of the electronic device 200 may be transmitted to the external electronic device 104-c).

본 발명의 다양한 실시예에 따르면, 동작 211에서, 제 1 외부 전자 장치(104-a)는 폴링 메시지(polling message)를 전자 장치(200)로 전송할 수 있다. 폴링 메시지는 레인징의 시작을 지시하는 메시지일 수 있다. 제 1 외부 전자 장치(104-a)는, 폴링 메시지를 전송하면서, 폴링 메시지를 전송한 시간 정보를 저장할 수 있다.According to various embodiments of the present disclosure, in operation 211 , the first external electronic device 104-a may transmit a polling message to the electronic device 200 . The polling message may be a message indicating the start of ranging. While transmitting the polling message, the first external electronic device 104-a may store information about a time when the polling message is transmitted.

본 발명의 다양한 실시예에 따르면, 동작 212에서, 전자 장치(200)는, 폴링 메시지의 수신에 따른 응답 메시지를 제 1 외부 전자 장치(104-a)로 전송할 수 있다. 응답 메시지는, 전자 장치(200)와 제 1 외부 전자 장치(104-a) 사이의 거리 측정을 위한 정보를 포함할 수 있다. 일 실시예에 따르면, 응답 메시지는 전자 장치(200)가, 폴링 메시지를 수신한 시간(예: T2) 정보 및/또는 응답 메시지를 전송한 시간(예: T3)의 차이 값(예: reply time)을 포함할 수 있다.According to various embodiments of the present disclosure, in operation 212 , the electronic device 200 may transmit a response message according to the reception of the polling message to the first external electronic device 104-a. The response message may include information for measuring a distance between the electronic device 200 and the first external electronic device 104-a. According to an embodiment, the response message is a difference value (eg, T 3 ) between time (eg, T 2 ) information at which the electronic device 200 receives the polling message and/or the time (eg, T 3 ) at which the response message is transmitted. reply time).

본 발명의 다양한 실시예에 따르면, 동작 213에서, 제 2 외부 전자 장치(104-b)는 폴링 메시지(polling message)를 전자 장치(200)로 전송할 수 있다. 폴링 메시지는 레인징의 시작을 지시하는 메시지일 수 있다. 제 2 외부 전자 장치(104-b)는, 폴링 메시지를 전송하면서, 폴링 메시지를 전송한 시간 정보를 저장할 수 있다.According to various embodiments of the present disclosure, in operation 213 , the second external electronic device 104-b may transmit a polling message to the electronic device 200 . The polling message may be a message indicating the start of ranging. While transmitting the polling message, the second external electronic device 104-b may store information about the time when the polling message is transmitted.

본 발명의 다양한 실시예에 따르면, 동작 214에서, 전자 장치(200)는, 폴링 메시지의 수신에 따른 응답 메시지를 제 2 외부 전자 장치(104-b)로 전송할 수 있다. 응답 메시지는, 전자 장치(200)와 제 2 외부 전자 장치(104-b) 사이의 거리 측정을 위한 정보를 포함할 수 있다. 일 실시예에 따르면, 응답 메시지는 전자 장치(200)가, 폴링 메시지를 수신한 시간 정보 및/또는 응답 메시지를 전송한 시간의 차이 값(예: reply time)을 포함할 수 있다.According to various embodiments of the present disclosure, in operation 214 , the electronic device 200 may transmit a response message according to the reception of the polling message to the second external electronic device 104-b. The response message may include information for measuring a distance between the electronic device 200 and the second external electronic device 104-b. According to an embodiment, the response message may include a difference value (eg, reply time) between time information at which the electronic device 200 receives a polling message and/or a time at which the response message is transmitted.

본 발명의 다양한 실시예에 따르면, 동작 215에서, 제 3 외부 전자 장치(104-c)는 폴링 메시지(polling message)를 전자 장치(200)로 전송할 수 있다. 폴링 메시지는 레인징의 시작을 지시하는 메시지일 수 있다. 제 3 외부 전자 장치(104-c)는, 폴링 메시지를 전송하면서, 폴링 메시지를 전송한 시간 정보를 저장할 수 있다.According to various embodiments of the present disclosure, in operation 215 , the third external electronic device 104-c may transmit a polling message to the electronic device 200 . The polling message may be a message indicating the start of ranging. While transmitting the polling message, the third external electronic device 104-c may store information about a time when the polling message is transmitted.

본 발명의 다양한 실시예에 따르면, 동작 216에서, 전자 장치(200)는, 폴링 메시지의 수신에 따른 응답 메시지를 제 3 외부 전자 장치(104-c)로 전송할 수 있다. 응답 메시지는, 전자 장치(200)와 제 3 외부 전자 장치(104-c) 사이의 거리 측정을 위한 정보를 포함할 수 있다. 일 실시예에 따르면, 응답 메시지는 전자 장치(200)가, 폴링 메시지를 수신한 시간 및/또는 응답 메시지를 전송한 시간의 차이 값(예: reply time)을 포함할 수 있다.According to various embodiments of the present disclosure, in operation 216 , the electronic device 200 may transmit a response message according to the reception of the polling message to the third external electronic device 104-c. The response message may include information for measuring a distance between the electronic device 200 and the third external electronic device 104-c. According to an embodiment, the response message may include a difference value (eg, reply time) between a time at which the electronic device 200 receives a polling message and/or a time at which the response message is transmitted.

도 2b에 도시된 실시예를 참조하면, 전자 장치(200)는, 폴링 메시지를 전송하는 외부 전자 장치들 모두 응답 메시지를 전송할 수 있다. 외부 전자 장치들의 수가 증가하는 경우, 전자 장치(200)는, 더 많은 응답 메시지를 전송해야 하며, 이 경우, 전자 장치(200)는, 응답 메시지의 전송에 따른 전력 소모가 증가할 수 있다. Referring to the embodiment illustrated in FIG. 2B , the electronic device 200 may transmit a response message to all external electronic devices that transmit a polling message. When the number of external electronic devices increases, the electronic device 200 needs to transmit more response messages. In this case, the electronic device 200 may increase power consumption according to the transmission of the response message.

이하에서는, 응답 메시지의 전송에 따른 전력 소모를 감소시킬 수 있는 전자 장치(200)에 대해서 서술한다.Hereinafter, the electronic device 200 capable of reducing power consumption according to transmission of a response message will be described.

도 3은 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.3 is a block diagram of an electronic device according to various embodiments of the present disclosure;

본 발명의 다양한 실시예에 따른 전자 장치(예: 도 2의 전자 장치(200))는, 프로세서(301)(예: 도 1의 프로세서(120)), 제 1 통신 회로(303)(예: 도 1의 통신 모듈(190)) 및/또는 제 2 통신 회로(305)(예: 도 1의 통신 모듈(190))를 포함할 수 있다.The electronic device (eg, the electronic device 200 of FIG. 2 ) according to various embodiments of the present disclosure includes a processor 301 (eg, the processor 120 of FIG. 1 ), a first communication circuit 303 (eg: The communication module 190 of FIG. 1 ) and/or the second communication circuit 305 (eg, the communication module 190 of FIG. 1 ) may be included.

본 발명의 다양한 실시예에 따르면, 제 1 통신 회로(303)는 프로세서(301)와 전기적으로 연결되며, 안테나(미도시)를 통해 수신한, 제 1 통신을 통한 신호를 프로세서(301)로 전달할 수 있다. 제 1 통신 회로(303)는 안테나와 전기적으로 연결되며, 제 1 통신을 통해 전송할 데이터를 포함하는 신호를 안테나로 전송할 수 있다. 제 1 통신은 예를 들어, 초 광대역(ultra wideband, 이하 UWB 통신)을 포함할 수 있다. UWB는 다른 통신 방식에 비해 넓은 대역의 주파수 대역(예: 3.1GHz에서 10GHz 대역의 주파수 대역)을 이용하여 정보를 전송하는 다양한 통신 방식을 의미할 수 있다.According to various embodiments of the present disclosure, the first communication circuit 303 is electrically connected to the processor 301 , and transmits a signal through the first communication received through an antenna (not shown) to the processor 301 . can The first communication circuit 303 is electrically connected to the antenna, and may transmit a signal including data to be transmitted through the first communication to the antenna. The first communication may include, for example, ultra wideband (hereinafter, UWB communication). UWB may refer to various communication methods for transmitting information using a wider frequency band than other communication methods (eg, a frequency band from 3.1 GHz to 10 GHz).

본 발명의 다양한 실시예에 따르면, 제 2 통신 회로(305)는, 프로세서(301)와 전기적으로 연결되며, 제 2 통신을 통한 신호를 수신하고, 프로세서(301)로 전달할 수 있다. 제 2 통신 회로(303)는, 안테나와 전기적으로 연결되며, 제 2 통신을 통해 전송할 데이터를 포함하는 신호를 안테나로 전송할 수 있다. 제 2 통신은 장치 간 통신(D2D, device to device)을 지원하는 다양한 통신 방식으로, 예를 들어, 제 2 통신은 근거리 무선 통신 방식(예: Bluetooth, BLE, 또는 Wi-Fi)일 수 있다.According to various embodiments of the present disclosure, the second communication circuit 305 may be electrically connected to the processor 301 , receive a signal through the second communication, and transmit the signal to the processor 301 . The second communication circuit 303 is electrically connected to the antenna and may transmit a signal including data to be transmitted through the second communication to the antenna. The second communication may be various communication methods supporting device-to-device (D2D) communication. For example, the second communication may be a short-range wireless communication method (eg, Bluetooth, BLE, or Wi-Fi).

본 발명의 다양한 실시예에 따르면, 프로세서(301)는 통신 프로세서(예: 도 1의 보조 프로세서(123)) 또는 어플리케이션 프로세서(예: 도 1의 메인 프로세서(121)) 중 적어도 하나의 프로세서를 포함할 있다. 프로세서(301)는 전자 장치(200)의 위치를 결정하는 외부 전자 장치(예: 도 2b의 제 1 외부 전자 장치(104-a), 제 2 외부 전자 장치(104-b) 및/또는 제 3 외부 전자 장치(104-c))와 제 1 통신을 통해 데이터를 전송하거나, 수신하도록 제 1 통신 회로(303)를 제어할 수 있다.According to various embodiments of the present disclosure, the processor 301 includes at least one of a communication processor (eg, the auxiliary processor 123 of FIG. 1 ) or an application processor (eg, the main processor 121 of FIG. 1 ). can do The processor 301 is an external electronic device that determines a location of the electronic device 200 (eg, the first external electronic device 104-a, the second external electronic device 104-b of FIG. 2B ), and/or a third The first communication circuit 303 may be controlled to transmit or receive data through first communication with the external electronic device 104-c).

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 제 1 외부 전자 장치(104-a)가 전송하는 어드버타이징 메시지를 수신할 수 있다. 어드버타이징 메시지는, 전자 장치(200)의 위치 측정을 요청하는 메시지일 수 있다. 어드버타이징 메시지는 제 1 통신을 통한 데이터 교환을 수행하기 위해 요구되는 정보(예: 제 1 외부 전자 장치(104-a)의 제 1 통신의 지원 여부를 지시하는 정보, 제 1 외부 전자 장치(104-a)가 제 1 통신을 활성화했는지 여부를 지시하는 정보, 또는 제 1 외부 전자 장치(104-a)의 식별 정보)를 포함할 수 있다.According to various embodiments of the present disclosure, the processor 301 may receive an advertising message transmitted from the first external electronic device 104-a. The advertising message may be a message requesting to measure the location of the electronic device 200 . The advertising message is information required to perform data exchange through the first communication (eg, information indicating whether the first external electronic device 104-a supports the first communication, the first external electronic device) information indicating whether the 104-a has activated the first communication, or identification information of the first external electronic device 104-a).

본 발명의 다양한 실시예에 따르면, 어드버타이징 메시지는 제 1 통신 또는 다른 통신 방식(out of band, OOB)(예: 제 2 통신)을 통해 전자 장치(200)에 전송될 수 있다. 일 실시예에 따르면, 어드버타이징 메시지는 제 2 통신을 통해 수신될 수 있으며, 프로세서(301)는, 제 2 통신 회로(305)가 수신하는 어드버타이징 메시지를 수신할 수 있다.According to various embodiments of the present disclosure, the advertising message may be transmitted to the electronic device 200 through first communication or another communication method (out of band, OOB) (eg, second communication). According to an embodiment, the advertising message may be received through the second communication, and the processor 301 may receive the advertising message received by the second communication circuit 305 .

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 제 2 외부 전자 장치(104-b)로부터 어드버타이징 메시지를 수신할 수도 있다. 어드버타이징 메시지는, 전자 장치(200)의 위치 측정을 요청하는 메시지일 수 있다. 어드버타이징 메시지는 제 1 통신을 통한 데이터 교환을 수행하기 위해 요구되는 정보(예: 제 2 외부 전자 장치(104-b)의 제 1 통신의 지원 여부를 지시하는 정보, 제 2 외부 전자 장치(104-b)가 제 1 통신을 활성화했는지 여부를 지시하는 정보, 또는 제 2 외부 전자 장치(104-b)의 식별 정보)를 포함할 수 있다.According to various embodiments of the present disclosure, the processor 301 may receive an advertising message from the second external electronic device 104-b. The advertising message may be a message requesting to measure the location of the electronic device 200 . The advertising message is information required to perform data exchange through the first communication (eg, information indicating whether the second external electronic device 104-b supports the first communication, the second external electronic device) information indicating whether the 104-b has activated the first communication, or identification information of the second external electronic device 104-b).

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 어드버타이징 메시지를 수신하고, 어드버타이징 메시지가 지정된 조건을 만족함에 대응하여, 제 1 통신 회로(303)를 활성화할 수 있다. 프로세서(301)는, 어드버타이징 메시지를 포함하는 신호의 품질(예: RSRP 및/또는 RSSI)이 지정된 조건(예: 신호의 품질이 지정된 값 이상인 조건)을 만족함에 대응하여, 제 1 통신 회로(303)를 활성화할 수 있다.According to various embodiments of the present disclosure, the processor 301 may receive the advertising message and activate the first communication circuit 303 in response to the advertising message satisfying a specified condition. . The processor 301, in response to the quality of the signal including the advertising message (eg, RSRP and / or RSSI) satisfies a specified condition (eg, a condition in which the quality of the signal is greater than or equal to a specified value), the first communication Circuit 303 may be activated.

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 제 1 통신 회로(303)를 활성화하고, 응답 메시지를 제 2 통신을 통해 제 1 외부 전자 장치(104-a)로 전송하도록 제 2 통신 회로(305)를 제어할 수 있다.According to various embodiments of the present disclosure, the processor 301 activates the first communication circuit 303 and transmits a response message to the first external electronic device 104-a through the second communication through the second communication. The circuit 305 may be controlled.

본 발명의 다양한 실시예에 따르면, 응답 메시지는 제 1 통신을 통한 데이터 교환을 수행하기 위해 요구되는 정보(예: 전자 장치(200)의 제 1 통신의 지원 여부를 지시하는 정보, 또는 전자 장치(200)가 제 1 통신을 활성화했는지 여부를 지시하는 정보, 전자 장치(200)의 식별 정보)를 포함할 수 있다.According to various embodiments of the present disclosure, the response message includes information required to perform data exchange through the first communication (eg, information indicating whether the electronic device 200 supports the first communication, or the electronic device ( 200) may include information indicating whether the first communication has been activated, identification information of the electronic device 200).

본 발명의 다양한 실시예에 따르면, 프로세서(301)는 제 1 외부 전자 장치(104-a) 및/또는 제 2 외부 전자 장치(104-b)와 제 1 통신을 통한 연결을 설립할 수 있다. 프로세서(301)는, 설립 동작 중, 제 1 외부 전자 장치(104-a) 및/또는 제 2 외부 전자 장치(104-b)와 UWB 통신 연결을 위한 UWB 파라미터를 교환할 수 있다. UWB 파라미터는 제 2 통신 회로(305)를 통해 전송되는 응답 메시지에 포함될 수 있으며, 또는, 제 1 통신을 통해 전송되는 제어 메시지(control message)에 포함될 수도 있다. 일 실시예에 따르면, UWB 파라미터는, 어드버타이징 메시지 또는 어드버타이징 메시지에 대한 응답 메시지(BLE scan response message)에 포함될 수 있다. 어드버타이징 메시지에 포함된 UWB 파라미터는, 제 1 외부 전자 장치(104-a) 및/또는 제 2 외부 전자 장치(104-b)가 제 1 통신(예: UWB)를 지원하는지 여부를 지시하는 정보, 제 1 통신의 활성화 여부를 지시하는 정보, 제 1 통신을 수행하기 위한 채널에 대한 정보, 제 1 통신에 대한 MAC(media access control) 주소 중 적어도 하나 이상의 정보를 포함할 수 있다. 응답 메시지에 포함된 UWB 파라미터는, 전자 장치(200)가 제 1 통신(예: UWB)를 지원하는지 여부를 지시하는 정보, 제 1 통신의 활성화 여부를 지시하는 정보, 제 1 통신을 수행하기 위한 채널에 대한 정보, 제 1 통신에 대한 MAC(media access control) 주소 중 적어도 하나 이상의 정보를 포함할 수 있다.According to various embodiments of the present disclosure, the processor 301 may establish a connection through first communication with the first external electronic device 104-a and/or the second external electronic device 104-b. The processor 301 may exchange UWB parameters for UWB communication connection with the first external electronic device 104-a and/or the second external electronic device 104-b during the establishment operation. The UWB parameter may be included in a response message transmitted through the second communication circuit 305 or may be included in a control message transmitted through the first communication. According to an embodiment, the UWB parameter may be included in an advertising message or a response message to the advertising message (BLE scan response message). The UWB parameter included in the advertising message indicates whether the first external electronic device 104-a and/or the second external electronic device 104-b supports the first communication (eg, UWB). information, information indicating whether to activate the first communication, information on a channel for performing the first communication, and a media access control (MAC) address for the first communication may include at least one or more of information. The UWB parameter included in the response message includes information indicating whether the electronic device 200 supports the first communication (eg, UWB), information indicating whether to activate the first communication, and information for performing the first communication. It may include at least one or more of information about a channel and a media access control (MAC) address for the first communication.

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 제 1 외부 전자 장치(104-a)와 전자 장치(200)가 제 1 통신을 통해 연결되고, 제 2 외부 전자 장치(104-b)와 전자 장치(200)가 제 1 통신을 통해 연결되도록 제 1 통신 회로(303)를 제어할 수 있다.According to various embodiments of the present disclosure, in the processor 301 , the first external electronic device 104-a and the electronic device 200 are connected through first communication, and the second external electronic device 104-b The first communication circuit 303 may be controlled so that the electronic device 200 and the electronic device 200 are connected through the first communication.

본 발명의 다양한 실시예에 따르면, 제 1 외부 전자 장치(104-a) 및/또는 제 2 외부 전자 장치(104-b)는 제 1 통신을 통해 다양한 메시지를 전송하고, 수신하면서, 전자 장치(200)의 위치를 결정하기 위한 레인징(예: two-way ranging)을 각자 수행할 수 있다.According to various embodiments of the present disclosure, the first external electronic device 104-a and/or the second external electronic device 104-b transmits and receives various messages through the first communication, while receiving the electronic device ( 200) may each perform ranging (eg, two-way ranging) for determining the location.

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 제 1 외부 전자 장치(104-a)로부터, 제 1 폴링 메시지(polling message)를 수신할 수 있다. 제 1 폴링 메시지는 레인징의 시작을 지시하는 메시지일 수 있다. 제 1 외부 전자 장치(104-a)는, 제 1 폴링 메시지를 전송하면서, 제 1 폴링 메시지를 전송한 시간 정보를 저장할 수 있다. 일 실시예에 따르면, 제 1 폴링 메시지는 제 1 폴링 메시지를 전송한 시간 정보를 포함할 수도 있다.According to various embodiments of the present disclosure, the processor 301 may receive a first polling message from the first external electronic device 104-a. The first polling message may be a message indicating the start of ranging. While transmitting the first polling message, the first external electronic device 104-a may store information about a time when the first polling message is transmitted. According to an embodiment, the first polling message may include information about a time when the first polling message was transmitted.

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 제 1 외부 전자 장치(104-a)로부터 제 1 폴링 메시지를 수신한 후, 지정된 시간 동안 제 1 통신 회로(301)의 수신 기능의 활성화를 유지할 수 있다. 제 1 통신 회로(301)의 수신 기능은 제 1 통신을 통한 수신 신호의 수신 기능을 의미할 수 있다. 예를 들어, 지정된 시간은, 전자 장치(200)의 제조사에 의해 다양한 값으로 설정될 수 있다. 예를 들면, 지정된 시간은 레인징 주기(예: 100ms)의 절반인 50ms일 수 있다.According to various embodiments of the present disclosure, after receiving the first polling message from the first external electronic device 104-a, the processor 301 activates the reception function of the first communication circuit 301 for a specified time. can keep The reception function of the first communication circuit 301 may refer to a reception function of a reception signal through the first communication. For example, the designated time may be set to various values by the manufacturer of the electronic device 200 . For example, the designated time may be 50 ms, which is half of the ranging period (eg, 100 ms).

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 지정된 시간 동안 제 2 외부 전자 장치(104-b)로부터 제 2 폴링 메시지를 수신하는지 여부를 확인할 수 있다. 제 2 폴링 메시지는 레인징의 시작을 지시하는 메시지일 수 있다. 제 2 외부 전자 장치(104-b)는, 제 2 폴링 메시지를 전송하면서, 제 2 폴링 메시지를 전송한 시간 정보를 저장할 수 있다.According to various embodiments of the present disclosure, the processor 301 may check whether a second polling message is received from the second external electronic device 104-b for a specified time period. The second polling message may be a message indicating the start of ranging. While transmitting the second polling message, the second external electronic device 104-b may store information about a time when the second polling message is transmitted.

프로세서(301)는, 제 1 폴링 메시지를 수신한 후, 지정된 시간(예: 67ms) 이내, 제 2 폴링 메시지를 수신함에 대응하여, 전자 장치(200) 및 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보(예: reply time) 및 전자 장치(200) 및 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 1 응답 메시지를 제 1 통신 회로(303)를 통해 브로드캐스팅(또는, 멀티 캐스팅)할 수 있다. After receiving the first polling message, the processor 301 responds to receiving the second polling message within a specified time (eg, 67ms), the electronic device 200 and the first external electronic device 104-a The first including information (eg, reply time) for measuring the distance between the electronic device 200 and information (eg, reply time) for measuring the distance between the electronic device 200 and the second external electronic device 104-b The response message may be broadcast (or multicast) through the first communication circuit 303 .

일 실시 예에 따르면, 제 1 응답 메시지는, 제 1 외부 전자 장치(104-a)가 전송한 제 1 폴링 메시지의 수신 시간 및 제 1 응답 메시지의 전송 시간의 차이(예: reply time) 및/또는 제 2 외부 전자 장치(104-b)가 전송한 제 2 폴링 메시지의 수신 시간 및 제 1 응답 메시지의 전송 시간의 차이(예: reply time)를 포함할 수 있다. 제 1 응답 메시지는 아래의 표 1과 같이 구현될 수 있다.According to an embodiment, the first response message includes a difference (eg, reply time) between a reception time of the first polling message transmitted by the first external electronic device 104-a and a transmission time of the first response message and/or Alternatively, it may include a difference (eg, reply time) between a reception time of the second polling message transmitted by the second external electronic device 104-b and a transmission time of the first response message. The first response message may be implemented as shown in Table 1 below.

파라미터parameter 사이즈(bits)size (bits) 설명Explanation Vender OUIVender OUI 2424 전자 장치(200)의 제조사 식별 정보Manufacturer identification information of the electronic device 200 UWB Message IDUWB Message ID 44 제 1 응답 메시지의 식별 정보Identification information of the first response message Reply time listReply time list 48 * N48 * N 외부 전자 장치가 전자 장치(200)의 위치를 결정하는데 사용할 수 있는 데이터N: 제 1 응답 메시지를 수신할 수 있는 외부 전자 장치의 개수Data N that the external electronic device can use to determine the location of the electronic device 200: The number of external electronic devices that can receive the first response message

본 발명의 다양한 실시예에 따르면, 제 1 응답 메시지에 포함된 Reply time list는 아래의 표 2와 같이 구현될 수 있다.According to various embodiments of the present invention, the Reply time list included in the first response message may be implemented as shown in Table 2 below.

파라미터parameter 사이즈(bits)size (bits) 설명Explanation AddressAddress 1616 외부 전자 장치(104-a, 104-b)의 주소 정보Address information of external electronic devices 104-a and 104-b Reply timeReply time 3232 제 1 폴링 메시지(또는, 제 2 폴링 메시지)의 수신 시간 및 제 1 응답 메시지의 전송 시간의 차이The difference between the reception time of the first polling message (or the second polling message) and the transmission time of the first response message

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 제 1 폴링 메시지에 대응하는 제 2 응답 메시지 및 제 2 폴링 메시지에 대응하는 제 3 응답 메시지를 각각 전송하지 않고, 하나의 제 1 응답 메시지를 전송함으로써, 응답 메시지의 전송 횟수를 감소시킬 수 있다. 상기와 같은 방식을 통해, 전자 장치(200)는 응답 메시지의 전송에 따른 전력 소모를 감소시킬 수 있다.According to various embodiments of the present disclosure, the processor 301 does not transmit a second response message corresponding to the first polling message and a third response message corresponding to the second polling message, respectively, but one first response message By sending , it is possible to reduce the number of times the response message is transmitted. Through the above method, the electronic device 200 may reduce power consumption according to the transmission of the response message.

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 제 1 폴링 메시지를 수신한 후, 지정된 시간 이내, 제 2 폴링 메시지를 수신함에 대응하여, 전자 장치(200) 및 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보(예: reply time) 및 전자 장치(200) 및 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 1 응답 메시지를 브로드캐스팅(또는, 멀티 캐스팅)할 수 있다.According to various embodiments of the present disclosure, after receiving the first polling message, the processor 301 responds to receiving the second polling message within a specified time, the electronic device 200 and the first external electronic device ( 104-a) information (eg, reply time) for measuring the distance between the electronic device 200 and information (eg, reply time) for measuring the distance between the electronic device 200 and the second external electronic device 104-b It is possible to broadcast (or multicast) the first response message including

본 발명의 다양한 실시예에 따르면, 제 1 외부 전자 장치(104-a)는 제 1 응답 메시지를 수신하고, 제 1 응답 메시지 내의 reply time list에 포함된 제 1 외부 전자 장치(104-a)에 대응하는 reply time 및 제 1 폴링 메시지의 전송 시간에 기반하여, 제 1 외부 전자 장치(104-a)에 대한 전자 장치(200)의 상대적인 위치를 결정할 수 있다.According to various embodiments of the present disclosure, the first external electronic device 104-a receives the first response message and sends it to the first external electronic device 104-a included in the reply time list in the first response message. The relative position of the electronic device 200 with respect to the first external electronic device 104-a may be determined based on the corresponding reply time and the transmission time of the first polling message.

본 발명의 다양한 실시예에 따르면, 제 2 외부 전자 장치(104-b)는 제 1 응답 메시지를 수신하고, 제 1 응답 메시지 내의 reply time list에 포함된 제 2 외부 전자 장치(104-b)에 대응하는 reply time 및 제 2 폴링 메시지의 전송 시간에 기반하여, 제 2 외부 전자 장치(104-b)에 대한 전자 장치(200)의 상대적인 위치를 결정할 수 있다.According to various embodiments of the present disclosure, the second external electronic device 104-b receives the first response message and sends it to the second external electronic device 104-b included in the reply time list in the first response message. The relative position of the electronic device 200 with respect to the second external electronic device 104-b may be determined based on the corresponding reply time and the transmission time of the second polling message.

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 제 1 폴링 메시지를 수신한 후, 지정된 시간 이내, 제 2 폴링 메시지를 수신하지 못함에 대응하여, 전자 장치(200) 및 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 2 응답 메시지를 제 1 외부 전자 장치(104-a)로 전송할 수 있다. 제 2 응답 메시지는 제 1 외부 전자 장치(104-a)가 전송한 제 1 폴링 메시지의 수신 시간 및 제 2 응답 메시지의 전송 시간의 차이(예: reply time)를 포함할 수 있다.According to various embodiments of the present disclosure, after receiving the first polling message, the processor 301 responds to not receiving the second polling message within a specified time, the electronic device 200 and the first external electronic device A second response message including information (eg, reply time) for measuring a distance between the devices 104-a may be transmitted to the first external electronic device 104-a. The second response message may include a difference (eg, reply time) between a reception time of the first polling message transmitted by the first external electronic device 104-a and a transmission time of the second response message.

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 제 2 폴링 메시지를 수신할 때까지, 제 1 통신 회로(303)의 수신 기능을 활성화 상태로 유지할 수 있다. 프로세서(301)는, 지정된 시간 이후, 제 2 폴링 메시지를 수신함에 대응하여, 전자 장치(200) 및 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 3 응답 메시지를 제 2 외부 전자 장치(104-b)로 전송할 수 있다. 제 3 응답 메시지는 제 2 외부 전자 장치(104-b)가 전송한 제 2 폴링 메시지의 수신 시간 및 제 3 응답 메시지의 전송 시간의 차이(예: reply time)를 포함할 수 있다.According to various embodiments of the present disclosure, the processor 301 may maintain the reception function of the first communication circuit 303 in an activated state until the second polling message is received. In response to receiving the second polling message after a specified time, the processor 301 receives information (eg, reply time) for measuring a distance between the electronic device 200 and the second external electronic device 104-b. A third response message including , may be transmitted to the second external electronic device 104-b. The third response message may include a difference (eg, reply time) between a reception time of the second polling message transmitted by the second external electronic device 104-b and a transmission time of the third response message.

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 제 1 응답 메시지의 전송 후, 제 1 통신 회로(303)의 수신 기능을 일시적으로 비활성화할 수 있다. 프로세서(301)는, 제 1 폴링 메시지의 수신 시간 및 제 2 폴링 메시지의 수신 시간 중 빠른 시간에 기반하여 제 1 통신 회로(303)의 수신 기능을 활성화할 수 있다. 예를 들면, 프로세서(301)는 제 1 폴링 메시지의 수신 시간 및 레인징 주기를 더한 시간에 제 1 통신 회로(303)의 수신 기능을 활성화할 수 있다. 프로세서(301)는, 레인징 주기마다 제 1 통신 회로(303)의 수신 기능을 활성화하고, 제 1 폴링 메시지 및 제 2 폴링 메시지의 수신을 대기할 수 있다.According to various embodiments of the present disclosure, the processor 301 may temporarily deactivate the reception function of the first communication circuit 303 after transmitting the first response message. The processor 301 may activate the reception function of the first communication circuit 303 based on the earlier of the reception time of the first polling message and the reception time of the second polling message. For example, the processor 301 may activate the reception function of the first communication circuit 303 at a time obtained by adding a reception time of the first polling message and a ranging period. The processor 301 may activate the reception function of the first communication circuit 303 every ranging period and wait for reception of the first polling message and the second polling message.

본 발명의 다양한 실시예에 따르면, 제 1 폴링 메시지는, 제 1 폴링 메시지를 전송한 시간을 포함할 수 있고, 제 2 폴링 메시지는 제 2 폴링 메시지를 전송한 시간을 포함할 수 있다. 프로세서(301)는, 제 1 폴링 메시지를 전송한 시간 및 제 2 폴링 메시지를 전송한 시간에 기반하여 제 1 통신 회로(301)의 수신 기능을 제어할 수 있다. 일 실시예에 따르면, 프로세서(301)는, 제 1 폴링 메시지의 전송 시간 및 제 2 폴링 메시지의 전송 시간 중 빠른 시간에 기반하여, 제 1 통신 회로(303)의 수신 기능을 활성화할 수 있다. 예를 들면, 프로세서(301)는 제 1 폴링 메시지의 전송 시간 및 레인징 주기를 더한 시간에 제 1 통신 회로(303)의 수신 기능을 활성화할 수 있다. 프로세서(301)는, 레인징 주기마다 제 1 통신 회로(303)의 수신 기능을 활성화하고, 제 1 폴링 메시지 및 제 2 폴링 메시지의 수신을 대기할 수 있다.According to various embodiments of the present disclosure, the first polling message may include a time at which the first polling message is transmitted, and the second polling message may include a time at which the second polling message is transmitted. The processor 301 may control the reception function of the first communication circuit 301 based on the transmission time of the first polling message and the transmission time of the second polling message. According to an embodiment, the processor 301 may activate the reception function of the first communication circuit 303 based on the earlier of the transmission time of the first polling message and the transmission time of the second polling message. For example, the processor 301 may activate the reception function of the first communication circuit 303 at a time obtained by adding a transmission time and a ranging period of the first polling message. The processor 301 may activate the reception function of the first communication circuit 303 every ranging period and wait for reception of the first polling message and the second polling message.

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 제 1 외부 전자 장치(104-a) 및/또는 제 2 외부 전자 장치(104-b)와 레인징 동작을 수행하는 동안, 제 3 외부 전자 장치(104-c)로부터, 전자 장치(200)의 위치 측정을 위한 어드버타이징 메시지를 수신할 수 있다. 프로세서(301)는, 어드버타이징 메시지가 지정된 조건을 만족함에 대응하여, 제 3 외부 전자 장치(104-c)가 전자 장치(200)와 제 1 통신을 통해 연결되도록 제 1 통신 회로(303)를 제어할 수 있다.According to various embodiments of the present disclosure, the processor 301 performs a ranging operation with the first external electronic device 104-a and/or the second external electronic device 104-b while performing a ranging operation with the third external electronic device 104-b. An advertising message for measuring the location of the electronic device 200 may be received from the electronic device 104-c. The processor 301 is configured to connect the third external electronic device 104-c to the electronic device 200 through the first communication in response to the advertising message satisfying the specified condition, the first communication circuit 303 . ) can be controlled.

본 발명의 다양한 실시예에 따르면, 제 1 외부 전자 장치(104-a), 제 2 외부 전자 장치(104-b) 및/또는 제 3 외부 전자 장치(104-c)는 제 1 통신을 통해 다양한 메시지를 전송하고, 수신하면서, 전자 장치(200)의 위치를 결정하기 위한 레인징(예: two-way ranging)를 각자 수행할 수 있다.According to various embodiments of the present disclosure, the first external electronic device 104-a, the second external electronic device 104-b, and/or the third external electronic device 104-c communicate with each other through the first communication. While transmitting and receiving the message, ranging (eg, two-way ranging) for determining the location of the electronic device 200 may be performed respectively.

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 제 3 외부 전자 장치(104-c)로부터, 제 3 폴링 메시지(polling message)를 수신할 수 있다. 제 3 폴링 메시지는 레인징의 시작을 지시하는 메시지일 수 있다. 제 3 외부 전자 장치(104-c)는, 제 3 폴링 메시지를 전송하면서, 제 3 폴링 메시지를 전송한 시간 정보를 저장할 수 있다.According to various embodiments of the present disclosure, the processor 301 may receive a third polling message from the third external electronic device 104-c. The third polling message may be a message indicating the start of ranging. While transmitting the third polling message, the third external electronic device 104-c may store information about the time when the third polling message is transmitted.

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 제 3 외부 전자 장치(104-c)로부터 처음으로 어드버타이징 메시지를 수신함에 대응하여, 제 3 폴링 메시지를 수신할 때까지, 제 1 통신 회로(301)의 수신 기능을 유지할 수 있다.According to various embodiments of the present disclosure, in response to receiving the advertising message for the first time from the third external electronic device 104-c, the processor 301 performs a third polling message until receiving the third polling message. 1 The reception function of the communication circuit 301 can be maintained.

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 제 3 폴링 메시지를 수신할 때까지, 제 1 외부 전자 장치(104-a), 제 2 외부 전자 장치(104-c)로 전송할 응답 메시지의 전송을 일시적으로 중단할 수 있다.According to various embodiments of the present disclosure, the processor 301 receives response messages to be transmitted to the first external electronic device 104-a and the second external electronic device 104-c until the third polling message is received. transmission may be temporarily suspended.

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 제 3 폴링 메시지를 수신함에 대응하여, 전자 장치(200) 및 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보(예: reply time), 전자 장치(200) 및 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보(예: reply time) 및/또는 전자 장치(200) 및 제 3 외부 전자 장치(104-c) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 1 응답 메시지를 브로드캐스팅(또는, 멀티 캐스팅)할 수 있다. According to various embodiments of the present disclosure, in response to receiving the third polling message, the processor 301 provides information ( (eg, reply time), information (eg, reply time) for measuring a distance between the electronic device 200 and the second external electronic device 104-b and/or the electronic device 200 and the third external electronic device A first response message including information (eg, reply time) for measuring the distance between the 104-c may be broadcast (or multicast).

일 실시 예에 따르면, 제 1 응답 메시지는, 제 1 외부 전자 장치(104-a)가 전송한 제 1 폴링 메시지의 수신 시간 및 제 1 응답 메시지의 전송 시간의 차이(예: reply time), 제 2 외부 전자 장치(104-b)가 전송한 제 2 폴링 메시지의 수신 시간 및 제 1 응답 메시지의 전송 시간의 차이(예: reply time) 및/또는 제 3 외부 전자 장치(104-c)가 전송한 제 3 폴링 메시지의 수신 시간 및 제 1 응답 메시지의 전송 시간의 차이(예: reply time)를 포함할 수 있다.According to an embodiment, the first response message includes a difference between a reception time of the first polling message transmitted by the first external electronic device 104-a and a transmission time of the first response message (eg, reply time), the second 2 The difference (eg, reply time) between the reception time of the second polling message and the transmission time of the first response message transmitted by the external electronic device 104-b and/or the transmission time of the third external electronic device 104-c It may include a difference (eg, reply time) between the reception time of one third polling message and the transmission time of the first response message.

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 제 1 폴링 메시지 및/또는 제 2 폴링 메시지를 수신한 후, 지정된 시간 이내 제 3 폴링 메시지를 수신하는지 여부를 확인할 수 있다. According to various embodiments of the present disclosure, the processor 301 may check whether a third polling message is received within a specified time after receiving the first polling message and/or the second polling message.

프로세서(301)는, 지정된 시간 이내 제 3 폴링 메시지를 수신함에 대응하여, 전자 장치(200) 및 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보(예: reply time), 전자 장치(200) 및 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보(예: reply time) 및/또는 전자 장치(200) 및 제 3 외부 전자 장치(104-c) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 1 응답 메시지를 브로드캐스팅(또는, 멀티 캐스팅)할 수 있다.In response to receiving the third polling message within a specified time, the processor 301 provides information for measuring a distance between the electronic device 200 and the first external electronic device 104-a (eg, reply time); Information (eg, reply time) for measuring a distance between the electronic device 200 and the second external electronic device 104-b and/or between the electronic device 200 and the third external electronic device 104-c It is possible to broadcast (or multicast) a first response message including information (eg, reply time) for measuring the distance of .

프로세서(301)는, 지정된 시간 이내 제 3 폴링 메시지를 수신하지 못함에 대응하여, 전자 장치(200) 및 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보(예: reply time), 전자 장치(200) 및 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 1 응답 메시지를 브로드캐스팅(또는, 멀티 캐스팅)할 수 있다.In response to not receiving the third polling message within a specified time, the processor 301 receives information (eg, reply time) for measuring a distance between the electronic device 200 and the first external electronic device 104-a. ), a first response message including information (eg, reply time) for measuring a distance between the electronic device 200 and the second external electronic device 104-b may be broadcast (or multicast) have.

본 발명의 다양한 실시예에 따르면, 프로세서(301)는, 지정된 시간 이후 제 3 폴링 메시지를 수신함에 대응하여, 전자 장치(200) 및 제 3 외부 전자 장치(104-c) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 4 응답 메시지를 제 3 외부 전자 장치(104-c)로 전송할 수 있다. According to various embodiments of the present disclosure, the processor 301 measures the distance between the electronic device 200 and the third external electronic device 104-c in response to receiving the third polling message after a specified time. A fourth response message including information (eg, reply time) for this purpose may be transmitted to the third external electronic device 104-c.

상기와 같은 실시예를 통해, 전자 장치(200)는, 지정된 시간 이내 폴링 메시지를 수신함에 대응하여, 수신된 폴링 메시지를 전송한 외부 전자 장치로 하나의 응답 메시지를 전송할 수 있다. 따라서, 전자 장치(200)는, 응답 메시지의 전송으로 인한 전력 소모를 감소시킬 수 있다.Through the above embodiment, the electronic device 200 may transmit one response message to the external electronic device that has transmitted the received polling message in response to receiving the polling message within a specified time. Accordingly, the electronic device 200 may reduce power consumption due to transmission of the response message.

도 4는 본 발명의 다양한 실시예에 따른 전자 장치가, 전자 장치의 위치를 측정하기 위해 제 1 통신을 활성화하는 실시예를 도시한 도면이다.4 is a diagram illustrating an embodiment in which an electronic device activates first communication to measure a location of the electronic device according to various embodiments of the present disclosure;

본 발명의 다양한 실시예예 따르면, 동작 401에서, 외부 전자 장치(104)(예: 도 2a의 외부 전자 장치(104))는, 어드버타이징 메시지를 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 401 , the external electronic device 104 (eg, the external electronic device 104 of FIG. 2A ) may transmit an advertising message to the electronic device 200 .

어드버타이징 메시지는, 전자 장치(200)의 위치 측정을 요청하는 메시지일 수 있다. 어드버타이징 메시지는 제 1 통신을 통한 데이터 교환을 수행하기 위해 요구되는 정보(예: 제 1 외부 전자 장치(104-a)의 제 1 통신의 지원 여부를 지시하는 정보, 제 1 외부 전자 장치(104-a)가 제 1 통신을 활성화했는지 여부를 지시하는 정보, 또는 제 1 외부 전자 장치(104-a)의 식별 정보)를 포함할 수 있다.The advertising message may be a message requesting to measure the location of the electronic device 200 . The advertising message is information required to perform data exchange through the first communication (eg, information indicating whether the first external electronic device 104-a supports the first communication, the first external electronic device) information indicating whether the 104-a has activated the first communication, or identification information of the first external electronic device 104-a).

본 발명의 다양한 실시예에 따르면, 어드버타이징 메시지는 제 1 통신 또는 다른 통신 방식(out of band, OOB)(예: 제 2 통신)을 통해 전자 장치(200)에 전송될 수 있다. 일 실시예에 따르면, 어드버타이징 메시지는 제 2 통신을 통해 수신될 수 있으며, 전자 장치(200)는, 제 2 통신 회로(305)가 전송하는 어드버타이징 메시지를 수신할 수 있다.According to various embodiments of the present disclosure, the advertising message may be transmitted to the electronic device 200 through first communication or another communication method (out of band, OOB) (eg, second communication). According to an embodiment, the advertising message may be received through the second communication, and the electronic device 200 may receive the advertising message transmitted by the second communication circuit 305 .

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 센서 모듈(예: 도 1의 센서 모듈(176))을 통해, 전자 장치(200)의 위치를 확인할 수 있다. 전자 장치(200)는 전자 장치(200)의 위치가 지정된 위치인 경우, 어드버타이징 메시지의 수신을 위해 제 2 통신 회로(305)를 활성화할 수 있다. 일 실시예에 따르면, 지정된 위치는 교통 사고가 일어날 가능성이 높은 위치(예: 사고 다발 구역, 교차로, 또는 신호등)를 포함할 수 있다.According to various embodiments of the present disclosure, the electronic device 200 may identify the location of the electronic device 200 through a sensor module (eg, the sensor module 176 of FIG. 1 ). When the location of the electronic device 200 is a designated location, the electronic device 200 may activate the second communication circuit 305 to receive the advertising message. According to an embodiment, the designated location may include a location where a traffic accident is highly likely to occur (eg, an accident-prone area, an intersection, or a traffic light).

본 발명의 다양한 실시예예 따르면, 동작 403에서, 전자 장치(200)는, 어드버타이징 메시지를 수신하고, 어드버타이징 메시지가 지정된 조건을 만족함에 대응하여, 제 1 통신 회로(303)를 활성화할 수 있다.According to various embodiments of the present disclosure, in operation 403 , the electronic device 200 receives the advertising message and, in response to the advertising message satisfying a specified condition, activates the first communication circuit 303 . can be activated.

본 발명의 다양한 실시예예 따르면, 전자 장치(200)는, 어드버타이징 메시지를 포함하는 신호의 품질(예: RSRP 및/또는 RSSI)이 지정된 조건(예: 신호의 품질이 지정된 값 이상인 조건)을 만족함에 대응하여, 제 1 통신 회로(303)를 활성화할 수 있다. 또 다른 예로, 전자 장치(200)는, 신호의 품질이 지정된 조건을 만족하지 않음에 대응하여, 제 1 통신 회로(303)를 비활성화 상태로 유지할 수 있다.According to various embodiments of the present disclosure, the electronic device 200 performs a condition in which the quality (eg, RSRP and/or RSSI) of a signal including an advertising message is specified (eg, a condition in which the signal quality is greater than or equal to a specified value) In response to satisfying , the first communication circuit 303 may be activated. As another example, the electronic device 200 may maintain the first communication circuit 303 in an inactive state in response to a signal quality not satisfying a specified condition.

본 발명의 다양한 실시예예 따르면, 동작 405에서, 전자 장치(200)는 응답 메시지를 외부 전자 장치(104)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 405 , the electronic device 200 may transmit a response message to the external electronic device 104 .

본 발명의 다양한 실시예에 따르면, 응답 메시지(예: BLE Scan response message)는 제 2 통신을 통해 전송될 수 있다.According to various embodiments of the present disclosure, a response message (eg, a BLE Scan response message) may be transmitted through the second communication.

본 발명의 다양한 실시예에 따르면, 응답 메시지는 제 1 통신을 통한 데이터 교환을 수행하기 위해 요구되는 정보(예: 전자 장치(200)의 제 1 통신의 지원 여부를 지시하는 정보, 또는 전자 장치(200)가 제 1 통신을 활성화했는지 여부를 지시하는 정보)를 포함할 수 있다. 외부 전자 장치(104)는, 응답 메시지의 수신에 대응하여, 제 1 통신을 활성화할 수 있다.According to various embodiments of the present disclosure, the response message includes information required to perform data exchange through the first communication (eg, information indicating whether the electronic device 200 supports the first communication, or the electronic device ( 200) may include information indicating whether the first communication is activated. The external electronic device 104 may activate the first communication in response to the reception of the response message.

본 발명의 다양한 실시예예 따르면, 동작 407에서, 외부 전자 장치(104)는, 제 1 통신의 활성화를 위한 제 1 통신의 설정 메시지를 전송할 수 있다. 제 1 통신의 설정 메시지는 제 1 통신을 통한 외부 전자 장치(104) 및 전자 장치(200) 사이의 채널 설정과 관련된 파라미터들을 포함할 수 있다.According to various embodiments of the present disclosure, in operation 407 , the external electronic device 104 may transmit a first communication setting message for activating the first communication. The first communication setup message may include parameters related to channel setup between the external electronic device 104 and the electronic device 200 through the first communication.

도 5는 본 발명의 다양한 실시예에 따른 전자 장치의 위치를 결정하는 실시예를 도시한 도면이다.5 is a diagram illustrating an embodiment of determining a location of an electronic device according to various embodiments of the present disclosure;

본 발명의 다양한 실시예에 따르면, 동작 501에서, 제 1 외부 전자 장치(예: 도 2b의 제 1 외부 전자 장치(104-a))는, 전자 장치(예: 도 2b의 전자 장치(200))로 제 1 폴링 메시지를 전송할 수 있다.According to various embodiments of the present disclosure, in operation 501 , the first external electronic device (eg, the first external electronic device 104-a of FIG. 2B ) becomes the electronic device (eg, the electronic device 200 of FIG. 2B ). ) to transmit the first polling message.

제 1 폴링 메시지는 제 1 외부 전자 장치(104-a) 및 전자 장치(200) 사이의 레인징의 시작을 지시하는 메시지일 수 있다. 제 1 외부 전자 장치(104-a)는, 제 1 폴링 메시지를 전송하면서, 제 1 폴링 메시지를 전송한 시간 정보를 저장할 수 있다. 일 실시예에 따르면, 제 1 폴링 메시지는 제 1 폴링 메시지를 전송한 시간 정보를 포함할 수도 있다.The first polling message may be a message instructing the start of ranging between the first external electronic device 104-a and the electronic device 200 . The first external electronic device 104-a may store information about a time when the first polling message is transmitted while transmitting the first polling message. According to an embodiment, the first polling message may include information about a time when the first polling message was transmitted.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 1 외부 전자 장치(104-a)로부터 제 1 폴링 메시지를 수신한 후, 지정된 시간(523) 동안 제 1 통신 회로(예: 도 3의 제 1 통신 회로(301))의 수신 기능의 활성화를 유지할 수 있다. 제 1 통신 회로(301)의 수신 기능은 제 1 통신을 통한 수신 신호의 수신 기능을 의미할 수 있다. 지정된 시간(523)은, 전자 장치(200)의 제조사에 의해 다양한 값으로 설정될 수 있다. 예를 들면, 지정된 시간(523)은 레인징 주기(예: 100ms)의 절반인 50ms일 수 있다.According to various embodiments of the present disclosure, after receiving the first polling message from the first external electronic device 104-a, the electronic device 200 receives a first communication circuit (eg, FIG. The activation of the reception function of the first communication circuit 301 of 3 can be maintained. The reception function of the first communication circuit 301 may refer to a reception function of a reception signal through the first communication. The designated time 523 may be set to various values by the manufacturer of the electronic device 200 . For example, the designated time 523 may be 50 ms, which is half of the ranging period (eg, 100 ms).

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 지정된 시간(523) 동안 제 2 외부 전자 장치(104-b)로부터 제 2 폴링 메시지를 수신하는지 여부를 확인할 수 있다. According to various embodiments of the present disclosure, the electronic device 200 may check whether a second polling message is received from the second external electronic device 104-b for a specified time 523 .

본 발명의 다양한 실시예에 따르면, 동작 503에서, 제 2 외부 전자 장치(예: 도 2b의 제 2 외부 전자 장치(104-b))는, 전자 장치(200)로 제 2 폴링 메시지를 전송할 수 있다.According to various embodiments of the present disclosure, in operation 503 , the second external electronic device (eg, the second external electronic device 104-b of FIG. 2B ) may transmit a second polling message to the electronic device 200 . have.

제 2 폴링 메시지는 제 2 외부 전자 장치(104-b) 및 전자 장치(200) 사이의 레인징의 시작을 지시하는 메시지일 수 있다. 제 2 외부 전자 장치(104-b)는, 제 2 폴링 메시지를 전송하면서, 제 2 폴링 메시지를 전송한 시간 정보를 저장할 수 있다.The second polling message may be a message instructing the start of ranging between the second external electronic device 104-b and the electronic device 200 . While transmitting the second polling message, the second external electronic device 104-b may store information about a time when the second polling message is transmitted.

본 발명의 다양한 실시예에 따르면, 동작 505에서, 전자 장치(200)는 제 1 응답 메시지를 브로드캐스팅(또는, 멀티 캐스팅)할 수 있다.According to various embodiments of the present disclosure, in operation 505 , the electronic device 200 may broadcast (or multicast) the first response message.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 지정된 시간(523) 이내 제 2 폴링 메시지를 수신함(521)에 대응하여, 전자 장치(200) 및 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보(예: reply time) 및 전자 장치(200) 및 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 1 응답 메시지를 브로드캐스팅(또는, 멀티 캐스팅)할 수 있다.According to various embodiments of the present disclosure, in response to receiving 521 the second polling message within a specified time 523 , the electronic device 200 and the first external electronic device 104-a ) including information (eg, reply time) for measuring a distance between 1 A response message may be broadcast (or multicast).

본 발명의 다양한 실시예에 따르면, 제 1 응답 메시지는, 제 1 외부 전자 장치(104-a)가 전송한 제 1 폴링 메시지의 수신 시간 및 제 1 응답 메시지의 전송 시간의 차이(예: reply time) 및/또는 제 2 외부 전자 장치(104-b)가 전송한 제 2 폴링 메시지의 수신 시간 및 제 1 응답 메시지의 전송 시간의 차이(예: reply time)를 포함할 수 있다.According to various embodiments of the present disclosure, the first response message includes a difference (eg, reply time) between a reception time of the first polling message transmitted by the first external electronic device 104-a and a transmission time of the first response message. ) and/or a difference (eg, reply time) between a reception time of the second polling message transmitted by the second external electronic device 104-b and a transmission time of the first response message.

전자 장치(200)는 제 1 폴링 메시지에 대응하는 제 2 응답 메시지 및 제 2 폴링 메시지에 대응하는 제 3 응답 메시지를 각각 전송하지 않고, 하나의 제 1 응답 메시지를 전송함으로써, 응답 메시지의 전송 횟수를 감소시킬 수 있다. 상기와 같은 방식을 통해, 전자 장치(200)는 응답 메시지의 전송에 따른 전력 소모를 감소시킬 수 있다.The electronic device 200 transmits one first response message without transmitting the second response message corresponding to the first polling message and the third response message corresponding to the second polling message, respectively. can reduce Through the above method, the electronic device 200 may reduce power consumption according to the transmission of the response message.

본 발명의 다양한 실시예에 따르면, 제 1 외부 전자 장치(104-a)는 제 1 응답 메시지를 수신하고, 제 1 응답 메시지 내의 reply time list에 포함된 제 1 외부 전자 장치(104-a)에 대응하는 reply time 및 제 1 폴링 메시지의 전송 시간에 기반하여, 제 1 외부 전자 장치(104-a)에 대한 전자 장치(200)의 상대적인 위치를 결정할 수 있다.According to various embodiments of the present disclosure, the first external electronic device 104-a receives the first response message and sends it to the first external electronic device 104-a included in the reply time list in the first response message. The relative position of the electronic device 200 with respect to the first external electronic device 104-a may be determined based on the corresponding reply time and the transmission time of the first polling message.

본 발명의 다양한 실시예에 따르면, 제 2 외부 전자 장치(104-b)는 제 1 응답 메시지를 수신하고, 제 1 응답 메시지 내의 reply time list에 포함된 제 2 외부 전자 장치(104-b)에 대응하는 reply time 및 제 2 폴링 메시지의 전송 시간에 기반하여, 제 2 외부 전자 장치(104-b)에 대한 전자 장치(200)의 상대적인 위치를 결정할 수 있다.According to various embodiments of the present disclosure, the second external electronic device 104-b receives the first response message and sends it to the second external electronic device 104-b included in the reply time list in the first response message. The relative position of the electronic device 200 with respect to the second external electronic device 104-b may be determined based on the corresponding reply time and the transmission time of the second polling message.

본 발명의 다양한 실시예에 따르면, 동작 507에서, 제 1 외부 전자 장치(104-a)는 제 1 폴링 메시지를 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 507 , the first external electronic device 104-a may transmit a first polling message to the electronic device 200 .

본 발명의 다양한 실시예에 따르면, 제 1 외부 전자 장치(104-a)는, 지정된 레인징 주기마다 전자 장치(200)의 위치를 확인하기 위해, 제 1 폴링 메시지를 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, the first external electronic device 104-a transmits a first polling message to the electronic device 200 in order to check the location of the electronic device 200 every designated ranging period. can

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 1 외부 전자 장치(104-a)로부터 제 1 폴링 메시지를 수신한 후, 지정된 시간(523) 동안 제 1 통신 회로(예: 도 3의 제 1 통신 회로(301))의 수신 기능의 활성화를 유지할 수 있다. 제 1 통신 회로(301)의 수신 기능은 제 1 통신을 통한 수신 신호의 수신 기능을 의미할 수 있다. 지정된 시간(523)은, 전자 장치(200)의 제조사에 의해 다양한 값으로 설정될 수 있다. 예를 들면, 지정된 시간(523)은 레인징 주기(예: 100ms)의 절반인 50ms일 수 있다.According to various embodiments of the present disclosure, after receiving the first polling message from the first external electronic device 104-a, the electronic device 200 receives a first communication circuit (eg, FIG. The activation of the reception function of the first communication circuit 301 of 3 can be maintained. The reception function of the first communication circuit 301 may refer to a reception function of a reception signal through the first communication. The designated time 523 may be set to various values by the manufacturer of the electronic device 200 . For example, the designated time 523 may be 50 ms, which is half of the ranging period (eg, 100 ms).

전자 장치(200)는, 지정된 시간(523) 동안 제 2 외부 전자 장치(104-b)로부터 제 2 폴링 메시지를 수신하는지 여부를 확인할 수 있다. The electronic device 200 may check whether a second polling message is received from the second external electronic device 104-b for a specified time 523 .

본 발명의 다양한 실시예에 따르면, 동작 509에서, 전자 장치(200)는, 제 1 폴링 메시지를 수신한 후 지정된 시간(523) 동안 제 2 폴링 메시지를 수신하지 못함(525)에 대응하여, 전자 장치(200) 및 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 2 응답 메시지를 제 1 외부 전자 장치(104-a)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 509 , the electronic device 200 receives the second polling message for a specified time 523 after receiving the first polling message and fails to receive the second polling message 525 , A second response message including information (eg, reply time) for measuring a distance between the device 200 and the first external electronic device 104-a may be transmitted to the first external electronic device 104-a have.

제 2 응답 메시지는 제 1 외부 전자 장치(104-a)가 전송한 제 1 폴링 메시지의 수신 시간 및 제 2 응답 메시지의 전송 시간의 차이(예: reply time)를 포함할 수 있다.The second response message may include a difference (eg, reply time) between a reception time of the first polling message transmitted by the first external electronic device 104-a and a transmission time of the second response message.

본 발명의 다양한 실시예에 따르면, 동작 511에서, 제 2 외부 전자 장치(104-b)는 제 2 폴링 메시지를 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 511 , the second external electronic device 104-b may transmit a second polling message to the electronic device 200 .

본 발명의 다양한 실시예에 따르면, 동작 513에서, 전자 장치(200)는, 제 2 폴링 메시지를 수신함에 대응하여, 지정된 시간 이후, 제 2 폴링 메시지를 수신함에 대응하여, 전자 장치(200) 및 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 3 응답 메시지를 제 2 외부 전자 장치(104-b)로 전송할 수 있다. According to various embodiments of the present disclosure, in operation 513 , in response to receiving the second polling message, after a specified time, in response to receiving the second polling message, the electronic device 200 and A third response message including information (eg, reply time) for measuring a distance between the second external electronic devices 104-b may be transmitted to the second external electronic device 104-b.

제 3 응답 메시지는 제 2 외부 전자 장치(104-b)가 전송한 제 2 폴링 메시지의 수신 시간 및 제 3 응답 메시지의 전송 시간의 차이(예: reply time)를 포함할 수 있다.The third response message may include a difference (eg, reply time) between a reception time of the second polling message transmitted by the second external electronic device 104-b and a transmission time of the third response message.

도 6은 본 발명의 다양한 실시예에 따른 전자 장치의 위치를 결정하는 실시예를 도시한 도면이다.6 is a diagram illustrating an embodiment of determining a location of an electronic device according to various embodiments of the present disclosure;

본 발명의 다양한 실시예에 따르면, 동작 601에서, 제 1 외부 전자 장치(예: 도 2b의 제 1 외부 전자 장치(104-a))는, 전자 장치(예: 도 2b의 전자 장치(200))로 제 1 폴링 메시지를 전송할 수 있다.According to various embodiments of the present disclosure, in operation 601 , the first external electronic device (eg, the first external electronic device 104-a of FIG. 2B ) becomes the electronic device (eg, the electronic device 200 of FIG. 2B ). ) to transmit the first polling message.

제 1 폴링 메시지는 제 1 외부 전자 장치(104-a) 및 전자 장치(200) 사이의 레인징의 시작을 지시하는 메시지일 수 있다. 제 1 외부 전자 장치(104-a)는, 제 1 폴링 메시지를 전송하면서, 제 1 폴링 메시지를 전송한 시간 정보를 저장할 수 있다. 일 실시예에 따르면, 제 1 폴링 메시지는 제 1 폴링 메시지를 전송한 시간 정보를 포함할 수도 있다.The first polling message may be a message instructing the start of ranging between the first external electronic device 104-a and the electronic device 200 . While transmitting the first polling message, the first external electronic device 104-a may store information about a time when the first polling message is transmitted. According to an embodiment, the first polling message may include information about a time when the first polling message was transmitted.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 1 외부 전자 장치(104-a)로부터 제 1 폴링 메시지를 수신한 후, 지정된 시간(631) 동안 제 1 통신 회로(예: 도 3의 제 1 통신 회로(301))의 수신 기능의 활성화를 유지할 수 있다. 제 1 통신 회로(301)의 수신 기능은 제 1 통신을 통한 수신 신호의 수신 기능을 의미할 수 있다. 지정된 시간(631)은, 전자 장치(200)의 제조사에 의해 다양한 값으로 설정될 수 있다. 예를 들면, 지정된 시간(631)은 10ms일 수 있다.According to various embodiments of the present disclosure, after receiving the first polling message from the first external electronic device 104-a, the electronic device 200 receives a first communication circuit (eg, FIG. The activation of the reception function of the first communication circuit 301 of 3 can be maintained. The reception function of the first communication circuit 301 may refer to a reception function of a reception signal through the first communication. The designated time 631 may be set to various values by the manufacturer of the electronic device 200 . For example, the designated time 631 may be 10 ms.

전자 장치(200)는, 지정된 시간(631) 동안 제 2 외부 전자 장치(104-b)로부터 제 2 폴링 메시지를 수신하는지 여부를 확인할 수 있다. The electronic device 200 may check whether a second polling message is received from the second external electronic device 104-b for a specified time 631 .

본 발명의 다양한 실시예에 따르면, 동작 603에서, 제 2 외부 전자 장치(예: 도 2b의 제 2 외부 전자 장치(104-b))는, 전자 장치(200)로 제 2 폴링 메시지를 전송할 수 있다.According to various embodiments of the present disclosure, in operation 603 , the second external electronic device (eg, the second external electronic device 104-b of FIG. 2B ) may transmit a second polling message to the electronic device 200 . have.

제 2 폴링 메시지는 제 2 외부 전자 장치(104-b) 및 전자 장치(200) 사이의 레인징의 시작을 지시하는 메시지일 수 있다. 제 2 외부 전자 장치(104-b)는, 제 2 폴링 메시지를 전송하면서, 제 2 폴링 메시지를 전송한 시간 정보를 저장할 수 있다.The second polling message may be a message instructing the start of ranging between the second external electronic device 104-b and the electronic device 200 . While transmitting the second polling message, the second external electronic device 104-b may store information about a time when the second polling message is transmitted.

본 발명의 다양한 실시예에 따르면, 동작 605에서, 전자 장치(200)는 제 1 응답 메시지를 브로드캐스팅(또는, 멀티 캐스팅)할 수 있다.According to various embodiments of the present disclosure, in operation 605 , the electronic device 200 may broadcast (or multicast) the first response message.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 지정된 시간(631) 이내 제 2 폴링 메시지를 수신함에 대응하여, 전자 장치(200) 및 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보(예: reply time) 및 전자 장치(200) 및 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 1 응답 메시지를 브로드캐스팅(또는, 멀티 캐스팅)할 수 있다.According to various embodiments of the present disclosure, in response to receiving the second polling message within a specified time 631 , the electronic device 200 communicates between the electronic device 200 and the first external electronic device 104-a. A first response message including information for measuring a distance (eg, reply time) and information (eg, reply time) for measuring a distance between the electronic device 200 and the second external electronic device 104-b can be broadcast (or multicast).

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 1 응답 메시지를 브로드캐스팅한 후, 제 1 통신 회로(303)의 수신 기능을 일시적으로 비활성화할 수 있다. 전자 장치(200)는, 제 1 폴링 메시지의 수신 시간 및 제 2 폴링 메시지의 수신 시간 중 빠른 시간에 기반하여 제 1 통신 회로(303)의 수신 기능을 주기적으로 활성화할 수 있다.According to various embodiments of the present disclosure, after broadcasting the first response message, the electronic device 200 may temporarily deactivate the reception function of the first communication circuit 303 . The electronic device 200 may periodically activate the reception function of the first communication circuit 303 based on the earlier of the reception time of the first polling message and the reception time of the second polling message.

본 발명의 다양한 실시예에 따르면, 동작 607에서, 제 3 외부 전자 장치(104-c)는 어드버타이징 메시지를 제 2 통신을 통해 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 607 , the third external electronic device 104-c may transmit an advertising message to the electronic device 200 through the second communication.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 1 외부 전자 장치(104-a) 및/또는 제 2 외부 전자 장치(104-b)와 레인징 동작을 수행하는 동안, 제 3 외부 전자 장치(104-c)로부터, 전자 장치(200)의 위치 측정을 위한 어드버타이징 메시지를 수신할 수 있다. 전자 장치(200)는, 어드버타이징 메시지가 지정된 조건을 만족함에 대응하여, 제 3 외부 전자 장치(104-c)가 전자 장치(200)와 제 1 통신을 통해 연결되도록 제 1 통신 회로(303)를 제어할 수 있다.According to various embodiments of the present disclosure, while the electronic device 200 performs a ranging operation with the first external electronic device 104-a and/or the second external electronic device 104-b, the third An advertising message for measuring the location of the electronic device 200 may be received from the external electronic device 104-c. In response to the advertising message satisfying a specified condition, the electronic device 200 connects the third external electronic device 104-c to the electronic device 200 through the first communication through the first communication circuit ( 303) can be controlled.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 3 외부 전자 장치(104-c)로부터 처음으로 어드버타이징 메시지를 수신함에 대응하여, 제 3 폴링 메시지를 수신하고, 제 3 폴링 메시지에 대응하는 응답 메시지를 전송할 때(633)까지, 제 1 통신 회로(301)의 수신 기능을 유지할 수 있다.According to various embodiments of the present disclosure, the electronic device 200 receives the third polling message in response to first receiving the advertising message from the third external electronic device 104-c, and a third Until the response message corresponding to the polling message is transmitted ( 633 ), the reception function of the first communication circuit 301 may be maintained.

본 발명의 다양한 실시예에 따르면, 동작 609에서, 제 1 외부 전자 장치(104-a)는 제 1 폴링 메시지를 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 609 , the first external electronic device 104-a may transmit a first polling message to the electronic device 200 .

본 발명의 다양한 실시예에 따르면, 동작 611에서, 제 2 외부 전자 장치(104-b)는 제 2 폴링 메시지를 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 611 , the second external electronic device 104-b may transmit a second polling message to the electronic device 200 .

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 1 폴링 메시지 및/또는 제 2 폴링 메시지의 수신에 따라, 제 3 폴링 메시지를 제 3 외부 전자 장치(104-c)로 수신할 때까지 응답 메시지의 전송을 하지 않을 수 있다.According to various embodiments of the present disclosure, the electronic device 200 may receive the third polling message to the third external electronic device 104-c according to reception of the first polling message and/or the second polling message. Until then, the transmission of the response message may not be performed.

본 발명의 다양한 실시예에 따르면, 동작 613에서, 제 3 외부 전자 장치(104-c)는, 제 3 폴링 메시지를 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 613 , the third external electronic device 104-c may transmit a third polling message to the electronic device 200 .

제 3 폴링 메시지는 레인징의 시작을 지시하는 메시지일 수 있다. 제 3 외부 전자 장치(104-c)는, 제 3 폴링 메시지를 전송하면서, 제 3 폴링 메시지를 전송한 시간 정보를 저장할 수 있다.The third polling message may be a message indicating the start of ranging. While transmitting the third polling message, the third external electronic device 104-c may store information about the time when the third polling message is transmitted.

본 발명의 다양한 실시예에 따르면, 동작 615에서, 전자 장치(200)는, 전자 장치(200) 및 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보(예: reply time), 전자 장치(200) 및 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보(예: reply time) 및/또는 전자 장치(200) 및 제 3 외부 전자 장치(104-c) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 1 응답 메시지를 제 1 통신 회로(303)를 통해 전송(또는, 멀티 캐스팅)할 수 있다. According to various embodiments of the present disclosure, in operation 615 , the electronic device 200 receives information (eg, reply time) for measuring a distance between the electronic device 200 and the first external electronic device 104-a. , information (eg, reply time) for measuring a distance between the electronic device 200 and the second external electronic device 104-b and/or the electronic device 200 and the third external electronic device 104-c A first response message including information (eg, reply time) for measuring the distance may be transmitted (or multicast) through the first communication circuit 303 .

본 발명의 다양한 실시예에 따르면, 제 1 응답 메시지는, 제 1 외부 전자 장치(104-a)가 전송한 제 1 폴링 메시지의 수신 시간 및 제 1 응답 메시지의 전송 시간의 차이(예: reply time), 제 2 외부 전자 장치(104-b)가 전송한 제 2 폴링 메시지의 수신 시간 및 제 1 응답 메시지의 전송 시간의 차이(예: reply time) 및/또는 제 3 외부 전자 장치(104-c)가 전송한 제 3 폴링 메시지의 수신 시간 및 제 1 응답 메시지의 전송 시간의 차이(예: reply time)를 포함할 수 있다.According to various embodiments of the present disclosure, the first response message includes a difference (eg, reply time) between a reception time of the first polling message transmitted by the first external electronic device 104-a and a transmission time of the first response message. ), a difference (eg, reply time) between the reception time of the second polling message and the transmission time of the first response message transmitted by the second external electronic device 104-b and/or the third external electronic device 104-c ) may include a difference (eg, reply time) between the reception time of the third polling message and the transmission time of the first response message.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 1 응답 메시지를 브로드캐스팅한 후, 제 1 통신 회로(303)의 수신 기능을 일시적으로 비활성화할 수 있다. 전자 장치(200)는, 제 1 폴링 메시지의 수신 시간, 제 2 폴링 메시지의 수신 시간 및/또는 제 3 폴링 메시지의 수신 시간 중 빠른 시간에 기반하여 제 1 통신 회로(303)의 수신 기능을 주기적으로 활성화할 수 있다.According to various embodiments of the present disclosure, after broadcasting the first response message, the electronic device 200 may temporarily deactivate the reception function of the first communication circuit 303 . The electronic device 200 periodically performs the reception function of the first communication circuit 303 based on the earlier of the reception time of the first polling message, the reception time of the second polling message, and/or the reception time of the third polling message. can be activated with

본 발명의 다양한 실시예에 따르면, 동작 617에서, 제 1 외부 전자 장치(104-a)는 제 1 폴링 메시지를 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 617 , the first external electronic device 104-a may transmit a first polling message to the electronic device 200 .

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 1 외부 전자 장치(104-a)로부터 제 1 폴링 메시지를 수신한 후, 지정된 시간(635) 동안 제 1 통신 회로(예: 도 3의 제 1 통신 회로(301))의 수신 기능의 활성화를 유지할 수 있다. 제 1 통신 회로(301)의 수신 기능은 제 1 통신을 통한 수신 신호의 수신 기능을 의미할 수 있다. 지정된 시간(635)은, 전자 장치(200)의 제조사에 의해 다양한 값으로 설정될 수 있다. 예를 들면, 지정된 시간(631)은 10ms일 수 있다.According to various embodiments of the present disclosure, after receiving the first polling message from the first external electronic device 104-a, the electronic device 200 receives a first communication circuit (eg, FIG. The activation of the reception function of the first communication circuit 301 of 3 can be maintained. The reception function of the first communication circuit 301 may refer to a reception function of a reception signal through the first communication. The designated time 635 may be set to various values by the manufacturer of the electronic device 200 . For example, the designated time 631 may be 10 ms.

전자 장치(200)는, 지정된 시간(635) 동안 제 2 외부 전자 장치(104-b)로부터 제 2 폴링 메시지를 수신하는지 여부를 확인할 수 있다. The electronic device 200 may check whether a second polling message is received from the second external electronic device 104-b for a specified time 635 .

본 발명의 다양한 실시예에 따르면, 동작 619에서, 제 2 외부 전자 장치(104-b)는 제 2 폴링 메시지를 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 619 , the second external electronic device 104-b may transmit a second polling message to the electronic device 200 .

본 발명의 다양한 실시예에 따르면, 동작 621에서, 전자 장치(200)는 제 1 응답 메시지를 제 1 통신 회로(303)를 통해 브로드캐스팅(또는, 멀티 캐스팅)할 수 있다.According to various embodiments of the present disclosure, in operation 621 , the electronic device 200 may broadcast (or multicast) the first response message through the first communication circuit 303 .

전자 장치(200)는, 지정된 시간(635) 이내 제 2 폴링 메시지를 수신함에 대응하여, 전자 장치(200) 및 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보(예: reply time) 및 전자 장치(200) 및 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 1 응답 메시지를 브로드캐스팅(또는, 멀티 캐스팅)할 수 있다.In response to receiving the second polling message within a specified time 635 , the electronic device 200 receives information for measuring a distance between the electronic device 200 and the first external electronic device 104-a (eg: reply time) and broadcasting (or multicasting) a first response message including information (eg, reply time) for measuring a distance between the electronic device 200 and the second external electronic device 104-b can do.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 1 응답 메시지를 브로드캐스팅한 후, 제 1 통신 회로(303)의 수신 기능을 일시적으로 비활성화할 수 있다. 전자 장치(200)는, 제 3 폴링 메시지의 수신 시간(동작 613)에 기반하여 제 3 폴링 메시지를 수신하기 위해, 제 1 통신 회로(303)의 수신 기능을 주기적으로 활성화할 수 있다.According to various embodiments of the present disclosure, after broadcasting the first response message, the electronic device 200 may temporarily deactivate the reception function of the first communication circuit 303 . The electronic device 200 may periodically activate the reception function of the first communication circuit 303 to receive the third polling message based on the reception time of the third polling message (operation 613 ).

본 발명의 다양한 실시예에 따르면, 동작 623에서, 제 3 외부 전자 장치(104-c)는, 제 3 폴링 메시지를 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 623 , the third external electronic device 104-c may transmit a third polling message to the electronic device 200 .

본 발명의 다양한 실시예에 따르면, 동작 625에서, 전자 장치(200)는, 제 4 응답 메시지를 제 3 외부 전자 장치(104-c)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 625 , the electronic device 200 may transmit a fourth response message to the third external electronic device 104-c.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 3 폴링 메시지를 수신함에 대응하여, 지정된 시간(637) 동안 다른 폴링 메시지의 수신을 대기할 수 있다. 전자 장치(200)는, 지정된 시간(637) 동안 다른 폴링 메시지를 수신하지 않음에 대응하여, 제 3 폴링 메시지에 대응하는 제 4 응답 메시지를 제 3 외부 전자 장치(104-c)로 전송할 수 있다.According to various embodiments of the present disclosure, in response to receiving the third polling message, the electronic device 200 may wait for reception of another polling message for a specified time 637 . The electronic device 200 may transmit a fourth response message corresponding to the third polling message to the third external electronic device 104-c in response to not receiving another polling message for a specified time 637 . .

전자 장치(200)는, 지정된 시간(637) 동안 다른 폴링 메시지(예: 제1 폴링 메시지 또는 제 2 폴링 메시지)를 수신함에 대응하여, 폴링 메시지를 전송한 적어도 하나 이상의 외부 전자 장치들 및 전자 장치(200) 사이의 거리의 측정을 위한 정보를 포함하는 제 1 응답 메시지를 브로드캐스팅할 수도 있다.In response to receiving another polling message (eg, a first polling message or a second polling message) for a specified time 637 , the electronic device 200 transmits the polling message to at least one or more external electronic devices and the electronic device. A first response message including information for measuring the distance between 200 may be broadcast.

도 7은 본 발명의 다양한 실시예에 따른 전자 장치의 위치를 결정하는 실시예를 도시한 도면이다.7 is a diagram illustrating an embodiment of determining a location of an electronic device according to various embodiments of the present disclosure.

본 발명의 다양한 실시예에 따르면, 동작 701에서, 제 1 외부 전자 장치(예: 도 2b의 제 1 외부 전자 장치(104-a))는, 전자 장치(예: 도 2b의 전자 장치(200))로 제 1 폴링 메시지를 전송할 수 있다.According to various embodiments of the present disclosure, in operation 701 , the first external electronic device (eg, the first external electronic device 104-a of FIG. 2B ) becomes the electronic device (eg, the electronic device 200 of FIG. 2B ). ) to transmit the first polling message.

제 1 폴링 메시지는 제 1 외부 전자 장치(104-a) 및 전자 장치(200) 사이의 레인징의 시작을 지시하는 메시지일 수 있다. 제 1 외부 전자 장치(104-a)는, 제 1 폴링 메시지를 전송하면서, 제 1 폴링 메시지를 전송한 시간 정보를 저장할 수 있다. 일 실시예에 따르면, 제 1 폴링 메시지는 제 1 폴링 메시지를 전송한 시간 정보를 포함할 수도 있다.The first polling message may be a message instructing the start of ranging between the first external electronic device 104-a and the electronic device 200 . While transmitting the first polling message, the first external electronic device 104-a may store information about a time when the first polling message is transmitted. According to an embodiment, the first polling message may include information about a time when the first polling message was transmitted.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 1 외부 전자 장치(104-a)로부터 제 1 폴링 메시지를 수신한 후, 지정된 시간(731) 동안 제 1 통신 회로(예: 도 3의 제 1 통신 회로(301))의 수신 기능의 활성화를 유지할 수 있다. 제 1 통신 회로(301)의 수신 기능은 제 1 통신을 통한 수신 신호의 수신 기능을 의미할 수 있다. 지정된 시간(731)은, 전자 장치(200)의 제조사에 의해 다양한 값으로 설정될 수 있다. 예를 들면, 지정된 시간(631)은 10ms일 수 있다.According to various embodiments of the present disclosure, after receiving the first polling message from the first external electronic device 104-a, the electronic device 200 receives a first communication circuit (eg, FIG. The activation of the reception function of the first communication circuit 301 of 3 can be maintained. The reception function of the first communication circuit 301 may refer to a reception function of a reception signal through the first communication. The designated time 731 may be set to various values by the manufacturer of the electronic device 200 . For example, the designated time 631 may be 10 ms.

전자 장치(200)는, 지정된 시간(731) 동안 제 2 외부 전자 장치(104-b)로부터 제 2 폴링 메시지를 수신하는지 여부를 확인할 수 있다. The electronic device 200 may check whether a second polling message is received from the second external electronic device 104-b for a specified time 731 .

본 발명의 다양한 실시예에 따르면, 동작 703에서, 제 2 외부 전자 장치(예: 도 2b의 제 2 외부 전자 장치(104-b))는, 전자 장치(200)로 제 2 폴링 메시지를 전송할 수 있다.According to various embodiments of the present disclosure, in operation 703 , the second external electronic device (eg, the second external electronic device 104-b of FIG. 2B ) may transmit a second polling message to the electronic device 200 . have.

제 2 폴링 메시지는 제 2 외부 전자 장치(104-b) 및 전자 장치(200) 사이의 레인징의 시작을 지시하는 메시지일 수 있다. 제 2 외부 전자 장치(104-b)는, 제 2 폴링 메시지를 전송하면서, 제 2 폴링 메시지를 전송한 시간 정보를 저장할 수 있다.The second polling message may be a message instructing the start of ranging between the second external electronic device 104-b and the electronic device 200 . While transmitting the second polling message, the second external electronic device 104-b may store information about a time when the second polling message is transmitted.

본 발명의 다양한 실시예에 따르면, 동작 705에서, 전자 장치(200)는 제 1 응답 메시지를 브로드캐스팅(또는, 멀티 캐스팅)할 수 있다.According to various embodiments of the present disclosure, in operation 705 , the electronic device 200 may broadcast (or multicast) the first response message.

전자 장치(200)는, 지정된 시간(731) 이내 제 2 폴링 메시지를 수신함에 대응하여, 전자 장치(200) 및 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보(예: reply time) 및 전자 장치(200) 및 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 1 응답 메시지를 브로드캐스팅(또는, 멀티 캐스팅)할 수 있다.In response to receiving the second polling message within a specified time period 731 , the electronic device 200 receives information for measuring a distance between the electronic device 200 and the first external electronic device 104-a (eg: reply time) and broadcasting (or multicasting) a first response message including information (eg, reply time) for measuring a distance between the electronic device 200 and the second external electronic device 104-b can do.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 1 응답 메시지를 브로드캐스팅한 후, 제 1 통신 회로(303)의 수신 기능을 일시적으로 비활성화할 수 있다. 전자 장치(200)는, 제 1 폴링 메시지의 수신 시간 및 제 2 폴링 메시지의 수신 시간 중 빠른 시간에 기반하여 제 1 통신 회로(303)의 수신 기능을 주기적으로 활성화할 수 있다.According to various embodiments of the present disclosure, after broadcasting the first response message, the electronic device 200 may temporarily deactivate the reception function of the first communication circuit 303 . The electronic device 200 may periodically activate the reception function of the first communication circuit 303 based on the earlier of the reception time of the first polling message and the reception time of the second polling message.

본 발명의 다양한 실시예에 따르면, 동작 707에서, 제 3 외부 전자 장치(104-c)는 어드버타이징 메시지를 제 2 통신을 통해 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 707 , the third external electronic device 104-c may transmit an advertising message to the electronic device 200 through the second communication.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 1 외부 전자 장치(104-a) 및/또는 제 2 외부 전자 장치(104-b)와 레인징 동작을 수행하는 동안, 제 3 외부 전자 장치(104-c)로부터, 전자 장치(200)의 위치 측정을 위한 어드버타이징 메시지를 수신할 수 있다. 전자 장치(200)는, 어드버타이징 메시지가 지정된 조건을 만족함에 대응하여, 제 3 외부 전자 장치(104-c))가 전자 장치(200)와 제 1 통신을 통해 연결되도록 제 1 통신 회로(303)를 제어할 수 있다.According to various embodiments of the present disclosure, while the electronic device 200 performs a ranging operation with the first external electronic device 104-a and/or the second external electronic device 104-b, the third An advertising message for measuring the location of the electronic device 200 may be received from the external electronic device 104-c. In response to the advertising message satisfying a specified condition, the electronic device 200 connects the third external electronic device 104-c with the electronic device 200 through a first communication circuit through a first communication circuit. (303) can be controlled.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 3 외부 전자 장치(104-c)로부터 처음으로 어드버타이징 메시지를 수신함에 대응하여, 제 3 폴링 메시지를 수신하고, 제 3 폴링 메시지에 대응하는 응답 메시지를 전송할 때(733)까지, 제 1 통신 회로(301)의 수신 기능을 유지할 수 있다. 다른 실시예에 따르면, 전자 장치(200)는, 제 3 외부 전자 장치(104-c)로부터 처음으로 어드버타이징 메시지를 수신함에 대응하여, 지정된 시간(예: 2초)동안 제 3 폴링 메시지의 수신을 위해 제 1 통신 회로(301)의 수신 기능을 유지할 수 있다.According to various embodiments of the present disclosure, the electronic device 200 receives the third polling message in response to first receiving the advertising message from the third external electronic device 104-c, and a third Until the response message corresponding to the polling message is transmitted ( 733 ), the reception function of the first communication circuit 301 may be maintained. According to another embodiment, in response to receiving the advertising message for the first time from the third external electronic device 104-c, the electronic device 200 receives a third polling message for a specified time period (eg, 2 seconds). It is possible to maintain the reception function of the first communication circuit 301 for the reception of .

본 발명의 다양한 실시예에 따르면, 동작 709에서, 제 1 외부 전자 장치(104-a)는 제 1 폴링 메시지를 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 709 , the first external electronic device 104-a may transmit a first polling message to the electronic device 200 .

전자 장치(200)는, 지정된 시간(735) 동안 제 2 외부 전자 장치(104-b)로부터 제 2 폴링 메시지를 수신하는지 여부 및/또는 제 3 외부 전자 장치(104-c)로부터 제 3 폴링 메시지를 수신하는지 여부를 확인할 수 있다. The electronic device 200 determines whether the second polling message is received from the second external electronic device 104-b and/or the third polling message from the third external electronic device 104-c for a specified time 735 . You can check whether you have received

본 발명의 다양한 실시예에 따르면, 동작 711에서, 제 2 외부 전자 장치(104-b)는 제 2 폴링 메시지를 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 711 , the second external electronic device 104-b may transmit a second polling message to the electronic device 200 .

본 발명의 다양한 실시예에 따르면, 동작 713에서, 전자 장치(200)는 제 1 응답 메시지를 브로드캐스팅할 수 있다.According to various embodiments of the present disclosure, in operation 713 , the electronic device 200 may broadcast a first response message.

전자 장치(200)는, 지정된 시간(735) 동안 제 2 외부 전자 장치(104-b)로부터 제 2 폴링 메시지를 수신함을 확인함에 대응하여, 제 1 외부 전자 장치(104-a) 및 전자 장치(200) 사이의 위치 측정을 위한 정보 및 제 2 외부 전자 장치(104-b) 및 전자 장치(200) 사이의 위치 측정을 위한 정보를 포함하는 제 1 응답 메시지를 전송할 수 있다.In response to confirming that the second polling message is received from the second external electronic device 104-b for a specified time period 735 , the electronic device 200 includes the first external electronic device 104-a and the electronic device ( 200 ) and a first response message including information for location measurement between the second external electronic device 104-b and the electronic device 200 , and the first response message may be transmitted.

제 1 응답 메시지는 전자 장치(200) 및 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보(예: reply time) 및 전자 장치(200) 및 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함할 수 있다.The first response message includes information (eg, reply time) for measuring a distance between the electronic device 200 and the first external electronic device 104-a and the electronic device 200 and the second external electronic device 104-a. b) may include information (eg, reply time) for measuring the distance between them.

전자 장치(200)는, 제 1 응답 메시지를 전송한 후, 제 3 외부 전자 장치(104-c)로부터 제 3 폴링 메시지를 수신 및 응답 메시지를 전송할 ‹š(733)까지, 제 1 통신 회로(303)의 수신 기능을 활성화 상태로 유지할 수 있다.After transmitting the first response message, the electronic device 200 receives the third polling message from the third external electronic device 104-c and transmits the response message until 733, the first communication circuit ( 303) can be kept active.

본 발명의 다양한 실시예에 따르면, 동작 715에서, 제 3 외부 전자 장치(104-c)는, 제 3 폴링 메시지를 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 715 , the third external electronic device 104-c may transmit a third polling message to the electronic device 200 .

전자 장치(200)는, 제 3 폴링 메시지를 수신한 후, 지정된 시간(737) 동안, 지정된 시간(737) 동안 다른 폴링 메시지의 수신을 대기할 수 있다. After receiving the third polling message, the electronic device 200 may wait for reception of another polling message for a specified time 737 and for a specified time 737 .

본 발명의 다양한 실시예에 따르면, 동작 717에서, 제 1 외부 전자 장치(104-a)는 제 1 폴링 메시지를 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 717 , the first external electronic device 104-a may transmit a first polling message to the electronic device 200 .

본 발명의 다양한 실시예에 따르면, 동작 719에서, 제 2 외부 전자 장치(104-b)는 제 2 폴링 메시지를 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 719 , the second external electronic device 104-b may transmit a second polling message to the electronic device 200 .

전자 장치(200)는, 지정된 시간(737) 동안, 제 1 폴링 메시지, 제 2 폴링 메시지 및/또는 제 3 폴링 메시지를 수신함에 대응하여, 전자 장치(200) 및 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보(예: reply time), 전자 장치(200) 및 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보(예: reply time) 및/또는 전자 장치(200) 및 제 3 외부 전자 장치(104-c) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 1 응답 메시지를 생성할 수 있다.In response to receiving the first polling message, the second polling message, and/or the third polling message for a specified time 737, the electronic device 200 and the first external electronic device 104- a) information for measuring the distance between them (eg, reply time), information for measuring the distance between the electronic device 200 and the second external electronic device 104-b (eg, reply time) and/or A first response message including information (eg, reply time) for measuring a distance between the electronic device 200 and the third external electronic device 104-c may be generated.

본 발명의 다양한 실시예에 따르면, 동작 721에서, 전자 장치(200)는, 전자 장치(200) 및 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보(예: reply time), 전자 장치(200) 및 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보(예: reply time) 및/또는 전자 장치(200) 및 제 3 외부 전자 장치(104-c) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 1 응답 메시지를 전송(또는, 멀티 캐스팅)할 수 있다.According to various embodiments of the present disclosure, in operation 721 , the electronic device 200 receives information (eg, reply time) for measuring a distance between the electronic device 200 and the first external electronic device 104-a. , information (eg, reply time) for measuring a distance between the electronic device 200 and the second external electronic device 104-b and/or the electronic device 200 and the third external electronic device 104-c A first response message including information (eg, reply time) for measuring the distance may be transmitted (or multicast).

도 8a는 본 발명의 다양한 실시예에 따른 외부 전자 장치의 블록도이다.8A is a block diagram of an external electronic device according to various embodiments of the present disclosure;

본 발명의 다양한 실시예에 따른 외부 전자 장치(예: 도 2의 외부 전자 장치(104))는, 프로세서(801)(예: 도 1의 프로세서(120)), 제 1 통신 회로(803)(예: 도 1의 통신 모듈(190)), 제 2 통신 회로(805)(예: 도 1의 통신 모듈(190)) 및/또는 센서 모듈(807)을 포함할 수 있다.The external electronic device (eg, the external electronic device 104 of FIG. 2 ) according to various embodiments of the present disclosure includes a processor 801 (eg, the processor 120 of FIG. 1 ), a first communication circuit 803 ( For example, the communication module 190 of FIG. 1 ), the second communication circuit 805 (eg, the communication module 190 of FIG. 1 ) and/or the sensor module 807 may be included.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(104)는, 전자 장치(예: 도 2의 전자 장치(200))와 통신 가능한 다양한 전자 장치일 수 있다. 일 실시예에 따르면, 외부 전자 장치(104)는 전자 장치(200)와 통신이 가능한 운송 수단, 또는 교통 신호와 관련된 다양한 인프라스트럭쳐(예: 신호등)일 수 있다.According to various embodiments of the present disclosure, the external electronic device 104 may be various electronic devices capable of communicating with an electronic device (eg, the electronic device 200 of FIG. 2 ). According to an embodiment, the external electronic device 104 may be a transportation means capable of communicating with the electronic device 200 or various infrastructures (eg, traffic lights) related to traffic signals.

본 발명의 다양한 실시예에 따르면, 제 1 통신 회로(803)는 프로세서(801)와 전기적으로 연결되며, 안테나(미도시)를 통해 수신한, 제 1 통신을 통한 신호를 프로세서(801)로 전달할 수 있다. 제 1 통신 회로(803)는 안테나와 전기적으로 연결되며, 제 1 통신을 통해 전송할 데이터를 포함하는 신호를 안테나로 전송할 수 있다. 제 1 통신은 초 광대역(ultra wideband, 이하 UWB 통신)을 포함할 수 있다. UWB는 다른 통신 방식에 비해 넓은 대역의 주파수 대역(예: 3.1GHz에서 10GHz 대역의 주파수 대역)을 이용하여 정보를 전송하는 다양한 통신 방식을 의미할 수 있다.According to various embodiments of the present disclosure, the first communication circuit 803 is electrically connected to the processor 801 , and transmits a signal through the first communication received through an antenna (not shown) to the processor 801 . can The first communication circuit 803 is electrically connected to the antenna, and may transmit a signal including data to be transmitted through the first communication to the antenna. The first communication may include ultra wideband (hereinafter, UWB communication). UWB may refer to various communication methods for transmitting information using a wider frequency band than other communication methods (eg, a frequency band from 3.1 GHz to 10 GHz).

본 발명의 다양한 실시예에 따르면, 제 2 통신 회로(805)는, 프로세서(801)와 전기적으로 연결되며, 제 2 통신을 통한 신호를 수신하고, 프로세서(801)로 전달할 수 있다. 제 2 통신 회로(803)는, 안테나와 전기적으로 연결되며, 제 2 통신을 통해 전송할 데이터를 포함하는 신호를 안테나로 전송할 수 있다. 제 2 통신은 장치 간 통신(D2D, device to device)을 지원하는 다양한 통신 방식으로, 예를 들어, 제 2 통신은 근거리 무선 통신 방식(예: Bluetooth, BLE, 또는 Wi-Fi)일 수 있다.According to various embodiments of the present disclosure, the second communication circuit 805 may be electrically connected to the processor 801 , receive a signal through the second communication, and transmit the signal to the processor 801 . The second communication circuit 803 is electrically connected to the antenna, and may transmit a signal including data to be transmitted through the second communication to the antenna. The second communication may be various communication methods supporting device-to-device (D2D) communication. For example, the second communication may be a short-range wireless communication method (eg, Bluetooth, BLE, or Wi-Fi).

본 발명의 다양한 실시예에 따르면, 프로세서(801)는 통신 프로세서(예: 도 1의 보조 프로세서(123)) 또는 어플리케이션 프로세서(예: 도 1의 메인 프로세서(121)) 중 적어도 하나의 프로세서를 포함할 수 있다. 프로세서(801)는, 전자 장치(200)의 위치를 결정하기 위해, 제 1 통신을 통해 데이터를 전송하거나, 수신하도록 제 1 통신 회로(803)를 제어할 수 있다.According to various embodiments of the present disclosure, the processor 801 includes at least one of a communication processor (eg, the auxiliary processor 123 of FIG. 1 ) or an application processor (eg, the main processor 121 of FIG. 1 ). can do. The processor 801 may control the first communication circuit 803 to transmit or receive data through the first communication in order to determine the location of the electronic device 200 .

본 발명의 다양한 실시예에 따르면, 프로세서(801)는 외부 전자 장치(104)의 센서 모듈(807)(예: 도 1의 센서 모듈(176))이 수집한 정보를 수신하고, 수신한 정보에 기반하여 전자 장치(200)의 위치를 결정하는 동작을 수행할지 여부를 결정할 수 있다. 일 실시 예에서, 센서 모듈(807)은 외부 전자 장치(104)의 이동 방향을 확인할 수 있는 센서 및/또는 외부 전자 장치(104)의 주위를 포함하는 이미지를 획득할 수 있는 카메라 센서를 포함할 수 있다. According to various embodiments of the present disclosure, the processor 801 receives information collected by the sensor module 807 (eg, the sensor module 176 of FIG. 1 ) of the external electronic device 104 , and adds the information to the received information. Based on this, it may be determined whether to perform an operation of determining the location of the electronic device 200 . In an embodiment, the sensor module 807 may include a sensor capable of confirming the moving direction of the external electronic device 104 and/or a camera sensor capable of acquiring an image including the surroundings of the external electronic device 104 . can

일 실시예에 따르면, 외부 전자 장치(104)가 운송 수단인 경우, 외부 전자 장치(104)는 센서 모듈(807)를 통해 수집한 정보 및/또는 운행 정보에 기반하여, 수집한 정보가 지정된 조건을 만족하는 경우, 전자 장치(200)의 위치를 확인하는 동작을 수행할 것으로 결정할 수 있다. 지정된 조건은, 전자 장치(200)와 외부 전자 장치(104) 사이의 충돌 가능성이 있는 조건을 의미할 수 있다. According to an embodiment, when the external electronic device 104 is a transportation means, the external electronic device 104 sets the condition in which the collected information is designated based on information and/or driving information collected through the sensor module 807 . is satisfied, it may be determined to perform an operation of confirming the location of the electronic device 200 . The specified condition may mean a condition in which a collision between the electronic device 200 and the external electronic device 104 is likely.

일 실시예에 따르면, 외부 전자 장치(104)는, 센서 모듈(807)을 통해, 외부 전자 장치(104)의 위치를 확인할 수 있다. 외부 전자 장치(104)는, 외부 전자 장치(104)의 위치가 지정된 위치인 경우, 전자 장치(200)의 위치를 확인하는 동작을 수행할 것으로 결정할 수 있다. 일 실시예에 따르면, 지정된 위치는 교통 사고가 일어날 가능성이 높은 위치(예: 사고 다발 구역, 교차로, 또는 신호등)를 포함할 수 있다. 외부 전자 장치(104)가 지정된 조건의 만족 여부를 판단하는 구체적인 실시예는 도 8b에서 후술한다.According to an embodiment, the external electronic device 104 may check the location of the external electronic device 104 through the sensor module 807 . When the location of the external electronic device 104 is a designated location, the external electronic device 104 may determine to perform an operation of confirming the location of the electronic device 200 . According to an embodiment, the designated location may include a location where a traffic accident is highly likely to occur (eg, an accident-prone area, an intersection, or a traffic light). A specific embodiment in which the external electronic device 104 determines whether a specified condition is satisfied will be described later with reference to FIG. 8B .

본 발명의 다양한 실시예에 따르면, 프로세서(801)는, 전자 장치(200)의 위치를 확인하는 동작의 일부로, 어드버타이징 메시지를 전송하도록 제 2 통신 회로(805)를 제어할 수 있다.According to various embodiments of the present disclosure, the processor 801 may control the second communication circuit 805 to transmit an advertising message as part of an operation of confirming the location of the electronic device 200 .

어드버타이징 메시지는, 전자 장치(200)의 위치 측정을 요청하는 메시지일 수 있다. 어드버타이징 메시지는 제 1 통신을 통한 데이터 교환을 수행하기 위해 요구되는 정보(예: 외부 전자 장치(104)의 제 1 통신의 지원 여부를 지시하는 정보, 외부 전자 장치(104)가 제 1 통신을 활성화했는지 여부를 지시하는 정보, 또는 외부 전자 장치(104)의 식별 정보)를 포함할 수 있다.The advertising message may be a message requesting to measure the location of the electronic device 200 . The advertising message is information required to perform data exchange through the first communication (eg, information indicating whether the external electronic device 104 supports the first communication, the external electronic device 104 is the first information indicating whether communication is activated, or identification information of the external electronic device 104).

본 발명의 다양한 실시예에 따르면, 프로세서(801)는, 어드버타이징 메시지의 전송 주기를 조절할 수 있다. 프로세서(801)는, 외부 전자 장치(104)의 속도에 따라 어드버타이징 메시지의 전송 주기를 조절할 수 있다. 예를 들면, 프로세서(801)는, 외부 전자 장치(104)의 속도가 증가함에 따라, 어드버타이징 메시지의 전송 주기를 감소시킬 수 있다.According to various embodiments of the present disclosure, the processor 801 may adjust the transmission period of the advertising message. The processor 801 may adjust the transmission period of the advertising message according to the speed of the external electronic device 104 . For example, as the speed of the external electronic device 104 increases, the processor 801 may decrease the transmission period of the advertising message.

본 발명의 다양한 실시예에 따르면, 프로세서(801)는, 어드버타이징 메시지에 대응하는 응답 메시지를 제 2 통신 회로(805)를 통해 수신함에 대응하여, 제 1 통신을 활성화하기 위해서, 제 1 통신 회로(801)를 활성화할 수 있다.According to various embodiments of the present disclosure, in response to receiving a response message corresponding to the advertising message through the second communication circuit 805 , the processor 801 performs the first communication to activate the first communication. The communication circuit 801 may be activated.

본 발명의 다양한 실시예에 따르면, 프로세서(801)는, 전자 장치(200)와 교환되는 파라미터에 기반하여 제 1 통신을 활성화하고, 폴링 메시지를 전자 장치(200)로 전송하도록 제 1 통신 회로(803)를 제어할 수 있다.According to various embodiments of the present disclosure, the processor 801 activates the first communication based on a parameter exchanged with the electronic device 200 and transmits a polling message to the electronic device 200 to the first communication circuit ( 803) can be controlled.

폴링 메시지는 레인징의 시작을 지시하는 메시지일 수 있다. 프로세서(801)는, 폴링 메시지를 전송하면서, 폴링 메시지를 전송한 시간 정보를 저장할 수 있다. 폴링 메시지는 아래의 표 3과 같이 구현될 수 있다.The polling message may be a message indicating the start of ranging. The processor 801 may store information about a time when the polling message is transmitted while transmitting the polling message. The polling message may be implemented as shown in Table 3 below.

파라미터parameter 사이즈(bits)size (bits) 설명Explanation Vender OUIVender OUI 2424 외부 전자 장치(104)의 제조사의 식별 정보Identification information of the manufacturer of the external electronic device 104 UWB message IDUWB message ID 44 폴링 메시지의 종류를 지시하는 식별 정보Identification information indicating the type of polling message 경고(alert) 메시지 존재 여부Whether an alert message exists 1One 0: 존재하지 않음1: 존재함0: does not exist 1: exists 경고 메시지 리스트List of warning messages 16*N16*N 경고 메시지를 수신해야 하는 전자 장치의 주소N: 경고 메시지를 수신할 전자 장치의 개수Address of the electronic device that should receive the alert messageN: Number of electronic devices that will receive the alert message

본 발명의 다양한 실시예에 따르면, 프로세서(801)는, 폴링 메시지에 대응하는 응답 메시지를 전자 장치(200)로부터 수신할 수 있다. 응답 메시지는, 폴링 메시지를 수신한 시간 및 응답 메시지를 전송한 시간의 차이를 포함할 수 있다. 프로세서(801)는, 차이 값, 폴링 메시지를 전송한 시간 및/또는 응답 메시지를 수신한 시간에 기반하여 전자 장치(200)의 위치를 계산 및 확인할 수 있다.According to various embodiments of the present disclosure, the processor 801 may receive a response message corresponding to the polling message from the electronic device 200 . The response message may include a difference between a time at which the polling message is received and a time at which the response message is transmitted. The processor 801 may calculate and confirm the location of the electronic device 200 based on the difference value, the time at which the polling message is transmitted, and/or the time at which the response message is received.

본 발명의 다양한 실시예에 따르면, 프로세서(801)는 정해진 주기(예: 레인징 주기)마다, 폴링 메시지를 전송, 응답 메시지 수신 및 전자 장치(200)의 위치를 확인할 수 있다.According to various embodiments of the present disclosure, the processor 801 may transmit a polling message, receive a response message, and check the location of the electronic device 200 every predetermined period (eg, ranging period).

본 발명의 다양한 실시예에 따르면, 프로세서(801)는, 전자 장치(200)의 위치가 지정된 조건을 만족하는지 여부를 확인할 수 있다. 지정된 조건은 외부 전자 장치(104)와 전자 장치(200)가 충돌할 수 있는 조건을 의미할 수 있다. 예를 들면, 프로세서(801)는 외부 전자 장치(104)와 전자 장치(200) 사이의 거리가 지정된 값 이하인 경우, 지정된 조건을 만족하는 것으로 결정할 수 있다. According to various embodiments of the present disclosure, the processor 801 may check whether the location of the electronic device 200 satisfies a specified condition. The specified condition may mean a condition in which the external electronic device 104 and the electronic device 200 may collide. For example, when the distance between the external electronic device 104 and the electronic device 200 is less than or equal to a specified value, the processor 801 may determine that the specified condition is satisfied.

본 발명의 다양한 실시예에 따르면, 프로세서(801)는, 전자 장치(200)의 측정된 위치들에 기반하여, 전자 장치(200)의 이동 경로를 예측(prediction)하고, 예측된 이동 경로에 기반하여 전자 장치(200)와 외부 전자 장치(104)가 충돌 할 지 여부를 결정할 수 있다.According to various embodiments of the present disclosure, the processor 801 predicts a movement path of the electronic device 200 based on the measured positions of the electronic device 200 , and based on the predicted movement path Thus, it is possible to determine whether the electronic device 200 and the external electronic device 104 collide.

본 발명의 다양한 실시예에 따르면, 프로세서(801)는, 전자 장치(200)의 위치가 지정된 조건을 만족함에 대응하여, 외부 전자 장치(104)가 알림을 출력하도록 요청하는 경고(alert) 메시지를 포함하는 폴링 메시지를 전자 장치(200)로 전송하도록 제 1 통신 회로(803)를 제어할 수 있다.According to various embodiments of the present disclosure, the processor 801 generates an alert message requesting that the external electronic device 104 output a notification in response to the location of the electronic device 200 satisfying a specified condition. The first communication circuit 803 may be controlled to transmit the included polling message to the electronic device 200 .

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는 폴링 메시지의 수신에 따라, 폴링 메시지에 경고 메시지를 포함하는지 여부를 확인할 수 있다. 전자 장치(200)는, 경고 메시지를 포함하는 폴링 메시지를 수신함에 따라, 다양한 방식(예: 진동, 또는 사운드 출력)을 이용하여 알림을 출력할 수 있다.According to various embodiments of the present disclosure, according to reception of the polling message, the electronic device 200 may check whether a warning message is included in the polling message. Upon receiving the polling message including the warning message, the electronic device 200 may output a notification using various methods (eg, vibration or sound output).

도 8b, 도 8c 및 도 8d는, 본 발명의 다양한 실시예에 따른 외부 전자 장치가, 센서 모듈(예: 도 8a의 센서 모듈(807))을 통해 수집한 정보를 이용하여 전자 장치(200)의 위치를 확인하는 실시예를 도시한 도면이다.8B, 8C, and 8D show an electronic device 200 using information collected by an external electronic device through a sensor module (eg, the sensor module 807 of FIG. 8A ) according to various embodiments of the present disclosure. It is a diagram showing an embodiment of confirming the location of.

도 8b를 참조하면, 외부 전자 장치(104)는, 외부 전자 장치(104)의 전방에 배치된 센서 모듈(807)을 통해, 외부 전자 장치(104)의 주위에 존재하는 보행자(820)를 감지할 수 있다. 외부 전자 장치(104)는, 센서 모듈(807)을 통해, 보행자(820)의 움직임을 확인하고, 보행자(820)의 이동 방향이 외부 전자 장치(104)와 가까워지는 방향임을 확인함에 대응하여, 지정된 조건을 만족하는 것으로 판단할 수 있다. 외부 전자 장치(104)는, 지정된 조건의 만족에 따라, 보행자(820)에 대응하는 전자 장치(200)의 위치를 확인하는 동작을 수행할 수 있다. 외부 전자 장치(104)는, 전자 장치(200)의 위치가 지정된 조건을 만족함에 대응하여, 알림을 출력하도록 요청하는 경고(alert) 메시지를 포함하는 폴링 메시지를 전자 장치(200)로 전송하도록 제 1 통신 회로(예: 도 8a의 제 1 통신 회로(803))를 제어할 수 있다. 또 다른 예로, 외부 전자 장치(104)는, 전자 장치(200)의 위치가 지정된 조건을 만족함에 대응하여, 속도를 줄이거나, 멈추거나, 또는 알림을 출력하는 등의 동작을 할 수 있다.Referring to FIG. 8B , the external electronic device 104 detects a pedestrian 820 present around the external electronic device 104 through the sensor module 807 disposed in front of the external electronic device 104 . can do. The external electronic device 104, through the sensor module 807, confirms the movement of the pedestrian 820, and in response to confirming that the movement direction of the pedestrian 820 is a direction closer to the external electronic device 104, It can be determined that the specified conditions are satisfied. The external electronic device 104 may perform an operation of confirming the location of the electronic device 200 corresponding to the pedestrian 820 according to satisfaction of a specified condition. The external electronic device 104 sends a polling message including an alert message requesting output of a notification to the electronic device 200 in response to the location of the electronic device 200 satisfying a specified condition. One communication circuit (eg, the first communication circuit 803 of FIG. 8A ) may be controlled. As another example, in response to the location of the electronic device 200 satisfying a specified condition, the external electronic device 104 may perform an operation such as reducing speed, stopping, or outputting a notification.

도 8c를 참조하면, 외부 전자 장치(104)는, 외부 전자 장치(104)의 후방(또는, 후측방)에 배치된 센서 모듈(807)을 통해, 외부 전자 장치(104)의 주위에 존재하는 보행자(820)를 감지할 수 있다. 외부 전자 장치(104)는, 센서 모듈(807)을 통해, 보행자(820)의 움직임을 확인하고, 보행자(820)의 이동 방향이 외부 전자 장치(104)와 가까워지는 방향임을 확인함에 대응하여, 지정된 조건을 만족하는 것으로 판단할 수 있다. 외부 전자 장치(104)는, 지정된 조건의 만족에 따라, 보행자(820)에 대응하는 전자 장치(200)의 위치를 확인하는 동작을 수행할 수 있다. 외부 전자 장치(104)는, 전자 장치(200)의 위치가 지정된 조건을 만족함에 대응하여, 외부 전자 장치(104)가 알림을 출력하도록 요청하는 경고(alert) 메시지를 포함하는 폴링 메시지를 전자 장치(200)로 전송하도록 제 1 통신 회로(예: 도 8a의 제 1 통신 회로(803))를 제어할 수 있다.Referring to FIG. 8C , the external electronic device 104 is located around the external electronic device 104 through the sensor module 807 disposed at the rear (or rear side) of the external electronic device 104 . A pedestrian 820 may be detected. The external electronic device 104, through the sensor module 807, confirms the movement of the pedestrian 820, and in response to confirming that the movement direction of the pedestrian 820 is a direction closer to the external electronic device 104, It can be determined that the specified conditions are satisfied. The external electronic device 104 may perform an operation of confirming the location of the electronic device 200 corresponding to the pedestrian 820 according to satisfaction of a specified condition. The external electronic device 104 sends a polling message including an alert message for requesting that the external electronic device 104 output a notification in response to the location of the electronic device 200 satisfying a specified condition. A first communication circuit (eg, the first communication circuit 803 of FIG. 8A ) may be controlled to transmit to 200 .

도 8d를 참조하면, 외부 전자 장치(104)는, 외부 전자 장치(104)의 후방(또는, 후측방)에 배치된 센서 모듈(807)을 통해, 외부 전자 장치(104)의 주위에 존재하는 자전거를 운행하는 운전자(830)를 감지할 수 있다. 외부 전자 장치(104)는, 센서 모듈(807)을 통해, 운전자(830)의 움직임을 확인하고, 운전자(830)의 이동 방향이 외부 전자 장치(104)와 가까워지는 방향임을 확인함에 대응하여, 지정된 조건을 만족하는 것으로 판단할 수 있다. 외부 전자 장치(104)는, 지정된 조건의 만족에 따라, 운전자(830)에 대응하는 전자 장치(200)의 위치를 확인하는 동작을 수행할 수 있다. 외부 전자 장치(104)는, 전자 장치(200)의 위치가 지정된 조건을 만족함에 대응하여, 외부 전자 장치(104)가 알림을 출력하도록 요청하는 경고(alert) 메시지를 포함하는 폴링 메시지를 전자 장치(200)로 전송하도록 제 1 통신 회로(예: 도 8a의 제 1 통신 회로(803))를 제어할 수 있다.Referring to FIG. 8D , the external electronic device 104 is located around the external electronic device 104 through the sensor module 807 disposed at the rear (or rear side) of the external electronic device 104 . A driver 830 driving a bicycle may be detected. In response to the external electronic device 104 confirming the movement of the driver 830 through the sensor module 807 and confirming that the moving direction of the driver 830 is a direction approaching the external electronic device 104, It can be determined that the specified conditions are satisfied. The external electronic device 104 may perform an operation of confirming the location of the electronic device 200 corresponding to the driver 830 according to satisfaction of a specified condition. The external electronic device 104 sends a polling message including an alert message for requesting that the external electronic device 104 output a notification in response to the location of the electronic device 200 satisfying a specified condition. A first communication circuit (eg, the first communication circuit 803 of FIG. 8A ) may be controlled to transmit to 200 .

도 9는 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 도시한 동작 흐름도이다.9 is an operation flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure.

본 발명의 다양한 실시예에 따르면, 동작 901에서, 전자 장치(예: 도 2a의 전자 장치(200))는, 제 1 외부 전자 장치(예: 도 2b의 제 1 외부 전자 장치(104-a)) 및/또는 제 2 외부 전자 장치(예: 도 2b의 제 2 외부 전자 장치(104-b))로부터 어드버타이징 메시지를 수신할 수 있다.According to various embodiments of the present disclosure, in operation 901 , the electronic device (eg, the electronic device 200 of FIG. 2A ) performs a first external electronic device (eg, the first external electronic device 104-a of FIG. 2B ). ) and/or a second external electronic device (eg, the second external electronic device 104-b of FIG. 2B ).

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 1 외부 전자 장치(104-a)가 전송하는 어드버타이징 메시지를 수신할 수 있다. 어드버타이징 메시지는, 전자 장치(200)의 위치 측정을 요청하는 메시지일 수 있다. 어드버타이징 메시지는 제 1 통신을 통한 데이터 교환을 수행하기 위해 요구되는 정보(예: 제 1 외부 전자 장치(104-a)의 제 1 통신의 지원 여부를 지시하는 정보, 제 1 외부 전자 장치(104-a)가 제 1 통신을 활성화했는지 여부를 지시하는 정보, 또는 제 1 외부 전자 장치(104-a)의 식별 정보)를 포함할 수 있다.According to various embodiments of the present disclosure, the electronic device 200 may receive an advertising message transmitted from the first external electronic device 104-a. The advertising message may be a message requesting to measure the location of the electronic device 200 . The advertising message is information required to perform data exchange through the first communication (eg, information indicating whether the first external electronic device 104-a supports the first communication, the first external electronic device) information indicating whether the 104-a has activated the first communication, or identification information of the first external electronic device 104-a).

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 2 외부 전자 장치(104-b)로부터 어드버타이징 메시지를 수신할 수도 있다. 어드버타이징 메시지는, 전자 장치(200)의 위치 측정을 요청하는 메시지일 수 있다. 어드버타이징 메시지는 제 1 통신을 통한 데이터 교환을 수행하기 위해 요구되는 정보(예: 제 2 외부 전자 장치(104-b)의 제 1 통신의 지원 여부를 지시하는 정보, 제 2 외부 전자 장치(104-b)가 제 1 통신을 활성화했는지 여부를 지시하는 정보, 또는 제 2 외부 전자 장치(104-b)의 식별 정보)를 포함할 수 있다.According to various embodiments of the present disclosure, the electronic device 200 may receive an advertising message from the second external electronic device 104-b. The advertising message may be a message requesting to measure the location of the electronic device 200 . The advertising message is information required to perform data exchange through the first communication (eg, information indicating whether the second external electronic device 104-b supports the first communication, the second external electronic device) information indicating whether the 104-b has activated the first communication, or identification information of the second external electronic device 104-b).

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 1 외부 전자 장치(104-a) 및/또는 제 2 외부 전자 장치(104-b)가 전송한 어드버타이징 메시지를 수신하고, 어드버타이징 메시지에 대한 응답 메시지(예: BLE SCAN response message)를 제 1 외부 전자 장치(104-a) 및/또는 제 2 외부 전자 장치(104-b)로 전송할 수 있다. According to various embodiments of the present disclosure, the electronic device 200 receives the advertising message transmitted by the first external electronic device 104-a and/or the second external electronic device 104-b, and , a response message (eg, a BLE SCAN response message) to the advertising message may be transmitted to the first external electronic device 104-a and/or the second external electronic device 104-b.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는 어드버타이징 메시지가 지정된 조건을 만족함에 대응하여, 응답 메시지를 제 2 통신을 통해 제 1 외부 전자 장치(104-a) 및/또는 제 2 외부 전자 장치(104-b)로 전송할 수 있다. 전자 장치(200)는, 어드버타이징 메시지를 포함하는 신호의 품질(예: RSRP 및/또는 RSSI)이 지정된 조건(예: 신호의 품질이 지정된 값 이상인 조건)을 만족함에 대응하여, 응답 메시지를 제 1 외부 전자 장치(104-a) 및/또는 제 2 외부 전자 장치(104-b)로 전송할 수 있다. 응답 메시지는, 제 1 통신을 통한 데이터 교환을 수행하기 위해 요구되는 정보(예: 전자 장치(200)의 제 1 통신의 지원 여부를 지시하는 정보, 전자 장치(200)가 제 1 통신을 활성화했는지 여부를 지시하는 정보, 또는 전자 장치(200)의 식별 정보)를 포함할 수 있다.According to various embodiments of the present disclosure, in response to the advertising message satisfying a specified condition, the electronic device 200 transmits a response message to the first external electronic device 104-a and/or through the second communication. It may transmit to the second external electronic device 104-b. The electronic device 200 responds to that a signal quality (eg, RSRP and/or RSSI) including an advertising message satisfies a specified condition (eg, a condition in which signal quality is equal to or greater than a specified value), a response message may be transmitted to the first external electronic device 104-a and/or the second external electronic device 104-b. The response message includes information required to perform data exchange through the first communication (eg, information indicating whether the electronic device 200 supports the first communication, whether the electronic device 200 has activated the first communication) information indicating whether or not or identification information of the electronic device 200).

본 발명의 다양한 실시예에 따르면, 동작 903에서, 전자 장치(200)는, 어드버타이징 메시지가 지정된 조건을 만족함에 대응하여, 제 1 통신 회로(예: 도 3의 제 1 통신 회로(303))를 활성화할 수 있다.According to various embodiments of the present disclosure, in operation 903 , in response to the advertising message satisfying a specified condition, the electronic device 200 performs a first communication circuit (eg, the first communication circuit 303 of FIG. 3 ). )) can be activated.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 어드버타이징 메시지를 수신하고, 어드버타이징 메시지가 지정된 조건을 만족함에 대응하여, 제 1 통신 회로(303)를 활성화할 수 있다. 전자 장치(200)는, 어드버타이징 메시지를 포함하는 신호의 품질(예: RSRP 및/또는 RSSI)이 지정된 조건(예: 신호의 품질이 지정된 값 이상인 조건)을 만족함에 대응하여, 제 1 통신 회로(303)를 활성화할 수 있다.According to various embodiments of the present disclosure, the electronic device 200 may receive the advertising message and activate the first communication circuit 303 in response to the advertising message satisfying a specified condition. have. The electronic device 200 responds to a condition that a signal quality (eg, RSRP and/or RSSI) including an advertising message satisfies a specified condition (eg, a condition in which signal quality is equal to or greater than a specified value), The communication circuit 303 may be activated.

본 발명의 다양한 실시예에 따르면, 제 1 외부 전자 장치(104-a) 및/또는 제 2 외부 전자 장치(104-b)는 제 1 통신을 통해 다양한 메시지를 전송하고, 수신하면서, 전자 장치(200)의 위치를 결정하기 위한 레인징(예: two-way ranging)를 각자 수행할 수 있다.According to various embodiments of the present disclosure, the first external electronic device 104-a and/or the second external electronic device 104-b transmits and receives various messages through the first communication, while receiving the electronic device ( 200) may each perform ranging (eg, two-way ranging) for determining the location.

본 발명의 다양한 실시예에 따르면, 동작 905에서, 전자 장치(200)는, 제 1 외부 전자 장치(104-a)로부터 제 1 폴링 메시지를 수신할 수 있다.According to various embodiments of the present disclosure, in operation 905 , the electronic device 200 may receive a first polling message from the first external electronic device 104-a.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 1 외부 전자 장치(104-a)로부터, 제 1 폴링 메시지(polling message)를 수신할 수 있다. 제 1 폴링 메시지는 레인징의 시작을 지시하는 메시지일 수 있다. 제 1 외부 전자 장치(104-a)는, 제 1 폴링 메시지를 전송하면서, 제 1 폴링 메시지를 전송한 시간 정보를 저장할 수 있다. 일 실시예에 따르면, 제 1 폴링 메시지는 제 1 폴링 메시지를 전송한 시간 정보를 포함할 수도 있다.According to various embodiments of the present disclosure, the electronic device 200 may receive a first polling message from the first external electronic device 104-a. The first polling message may be a message indicating the start of ranging. While transmitting the first polling message, the first external electronic device 104-a may store information about a time when the first polling message is transmitted. According to an embodiment, the first polling message may include information about a time when the first polling message was transmitted.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 제 1 외부 전자 장치(104-a)로부터 제 1 폴링 메시지를 수신한 후, 지정된 시간 동안 제 1 통신 회로(301)의 수신 기능의 활성화를 유지할 수 있다. 제 1 통신 회로(301)의 수신 기능은 제 1 통신을 통한 수신 신호의 수신 기능을 의미할 수 있다. 지정된 시간은, 전자 장치(200)의 제조사에 의해 다양한 값으로 설정될 수 있다. 예를 들면, 지정된 시간은 레인징 주기(예: 100ms)의 절반인 50ms일 수 있다.According to various embodiments of the present disclosure, after receiving the first polling message from the first external electronic device 104-a, the electronic device 200 performs a reception function of the first communication circuit 301 for a specified time. can stay active. The reception function of the first communication circuit 301 may refer to a reception function of a reception signal through the first communication. The designated time may be set to various values by the manufacturer of the electronic device 200 . For example, the designated time may be 50 ms, which is half of the ranging period (eg, 100 ms).

본 발명의 다양한 실시예에 따르면, 동작 907에서, 전자 장치(200)는, 제 1 폴링 메시지를 수신한 후, 지정된 시간 동안 제 2 폴링 메시지를 수신하는지 여부를 확인할 수 있다.According to various embodiments of the present disclosure, in operation 907 , after receiving the first polling message, the electronic device 200 may check whether a second polling message is received for a specified time period.

제 2 폴링 메시지는 레인징의 시작을 지시하는 메시지일 수 있다. 제 2 외부 전자 장치(104-b)는, 제 2 폴링 메시지를 전송하면서, 제 2 폴링 메시지를 전송한 시간 정보를 저장할 수 있다.The second polling message may be a message indicating the start of ranging. While transmitting the second polling message, the second external electronic device 104-b may store information about a time when the second polling message is transmitted.

본 발명의 다양한 실시예에 따르면, 동작 909에서, 전자 장치(200)는, 제 1 폴링 메시지를 수신한 후 지정된 시간 동안 제 2 폴링 메시지를 수신함(동작 907-YES)에 대응하여, 제 1 응답 메시지를, 제 1 외부 전자 장치(104-a) 및/또는 제 2 외부 전자 장치(104-b)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 909 , the electronic device 200 receives the second polling message for a specified period of time after receiving the first polling message (operation 907 - YES), in response to the first response The message may be transmitted to the first external electronic device 104-a and/or the second external electronic device 104-b.

전자 장치(200)는, 제 1 폴링 메시지를 수신한 후, 지정된 시간 이내, 제 2 폴링 메시지를 수신함에 대응하여, 전자 장치(200) 및 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보(예: reply time) 및 전자 장치(200) 및 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 1 응답 메시지를 브로드캐스팅(또는, 멀티 캐스팅)할 수 있다. In response to receiving the second polling message within a specified time after receiving the first polling message, the electronic device 200 determines the distance between the electronic device 200 and the first external electronic device 104-a. Broadcasts a first response message including measurement information (eg, reply time) and information (eg, reply time) for measuring a distance between the electronic device 200 and the second external electronic device 104-b Casting (or multicasting) is possible.

제 1 응답 메시지는, 제 1 외부 전자 장치(104-a)가 전송한 제 1 폴링 메시지의 수신 시간 및 제 1 응답 메시지의 전송 시간의 차이(예: reply time) 및/또는 제 2 외부 전자 장치(104-b)가 전송한 제 2 폴링 메시지의 수신 시간 및 제 1 응답 메시지의 전송 시간의 차이(예: reply time)를 포함할 수 있다.The first response message may include a difference (eg, reply time) between a reception time of the first polling message transmitted by the first external electronic device 104-a and a transmission time of the first response message and/or the second external electronic device It may include a difference (eg, reply time) between the reception time of the second polling message transmitted by 104-b and the transmission time of the first response message.

본 발명의 다양한 실시예에 따르면, 제 1 외부 전자 장치(104-a)는 제 1 응답 메시지를 수신하고, 제 1 응답 메시지 내의 reply time list에 포함된 제 1 외부 전자 장치(104-a)에 대응하는 reply time 및 제 1 폴링 메시지의 전송 시간에 기반하여, 제 1 외부 전자 장치(104-a)에 대한 전자 장치(200)의 상대적인 위치를 결정할 수 있다.According to various embodiments of the present disclosure, the first external electronic device 104-a receives the first response message and sends it to the first external electronic device 104-a included in the reply time list in the first response message. The relative position of the electronic device 200 with respect to the first external electronic device 104-a may be determined based on the corresponding reply time and the transmission time of the first polling message.

본 발명의 다양한 실시예에 따르면, 제 2 외부 전자 장치(104-b)는 제 1 응답 메시지를 수신하고, 제 1 응답 메시지 내의 reply time list에 포함된 제 2 외부 전자 장치(104-b)에 대응하는 reply time 및 제 2 폴링 메시지의 전송 시간에 기반하여, 제 2 외부 전자 장치(104-b)에 대한 전자 장치(200)의 상대적인 위치를 결정할 수 있다.According to various embodiments of the present disclosure, the second external electronic device 104-b receives the first response message and sends it to the second external electronic device 104-b included in the reply time list in the first response message. The relative position of the electronic device 200 with respect to the second external electronic device 104-b may be determined based on the corresponding reply time and the transmission time of the second polling message.

본 발명의 다양한 실시예에 따르면, 동작 911에서, 전자 장치(200)는, 제 1 폴링 메시지를 수신한 후 지정된 시간 동안 제 2 폴링 메시지를 수신하지 않음(동작 907-NO)에 대응하여, 제 2 응답 메시지를, 제 1 외부 전자 장치(104-a) 로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 911 , the electronic device 200 receives the first polling message and does not receive the second polling message for a specified period of time (operation 907 -NO), The second response message may be transmitted to the first external electronic device 104-a.

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는, 전자 장치(200) 및 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보(예: reply time)를 포함하는 제 2 응답 메시지를 제 1 외부 전자 장치(104-a)로 전송할 수 있다. 제 2 응답 메시지는 제 1 외부 전자 장치(104-a)가 전송한 제 1 폴링 메시지의 수신 시간 및 제 2 응답 메시지의 전송 시간의 차이(예: reply time)를 포함할 수 있다.According to various embodiments of the present disclosure, the electronic device 200 includes information (eg, reply time) for measuring a distance between the electronic device 200 and the first external electronic device 104-a. The second response message may be transmitted to the first external electronic device 104-a. The second response message may include a difference (eg, reply time) between a reception time of the first polling message transmitted by the first external electronic device 104-a and a transmission time of the second response message.

본 발명의 다양한 실시예에 따르면, 동작 913에서, 전자 장치(200)는, 제 1 폴링 메시지를 수신한 후 지정된 시간 이후 제 2 폴링 메시지를 수신하는지 여부를 확인할 수 있다.According to various embodiments of the present disclosure, in operation 913 , the electronic device 200 may check whether a second polling message is received after a specified time after receiving the first polling message.

본 발명의 다양한 실시예에 따르면, 동작 915에서, 전자 장치(200)는, 제 1 폴링 메시지를 수신한 후 지정된 시간 이후 제 2 폴링 메시지를 수신함(동작 913-YES)에 대응하여, 제 3 응답 메시지를 전송할 수 있다.According to various embodiments of the present disclosure, in operation 915 , the electronic device 200 receives the second polling message after a specified time after receiving the first polling message (operation 913 - YES) in response to a third response message can be sent.

제 3 응답 메시지는 제 2 외부 전자 장치(104-b)가 전송한 제 2 폴링 메시지의 수신 시간 및 제 3 응답 메시지의 전송 시간의 차이(예: reply time)를 포함할 수 있다.The third response message may include a difference (eg, reply time) between a reception time of the second polling message transmitted by the second external electronic device 104-b and a transmission time of the third response message.

본 발명의 다양한 실시예에 따르면, 동작 915에서, 전자 장치(200)는, 제 1 폴링 메시지를 수신한 후 지정된 시간 이후 제 2 폴링 메시지를 수신하지 않음(동작 913-NO)에 대응하여, 동작을 종료할 수 있다.According to various embodiments of the present disclosure, in operation 915 , the electronic device 200 performs an operation in response to not receiving the second polling message after a specified time after receiving the first polling message (operation 9113-NO) can be terminated.

도 10은 본 발명의 다양한 실시예에 따른 외부 전자 장치의 동작 방법(1000)을 도시한 동작 흐름도이다.10 is an operation flowchart illustrating a method 1000 of operating an external electronic device according to various embodiments of the present disclosure.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(예: 도 2a의 외부 전자 장치(104))는, 동작 1001에서, 센서 모듈(예: 도 8의 센서 모듈(809))을 통해 정보를 수집할 수 있다.According to various embodiments of the present disclosure, the external electronic device (eg, the external electronic device 104 of FIG. 2A ) collects information through a sensor module (eg, the sensor module 809 of FIG. 8 ) in operation 1001 ). can do.

예를 들어, 센서 모듈(807)은 외부 전자 장치(104)의 이동 방향을 확인할 수 있는 센서, 외부 전자 장치(104)의 위치를 확인할 수 있는 센서, 외부 전자 장치(104)의 주위에 존재하는 외부 객체를 확인할 수 있는 센서 및/또는 외부 전자 장치(104)의 주위를 포함하는 이미지를 획득할 수 있는 카메라 센서를 포함할 수 있다.For example, the sensor module 807 may include a sensor capable of confirming the moving direction of the external electronic device 104 , a sensor capable of confirming the location of the external electronic device 104 , and a sensor that is present around the external electronic device 104 . A sensor capable of identifying an external object and/or a camera sensor capable of acquiring an image including the surroundings of the external electronic device 104 may be included.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(104)는, 동작 1003에서, 전자 장치(200)의 위치를 결정하는 동작을 수행할지 여부를 결정할 수 있다.According to various embodiments of the present disclosure, in operation 1003 , the external electronic device 104 may determine whether to perform an operation of determining the location of the electronic device 200 .

일 실시예에 따르면, 외부 전자 장치(104)가 운송 수단인 경우, 외부 전자 장치(104)는 센서 모듈(807)를 통해 수집한 정보 및/또는 운행 정보에 기반하여, 수집한 정보가 지정된 조건을 만족하는 경우, 전자 장치(200)의 위치를 확인하는 동작을 수행할 것으로 결정할 수 있다. 예를 들어, 지정된 조건은, 전자 장치(200)와 외부 전자 장치(104) 사이의 충돌 가능성이 있는 조건을 의미할 수 있다.According to an embodiment, when the external electronic device 104 is a transportation means, the external electronic device 104 sets the condition in which the collected information is designated based on information and/or driving information collected through the sensor module 807 . is satisfied, it may be determined to perform an operation of confirming the location of the electronic device 200 . For example, the specified condition may mean a condition in which a collision between the electronic device 200 and the external electronic device 104 is likely.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(104)는, 동작 1005에서, 전자 장치(200)의 위치를 결정하는 동작을 수행하기로 결정함(똥작 1003-YES)에 대응하여, 어드버타이징 메시지를 브로드캐스팅할 수 있다.According to various embodiments of the present disclosure, in operation 1005 , in operation 1005 , the external electronic device 104 determines to perform an operation of determining the location of the electronic device 200 ( Dungjak 1003-YES). It can broadcast a tizing message.

어드버타이징 메시지는, 전자 장치(200)의 위치 측정을 요청하는 메시지일 수 있다. 어드버타이징 메시지는 제 1 통신을 통한 데이터 교환을 수행하기 위해 요구되는 정보(예: 외부 전자 장치(104)의 제 1 통신의 지원 여부를 지시하는 정보, 외부 전자 장치(104)가 제 1 통신을 활성화했는지 여부를 지시하는 정보, 또는 외부 전자 장치(104)의 식별 정보)를 포함할 수 있다.The advertising message may be a message requesting to measure the location of the electronic device 200 . The advertising message is information required to perform data exchange through the first communication (eg, information indicating whether the external electronic device 104 supports the first communication, the external electronic device 104 is the first information indicating whether communication is activated, or identification information of the external electronic device 104).

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(104)는, 어드버타이징 메시지에 대응하는 응답 메시지를 제 2 통신 회로(805)를 통해 수신함에 대응하여, 제 1 통신을 활성화하고, 제 1 통신을 통해 전자 장치(200)의 위치를 결정하는 일련의 동작을 수행할 수 있다.According to various embodiments of the present disclosure, in response to receiving a response message corresponding to the advertising message through the second communication circuit 805 , the external electronic device 104 activates the first communication, and 1 A series of operations for determining the location of the electronic device 200 may be performed through communication.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(104)는, 폴링 메시지를 전자 장치(200)로 전송할 수 있다. 폴링 메시지는 레인징의 시작을 지시하는 메시지일 수 있다. 외부 전자 장치(104)는, 폴링 메시지를 전송하면서, 폴링 메시지를 전송한 시간 정보를 저장할 수 있다.According to various embodiments of the present disclosure, the external electronic device 104 may transmit a polling message to the electronic device 200 . The polling message may be a message indicating the start of ranging. While transmitting the polling message, the external electronic device 104 may store information about the time when the polling message is transmitted.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(104)는, 동작 1007에서, 전자 장치(200)의 위치를 확인할 수 있다.According to various embodiments of the present disclosure, the external electronic device 104 may identify the location of the electronic device 200 in operation 1007 .

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(104)는, 폴링 메시지에 대응하는 응답 메시지를 전자 장치(200)로부터 수신할 수 있다. 응답 메시지는, 폴링 메시지를 수신한 시간 및 응답 메시지를 전송한 시간의 차이를 포함할 수 있다. 외부 전자 장치(104)는, 차이 값, 폴링 메시지를 전송한 시간 및/또는 응답 메시지를 수신한 시간에 기반하여 전자 장치(200)의 위치를 계산 및 확인할 수 있다.According to various embodiments of the present disclosure, the external electronic device 104 may receive a response message corresponding to the polling message from the electronic device 200 . The response message may include a difference between a time at which the polling message is received and a time at which the response message is transmitted. The external electronic device 104 may calculate and confirm the location of the electronic device 200 based on the difference value, the time at which the polling message is transmitted, and/or the time at which the response message is received.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(104)는 정해진 주기(예: 레인징 주기)마다, 폴링 메시지를 전송, 응답 메시지 수신 및 전자 장치(200)의 위치를 확인할 수 있다.According to various embodiments of the present disclosure, the external electronic device 104 may transmit a polling message, receive a response message, and check the location of the electronic device 200 every predetermined period (eg, ranging period).

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(104)는, 동작 1009에서, 전자 장치(200)의 위치가 지정된 조건을 만족하는지 여부를 확인할 수 있다.According to various embodiments of the present disclosure, in operation 1009 , the external electronic device 104 may check whether the location of the electronic device 200 satisfies a specified condition.

지정된 조건은 외부 전자 장치(104)와 전자 장치(200)가 충돌할 수 있는 조건을 의미할 수 있다. 예를 들면, 외부 전자 장치(104)는 외부 전자 장치(104)와 전자 장치(200) 사이의 거리가 지정된 값 이하인 경우, 지정된 조건을 만족하는 것으로 결정할 수 있다.The specified condition may mean a condition in which the external electronic device 104 and the electronic device 200 may collide. For example, when the distance between the external electronic device 104 and the electronic device 200 is less than or equal to a specified value, the external electronic device 104 may determine that the specified condition is satisfied.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(104)는, 전자 장치(200)의 위치가 지정된 조건을 만족하지 않음(동작 1011-NO)에 대응하여, 전자 장치(200)의 위치를 지정된 주기마다 확인할 수 있다.According to various embodiments of the present disclosure, the external electronic device 104 designates the location of the electronic device 200 in response to the location of the electronic device 200 does not satisfy the specified condition (operation 1011-NO). It can be checked every cycle.

본 발명의 다양한 실시예에 따르면, 외부 전자 장치(104)는, 동작 1013에서, 전자 장치(200)의 위치가 지정된 조건을 만족함(동작 1011-YES)에 대응하여, 알림의 출력을 요청하는 경고 메시지가 포함된 폴링 메시지를 전자 장치(200)로 전송할 수 있다.According to various embodiments of the present disclosure, in operation 1013 , the external electronic device 104 provides a warning requesting output of a notification in response to the location of the electronic device 200 satisfying a specified condition (operation 1011-YES). A polling message including the message may be transmitted to the electronic device 200 .

본 발명의 다양한 실시예에 따르면, 전자 장치(200)는 폴링 메시지의 수신에 따라, 폴링 메시지에 경고 메시지를 포함하는지 여부를 확인할 수 있다. 전자 장치(200)는, 경고 메시지를 포함하는 폴링 메시지를 수신함에 따라, 다양한 방식(예: 진동, 또는 사운드 출력)을 이용하여 알림을 출력할 수 있다.According to various embodiments of the present disclosure, according to reception of the polling message, the electronic device 200 may check whether a warning message is included in the polling message. Upon receiving the polling message including the warning message, the electronic device 200 may output a notification using various methods (eg, vibration or sound output).

본 발명의 다양한 실시예에 따른 전자 장치는 UWB(ultra wide band) 대역을 이용한 제 1 통신을 통해 데이터 전송 또는 수신을 수행하는 제 1 통신 회로(예: 도 3의 제 1 통신 회로(303), 제 1 통신과 상이한 제 2 통신을 통해 데이터 전송 또는 수신을 수행하는 제 2 통신 회로(예: 도 3의 제 2 통신 회로(305)), 및 프로세서(예: 도 3의 프로세서(301))를 포함하고, 상기 프로세서(301)는 상기 제 2 통신 회로(305)를 통해 상기 전자 장치(200)의 위치 측정을 요청하는 어드버타이징 메시지를 제 1 외부 전자 장치(예: 도 2b의 제 1 외부 전자 장치(104-a)) 및 제 2 외부 전자 장치(예: 도 2b의 제 2 외부 전자 장치(104-b))로부터 수신하고, 상기 어드버타이징 메시지가 지정된 조건을 만족함에 대응하여, 상기 제 1 통신 회로(303)를 활성화하고, 상기 전자 장치의 위치 측정을 위한 제 1 폴링 메시지를 상기 제 1 외부 전자 장치(104-a)로부터 수신하고, 상기 제 1 폴링 메시지의 수신 시간으로부터 지정된 시간 동안, 상기 전자 장치(200)의 위치 측정을 위한 제 2 폴링 메시지를 상기 제 2 외부 전자 장치(104-b)로부터 수신하는지 여부를 확인하고, 상기 제 2 폴링 메시지의 수신에 대응하여, 상기 전자 장치(200) 및 상기 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보 및 상기 전자 장치(200) 및 상기 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보를 포함하는 제 1 응답 메시지를 브로드캐스팅하도록 설정될 수 있다.An electronic device according to various embodiments of the present disclosure includes a first communication circuit (eg, the first communication circuit 303 of FIG. 3 ) for transmitting or receiving data through first communication using an ultra wide band (UWB) band; A second communication circuit (eg, the second communication circuit 305 of FIG. 3 ) for performing data transmission or reception through a second communication different from the first communication, and a processor (eg, the processor 301 of FIG. 3 ) and, the processor 301 transmits an advertising message requesting to measure the location of the electronic device 200 through the second communication circuit 305 to a first external electronic device (eg, first in FIG. 2B ). In response to receiving from the external electronic device 104-a) and the second external electronic device (eg, the second external electronic device 104-b of FIG. 2B ), and the advertising message satisfies a specified condition , activating the first communication circuit 303 , receiving a first polling message for measuring the position of the electronic device from the first external electronic device 104-a, and from a reception time of the first polling message For a specified time, it is checked whether a second polling message for measuring the location of the electronic device 200 is received from the second external electronic device 104-b, and in response to the reception of the second polling message, Information for measuring the distance between the electronic device 200 and the first external electronic device 104-a and measuring the distance between the electronic device 200 and the second external electronic device 104-b It may be configured to broadcast a first response message including information for

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 제 1 응답 메시지는 상기 제 1 폴링 메시지에 대응하는 응답 시간(reply time) 및 상기 제 2 폴링 메시지에 대응하는 응답 시간이 포함될 수 있다.In the electronic device according to various embodiments of the present disclosure, the first response message may include a response time corresponding to the first polling message and a response time corresponding to the second polling message.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서(301)는 상기 제 1 폴링 메시지의 수신 시간으로부터 상기 지정된 시간 동안, 상기 제 2 폴링 메시지를 수신하지 않음을 확인함에 대응하여, 상기 전자 장치(200) 및 상기 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보를 포함하는 제 2 응답 메시지를 전송하고, 상기 제 1 폴링 메시지의 수신 시간으로부터 상기 지정된 시간 이후 상기 제 2 폴링 메시지를 수신함에 대응하여, 상기 전자 장치(200) 및 상기 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보를 포함하는 제 3 응답 메시지를 브로드캐스팅하도록 설정될 수 있다.In the electronic device according to various embodiments of the present disclosure, in response to confirming that the processor 301 does not receive the second polling message during the specified time from the reception time of the first polling message, the electronic device 200 and a second response message including information for measuring a distance between the first external electronic device 104-a, and the second response message after the specified time from the reception time of the first polling message In response to receiving the polling message, it may be configured to broadcast a third response message including information for measuring a distance between the electronic device 200 and the second external electronic device 104-b.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 제 2 응답 메시지는 상기 제 1 폴링 메시지에 대응하는 응답 시간을 포함하고, 상기 제 3 응답 메시지는 상기 제 2 폴링 메시지에 대응하는 응답 시간을 포함할 수 있다.In the electronic device according to various embodiments of the present disclosure, the second response message includes a response time corresponding to the first polling message, and the third response message includes a response time corresponding to the second polling message can do.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서(301)는 제 3 외부 전자 장치(예: 도 2b의 제 3 외부 전자 장치(104-c)가 전송하는 상기 제 1 통신을 통해 상기 전자 장치(200)의 위치 측정을 요청하는 어드버타이징 메시지를 수신하고, 상기 전자 장치(200)의 위치 측정을 위한 제 3 폴링 메시지를 상기 제 3 외부 전자 장치(104-c)로부터 수신할 때까지, 상기 제 1 통신 회로(303)의 수신 기능을 활성화 상태로 유지하도록 상기 제 1 통신 회로(303)를 제어하도록 설정될 수 있다.In the electronic device according to various embodiments of the present disclosure, the processor 301 is configured to perform the electronic device through the first communication transmitted by a third external electronic device (eg, the third external electronic device 104-c of FIG. 2B ). When receiving an advertising message requesting location measurement of the device 200 and receiving a third polling message for location measurement of the electronic device 200 from the third external electronic device 104-c up to, it may be set to control the first communication circuit 303 to keep the reception function of the first communication circuit 303 in an activated state.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서(301)는 상기 제 3 폴링 메시지에 포함된 상기 제 3 폴링 메시지의 전송 시간에 기반하여 상기 제 3 폴링 메시지의 수신을 위한 상기 제 1 통신 회로(303)의 수신 기능의 활성화 상태의 유지 여부를 결정할 수 있다.In the electronic device according to various embodiments of the present disclosure, the processor 301 is configured to perform the first communication for receiving the third polling message based on a transmission time of the third polling message included in the third polling message. It may be determined whether to maintain the activated state of the receiving function of the circuit 303 .

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서(301)는 상기 제 1 폴링 메시지에 포함된 상기 제 1 폴링 메시지를 전송한 시간 및 상기 제 2 폴링 메시지에 포함된 상기 제 2 폴링 메시지를 전송한 시간에 기반하여 상기 제1 통신 회로(303)의 수신 기능을 제어하도록 설정될 수 있다.In the electronic device according to various embodiments of the present disclosure, the processor 301 determines the transmission time of the first polling message included in the first polling message and the second polling message included in the second polling message. It may be set to control the reception function of the first communication circuit 303 based on the transmission time.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서(301)는 상기 제 1 응답 메시지를 전송한 후, 상기 제 1 통신 회로(303)의 수신 기능을 비활성화하고, 상기 제 1 폴링 메시지를 전송한 시간 및 상기 제 2 폴링 메시지를 전송한 시간 중 빠른 시간에 기반하여 상기 제 1 통신 회로의 수신 기능을 활성화하는 시점을 결정하도록 설정될 수 있다.In the electronic device according to various embodiments of the present disclosure, after transmitting the first response message, the processor 301 deactivates the reception function of the first communication circuit 303 and transmits the first polling message. It may be configured to determine a time point for activating the reception function of the first communication circuit based on the earlier of one time and a time at which the second polling message is transmitted.

본 발명의 다양한 실시예에 따른 전자 장치에서, 상기 프로세서(301)는 상기 제 1 외부 전자 장치(104-a) 및/또는 상기 제 2 외부 전자 장치(104-b)가 전송하는 폴링 메시지에 알림의 출력을 요청하는 메시지가 포함되었는지 여부를 확인하고, 상기 알림의 출력을 요청하는 메시지에 포함된 정보에 기반하여 상기 알림을 출력하고, 상기 알림의 출력을 요청하는 메시지는 상기 전자 장치(200) 및 상기 제 1 외부 전자 장치(104-a) 사이의 상대적인 위치 정보 및/또는 상기 전자 장치(200) 및 상기 제 2 외부 전자 장치(104-b) 사이의 상대적인 위치 정보에 기반하여 생성될 수 있다.In the electronic device according to various embodiments of the present disclosure, the processor 301 notifies the polling message transmitted by the first external electronic device 104-a and/or the second external electronic device 104-b It is checked whether a message requesting output of the notification is included, the notification is output based on information included in the message requesting output of the notification, and the message requesting output of the notification is transmitted to the electronic device 200 . and relative location information between the first external electronic device 104-a and/or relative location information between the electronic device 200 and the second external electronic device 104-b. .

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 상기 전자 장치(200)의 위치 측정을 요청하는 어드버타이징 메시지를 제 1 외부 전자 장치(104-a) 및 제 2 외부 전자 장치(104-b)로부터 수신하는 동작, 상기 어드버타이징 메시지가 지정된 조건을 만족함에 대응하여, 제 1 통신을 수행하는 제 1 통신 회로(303)를 활성화하는 동작, 상기 전자 장치(200)의 위치 측정을 위한 제 1 폴링 메시지를 상기 제 1 외부 전자 장치(104-a)로부터 수신하는 동작, 상기 제 1 폴링 메시지의 수신 시간으로부터 지정된 시간 동안, 상기 전자 장치(200)의 위치 측정을 위한 제 2 폴링 메시지를 상기 제 2 외부 전자 장치(104-b)로부터 수신하는지 여부를 확인하는 동작, 및 상기 제 2 폴링 메시지의 수신에 대응하여, 상기 전자 장치(200) 및 상기 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보 및 상기 전자 장치(200) 및 상기 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보를 포함하는 제 1 응답 메시지를 브로드캐스팅하는 동작을 포함할 수 있다.In the method of operating an electronic device according to various embodiments of the present disclosure, an advertising message requesting location measurement of the electronic device 200 is transmitted to the first external electronic device 104-a and the second external electronic device 104 . -b) receiving from, activating the first communication circuit 303 for performing first communication in response to the advertising message satisfying a specified condition, and measuring the location of the electronic device 200 an operation of receiving a first polling message for In response to the operation of determining whether a message is received from the second external electronic device 104-b and the reception of the second polling message, the electronic device 200 and the first external electronic device 104-b a) broadcasting a first response message including information for measuring a distance between the electronic device 200 and information for measuring a distance between the electronic device 200 and the second external electronic device 104-b; may include

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 제 1 응답 메시지는 상기 제 1 폴링 메시지에 대응하는 응답 시간(reply time) 및 상기 제 2 폴링 메시지에 대응하는 응답 시간이 포함될 수 있다.In the method of operating an electronic device according to various embodiments of the present disclosure, the first response message may include a response time corresponding to the first polling message and a response time corresponding to the second polling message. .

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 상기 제 1 폴링 메시지의 수신 시간으로부터 상기 지정된 시간 동안, 상기 제 2 폴링 메시지를 수신하지 않음을 확인함에 대응하여, 상기 전자 장치(200) 및 상기 제 1 외부 전자 장치(104-a) 사이의 거리의 측정을 위한 정보를 포함하는 제 2 응답 메시지를 전송하는 동작, 또는 상기 제 1 폴링 메시지의 수신 시간으로부터 상기 지정된 시간 이후 상기 제 2 폴링 메시지를 수신함에 대응하여, 상기 전자 장치(200) 및 상기 제 2 외부 전자 장치(104-b) 사이의 거리의 측정을 위한 정보를 포함하는 제 3 응답 메시지를 전송하는 동작을 더 포함할 수 있다.In a method of operating an electronic device according to various embodiments of the present disclosure, in response to confirming that the second polling message is not received during the specified time from the reception time of the first polling message, Transmitting a second response message including information for measuring the distance between the first external electronic device 104-a, or the second polling message after the specified time from the reception time of the first polling message The method may further include transmitting a third response message including information for measuring a distance between the electronic device 200 and the second external electronic device 104-b in response to receiving .

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법에서, 상기 제 2 응답 메시지는 상기 제 1 폴링 메시지에 대응하는 응답 시간을 포함하고, 상기 제 3 응답 메시지는 상기 제 2 폴링 메시지에 대응하는 응답 시간을 포함할 수 있다.In the method of operating an electronic device according to various embodiments of the present disclosure, the second response message includes a response time corresponding to the first polling message, and the third response message includes a response corresponding to the second polling message. may include time.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 제 3 외부 전자 장치(104-c)가 전송하는 상기 제 1 통신을 통해 상기 전자 장치(200)의 위치 측정을 요청하는 어드버타이징 메시지를 수신하는 동작; 및 상기 전자 장치(200)의 위치 측정을 위한 제 3 폴링 메시지를 상기 제 3 외부 전자 장치(104-c)로부터 수신할 때까지, 상기 제 1 통신 회로(303)의 수신 기능을 활성화 상태로 유지하는 동작을 더 포함할 수 있다.In the method of operating an electronic device according to various embodiments of the present disclosure, an advertising message for requesting to measure the location of the electronic device 200 through the first communication transmitted by the third external electronic device 104-c receiving; and maintaining the reception function of the first communication circuit 303 in an activated state until a third polling message for measuring the location of the electronic device 200 is received from the third external electronic device 104-c It may further include an operation to

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 상기 제 3 폴링 메시지에 포함된 상기 제 3 폴링 메시지의 전송 시간에 기반하여 상기 제 3 폴링 메시지의 수신을 위한 상기 제 1 통신 회로(303)의 수신 기능의 활성화 상태의 유지 여부를 결정하는 동작을 더 포함할 수 있다.The method of operating an electronic device according to various embodiments of the present disclosure includes the first communication circuit 303 for receiving the third polling message based on a transmission time of the third polling message included in the third polling message. The method may further include an operation of determining whether to maintain an activated state of a reception function of .

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 상기 제 1 폴링 메시지에 포함된 상기 제 1 폴링 메시지를 전송한 시간 및 상기 제 2 폴링 메시지에 포함된 상기 제 2 폴링 메시지를 전송한 시간에 기반하여 상기 제1 통신 회로(303)의 수신 기능을 제어하는 동작을 더 포함할 수 있다.In the method of operating an electronic device according to various embodiments of the present disclosure, a time at which the first polling message included in the first polling message is transmitted and a time at which the second polling message included in the second polling message is transmitted The method may further include controlling a reception function of the first communication circuit 303 based on the operation.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 상기 제 1 응답 메시지를 전송한 후, 상기 제 1 통신 회로(303)의 수신 기능을 비활성화하는 동작, 상기 제 1 폴링 메시지를 전송한 시간 및 상기 제 2 폴링 메시지를 전송한 시간 중 빠른 시간에 기반하여 상기 제 1 통신 회로(303)의 수신 기능을 활성화하는 시점을 결정하는 동작을 더 포함할 수 있다.The method of operating an electronic device according to various embodiments of the present disclosure includes an operation of deactivating a reception function of the first communication circuit 303 after transmitting the first response message, a transmission time of the first polling message, and The method may further include determining when to activate the reception function of the first communication circuit 303 based on an earlier time among transmission times of the second polling message.

본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법은 상기 제 1 외부 전자 장치(104-a) 및/또는 상기 제 2 외부 전자 장치(104-b)가 전송하는 폴링 메시지에 알림의 출력을 요청하는 메시지가 포함되었는지 여부를 확인하는 동작, 및 상기 알림의 출력을 요청하는 메시지에 포함된 정보에 기반하여 상기 알림을 출력하는 동작을 더 포함하고, 상기 알림의 출력을 요청하는 메시지는 상기 전자 장치(200) 및 상기 제 1 외부 전자 장치(104-a) 사이의 상대적인 위치 정보 및/또는 상기 전자 장치(200) 및 상기 제 2 외부 전자 장치(104-b) 사이의 상대적인 위치 정보에 기반하여 생성될 수 있다.A method of operating an electronic device according to various embodiments of the present disclosure requests output of a notification in a polling message transmitted by the first external electronic device 104-a and/or the second external electronic device 104-b The method further includes an operation of checking whether a message is included, and an operation of outputting the notification based on information included in the message requesting output of the notification, wherein the message requesting output of the notification is output by the electronic device Generated based on relative location information between 200 and the first external electronic device 104-a and/or relative location information between the electronic device 200 and the second external electronic device 104-b can be

본 발명의 다양한 실시예에 따른 전자 장치(예: 도 8a의 외부 전자 장치(104))는 UWB(ultra wide band) 대역을 이용한 제 1 통신을 통해 데이터 전송 또는 수신을 수행하는 제 1 통신 회로(예: 도 8a의 제 1 통신 회로(803)), 제 1 통신과 상이한 제 2 통신을 통해 데이터 전송 또는 수신을 수행하는 제 2 통신 회로(예: 도 8a의 제 2 통신 회로(805)), 및 프로세서(예: 도 8a의 프로세서(801))를 포함하고, 상기 프로세서(801)는 상기 제 2 통신을 통해 외부 전자 장치(예: 도 2a의 전자 장치(200))의 위치 측정을 요청하는 어드버타이징 메시지를 브로드캐스팅하고, 상기 외부 전자 장치(200)로부터, 상기 어드버타이징 메시지에 대응하는 응답 메시지를 수신함에 대응하여, 상기 제 1 통신 회로(803)를 활성화하고, 상기 외부 전자 장치(200)의 위치 측정을 위한 폴링 메시지를 전송하도록 상기 제 1 통신 회로(803)를 제어하고, 상기 제 2 통신 회로(805)를 통해 수신한 응답 메시지에 기반하여 상기 외부 전자 장치(200)와 상기 전자 장치(104) 사이의 상대적인 위치를 확인하고, 상기 외부 전자 장치(200)와 상기 전자 장치(104) 사이의 상대적인 위치가 지정된 조건을 만족함에 대응하여, 상기 외부 전자 장치(200)가 알림을 출력하도록 요청하는 요청 메시지가 포함된 폴링 메시지를 전송하도록 설정될 수 있다.The electronic device (eg, the external electronic device 104 of FIG. 8A ) according to various embodiments of the present disclosure includes a first communication circuit ( Example: the first communication circuit 803 of FIG. 8A ), a second communication circuit that performs data transmission or reception through a second communication different from the first communication (eg, the second communication circuit 805 of FIG. 8A ); and a processor (eg, the processor 801 of FIG. 8A ), wherein the processor 801 requests location measurement of an external electronic device (eg, the electronic device 200 of FIG. 2A ) through the second communication In response to broadcasting an advertising message and receiving a response message corresponding to the advertising message from the external electronic device 200 , the first communication circuit 803 is activated, and the external The first communication circuit 803 is controlled to transmit a polling message for measuring the location of the electronic device 200 , and the external electronic device 200 is based on a response message received through the second communication circuit 805 . ) and the electronic device 104 are checked, and in response to the relative position between the external electronic device 200 and the electronic device 104 satisfying a specified condition, the external electronic device 200 may be set to transmit a polling message including a request message requesting to output a notification.

본 발명의 다양한 실시예에 따른 전자 장치는 센서 모듈(예: 도 8a의 센서 모듈(807))을 더 포함하고, 상기 프로세서(801)는 상기 센서 모듈(807)이 수집한 정보가 상기 전자 장치(104) 및/또는 상기 외부 전자 장치(200)의 위치와 관련된 지정된 조건을 만족함에 기반하여, 상기 제 2 통신 회로(805)를 활성화하도록 설정될 수 있다.The electronic device according to various embodiments of the present disclosure further includes a sensor module (eg, the sensor module 807 of FIG. 8A ), and the processor 801 determines that the information collected by the sensor module 807 is displayed in the electronic device. It may be configured to activate the second communication circuit 805 based on satisfaction of a specified condition related to ( 104 ) and/or a location of the external electronic device 200 .

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

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

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

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

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

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

Claims (20)

전자 장치에 있어서,
UWB(ultra wide band) 대역을 이용한 제 1 통신을 통해 데이터 전송 또는 수신을 수행하는 제 1 통신 회로;
제 1 통신과 상이한 제 2 통신을 통해 데이터 전송 또는 수신을 수행하는 제 2 통신 회로; 및
프로세서를 포함하고,
상기 프로세서는
상기 제 2 통신 회로를 통해 상기 전자 장치의 위치 측정을 요청하는 어드버타이징 메시지를 제 1 외부 전자 장치 및 제 2 외부 전자 장치로부터 수신하고,
상기 어드버타이징 메시지가 지정된 조건을 만족함에 대응하여, 상기 제 1 통신 회로를 활성화하고,
상기 전자 장치의 위치 측정을 위한 제 1 폴링 메시지를 상기 제 1 외부 전자 장치로부터 수신하고,
상기 제 1 폴링 메시지의 수신 시간으로부터 지정된 시간 동안, 상기 전자 장치의 위치 측정을 위한 제 2 폴링 메시지를 상기 제 2 외부 전자 장치로부터 수신하는지 여부를 확인하고,
상기 제 2 폴링 메시지의 수신에 대응하여, 상기 전자 장치 및 상기 제 1 외부 전자 장치 사이의 거리의 측정을 위한 정보 및 상기 전자 장치 및 상기 제 2 외부 전자 장치 사이의 거리의 측정을 위한 정보를 포함하는 제 1 응답 메시지를 브로드캐스팅하도록 설정된 전자 장치.
In an electronic device,
a first communication circuit for performing data transmission or reception through first communication using an ultra wide band (UWB) band;
a second communication circuit for performing data transmission or reception via a second communication different from the first communication; and
including a processor;
the processor
receiving an advertising message requesting to measure the location of the electronic device from the first external electronic device and the second external electronic device through the second communication circuit;
activating the first communication circuit in response to the advertising message satisfying a specified condition;
receiving a first polling message for measuring the location of the electronic device from the first external electronic device;
checking whether a second polling message for measuring the location of the electronic device is received from the second external electronic device during a specified time from the reception time of the first polling message;
In response to the reception of the second polling message, information for measuring a distance between the electronic device and the first external electronic device and information for measuring a distance between the electronic device and the second external electronic device are included. An electronic device configured to broadcast a first response message to
제 1항에 있어서,
상기 제 1 응답 메시지는
상기 제 1 폴링 메시지에 대응하는 응답 시간(reply time) 및 상기 제 2 폴링 메시지에 대응하는 응답 시간이 포함되는 전자 장치.
The method of claim 1,
The first response message is
and a response time corresponding to the first polling message and a response time corresponding to the second polling message.
제 1항에 있어서,
상기 프로세서는
상기 제 1 폴링 메시지의 수신 시간으로부터 상기 지정된 시간 동안, 상기 제 2 폴링 메시지를 수신하지 않음을 확인함에 대응하여, 상기 전자 장치 및 상기 제 1 외부 전자 장치 사이의 거리의 측정을 위한 정보를 포함하는 제 2 응답 메시지를 전송하고,
상기 제 1 폴링 메시지의 수신 시간으로부터 상기 지정된 시간 이후 상기 제 2 폴링 메시지를 수신함에 대응하여, 상기 전자 장치 및 상기 제 2 외부 전자 장치 사이의 거리의 측정을 위한 정보를 포함하는 제 3 응답 메시지를 브로드캐스팅하도록 설정된 전자 장치.
The method of claim 1,
the processor
In response to confirming that the second polling message is not received during the specified time from the reception time of the first polling message, information for measuring a distance between the electronic device and the first external electronic device sending a second response message;
In response to receiving the second polling message after the specified time from the reception time of the first polling message, a third response message including information for measuring a distance between the electronic device and the second external electronic device An electronic device set up to broadcast.
제 3항에 있어서,
상기 제 2 응답 메시지는
상기 제 1 폴링 메시지에 대응하는 응답 시간을 포함하고,
상기 제 3 응답 메시지는
상기 제 2 폴링 메시지에 대응하는 응답 시간을 포함하는 전자 장치.
4. The method of claim 3,
The second response message is
including a response time corresponding to the first polling message;
The third response message is
and a response time corresponding to the second polling message.
제 1항에 있어서,
상기 프로세서는
제 3 외부 전자 장치가 전송하는 상기 제 1 통신을 통해 상기 전자 장치의 위치 측정을 요청하는 어드버타이징 메시지를 수신하고,
상기 전자 장치의 위치 측정을 위한 제 3 폴링 메시지를 상기 제 3 외부 전자 장치로부터 수신할 때까지, 상기 제 1 통신 회로의 수신 기능을 활성화 상태로 유지하도록 상기 제 1 통신 회로를 제어하도록 설정된 전자 장치.
The method of claim 1,
the processor
receiving an advertising message requesting to measure the location of the electronic device through the first communication transmitted by a third external electronic device;
an electronic device configured to control the first communication circuit to maintain a reception function of the first communication circuit in an activated state until a third polling message for measuring the location of the electronic device is received from the third external electronic device .
제 5항에 있어서,
상기 프로세서는
상기 제 3 폴링 메시지에 포함된 상기 제 3 폴링 메시지의 전송 시간에 기반하여 상기 제 3 폴링 메시지의 수신을 위한 상기 제 1 통신 회로의 수신 기능의 활성화 상태의 유지 여부를 결정하는 전자 장치.
6. The method of claim 5,
the processor
An electronic device for determining whether to maintain an activated state of a reception function of the first communication circuit for receiving the third polling message based on a transmission time of the third polling message included in the third polling message.
제 1항에 있어서,
상기 프로세서는
상기 제 1 폴링 메시지에 포함된 상기 제 1 폴링 메시지를 전송한 시간 및 상기 제 2 폴링 메시지에 포함된 상기 제 2 폴링 메시지를 전송한 시간에 기반하여 상기 제1 통신 회로의 수신 기능을 제어하도록 설정된 전자 장치.
The method of claim 1,
the processor
configured to control a reception function of the first communication circuit based on a transmission time of the first polling message included in the first polling message and a transmission time of the second polling message included in the second polling message electronic device.
제 7항에 있어서,
상기 프로세서는
상기 제 1 응답 메시지를 전송한 후, 상기 제 1 통신 회로의 수신 기능을 비활성화하고,
상기 제 1 폴링 메시지를 전송한 시간 및 상기 제 2 폴링 메시지를 전송한 시간 중 빠른 시간에 기반하여 상기 제 1 통신 회로의 수신 기능을 활성화하는 시점을 결정하도록 설정된 전자 장치.
8. The method of claim 7,
the processor
after transmitting the first response message, inactivating a reception function of the first communication circuit;
The electronic device is configured to determine a time point for activating the reception function of the first communication circuit based on the earlier of a time at which the first polling message is transmitted and a time at which the second polling message is transmitted.
제 1 항에 있어서,
상기 프로세서는
상기 제 1 외부 전자 장치 및/또는 상기 제 2 외부 전자 장치가 전송하는 폴링 메시지에 알림의 출력을 요청하는 메시지가 포함되었는지 여부를 확인하고,
상기 알림의 출력을 요청하는 메시지에 포함된 정보에 기반하여 상기 알림을 출력하고,
상기 알림의 출력을 요청하는 메시지는
상기 전자 장치 및 상기 제 1 외부 전자 장치 사이의 상대적인 위치 정보 및/또는 상기 전자 장치 및 상기 제 2 외부 전자 장치 사이의 상대적인 위치 정보에 기반하여 생성되는 전자 장치.
The method of claim 1,
the processor
checking whether a message requesting output of a notification is included in a polling message transmitted by the first external electronic device and/or the second external electronic device;
output the notification based on the information included in the message requesting output of the notification;
The message requesting the output of the notification is
An electronic device generated based on relative location information between the electronic device and the first external electronic device and/or relative location information between the electronic device and the second external electronic device.
전자 장치의 동작 방법에 있어서,
상기 전자 장치의 위치 측정을 요청하는 어드버타이징 메시지를 제 1 외부 전자 장치 및 제 2 외부 전자 장치로부터 수신하는 동작;
상기 어드버타이징 메시지가 지정된 조건을 만족함에 대응하여, 제 1 통신을 수행하는 제 1 통신 회로를 활성화하는 동작;
상기 전자 장치의 위치 측정을 위한 제 1 폴링 메시지를 상기 제 1 외부 전자 장치로부터 수신하는 동작;
상기 제 1 폴링 메시지의 수신 시간으로부터 지정된 시간 동안, 상기 전자 장치의 위치 측정을 위한 제 2 폴링 메시지를 상기 제 2 외부 전자 장치로부터 수신하는지 여부를 확인하는 동작; 및
상기 제 2 폴링 메시지의 수신에 대응하여, 상기 전자 장치 및 상기 제 1 외부 전자 장치 사이의 거리의 측정을 위한 정보 및 상기 전자 장치 및 상기 제 2 외부 전자 장치 사이의 거리의 측정을 위한 정보를 포함하는 제 1 응답 메시지를 브로드캐스팅하는 동작을 포함하는 전자 장치의 동작 방법.
A method of operating an electronic device, comprising:
receiving an advertising message requesting to measure the location of the electronic device from a first external electronic device and a second external electronic device;
activating a first communication circuit for performing first communication in response to the advertising message satisfying a specified condition;
receiving a first polling message for measuring the location of the electronic device from the first external electronic device;
checking whether a second polling message for measuring the location of the electronic device is received from the second external electronic device during a specified time from the reception time of the first polling message; and
In response to the reception of the second polling message, information for measuring a distance between the electronic device and the first external electronic device and information for measuring a distance between the electronic device and the second external electronic device are included. and broadcasting a first response message to
제 10항에 있어서,
상기 제 1 응답 메시지는
상기 제 1 폴링 메시지에 대응하는 응답 시간(reply time) 및 상기 제 2 폴링 메시지에 대응하는 응답 시간이 포함되는 전자 장치의 동작 방법.
11. The method of claim 10,
The first response message is
A method of operating an electronic device including a response time corresponding to the first polling message and a response time corresponding to the second polling message.
제 10항에 있어서,
상기 전자 장치의 동작 방법은
상기 제 1 폴링 메시지의 수신 시간으로부터 상기 지정된 시간 동안, 상기 제 2 폴링 메시지를 수신하지 않음을 확인함에 대응하여, 상기 전자 장치 및 상기 제 1 외부 전자 장치 사이의 거리의 측정을 위한 정보를 포함하는 제 2 응답 메시지를 전송하는 동작; 또는
상기 제 1 폴링 메시지의 수신 시간으로부터 상기 지정된 시간 이후 상기 제 2 폴링 메시지를 수신함에 대응하여, 상기 전자 장치 및 상기 제 2 외부 전자 장치 사이의 거리의 측정을 위한 정보를 포함하는 제 3 응답 메시지를 전송하는 동작을 더 포함하는 전자 장치의 동작 방법.
11. The method of claim 10,
The method of operating the electronic device includes
In response to confirming that the second polling message is not received during the specified time from the reception time of the first polling message, information for measuring a distance between the electronic device and the first external electronic device transmitting a second response message; or
In response to receiving the second polling message after the specified time from the reception time of the first polling message, a third response message including information for measuring a distance between the electronic device and the second external electronic device The method of operating an electronic device further comprising the operation of transmitting.
제 12항에 있어서,
상기 제 2 응답 메시지는
상기 제 1 폴링 메시지에 대응하는 응답 시간을 포함하고,
상기 제 3 응답 메시지는
상기 제 2 폴링 메시지에 대응하는 응답 시간을 포함하는 전자 장치의 동작 방법.
13. The method of claim 12,
The second response message is
including a response time corresponding to the first polling message;
The third response message is
and a response time corresponding to the second polling message.
제 10항에 있어서,
상기 전자 장치의 동작 방법은
제 3 외부 전자 장치가 전송하는 상기 제 1 통신을 통해 상기 전자 장치의 위치 측정을 요청하는 어드버타이징 메시지를 수신하는 동작; 및
상기 전자 장치의 위치 측정을 위한 제 3 폴링 메시지를 상기 제 3 외부 전자 장치로부터 수신할 때까지, 상기 제 1 통신 회로의 수신 기능을 활성화 상태로 유지하는 동작을 더 포함하는 전자 장치의 동작 방법.
11. The method of claim 10,
The method of operating the electronic device includes
receiving an advertising message requesting to measure a location of the electronic device through the first communication transmitted from a third external electronic device; and
and maintaining a reception function of the first communication circuit in an activated state until a third polling message for measuring the location of the electronic device is received from the third external electronic device.
제 14항에 있어서,
상기 전자 장치의 동작 방법은
상기 제 3 폴링 메시지에 포함된 상기 제 3 폴링 메시지의 전송 시간에 기반하여 상기 제 3 폴링 메시지의 수신을 위한 상기 제 1 통신 회로의 수신 기능의 활성화 상태의 유지 여부를 결정하는 동작을 더 포함하는 전자 장치의 동작 방법.
15. The method of claim 14,
The method of operating the electronic device includes
The method further comprising the operation of determining whether to maintain an activated state of a reception function of the first communication circuit for reception of the third polling message based on a transmission time of the third polling message included in the third polling message A method of operation of an electronic device.
제 10항에 있어서,
상기 전자 장치의 동작 방법은
상기 제 1 폴링 메시지에 포함된 상기 제 1 폴링 메시지를 전송한 시간 및 상기 제 2 폴링 메시지에 포함된 상기 제 2 폴링 메시지를 전송한 시간에 기반하여 상기 제1 통신 회로의 수신 기능을 제어하는 동작을 더 포함하는 전자 장치의 동작 방법.
11. The method of claim 10,
The method of operating the electronic device includes
Controlling a reception function of the first communication circuit based on a transmission time of the first polling message included in the first polling message and a transmission time of the second polling message included in the second polling message The method of operating an electronic device further comprising a.
제 16항에 있어서,
상기 전자 장치의 동작 방법은
상기 제 1 응답 메시지를 전송한 후, 상기 제 1 통신 회로의 수신 기능을 비활성화하는 동작;
상기 제 1 폴링 메시지를 전송한 시간 및 상기 제 2 폴링 메시지를 전송한 시간 중 빠른 시간에 기반하여 상기 제 1 통신 회로의 수신 기능을 활성화하는 시점을 결정하는 동작을 더 포함하는 전자 장치의 동작 방법.
17. The method of claim 16,
The method of operating the electronic device includes
deactivating a reception function of the first communication circuit after transmitting the first response message;
The method of operating an electronic device further comprising: determining when to activate a reception function of the first communication circuit based on the earlier of a transmission time of the first polling message and a transmission time of the second polling message .
제 10 항에 있어서,
상기 전자 장치의 동작 방법은
상기 제 1 외부 전자 장치 및/또는 상기 제 2 외부 전자 장치가 전송하는 폴링 메시지에 알림의 출력을 요청하는 메시지가 포함되었는지 여부를 확인하는 동작; 및
상기 알림의 출력을 요청하는 메시지에 포함된 정보에 기반하여 상기 알림을 출력하는 동작을 더 포함하고,
상기 알림의 출력을 요청하는 메시지는
상기 전자 장치 및 상기 제 1 외부 전자 장치 사이의 상대적인 위치 정보 및/또는 상기 전자 장치 및 상기 제 2 외부 전자 장치 사이의 상대적인 위치 정보에 기반하여 생성되는 전자 장치의 동작 방법.
11. The method of claim 10,
The method of operating the electronic device includes
checking whether a message requesting output of a notification is included in a polling message transmitted by the first external electronic device and/or the second external electronic device; and
Further comprising the operation of outputting the notification based on the information included in the message requesting output of the notification,
The message requesting the output of the notification is
An operating method of an electronic device generated based on relative location information between the electronic device and the first external electronic device and/or relative location information between the electronic device and the second external electronic device.
전자 장치에 있어서,
UWB(ultra wide band) 대역을 이용한 제 1 통신을 통해 데이터 전송 또는 수신을 수행하는 제 1 통신 회로;
제 1 통신과 상이한 제 2 통신을 통해 데이터 전송 또는 수신을 수행하는 제 2 통신 회로; 및
프로세서를 포함하고,
상기 프로세서는
상기 제 2 통신을 통해 외부 전자 장치의 위치 측정을 요청하는 어드버타이징 메시지를 브로드캐스팅하고,
상기 외부 전자 장치로부터, 상기 어드버타이징 메시지에 대응하는 응답 메시지를 수신함에 대응하여, 상기 제 1 통신 회로를 활성화하고,
상기 외부 전자 장치의 위치 측정을 위한 폴링 메시지를 전송하도록 상기 제 1 통신 회로를 제어하고,
상기 제 2 통신 회로를 통해 수신한 응답 메시지에 기반하여 상기 외부 전자 장치와 상기 전자 장치 사이의 상대적인 위치를 확인하고,
상기 외부 전자 장치와 상기 전자 장치 사이의 상대적인 위치가 지정된 조건을 만족함에 대응하여, 상기 외부 전자 장치가 알림을 출력하도록 요청하는 요청 메시지가 포함된 폴링 메시지를 전송하도록 설정된 전자 장치.
In an electronic device,
a first communication circuit for performing data transmission or reception through first communication using an ultra wide band (UWB) band;
a second communication circuit for performing data transmission or reception via a second communication different from the first communication; and
including a processor;
the processor
Broadcasting an advertising message requesting location measurement of an external electronic device through the second communication,
In response to receiving a response message corresponding to the advertising message from the external electronic device, activating the first communication circuit;
controlling the first communication circuit to transmit a polling message for measuring the location of the external electronic device;
confirming a relative position between the external electronic device and the electronic device based on the response message received through the second communication circuit;
An electronic device configured to transmit a polling message including a request message for requesting that the external electronic device output a notification in response to a relative position between the external electronic device and the electronic device satisfying a specified condition.
제 19항에 있어서,
상기 전자 장치는
센서 모듈을 더 포함하고,
상기 프로세서는
상기 센서 모듈이 수집한 정보가 상기 전자 장치 및/또는 상기 외부 전자 장치의 위치와 관련된 지정된 조건을 만족함에 기반하여, 상기 제 2 통신 회로를 활성화하도록 설정된 전자 장치.
20. The method of claim 19,
the electronic device
Further comprising a sensor module,
the processor
an electronic device configured to activate the second communication circuit based on whether the information collected by the sensor module satisfies a specified condition related to the location of the electronic device and/or the external electronic device.
KR1020210037577A 2021-03-23 2021-03-23 Electronic device for transmitting a data via a ultra wide band communication and method for the same KR20220132360A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020210037577A KR20220132360A (en) 2021-03-23 2021-03-23 Electronic device for transmitting a data via a ultra wide band communication and method for the same
PCT/KR2022/000083 WO2022203168A1 (en) 2021-03-23 2022-01-04 Electronic device for transmitting data through uwb communication, and electronic device operating method
US18/456,204 US20230400568A1 (en) 2021-03-23 2023-08-25 Electronic device for transmitting data through uwb communication, and electronic device operating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210037577A KR20220132360A (en) 2021-03-23 2021-03-23 Electronic device for transmitting a data via a ultra wide band communication and method for the same

Publications (1)

Publication Number Publication Date
KR20220132360A true KR20220132360A (en) 2022-09-30

Family

ID=83397550

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210037577A KR20220132360A (en) 2021-03-23 2021-03-23 Electronic device for transmitting a data via a ultra wide band communication and method for the same

Country Status (3)

Country Link
US (1) US20230400568A1 (en)
KR (1) KR20220132360A (en)
WO (1) WO2022203168A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116939094A (en) * 2022-04-02 2023-10-24 联发科技(新加坡)私人有限公司 Method, device and system for predicting user intention

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006084924A1 (en) * 2005-02-10 2006-08-17 Wilico Wireless Networking Solutions, Sa Method and system for customised local-area wireless communication and access device
US9554286B2 (en) * 2011-12-02 2017-01-24 Lear Corporation Apparatus and method for detecting a location of a wireless device
KR102253830B1 (en) * 2016-05-12 2021-05-20 로오스마운트인코오포레이티드 Positioning system
JP6973259B2 (en) * 2018-04-16 2021-11-24 株式会社デンソー Vehicle remote control system
KR20210089641A (en) * 2018-12-07 2021-07-16 삼성전자주식회사 Method and apparatus for transmitting and receiving data via UWB in a wireless communication system

Also Published As

Publication number Publication date
WO2022203168A1 (en) 2022-09-29
US20230400568A1 (en) 2023-12-14

Similar Documents

Publication Publication Date Title
US20230400568A1 (en) Electronic device for transmitting data through uwb communication, and electronic device operating method
KR20230047870A (en) Method for measuring location using wireless communication and electronic device supportion the same
KR20220073352A (en) Accessory device controlling power consumption of external device and operating method thereof
KR20220060230A (en) Electronic device, and method for sharing image in electronic device
KR20230050862A (en) Electronic device and method for determining a location of a device
US20230292138A1 (en) Method for setting communication scheme, and electronic device using same
EP4319463A1 (en) Electronic device for carrying out media synchronization of link and operation method of electronic device
US20230084624A1 (en) Electronic device for performing scan in wireless lan system and method for operating same
US20220222036A1 (en) Audio device for processing audio data and operation method thereof
KR20220140203A (en) Method of ultra-wideband communication based on sharing of bluetooth communication quality and electronic device therefor
KR20220139642A (en) Electornic device and method for providing a digital key service
KR20220102925A (en) Electronic apparatus comprising antenna module and thereof methods in communication system
KR20220128169A (en) Electronic device and method for reporing lost thereof
KR20220133583A (en) APPARATUS AND METHOD FOR IdEntifying missing status OF ELECTRONIC DEVICE
KR20220138176A (en) Method of ultra-wideband communication based on bluetooth scan negotiation and electronic device therefor
KR20220120164A (en) Method of detecting lost wearable device
KR20240031821A (en) Electronic device, method, and non-transitory computer readable storage medium processing advertising packet broadcasted from external electronic device in wireless environment
KR20230056963A (en) Electronic device for performing sa query in wlan system and operating method thereof
KR20220095740A (en) Electronic device and method for transmitting identification information of external electronic device using the same
KR20220144658A (en) Method of ultra-wideband communication based on account information and electronic device therefor
KR20230140808A (en) Electronic device and method for providing ultra wide band communication
KR20220123837A (en) Method for locating external electronic device and electronic device therefor
KR20220106531A (en) Electronic device for establishing communication connection with external electronic device and operating mehtod thereof
KR20220082607A (en) Electronic device for reducing power consumption for wireless communication and operating method thereof
KR20220104415A (en) Method and electronic device for communicating based on access point

Legal Events

Date Code Title Description
A201 Request for examination