KR20230060413A - Electronic device for providing location-based service and operating method thereof - Google Patents

Electronic device for providing location-based service and operating method thereof Download PDF

Info

Publication number
KR20230060413A
KR20230060413A KR1020210170768A KR20210170768A KR20230060413A KR 20230060413 A KR20230060413 A KR 20230060413A KR 1020210170768 A KR1020210170768 A KR 1020210170768A KR 20210170768 A KR20210170768 A KR 20210170768A KR 20230060413 A KR20230060413 A KR 20230060413A
Authority
KR
South Korea
Prior art keywords
electronic device
external electronic
packet
uwb
location
Prior art date
Application number
KR1020210170768A
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 PCT/KR2022/015287 priority Critical patent/WO2023075207A1/en
Priority to US17/970,062 priority patent/US20230132299A1/en
Publication of KR20230060413A publication Critical patent/KR20230060413A/en

Links

Images

Classifications

    • 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/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
    • 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
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0249Determining position using measurements made by a non-stationary device other than the device whose position is being determined
    • 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
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0273Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves using multipath or indirect path propagation signals in position determination
    • 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/025Services making use of location information using location based information parameters
    • H04W4/026Services making use of location information using location based information parameters using orientation information, e.g. compass
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

According to various embodiments of the present invention, an electronic device can comprise: a display; a communication circuit; and one or more processors operatively connected to the display and the communication circuit. The one or more processors can be configured to set a connection to a second external electronic device through the communication circuit when it is confirmed that no packet is received from a first external electronic device for a set period while providing a location-based service to the first external electronic device, to transmit a packet requesting the operation of a relay device for acquiring the location of the first external electronic device to the second external electronic device through the communication circuit, to receive a packet including the distance and direction between the second external electronic device and the first external electronic device from the second external electronic device through the communication circuit, to estimate the location of the first external electronic device based on the distance and direction between the electronic device and the second external electronic device and the distance and direction between the second external electronic device and the first external electronic device, and display the information which shows the estimated location of the first external electronic device through the display. Other embodiments can be possible. Therefore, a location-based service can be provided to provide the location information of a first external electronic device without any restrictions on the distance and direction between an electronic device and the first external electronic device.

Description

위치 기반 서비스를 제공하는 전자 장치 및 그 동작 방법{ELECTRONIC DEVICE FOR PROVIDING LOCATION-BASED SERVICE AND OPERATING METHOD THEREOF}Electronic device providing location-based service and operation method thereof

본 개시의 다양한 실시 예들은 위치 기반 서비스를 제공하는 전자 장치 및 그 동작 방법에 관한 것이다.Various embodiments of the present disclosure relate to an electronic device providing a location-based service and an operating method thereof.

인터넷은 인간이 정보를 생성하고 소비하는 인간 중심의 연결 네트워크에서, 사물과 같은 분산된 구성 요소들 간에 정보를 교환하여 처리하는 사물 인터넷(internet of things: IoT) 네트워크로 진화하고 있다. IoE(internet of everything) 기술은 클라우드 서버와의 연결을 통한 빅 데이터(big data) 처리 기술이 IoT 기술에 결합된 하나의 예가 될 수 있다.The Internet is evolving from a human-centered connection network in which humans create and consume information to an internet of things (IoT) network in which information is exchanged and processed between distributed components such as things. Internet of everything (IoE) technology can be an example in which big data processing technology through connection with a cloud server is combined with IoT technology.

IoT 기술을 구현하기 위해서, 센싱 기술, 유무선 통신 및 네트워크 인프라, 서비스 인터페이스 기술, 및 보안 기술과 같은 기술 요소들이 요구되어, 최근에는 사물들간의 연결을 위한 센서 네트워크(sensor network), 머신 대 머신 통신(machine to machine: M2M), 머신 타입 통신(machine type communication: MTC)과 같은 다양한 기술들이 연구되고 있다.In order to implement IoT technology, technology elements such as sensing technology, wired/wireless communication and network infrastructure, service interface technology, and security technology are required, and recently, sensor networks for connection between objects, machine-to-machine communication Various technologies such as (machine to machine: M2M) and machine type communication (MTC) are being studied.

IoT 환경에서는 연결된 사물들에서 생성된 데이터를 수집 및 분석하여 인간의 삶에 새로운 가치를 창출하는 지능형 인터넷 기술(internet technology: IT) 서비스가 제공될 수 있다. IoT 기술은 기존의 IT 기술과 다양한 산업들 간의 융합 및 복합을 통하여 스마트 홈 서비스, 스마트 빌딩 서비스, 스마트 시티 서비스, 스마트 카 서비스 혹은 커넥티드 카(connected car) 서비스, 스마트 그리드(smart grid) 서비스, 헬스 케어 서비스, 스마트 가전 서비스, 또는 첨단 의료 서비스와 같은 다양한 서비스들에 응용될 수 있다.In an IoT environment, an intelligent Internet technology (IT) service that creates new values in human life by collecting and analyzing data generated from connected objects may be provided. IoT technology is a smart home service, smart building service, smart city service, smart car service or connected car service, smart grid service, It can be applied to various services such as health care service, smart home appliance service, or advanced medical service.

IoT 기술이 응용되는 다양한 서비스들 중에서 스마트 홈 서비스의 경우 다양한 IoT 장치들을 사용하여 IoT 기반의 다양한 서비스들을 제공할 수 있다.Among various services to which IoT technology is applied, in the case of smart home service, various IoT-based services can be provided using various IoT devices.

전자 장치(예: 스마트 폰)는 무선 통신 네트워크 내의 다양한 공간들에 존재하는 제1 외부 전자 장치 및 제2 외부 전자 장치들(예: IoT 장치들)과 연동하여 위치 기반 서비스(예: 오토메이션(automation) 서비스 및/또는 찾기(find) 서비스)를 제공할 수 있다. 예를 들어, 제1 외부 전자 장치는 스마트 태그(smart tag)(예: 삼성 갤럭시 스마트 태그), 스마트 버튼(smart button), 및/또는 웨어러블 전자 장치(예: 스마트 와치 또는 이어 버즈(ear buds))를 포함할 수 있다.An electronic device (eg, smart phone) provides location-based services (eg, automation ) service and/or find service). For example, the first external electronic device may include a smart tag (eg, a Samsung Galaxy smart tag), a smart button, and/or a wearable electronic device (eg, a smart watch or ear buds). ) may be included.

찾기 서비스에서, 전자 장치가 찾고자 하는 대상인 타겟 전자 장치는 제1 외부 전자 장치가 될 수 있다. 찾기 서비스가 실행될 경우 전자 장치는 근거리 무선 통신 방식(예: 초광대역(ultra wide band: UWB) 방식)에 기반하여 제1 외부 전자 장치와 연결(예: UWB 연결)을 설정할 수 있다. 전자 장치는 전자 장치와 제1 외부 전자 장치 간에 설정된 UWB 연결을 통해 전자 장치와 제1 외부 전자 장치 간의 거리 및 각도를 획득할 수 있고, 획득된 전자 장치와 제1 외부 전자 장치 간의 거리 및 각도에 기반하여 제1 외부 전자 장치의 위치를 획득할 수 있다. 전자 장치는 획득된 제1 외부 전자 장치의 위치를 사용자 인터페이스(user interface: UI)를 통해 디스플레이할 수 있다.In the search service, a target electronic device to be searched for by an electronic device may be a first external electronic device. When the search service is executed, the electronic device may establish a connection (eg, UWB connection) with the first external electronic device based on a short-distance wireless communication method (eg, ultra wide band (UWB) method). The electronic device may obtain a distance and an angle between the electronic device and the first external electronic device through a UWB connection established between the electronic device and the first external electronic device, and may determine the obtained distance and angle between the electronic device and the first external electronic device. Based on this, the location of the first external electronic device may be obtained. The electronic device may display the acquired location of the first external electronic device through a user interface (UI).

UWB 방식이 사용될 경우, 전자 장치와 제1 외부 전자 장치가 각각 개시자(initiator)와 응답자(responder)로 동작하고, 전자 장치와 제1 외부 전자 장치 간의 1:1 통신을 통해 전자 장치는 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향을 획득할 수 있다. 하지만, UWB 안테나는 일반적으로 지향성 방사 패턴을 가지기 때문에, 전자 장치의 방향과 제1 외부 전자 장치의 방향이 일치하지 않거나, 전자 장치와 제1 외부 전자 장치 간에 장애물이 존재하거나, 및/또는 전자 장치와 제1 외부 전자 장치 간의 거리가 임계 거리 보다 길 경우, 전자 장치는 제1 외부 전자 장치로부터의 UWB 신호(예: UWB 패킷)를 수신하지 못할 수 있다. 전자 장치가 제1 외부 전자 장치로부터 UWB 신호를 수신하지 못함에 따라 전자 장치와 제1 외부 전자 장치 간에는 안정적인 UWB 통신이 보장되지 못할 수 있다. 예를 들어, 제1 외부 전자 장치가 강아지 또는 고양이와 같은 애완 동물에 부착될 경우, 움직임이 매우 많은 애완 동물의 특성 상 제1 외부 전자 장치의 위치 역시 매우 자주 변경될 수 있다. 이런 매우 잦은 위치 변경은 전자 장치와 제1 외부 전자 장치 간의 안정적인 UWB 통신을 보장하는 것을 어렵게 할 수 있다.When the UWB method is used, the electronic device and the first external electronic device operate as an initiator and a responder, respectively, and through 1:1 communication between the electronic device and the first external electronic device, the electronic device A distance and direction between the and the first external electronic device may be obtained. However, since a UWB antenna generally has a directional radiation pattern, the direction of the electronic device and the direction of the first external electronic device do not match, or an obstacle exists between the electronic device and the first external electronic device, and/or the electronic device. When the distance between the first external electronic device and the first external electronic device is longer than the threshold distance, the electronic device may not be able to receive a UWB signal (eg, a UWB packet) from the first external electronic device. Since the electronic device does not receive a UWB signal from the first external electronic device, stable UWB communication between the electronic device and the first external electronic device may not be guaranteed. For example, when the first external electronic device is attached to a pet such as a dog or cat, the location of the first external electronic device may change very often due to the nature of the pet, which moves a lot. Such very frequent location changes may make it difficult to ensure stable UWB communication between the electronic device and the first external electronic device.

본 개시의 다양한 실시 예들은 위치 기반 서비스를 제공하는 전자 장치 및 그 동작 방법을 제공할 수 있다.Various embodiments of the present disclosure may provide an electronic device providing a location based service and an operating method thereof.

본 개시의 다양한 실시 예들은 제2 외부 전자 장치의 협력을 통해 제1 외부 전자 장치의 위치 정보를 제공하는 전자 장치 및 그 동작 방법을 제공할 수 있다.Various embodiments of the present disclosure may provide an electronic device that provides location information of a first external electronic device through cooperation of a second external electronic device and an operating method thereof.

본 개시의 다양한 실시 예들은 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향에 기반하여 전자 장치의 동작을 제어하는 전자 장치 및 그 동작 방법을 제공할 수 있다.Various embodiments of the present disclosure may provide an electronic device and an operating method for controlling an operation of an electronic device based on a distance and a direction between the electronic device and a first external electronic device.

본 개시의 다양한 실시 예들에 따르면, 전자 장치는 디스플레이, 통신 회로, 및 상기 디스플레이 및 상기 통신 회로와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 제1 외부 전자 장치에 대한 위치 기반 서비스를 제공하고 있는 중에, 설정 시간 동안 상기 제1 외부 전자 장치로부터 패킷이 수신되지 않음을 확인할 경우, 상기 통신 회로를 통해, 제2 외부 전자 장치와 연결을 설정하고, 상기 통신 회로를 통해, 상기 제2 외부 전자 장치로 상기 제1 외부 전자 장치의 위치를 획득하기 위한 릴레이(relay) 장치로 동작할 것을 요청하는 패킷을 송신하고, 상기 통신 회로를 통해, 상기 제2 외부 전자 장치로부터 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향을 포함하는 패킷을 수신하고, 및 상기 전자 장치와 상기 제2 외부 전자 장치 간의 거리 및 방향, 및 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향에 기반하여 상기 제1 외부 전자 장치의 위치를 예측하고, 상기 디스플레이를 통해, 상기 예측된 상기 제1 외부 전자 장치의 위치를 나타내는 정보를 디스플레이하도록 구성된다. According to various embodiments of the present disclosure, an electronic device includes a display, a communication circuit, and at least one processor operatively connected to the display and the communication circuit, wherein the at least one processor comprises a first external electronic device If it is confirmed that no packet is received from the first external electronic device for a set time while the location-based service is being provided, a connection with a second external electronic device is established through the communication circuit, and the communication circuit transmits a packet requesting operation as a relay device for obtaining a location of the first external electronic device to the second external electronic device through the communication circuit; receives a packet including a distance and a direction between the second external electronic device and the first external electronic device from the electronic device, and a distance and direction between the electronic device and the second external electronic device, and A location of the first external electronic device is predicted based on the distance and direction between the first external electronic devices, and information indicating the predicted location of the first external electronic device is displayed through the display.

본 개시의 다양한 실시 예에 따르면, 제2 외부 전자 장치는 통신 회로, 및 상기 통신 회로와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 통신 회로를 통해, 전자 장치와 연결을 설정하고, 상기 통신 회로를 통해, 상기 전자 장치로부터 제1 외부 전자 장치에 대한 위치 기반 서비스를 위해 상기 제1 외부 전자 장치의 위치를 획득하기 위한 릴레이(relay) 장치로 동작할 것을 요청하는 패킷을 수신하고, 상기 통신 회로를 통해, 상기 제1외부 전자 장치와 연결을 설정하고, 상기 통신 회로를 통해, 상기 전자 장치로 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향을 포함하는 패킷을 송신하도록 구성된다. According to various embodiments of the present disclosure, the second external electronic device includes a communication circuit and at least one processor operably connected to the communication circuit, wherein the at least one processor, through the communication circuit, Establish a connection with the device and operate as a relay device for obtaining the location of the first external electronic device for a location-based service for the first external electronic device from the electronic device through the communication circuit. Receive a requesting packet, establish a connection with the first external electronic device through the communication circuit, and establish a distance between the second external electronic device and the first external electronic device through the communication circuit to the electronic device. and a direction.

본 개시의 다양한 실시 예에 따르면, 전자 장치는 디스플레이, 통신 회로, 및 상기 디스플레이 및 상기 통신 회로와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 제1 외부 전자 장치에 대한 위치 기반 서비스가 실행됨을 확인하면, 상기 통신 회로를 통해, 제3 외부 전자 장치로 상기 제1 외부 전자 장치에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷을 송신하고, 상기 통신 회로를 통해, 상기 제3 외부 전자 장치로부터 상기 제1 외부 전자 장치의 위치를 획득하기 위한 릴레이(relay) 장치로 동작하는 제2 외부 전자 장치에 의해 상기 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷을 수신하고, 및 상기 디스플레이를 통해, 상기 제2 외부 전자 장치에 의해 상기 제1 외부 전자 장치의 위치가 획득됨을 나타내는 정보를 디스플레이하도록 구성된다.According to various embodiments of the present disclosure, an electronic device includes a display, a communication circuit, and at least one processor operatively connected to the display and the communication circuit, wherein the at least one processor includes a first external electronic device. If it is confirmed that the location-based service for the first external electronic device is executed, a packet requesting to perform the location-based service for the first external electronic device is transmitted to a third external electronic device through the communication circuit. Receiving a packet indicating that the location of the first external electronic device is obtained by a second external electronic device operating as a relay device for acquiring the location of the first external electronic device from the third external electronic device and displaying information indicating that the location of the first external electronic device is obtained by the second external electronic device through the display.

본 개시의 다양한 실시 예에 따르면, 제3 외부 전자 장치는 통신 회로, 및 상기 통신 회로와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 통신 회로를 통해, 전자 장치로부터 제1 외부 전자 장치에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷을 수신하고, 상기 통신 회로를 통해, 상기 제1 외부 전자 장치의 위치를 획득하기 위한 릴레이(relay) 장치로 동작하는 제2 외부 전자 장치로 상기 제1 외부 전자 장치에 대한 상기 위치 기반 서비스를 수행할 것을 요청하는 패킷을 송신하고, 상기 통신 회로를 통해, 상기 제2 외부 전자 장치로부터 상기 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷을 수신하고, 및 상기 통신 회로를 통해, 상기 전자 장치로 상기 제2 외부 전자 장치에 의해 상기 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷을 송신하도록 구성된다. According to various embodiments of the present disclosure, the third external electronic device includes a communication circuit and at least one processor operatively connected to the communication circuit, wherein the at least one processor, through the communication circuit, A device operating as a relay device for receiving a packet requesting to perform a location-based service for a first external electronic device from a device and obtaining a location of the first external electronic device through the communication circuit. 2 transmits a packet requesting to perform the location-based service for the first external electronic device to an external electronic device, and the location of the first external electronic device is determined from the second external electronic device through the communication circuit; and receive a packet indicating that the location of the first external electronic device is obtained by the second external electronic device, and transmit a packet indicating that the location of the first external electronic device is obtained by the second external electronic device to the electronic device through the communication circuit.

본 개시의 다양한 실시 예들에 따르면, 전자 장치는 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향에 대한 제약 없이 제1 외부 전자 장치의 위치 정보를 제공하는 것이 가능한 위치 기반 서비스(예: 찾기 서비스)를 제공할 수 있다.According to various embodiments of the present disclosure, the electronic device provides a location-based service (eg, a search service) capable of providing location information of a first external electronic device without restrictions on a distance and direction between the electronic device and the first external electronic device. can provide.

본 개시의 다양한 실시 예들에 따르면, 전자 장치는 제2 외부 전자 장치와의 협력을 통해 제1 외부 전자 장치의 위치 정보를 제공하는 것이 가능한 위치 기반 서비스를 제공할 수 있다. According to various embodiments of the present disclosure, an electronic device may provide a location-based service capable of providing location information of a first external electronic device through cooperation with a second external electronic device.

본 개시에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.Effects obtainable in the present disclosure are not limited to the effects mentioned above, and other effects not mentioned may be clearly understood by those skilled in the art from the description below. will be.

도 1은 다양한 실시 예에 따른 네트워크 환경 내의 전자 장치의 블럭도이다.
도 2는 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스에 따라 제공되는 사용자 인터페이스(user interface: UI)의 일 예를 도시한 도면이다.
도 3은 다양한 실시 예에 따른 전자 장치의 내부 구성의 일 예를 도시한 블록도이다.
도 4는 다양한 실시 예에 따른 제2 외부 전자 장치의 내부 구성의 일 예를 도시한 블록도이다.
도 5는 다양한 실시 예에 따른 제3 외부 전자 장치의 내부 구성의 일 예를 도시한 블록도이다.
도 6은 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스의 일 예를 도시한 도면이다.
도 7은 다양한 실시 예에 따른 무선 통신 네트워크에서 UWB 레인징 동작의 일 예를 도시하고 있는 도면이다.
도 8은 다양한 실시 예에 따른 무선 통신 네트워크에서 UWB 레인징 동작의 다른 예를 도시하고 있는 도면이다.
도 9는 다양한 실시 예에 따른 무선 통신 네트워크에서 릴레이 패킷의 일 예를 도시하고 있는 도면이다.
도 10은 다양한 실시 예에 따른 무선 통신 네트워크에서 릴레이 패킷에 기반하여 제1 외부 전자 장치의 위치를 획득하는 동작의 일 예를 도시하고 있는 도면이다.
도 11A 및 도 11B는 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스의 다른 예를 도시한 도면들이다.
도 12A 및 도 12B는 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스의 또 다른 예를 도시한 도면들이다.
도 13A 및 도 13B는 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스의 또 다른 예를 도시한 도면이다.
도 14A 및 도 14B는 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스의 또 다른 예를 도시한 도면이다.
도 15는 다양한 실시 예에 따른 무선 통신 네트워크에서 전자 장치의 동작 과정의 일 예를 도시한 도면이다.
도 16은 다양한 실시 예에 따른 무선 통신 네트워크에서 전자 장치의 동작 과정의 다른 예를 도시한 도면이다.
도 17은 다양한 실시 예에 따른 무선 통신 네트워크에서 제2 외부 전자 장치의 동작 과정의 일 예를 도시한 도면이다.
도 18은 다양한 실시 예에 따른 무선 통신 네트워크에서 제3 외부 전자 장치의 동작 과정의 일 예를 도시한 도면이다.
도 19는 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스에 따라 제공되는 UI의 다른 예를 도시한 도면이다.
도 20은 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스에 따라 제공되는 UI의 또 다른 예를 도시한 도면이다.
도 21은 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스에 따라 제공되는 UI의 또 다른 예를 도시한 도면이다.
도 22는 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스에 따라 제공되는 UI의 또 다른 예를 도시한 도면이다.
1 is a block diagram of an electronic device in a network environment according to various embodiments.
2 is a diagram illustrating an example of a user interface (UI) provided according to a location-based service in a wireless communication network according to various embodiments.
3 is a block diagram illustrating an example of an internal configuration of an electronic device according to various embodiments.
4 is a block diagram illustrating an example of an internal configuration of a second external electronic device according to various embodiments.
5 is a block diagram illustrating an example of an internal configuration of a third external electronic device according to various embodiments.
6 is a diagram illustrating an example of a location-based service in a wireless communication network according to various embodiments.
7 is a diagram illustrating an example of a UWB ranging operation in a wireless communication network according to various embodiments.
8 is a diagram illustrating another example of a UWB ranging operation in a wireless communication network according to various embodiments.
9 is a diagram illustrating an example of a relay packet in a wireless communication network according to various embodiments.
10 is a diagram illustrating an example of an operation of obtaining a location of a first external electronic device based on a relay packet in a wireless communication network according to various embodiments.
11A and 11B are diagrams illustrating another example of a location-based service in a wireless communication network according to various embodiments.
12A and 12B are diagrams illustrating another example of a location-based service in a wireless communication network according to various embodiments.
13A and 13B are diagrams illustrating another example of a location based service in a wireless communication network according to various embodiments.
14A and 14B are diagrams illustrating another example of a location-based service in a wireless communication network according to various embodiments.
15 is a diagram illustrating an example of an operation process of an electronic device in a wireless communication network according to various embodiments.
16 is a diagram illustrating another example of an operation process of an electronic device in a wireless communication network according to various embodiments.
17 is a diagram illustrating an example of an operation process of a second external electronic device in a wireless communication network according to various embodiments.
18 is a diagram illustrating an example of an operation process of a third external electronic device in a wireless communication network according to various embodiments.
19 is a diagram illustrating another example of a UI provided according to a location based service in a wireless communication network according to various embodiments.
20 is a diagram illustrating another example of a UI provided according to a location-based service in a wireless communication network according to various embodiments.
21 is a diagram illustrating another example of a UI provided according to a location-based service in a wireless communication network according to various embodiments.
22 is a diagram illustrating another example of a UI provided according to a location based service in a wireless communication network according to various embodiments.

이하 본 개시의 다양한 실시 예들을 첨부된 도면을 참조하여 상세히 설명한다. 그리고, 본 개시의 다양한 실시 예들을 설명함에 있어서, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 개시의 다양한 실시 예들의 요지를 불필요하게 흐릴 수 있다고 판단된 경우 그 상세한 설명은 생략한다. 그리고 후술되는 용어들은 본 개시의 다양한 실시 예들에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.Hereinafter, various embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. And, in describing various embodiments of the present disclosure, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the gist of various embodiments of the present disclosure, the detailed description will be omitted. In addition, terms to be described later are terms defined in consideration of functions in various embodiments of the present disclosure, which may vary according to the intention or custom of a user or operator. Therefore, the definition should be made based on the contents throughout this specification.

본 명세서에서 사용되는 기술적 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 개시의 다양한 실시 예들을 한정하려는 의도가 아님을 유의해야 한다. 또는, 본 명세서에서 사용되는 기술적 용어는 본 명세서에서 특별히 다른 의미로 정의되지 않는 한, 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 의미로 해석되어야 하며, 과도하게 포괄적인 의미로 해석되거나, 과도하게 축소된 의미로 해석되지 않아야 한다. 또는, 본 명세서에서 사용되는 기술적인 용어가 본 개시의 사상을 정확하게 표현하지 못하는 잘못된 기술적 용어일 때에는, 당업자가 올바르게 이해할 수 있는 기술적 용어로 대체되어 이해되어야 할 것이다. 또는, 본 개시의 다양한 실시 예들에서 사용되는 일반적인 용어는 사전에 정의되어 있는 바에 따라, 또는 전후 문맥상에 따라 해석되어야 하며, 과도하게 축소된 의미로 해석되지 않아야 한다.It should be noted that technical terms used in this specification are only used to describe specific embodiments, and are not intended to limit various embodiments of the present disclosure. Alternatively, technical terms used in this specification should be interpreted in terms commonly understood by those of ordinary skill in the art to which this disclosure belongs, unless specifically defined otherwise in this specification, and are overly inclusive. It should not be interpreted in a positive sense or in an excessively reduced sense. Alternatively, when the technical terms used in this specification are incorrect technical terms that do not accurately represent the spirit of the present disclosure, they should be replaced with technical terms that those skilled in the art can correctly understand. Alternatively, general terms used in various embodiments of the present disclosure should be interpreted as defined in advance or according to the context, and should not be interpreted in an excessively reduced sense.

또는, 본 명세서에서 사용되는 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "구성된다" 또는 "포함한다" 등의 용어는 명세서 상에 기재된 여러 구성 요소들, 또는 여러 동작들을 반드시 모두 포함하는 것으로 해석되지 않아야 하며, 그 중 일부 구성 요소들 또는 일부 동작들은 포함되지 않을 수도 있고, 또는 추가적인 구성 요소 또는 동작들을 더 포함할 수 있는 것으로 해석되어야 한다.Alternatively, singular expressions used herein include plural expressions unless the context clearly dictates otherwise. In this application, terms such as "consisting of" or "includes" should not be construed as necessarily including all of the various components or several operations described in the specification, and some components or some operations among them It should be construed that it may not be included, or may further include additional components or operations.

또는, 본 명세서에서 사용되는 제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성 요소들을 설명하는데 사용될 수 있지만, 상기 구성 요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성 요소를 다른 구성 요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 개시의 권리 범위를 벗어나지 않으면서 제1 구성 요소는 제2 구성 요소로 명명될 수 있고, 유사하게 제2 구성 요소도 제1 구성 요소로 명명될 수 있다. Alternatively, terms including ordinal numbers such as first and second used in this specification may be used to describe various components, but the components should not be limited by the terms. These terms are only used for the purpose of distinguishing one component from another. For example, a first element may be termed a second element, and similarly, a second element may be termed a first element, without departing from the scope of the present disclosure.

어떤 구성 요소가 다른 구성 요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성 요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성 요소가 존재할 수도 있다. 반면에, 어떤 구성 요소가 다른 구성 요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성 요소가 존재하지 않는 것으로 이해되어야 할 것이다.When a component is referred to as being “connected” or “connected” to another component, it may be directly connected or connected to the other component, but other components may exist in the middle. On the other hand, when a component is referred to as “directly connected” or “directly connected” to another component, it should be understood that no other component exists in the middle.

이하, 첨부된 도면을 참조하여 본 개시에 따른 다양한 실시 예들을 상세히 설명하되, 도면 부호에 관계없이 동일하거나 유사한 구성 요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 또는, 본 개시의 다양한 실시 예들을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 개시의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또는, 첨부된 도면은 본 개시의 사상을 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 개시의 사상이 제한되는 것으로 해석되어서는 아니 됨에 유의하여야만 한다. 본 개시의 사상은 첨부된 도면들 외에 모든 변경들, 균등물들 내지 대체물들에 까지도 확장되는 것으로 해석되어야 한다.Hereinafter, various embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings, but the same or similar components are given the same reference numerals regardless of reference numerals, and redundant descriptions thereof will be omitted. Alternatively, in describing various embodiments of the present disclosure, if it is determined that a detailed description of a related known technology may obscure the gist of the present disclosure, the detailed description will be omitted. Alternatively, it should be noted that the accompanying drawings are only for easily understanding the spirit of the present disclosure, and should not be construed as limiting the spirit of the present disclosure by the accompanying drawings. The spirit of the present disclosure should be construed as extending to all modifications, equivalents or substitutes other than the accompanying drawings.

도 1은 다양한 실시 예들에 따른 네트워크 환경(100) 내의 전자 장치(101)를 개략적으로 도시한 블록도이다. 1 is a block diagram schematically illustrating an electronic device 101 within a network environment 100 according to various embodiments.

도 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))로 통합될 수 있다.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 through a second network 199. It is possible to communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, 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 the antenna module 197 may be included. In some embodiments, in the electronic device 101, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added. 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). It 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, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, the processor 120 transfers commands or data received from other components (eg, sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 . According to an embodiment, the processor 120 includes a 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 ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor). For example, when the electronic device 101 includes the main processor 121 and the auxiliary processor 123, the auxiliary processor 123 may use less power than the main processor 121 or be set to be specialized for a designated function. can The secondary processor 123 may be implemented separately from or as 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, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, 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 one embodiment, the auxiliary processor 123 (eg, an image signal processor or a communication processor) may be implemented as part of other functionally related components (eg, the camera module 180 or the communication module 190). there is. 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. AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where artificial intelligence is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, but in the above example Not limited. The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the foregoing, but is not limited to the foregoing examples. The artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.

메모리(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, program 140) and commands related thereto. The memory 130 may include volatile memory 132 or non-volatile memory 134 .

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

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 150 may receive a command or data to be used for a component (eg, the processor 120) of the electronic device 101 from an outside of the electronic device 101 (eg, a user). 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 sound signals 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. A receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.

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

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

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

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

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

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시 예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to one 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 one embodiment, the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.

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

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시 예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, 와이파이(Wi-Fi: 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). Establishment and communication through the established communication channel may be supported. 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 wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : a local area network (LAN) communication module or a power line communication module). Among these communication modules, the corresponding communication module is a first network 198 (eg, a local area communication network such as Bluetooth, Wi-Fi (wireless fidelity) direct or IrDA (infrared data association)) or a second network 199 It may communicate with the external electronic device 104 through (eg, a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunication network such as a computer network (eg, a LAN or a WAN)). These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips). 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, NR access technology (new radio access technology). NR access technologies include high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), terminal power minimization and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low -latency communications)) can be supported. 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 technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported. The wireless communication module 192 may support various requirements defined for 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 for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may be supported.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시 예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. 다양한 실시 예들에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시 예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.The antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is selected from the plurality of antennas by the communication module 190, for example. can be chosen 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)) may be additionally formed as a part of the antenna module 197 in addition to the radiator. According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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 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, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or part of operations executed in the electronic device 101 may be executed in one or more external electronic devices among the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself. Alternatively or additionally, one or more external electronic devices may be requested to perform the function or at least part of the service. One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 101 . The electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed. To this end, 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. Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199 . The electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

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

본 문서의 다양한 실시 예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시 예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, like reference numbers may be used for like or related elements. The singular form of a noun corresponding to an item may include one item or a plurality of items, unless the relevant context clearly dictates otherwise. In this document, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A Each of the phrases such as "at least one of , B, or C" may include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited. A (e.g., first) component is said to be "coupled" or "connected" to another (e.g., second) component, with or without the terms "functionally" or "communicatively." When mentioned, it means that the certain component may 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 interchangeably with terms such as, for example, logic, logical blocks, components, or circuits. can be used A module may be an integrally constituted part or a minimum unit or part of the above parts that performs one or two or more functions. For example, according to one 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 this document describe one or more commands stored in a storage medium (eg, the internal memory 136 or the external memory 138) readable by a machine (eg, the electronic device 101). It may be implemented as software (eg, the program 140) including them. For example, a processor (eg, the processor 120) of a device (eg, the electronic device 101) may call at least one command among one or more instructions stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term is used when data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.

일 실시 예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(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 included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. A computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) online, directly between smart phones. In the case of online distribution, at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.

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

도 2는 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스에 따라 제공되는 사용자 인터페이스(user interface: UI)의 일 예를 도시한 도면이다. 2 is a diagram illustrating an example of a user interface (UI) provided according to a location-based service in a wireless communication network according to various embodiments.

도 2를 참조하면, 전자 장치(예: 스마트 폰)는 무선 통신 네트워크 내의 다양한 공간들에 존재하는 제1 외부 전자 장치 및 적어도 하나의 제2 외부 전자 장치(예: IoT 장치)와 연동하여 위치 기반 서비스(예: 오토메이션(automation) 서비스 및/또는 찾기(find) 서비스)를 제공할 수 있다. 예를 들어, 제1 외부 전자 장치는 스마트 태그(smart tag)(예: 삼성 갤럭시 스마트 태그), 스마트 버튼(smart button), 및/또는 웨어러블 전자 장치(예: 스마트 와치 또는 이어 버즈(ear buds))를 포함할 수 있다.Referring to FIG. 2 , an electronic device (eg, a smart phone) interworks with a first external electronic device and at least one second external electronic device (eg, an IoT device) existing in various spaces within a wireless communication network to determine location based Services (eg, automation services and/or find services) may be provided. For example, the first external electronic device may include a smart tag (eg, a Samsung Galaxy smart tag), a smart button, and/or a wearable electronic device (eg, a smart watch or ear buds). ) may be included.

찾기 서비스에서, 전자 장치가 찾고자 하는 대상인 타겟 전자 장치는 제1 외부 전자 장치가 될 수 있다. 찾기 서비스가 실행될 경우 전자 장치는 근거리 무선 통신 방식(예: 초광대역(ultra wide band: UWB) 방식)에 기반하여 제1 외부 전자 장치와 연결(예: UWB 연결)을 설정할 수 있다. 전자 장치는 전자 장치와 제1 외부 전자 장치 간에 설정된 UWB 연결을 통해 전자 장치와 제1 외부 전자 장치 간의 거리 및 각도를 획득할 수 있고, 획득된 전자 장치와 제1 외부 전자 장치 간의 거리 및 각도에 기반하여 제1 외부 전자 장치의 위치를 획득할 수 있다. 전자 장치는 획득된 제1 외부 전자 장치의 위치를 UI를 통해 디스플레이할 수 있다.In the search service, a target electronic device to be searched for by an electronic device may be a first external electronic device. When the search service is executed, the electronic device may establish a connection (eg, UWB connection) with the first external electronic device based on a short-distance wireless communication method (eg, ultra wide band (UWB) method). The electronic device may obtain a distance and an angle between the electronic device and the first external electronic device through a UWB connection established between the electronic device and the first external electronic device, and may determine the obtained distance and angle between the electronic device and the first external electronic device. Based on this, the location of the first external electronic device may be obtained. The electronic device may display the acquired location of the first external electronic device through the UI.

UWB 방식이 사용될 경우, 전자 장치와 제1 외부 전자 장치가 각각 개시자(initiator)와 응답자(responder)로 동작하고, 전자 장치와 제1 외부 전자 장치 간의 1:1 통신을 통해 전자 장치는 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향을 획득할 수 있다. 하지만, UWB 안테나는 일반적으로 지향성 방사 패턴을 가지기 때문에, 전자 장치의 방향과 제1 외부 전자 장치의 방향이 일치하지 않거나, 전자 장치와 제1 외부 전자 장치 간에 장애물이 존재하거나, 및/또는 전자 장치와 제1 외부 전자 장치 간의 거리가 임계 거리 보다 길 경우, 전자 장치는 제1 외부 전자 장치로부터의 UWB 신호(예: UWB 패킷)를 수신하지 못할 수 있다. 전자 장치가 제1 외부 전자 장치로부터 UWB 신호를 수신하지 못함에 따라 전자 장치와 제1 외부 전자 장치 간에는 안정적인 UWB 통신이 보장되지 못할 수 있다. 예를 들어, 제1 외부 전자 장치가 강아지 또는 고양이와 같은 애완 동물에 부착될 경우, 움직임이 매우 많은 애완 동물의 특성 상 제1 외부 전자 장치의 위치 역시 매우 자주 변경될 수 있다. 이런 매우 잦은 위치 변경은 전자 장치와 제1 외부 전자 장치 간의 안정적인 UWB 통신을 보장하는 것을 어렵게 할 수 있다.When the UWB scheme is used, the electronic device and the first external electronic device operate as an initiator and a responder, respectively, and through 1:1 communication between the electronic device and the first external electronic device, the electronic device A distance and direction between the and the first external electronic device may be obtained. However, since a UWB antenna generally has a directional radiation pattern, the direction of the electronic device and the direction of the first external electronic device do not match, or an obstacle exists between the electronic device and the first external electronic device, and/or the electronic device. If the distance between the first external electronic device and the first external electronic device is longer than the threshold distance, the electronic device may not be able to receive a UWB signal (eg, a UWB packet) from the first external electronic device. Since the electronic device does not receive a UWB signal from the first external electronic device, stable UWB communication between the electronic device and the first external electronic device may not be guaranteed. For example, when the first external electronic device is attached to a pet such as a dog or cat, the location of the first external electronic device may change very often due to the nature of the pet, which moves a lot. Such very frequent location changes may make it difficult to ensure stable UWB communication between the electronic device and the first external electronic device.

도 2에 도시되어 있는 바와 같이, 전자 장치에서 IoT 기반의 어플리케이션(예: 삼성 스마트싱스(SmartThings) 어플리케이션)을 통해 찾기 서비스가 실행될 경우(210), 전자 장치는 제1 외부 전자 장치(예: 스마트 태그)에 대한 검색 동작을 수행할 수 있다(220). 전자 장치가 제1 외부 전자 장치를 발견할 경우 전자 장치와 제1 외부 전자 장치는 BLE 연결을 설정할 수 있고, BLE 파인더(finder) 상에서 UI를 통해 전자 장치와 제1 외부 전자 장치 간의 거리를 나타내는 정보를 포함하는 메시지를 디스플레이할 수 있다(230). 전자 장치와 제1 외부 전자 장치 간에 UWB 연결이 설정될 경우, 증강 현실(augmented reality: AR) 파인더를 실행하여 스캔 동작을 수행할 수 있다(240). 전자 장치는 설정된 UWB 연결을 통해 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향을 획득할 수 있고, 획득된 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향에 기반하여 AR 파인더 상에서 UI를 통해 제1 외부 전자 장치의 위치를 디스플레이 할 수 있다(250). As shown in FIG. 2 , when a search service is executed through an IoT-based application (eg, a Samsung SmartThings application) in an electronic device (210), the electronic device operates on a first external electronic device (eg, a smart tag) may be performed (220). When the electronic device discovers the first external electronic device, the electronic device and the first external electronic device may establish a BLE connection, and information indicating a distance between the electronic device and the first external electronic device through a UI on a BLE finder A message including may be displayed (230). When a UWB connection is established between the electronic device and the first external electronic device, an augmented reality (AR) finder may be executed to perform a scan operation (240). The electronic device may obtain a distance and direction between the electronic device and the first external electronic device through the established UWB connection, and based on the acquired distance and direction between the electronic device and the first external electronic device, control information is provided through a UI on the AR finder. 1 The location of an external electronic device may be displayed (250).

하지만, UWB 안테나는 일반적으로 지향성 방사 패턴을 가지기 때문에, 전자 장치의 방향과 제1 외부 전자 장치의 방향이 일치하지 않거나, 전자 장치와 제1 외부 전자 장치 간에 장애물이 존재하거나, 및/또는 전자 장치와 제1 외부 전자 장치 간의 거리가 임계 거리 보다 길 경우, 전자 장치는 제1 외부 전자 장치로부터의 UWB 신호를 수신하지 못할 수 있다(260). 이렇게, 전자 장치와 제1 외부 전자 장치 간에 안정적인 UWB 통신이 보장되지 않을 경우 전자 장치는 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향을 획득할 수 없다. 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향을 획득되지 않으면, 제1 외부 전자 장치의 위치를 획득할 수 없고, 제1 외부 전자 장치에 대한 위치를 디스플레이하지 못할 수 있다. 제1 외부 전자 장치의 위치가 획득되지 않기 때문에, 전자 장치는 다시 제1 외부 전자 장치에 대한 검색 동작을 수행할 수 있다(270). 일 예로, 전자 장치와 제1 외부 전자 장치 간에 BLE 연결이 설정되어 있지 않은 상태에서, 제1 외부 전자 장치에 대한 검색 동작이 수행될 경우, 전자 장치는 UI를 통해 제1 외부 전자 장치를 검색하고 있음을 나타내는 정보를 포함하는 메시지(예: Searching nearby ... )를 디스플레이할 수 있다(270). 다른 예로, 전자 장치와 제1 외부 전자 장치 간에 BLE 연결이 설정되어 있는 상태에서, 제1 외부 전자 장치에 대한 검색 동작이 수행될 경우, 전자 장치는 BLE 파인더 상에서 UI를 통해 전자 장치와 제1 외부 전자 장치 간의 거리를 나타내는 정보를 포함하는 메시지를 디스플레이할 수 있다(230).도 3은 다양한 실시 예에 따른 전자 장치의 내부 구성의 일 예를 도시한 블록도이다.However, since a UWB antenna generally has a directional radiation pattern, the direction of the electronic device and the direction of the first external electronic device do not match, or an obstacle exists between the electronic device and the first external electronic device, and/or the electronic device. If the distance between the first external electronic device and the first external electronic device is longer than the threshold distance, the electronic device may not receive a UWB signal from the first external electronic device (260). In this way, when stable UWB communication between the electronic device and the first external electronic device is not guaranteed, the electronic device cannot acquire the distance and direction between the electronic device and the first external electronic device. If the distance and direction between the electronic device and the first external electronic device are not acquired, the location of the first external electronic device cannot be acquired and the location of the first external electronic device cannot be displayed. Since the location of the first external electronic device is not acquired, the electronic device may perform a search operation for the first external electronic device again (270). For example, when a search operation for the first external electronic device is performed in a state where a BLE connection is not established between the electronic device and the first external electronic device, the electronic device searches for the first external electronic device through the UI, A message (eg, Searching nearby ...) including information indicating that there is may be displayed (270). As another example, when a search operation for the first external electronic device is performed in a state in which a BLE connection is established between the electronic device and the first external electronic device, the electronic device detects the electronic device and the first external electronic device through the UI on the BLE finder. A message including information representing the distance between electronic devices may be displayed (230). FIG. 3 is a block diagram illustrating an example of an internal configuration of an electronic device according to various embodiments.

도 3를 참조하면, 전자 장치(101)(예: 도 1의 전자 장치(101))는 위치 기반 서비스(예: 오토메이션 서비스 및/또는 찾기 서비스)를 구현하는 장치일 수 있다. 전자 장치(101)는 롱 텀 에볼루션(long term evolution: LTE) 방식, 지그비(Zigbee), 지-웨이브(Z-Wave), Wi-Fi 방식, 저전력 블루투스(Bluetooth low energy: BLE) 방식, UWB 방식, 및/또는 GPS 방식을 지원하는 장치일 수 있다. 전자 장치(101)는 제1 외부 전자 장치(예: 도 1의 전자 장치(102)), 적어도 하나의 제2 외부 전자 장치, 및/또는 제3 외부 전자 장치(예: 도 1의 서버(108))와 하나 또는 두 개 이상의 안테나들(301)을 사용하여 신호들을 송수신하는 통신 회로(302)(예: 도 1의 통신 모듈(190))를 포함할 수 있다. 일 실시 예에서, 하나 또는 두 개 이상의 안테나들(301)은 도 1의 안테나 모듈(198)의 일부로 구현될 수 있다.Referring to FIG. 3 , an electronic device 101 (eg, the electronic device 101 of FIG. 1 ) may be a device implementing a location-based service (eg, an automation service and/or a search service). The electronic device 101 uses a long term evolution (LTE) method, a Zigbee method, a Z-Wave method, a Wi-Fi method, a Bluetooth low energy (BLE) method, and a UWB method. , and/or may be a device supporting a GPS scheme. The electronic device 101 includes a first external electronic device (eg, the electronic device 102 of FIG. 1 ), at least one second external electronic device, and/or a third external electronic device (eg, the server 108 of FIG. 1 ). )) and a communication circuit 302 (eg, the communication module 190 of FIG. 1 ) for transmitting and receiving signals using one or two or more antennas 301 . In one embodiment, one or more antennas 301 may be implemented as part of antenna module 198 of FIG. 1 .

일 실시 예에 따르면, 통신 회로(302)는 다수의 통신 회로들을 포함할 수 있으며, 다수의 통신 회로들은 LTE 방식, BLE 방식, UWB 방식, 지그비 방식, 지-웨이브 방식, 및/또는 Wi-Fi 방식에 기반하는 통신 회로를 포함할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 LTE 방식, BLE 방식, UWB 방식, 지그비 방식, 지-웨이브 방식, 및/또는 Wi-Fi 방식 각각에 기반하는 별도의 통신 회로를 포함하지 않고, LTE 방식, BLE 방식, UWB 방식, 지그비 방식, 지-웨이브 방식, 및/또는 Wi-Fi 방식 중 적어도 두 개, 또는 LTE 방식, BLE 방식, UWB 방식, 지그비 방식, 지-웨이브 방식, 및/또는 Wi-Fi 방식 모두에 기반하는 통신 회로를 포함할 수도 있다. 일 실시 예에 따르면, LTE 방식, BLE 방식, UWB 방식, 지그비 방식, 지-웨이브 방식, 및/또는 Wi-Fi 방식 중 적어도 두 개, 또는 LTE 방식, BLE 방식, UWB 방식, 지그비 방식, 지-웨이브 방식, 및/또는 Wi-Fi 방식 모두에 기반하는 통신 회로는 통신 회로(302)일 수 있다.According to an embodiment, the communication circuit 302 may include a plurality of communication circuits, which may be LTE, BLE, UWB, ZigBee, Z-Wave, and/or Wi-Fi. communication circuitry based on the scheme. According to an embodiment, the electronic device 101 does not include separate communication circuits based on the LTE method, the BLE method, the UWB method, the ZigBee method, the Z-Wave method, and/or the Wi-Fi method, respectively, and uses the LTE method, BLE method, UWB method, ZigBee method, Z-Wave method, and/or Wi-Fi method, or LTE method, BLE method, UWB method, ZigBee method, Z-Wave method, and/or Wi-Fi method. It may also include a communication circuit based on both -Fi schemes. According to an embodiment, at least two of the LTE method, the BLE method, the UWB method, the ZigBee method, the G-Wave method, and/or the Wi-Fi method, or the LTE method, the BLE method, the UWB method, the ZigBee method, and the G- The communication circuitry based on both wave mode and/or Wi-Fi mode may be communication circuitry 302 .

전자 장치(101)는 네트워크 외부의 구성 요소(component)들과 통신하기 위한 유선 및/또는 무선 인터페이스를 제공하는 인터페이스(308)(예: 도 1의 인터페이스(177))를 포함할 수 있다. 일 실시 예에서, 하나 또는 두 개 이상의 안테나들(301), 통신 회로(302), 또는 인터페이스(177) 중 적어도 일부는 도 1의 통신 모듈(190) 및 안테나 모듈(198)의 적어도 일부로 구현될 수 있다.The electronic device 101 may include an interface 308 (eg, interface 177 of FIG. 1 ) providing a wired and/or wireless interface for communication with components outside the network. In one embodiment, at least some of the one or more antennas 301, communication circuitry 302, or interface 177 may be implemented as at least part of the communication module 190 and antenna module 198 of FIG. can

전자 장치(101)는 하나 또는 두 개 이상의 단일 코어 프로세서들 또는 하나 또는 두 개 이상의 다중 코어 프로세서들로 구현될 수 있는 프로세서(304)(예: 도 1의 프로세서(120))와, 전자 장치(101)의 동작을 위한 인스트럭션(instruction)들을 저장하는 메모리(306)(예: 도 1의 메모리(130))를 포함할 수 있다. The electronic device 101 includes a processor 304 (eg, the processor 120 of FIG. 1 ), which may be implemented as one or more single-core processors or one or more multi-core processors, and an electronic device ( A memory 306 (eg, the memory 130 of FIG. 1 ) for storing instructions for the operation of 101 may be included.

다양한 실시 예들에 따르면, 메모리(306)는 위치 기반 서비스를 실행시키기 위한 어플리케이션(예: 삼성 스마트싱스(SmartThings) 어플리케이션)과 관련된 UI 및 UI를 제공하기 위한 이미지들, 사용자 정보, 문서, 데이터베이스들 또는 관련 데이터를 저장할 수 있다. 다양한 실시 예에 따르면, 디스플레이(310)(예: 도 1의 디스플레이 모듈(160))는 프로세서(304)의 제어 하에 위치 기반 서비스를 실행시키기 위한 어플리케이션이 실행되면, 실행되는 어플리케이션과 관련된 UI를 디스플레이할 수 있다. 도 4는 다양한 실시 예에 따른 제2 외부 전자 장치의 내부 구성의 일 예를 도시한 블록도이다.According to various embodiments, the memory 306 may store a UI related to an application for executing a location-based service (eg, Samsung SmartThings application) and images for providing a UI, user information, documents, databases, or the like. Relevant data can be stored. According to various embodiments, when an application for executing a location-based service is executed under the control of the processor 304, the display 310 (eg, the display module 160 of FIG. 1 ) displays a UI related to the executed application. can do. 4 is a block diagram illustrating an example of an internal configuration of a second external electronic device according to various embodiments of the present disclosure.

도 4를 참조하면, 제2 외부 전자 장치(620)는 위치 기반 서비스(예: 오토메이션 서비스 및/또는 찾기 서비스)를 구현하는 장치일 수 있다. 제2 외부 전자 장치(620)는 전자 장치(예: 도 1 또는 도 3의 전자 장치(101))와 협력하여 제1 외부 전자 장치에 대한 찾기 서비스를 구현하는 장치일 수 있다. Referring to FIG. 4 , the second external electronic device 620 may be a device implementing a location-based service (eg, an automation service and/or a search service). The second external electronic device 620 may be a device that implements a search service for the first external electronic device in cooperation with an electronic device (eg, the electronic device 101 of FIG. 1 or 3 ).

제2 외부 전자 장치(620)는 통신 회로(402), 프로세서(404), 메모리(406), 인터페이스 모듈(408), 및/또는 디스플레이(410)를 포함할 수 있다. 일 실시 예에서, 통신 회로(402), 프로세서(404), 메모리(406), 인터페이스 모듈(408), 및/또는 디스플레이(410)는 각각 도 3에서 설명한 통신 회로(302), 프로세서(304), 메모리(306), 인터페이스 모듈(308), 및/또는 디스플레이(310)와 유사하게 또는 실질적으로 동일하게 구현될 수 있으며, 그 상세한 설명은 생략하기로 한다. The second external electronic device 620 may include a communication circuit 402 , a processor 404 , a memory 406 , an interface module 408 , and/or a display 410 . In one embodiment, communication circuitry 402, processor 404, memory 406, interface module 408, and/or display 410 are communication circuitry 302, processor 304 as described in FIG. 3, respectively. , the memory 306, the interface module 308, and/or the display 310 may be implemented similarly or substantially the same, and detailed description thereof will be omitted.

일 실시 예에서, 제1 외부 전자 장치 역시 제2 외부 전자 장치(620)와 유사하게 통신 회로, 프로세서, 메모리, 인터페이스 모듈, 및/또는 디스플레이를 포함할 수 있으며, 제1 외부 전자 장치가 포함하는 통신 회로, 프로세서, 메모리, 인터페이스 모듈, 및/또는 디스플레이 역시 도 3에서 설명한 통신 회로(302), 프로세서(304), 메모리(306), 인터페이스 모듈(308), 및/또는 디스플레이(310)와 유사하게 또는 실질적으로 동일하게 구현될 수 있으며, 그 상세한 설명은 생략하기로 한다.In one embodiment, the first external electronic device may also include a communication circuit, processor, memory, interface module, and/or display similarly to the second external electronic device 620, and the first external electronic device includes The communication circuitry, processor, memory, interface module, and/or display is also similar to the communication circuitry 302, processor 304, memory 306, interface module 308, and/or display 310 described in FIG. may be implemented identically or substantially the same, and detailed description thereof will be omitted.

도 5는 다양한 실시 예에 따른 제3 외부 전자 장치의 내부 구성의 일 예를 도시한 블록도이다.5 is a block diagram illustrating an example of an internal configuration of a third external electronic device according to various embodiments.

도 5를 참조하면, 제3 외부 전자 장치(1210)는 위치 기반 서비스(예: 오토메이션 서비스 및/또는 찾기 서비스)를 구현하는 장치일 수 있다. 제3 외부 전자 장치(1210)는 통신 회로(502), 프로세서(504), 메모리(506), 인터페이스 모듈(508), 및/또는 디스플레이(510)를 포함할 수 있다. 일 실시 예에서, 통신 회로(502), 프로세서(504), 메모리(506), 인터페이스 모듈(508), 및/또는 디스플레이(510)는 각각 도 3에서 설명한 통신 회로(302), 프로세서(304), 메모리(306), 인터페이스 모듈(308), 및/또는 디스플레이(310)와 유사하게 또는 실질적으로 동일하게 구현될 수 있으며, 그 상세한 설명은 생략하기로 한다. Referring to FIG. 5 , the third external electronic device 1210 may be a device implementing a location-based service (eg, an automation service and/or a search service). The third external electronic device 1210 may include a communication circuit 502 , a processor 504 , a memory 506 , an interface module 508 , and/or a display 510 . In one embodiment, communication circuitry 502, processor 504, memory 506, interface module 508, and/or display 510 are communication circuitry 302, processor 304 as described in FIG. 3, respectively. , the memory 306, the interface module 308, and/or the display 310 may be implemented similarly or substantially the same, and detailed description thereof will be omitted.

도 6은 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스의 일 예를 도시한 도면이다. 6 is a diagram illustrating an example of a location-based service in a wireless communication network according to various embodiments.

도 6을 참조하면, 위치 기반 서비스는 찾기 서비스일 수 있다. 무선 통신 네트워크는 전자 장치(101), 제1 외부 전자 장치(610), 및/또는 제2 외부 전자 장치(620)를 포함할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 도 1 또는 도 3의 전자 장치(101)일 수 있고, 제1 외부 전자 장치(610)는 도 1의 전자 장치(102)일 수 있고, 제2 외부 전자 장치(620)는 전자 장치(101)의 제어에 의해 전자 장치(101)와 협력하여 제1 외부 전자 장치(610)에 대한 찾기 서비스를 제공하는 장치일 수 있다. 일 실시 예에 따르면, 제2 외부 전자 장치(620)는 IoT 장치(예: TV, 라이트, 에어 컨디셔너, 오븐, 또는 스피커와 같은 가전 제품) 또는 사용자 장치(예: 스마트 폰, 또는 웨어러블 전자 장치)일 수 있다. 제1 외부 전자 장치(610)는 전자 장치(101)와 연동하여 찾기 서비스를 제공할 수 있다. 예를 들어, 제1 외부 전자 장치(610)는 스마트 태그(예: 삼성 갤럭시 스마트 태그), 스마트 버튼, 또는 웨어러블 전자 장치(예: 스마트 와치 또는 이어 버즈)일 수 있다. Referring to FIG. 6 , the location-based service may be a search service. The wireless communication network may include the electronic device 101 , the first external electronic device 610 , and/or the second external electronic device 620 . According to an embodiment, the electronic device 101 may be the electronic device 101 of FIG. 1 or 3, the first external electronic device 610 may be the electronic device 102 of FIG. 1, and the second external electronic device 610 may be the electronic device 102 of FIG. The external electronic device 620 may be a device that cooperates with the electronic device 101 under the control of the electronic device 101 to provide a search service for the first external electronic device 610 . According to an embodiment, the second external electronic device 620 is an IoT device (eg, a TV, a light, an air conditioner, an oven, or a home appliance such as a speaker) or a user device (eg, a smart phone or a wearable electronic device). can be The first external electronic device 610 may provide a search service by interworking with the electronic device 101 . For example, the first external electronic device 610 may be a smart tag (eg, a Samsung Galaxy smart tag), a smart button, or a wearable electronic device (eg, a smart watch or earbuds).

일 실시 예에 따르면, IoT 기반의 어플리케이션(예: 삼성 스마트싱스 어플리케이션)을 통해 찾기 서비스가 실행될 경우, 전자 장치(101)는 제1 외부 전자 장치(610)에 대한 검색 동작을 수행할 수 있다. 전자 장치(101)는 제1 외부 전자 장치(610)를 발견할 경우 제1 외부 전자 장치(610)와 UWB 연결을 설정할 수 있다. 전자 장치(101)와 제1 외부 전자 장치(610) 간에 UWB 연결이 설정됨에 따라, 전자 장치(101)는 AR 파인더를 실행하여 스캔 동작을 수행할 수 있다. 전자 장치(101)는 설정된 UWB 연결을 통해 전자 장치(101)와 제1 외부 전자 장치(610) 간의 거리 및 방향을 획득할 수 있고, 획득된 전자 장치(101)와 제1 외부 전자 장치(610) 간의 거리 및 방향에 기반하여 제1 외부 전자 장치(610)의 위치를 획득할 수 있다. 전자 장치(101)는 AR 파인더 상에서 UI를 통해 제1 외부 전자 장치(610)의 위치를 디스플레이 할 수 있다. According to an embodiment, when a search service is executed through an IoT-based application (eg, Samsung SmartThings application), the electronic device 101 may perform a search operation for the first external electronic device 610 . When the electronic device 101 discovers the first external electronic device 610, it can establish a UWB connection with the first external electronic device 610. As the UWB connection is established between the electronic device 101 and the first external electronic device 610, the electronic device 101 may execute an AR finder to perform a scan operation. The electronic device 101 may acquire the distance and direction between the electronic device 101 and the first external electronic device 610 through the established UWB connection, and obtain the obtained electronic device 101 and the first external electronic device 610. ), the location of the first external electronic device 610 may be obtained based on the distance and direction between the two. The electronic device 101 may display the location of the first external electronic device 610 through the UI on the AR finder.

하지만, UWB 안테나는 지향성 방사 패턴을 가지기 때문에, 전자 장치(101)의 방향과 제1 외부 전자 장치(610)의 방향이 일치하지 않거나, 또는 전자 장치(101)와 제1 외부 전자 장치(610) 간에 장애물이 존재하거나, 또는 전자 장치(101)와 제1 외부 전자 장치(610) 간의 거리가 임계 거리 보다 길 경우, 전자 장치(101)는 제1 외부 전자 장치(610)로부터의 UWB 신호(예: UWB 패킷)를 수신하지 못할 수 있다. However, since the UWB antenna has a directional radiation pattern, the direction of the electronic device 101 and the direction of the first external electronic device 610 do not match, or the electronic device 101 and the first external electronic device 610 When there is an obstacle between the electronic device 101 and the first external electronic device 610, the electronic device 101 transmits a UWB signal (eg, : UWB packets) may not be received.

전자 장치(101)는 설정 시간 동안 제1 외부 전자 장치(610)로부터 UWB 신호가 수신되지 않을 경우, 설정되어 있는 헬퍼(helper) 장치들 중 적어도 하나를 제2 외부 전자 장치(620)로 선택할 수 있다. 도 6에서, 전자 장치(101)와 제1 외부 전자 장치(610) 간의 거리는 UWB 방식에 기반하여 측정될 수 있는 임계 거리 보다 긴 거리일 수 있고, 이로 인해 전자 장치(101)는 설정 시간 동안 제1 외부 전자 장치(610)로부터 UWB 신호를 수신하지 못할 수 있다. 제 2 외부 전자 장치(620)는 UWB 릴레이(relay) 장치일 수 있다. 일 실시 예에서, UWB 릴레이 장치는 전자 장치(101)의 요청에 따라 제1 외부 전자 장치(610)와 UWB 연결을 설정하여, 설정된 UWB 연결을 통해 제1 외부 전자 장치(610)의 위치 및 방향을 획득할 수 있는 전자 장치일 수 있다.When the UWB signal is not received from the first external electronic device 610 for a set time period, the electronic device 101 may select at least one of set helper devices as the second external electronic device 620. there is. In FIG. 6 , the distance between the electronic device 101 and the first external electronic device 610 may be greater than a critical distance that can be measured based on the UWB method, and thus the electronic device 101 may be 1 UWB signals may not be received from the external electronic device 610 . The second external electronic device 620 may be a UWB relay device. In one embodiment, the UWB relay device establishes a UWB connection with the first external electronic device 610 according to the request of the electronic device 101, and the location and direction of the first external electronic device 610 through the established UWB connection. It may be an electronic device capable of acquiring.

일 실시 예에서, 헬퍼 장치들은 전자 장치(101)에 의해 제1 외부 전자 장치(610)에 대한 상태 정보 및 접근 권한이 공유될 수 있는 전자 장치들일 수 있다. 일 실시 예에서, 헬퍼 장치들은 무선 통신 네트워크에 등록되어 있는 전자 장치들 중 전자 장치(101)를 제외한 나머지 전자 장치들일 수 있다. 일 실시 예에서, 헬퍼 전자 장치들은 전자 장치(101)와 동일한 계정(예: 동일한 사용자 계정)에 등록되어 있는 전자 장치들일 수 있다. 일 실시 예에서, 헬퍼 장치는 전자 장치(101)의 요청에 따라 전자 장치(101)와 협력하여 제1 외부 전자 장치(610)에 대한 찾기 서비스를 제공할 수 있는 전자 장치일 수 있다. 일 실시 예에서, 헬퍼 장치는 UWB 방식을 지원할 수 있다. In an embodiment, the helper devices may be electronic devices capable of sharing status information and access rights with respect to the first external electronic device 610 by the electronic device 101 . In an embodiment, helper devices may be electronic devices other than the electronic device 101 among electronic devices registered in the wireless communication network. In an embodiment, the helper electronic devices may be electronic devices registered to the same account (eg, the same user account) as the electronic device 101 . In an embodiment, the helper device may be an electronic device capable of providing a search service for the first external electronic device 610 in cooperation with the electronic device 101 according to the request of the electronic device 101 . In one embodiment, the helper device may support the UWB scheme.

일 실시 예에서, 제1 외부 전자 장치(610)는 설정 개수 이하의 세션(session)(예: UWB 연결)들을 유지할 수 있으며, 설정 개수 이하의 UWB 연결들에 대해서는 투 웨이(two way) 레인징 프로토콜에 기반하여 UWB 통신을 수행할 수 있다. 세션들의 개수가 설정 개수를 초과할 경우, 제1 외부 전자 장치(610)는 원 웨이(one way) 레인징(one way ranging: OWR) 프로토콜에 기반하여 UWB 통신을 수행할 수 있다. 일 실시 예에서, 설정 개수는 제1 외부 전자 장치(610)가 설정할 수 있는 UWB 연결들의 최대 개수일 수 있다. 일 실시 예에서, 투 웨이 레인징 프로토콜은 더블 사이드 투 웨이 레인징(double side two way ranging: DS-TWR) 프로토콜 일 수 있다. 본 개시의 다양한 실시 예들에 따르면, 전자 장치(예: 도 1, 도 3, 또는 도 6의 전자 장치(101))는 디스플레이(예: 도 1의 디스플레이 모듈(160) 또는 도 3의 디스플레이(310)), 통신 회로(예: 도 1의 통신 모듈 (190) 또는 도 3의 통신 회로(302)), 및 상기 디스플레이(예: 도 1의 디스플레이 모듈(160) 또는 도 3의 디스플레이(310)) 및 상기 통신 회로(예: 도 1의 통신 모듈 (190) 또는 도 3의 통신 회로(302))와 작동적으로 연결되는 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(304))를 포함할 수 있고, 상기 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(304))는, 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))에 대한 위치 기반 서비스를 제공하고 있는 중에, 설정 시간 동안 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))로부터 패킷이 수신되지 않음을 확인할 경우, 상기 통신 회로(예: 도 1의 통신 모듈 (190) 또는 도 3의 통신 회로(302))를 통해, 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))와 연결을 설정하고, 상기 통신 회로(예: 도 1의 통신 모듈 (190) 또는 도 3의 통신 회로(302))를 통해, 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))로 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))의 위치를 획득하기 위한 릴레이(relay) 장치로 동작할 것을 요청하는 패킷을 송신하고, 상기 통신 회로(예: 도 1의 통신 모듈 (190) 또는 도 3의 통신 회로(302))를 통해, 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))로부터 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610)) 간의 거리 및 방향을 포함하는 패킷을 수신하고, 및 상기 전자 장치(예: 도 1, 도 3, 또는 도 6의 전자 장치(101))와 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620)) 간의 거리 및 방향, 및 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610)) 간의 거리 및 방향에 기반하여 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))의 위치를 예측하고, 상기 디스플레이(예: 도 1의 디스플레이 모듈(160) 또는 도 3의 디스플레이(310))를 통해, 상기 예측된 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))의 위치를 나타내는 정보를 디스플레이하도록 구성될 수 있다. In an embodiment, the first external electronic device 610 may maintain sessions (eg, UWB connections) equal to or less than a set number, and perform two-way ranging for UWB connections equal to or less than the set number. UWB communication may be performed based on a protocol. When the number of sessions exceeds the set number, the first external electronic device 610 may perform UWB communication based on a one way ranging (OWR) protocol. In one embodiment, the number of settings may be the maximum number of UWB connections that the first external electronic device 610 may establish. In one embodiment, the two-way ranging protocol may be a double side two way ranging (DS-TWR) protocol. According to various embodiments of the present disclosure, an electronic device (eg, the electronic device 101 of FIG. 1, 3, or 6) may display (eg, the display module 160 of FIG. 1 or the display 310 of FIG. 3 ). )), a communication circuit (eg, communication module 190 in FIG. 1 or communication circuit 302 in FIG. 3), and the display (eg, display module 160 in FIG. 1 or display 310 in FIG. 3) and at least one processor (eg, processor 120 of FIG. 1 or processor 3 of FIG. 3 ) operatively coupled with the communication circuit (eg, communication module 190 of FIG. 1 or communication circuit 302 of FIG. 304), and the at least one processor (eg, the processor 120 of FIG. 1 or the processor 304 of FIG. 3) may include a first external electronic device (eg, the electronic device of FIG. 1 ( 102) or the first external electronic device 610 of FIG. 6) while providing the location-based service, the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIG. When it is confirmed that the packet is not received from the first external electronic device 610 of Fig. 6, through the communication circuit (eg, the communication module 190 of FIG. 1 or the communication circuit 302 of FIG. 3), the second A connection is established with an external electronic device (eg, the second external electronic device 620 in FIG. 4 or 6), and the communication circuit (eg, the communication module 190 in FIG. 1 or the communication circuit 302 in FIG. 3) ) to the second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6) through the first external electronic device (eg, the electronic device 102 of FIG. 1 or FIG. 6 ). transmits a packet requesting operation as a relay device for acquiring the location of the first external electronic device 610 of the The second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6) through the communication circuit 302). 2 Receive a packet including the distance and direction between the external electronic device 620 and the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIG. 6 ) and the electronic device (eg, the electronic device 101 of FIG. 1, 3, or 6) and the second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6) distance and direction between the second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6) and the first external electronic device (eg, the electronic device 102 of FIG. 1 , or The first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIG. 6) based on the distance and direction between the first external electronic devices 610 of FIG. 6 predicts the position of the first external electronic device (eg, the electronic device 102 of FIG. 1 ) through the display (eg, the display module 160 of FIG. 1 or the display 310 of FIG. 3 ) ), or information indicating the location of the first external electronic device 610 of FIG. 6 .

본 개시의 다양한 실시 예에 따르면, 상기 릴레이 장치로 동작할 것을 요청하는 패킷은, 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))의 장치 정보, 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))에 대한 찾기 서비스를 제공하기 위해 검색 기능을 온(on) 시킬 것을 요청하는 명령, 또는 프로토콜에 관련된 정보 중 적어도 하나를 포함할 수 있다. According to various embodiments of the present disclosure, the packet requesting to operate as the relay device is sent to the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIG. 6 ). ))), and the search function is turned on to provide a search service for the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIG. 6). on), or at least one of protocol-related information.

본 개시의 다양한 실시 예에 따르면, 상기 검색 기능은 초광대역(ultra wide band: UWB)을 이용하는 검색 기능일 수 있고, 및 상기 프로토콜에 관련된 정보는 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610)) 간의 UWB 레인징(ranging) 동작에 사용될 레인징 프로토콜에 관련된 정보, 또는 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))에서 지원하는 프로토콜 타입에 관련된 정보 중 적어도 하나를 포함할 수 있다. According to various embodiments of the present disclosure, the search function may be a search function using an ultra wide band (UWB), and information related to the protocol may be stored in the second external electronic device (eg, FIG. 4 or FIG. 4 ). UWB ranging between the second external electronic device 620 of FIG. 6 and the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIG. 6 ) Among information related to a ranging protocol to be used for operation or information related to a protocol type supported by the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIG. 6 ) may contain at least one.

본 개시의 다양한 실시 예에 따르면, 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610)) 간의 거리 및 방향은 초광대역(ultra wide band: UWB) 연결을 통해 획득될 수 있고, 및 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610)) 간의 거리 및 방향을 포함하는 패킷은 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))의 장치 정보, 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))의 장치 정보, 또는 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610)) 간의 UWB 레인징(ranging) 동작에 사용된 레인징 프로토콜에 관련된 정보 중 적어도 하나를 더 포함할 수 있다.According to various embodiments of the present disclosure, the second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6 ) and the first external electronic device (eg, the electronic device 102 of FIG. 1 ) ), or the distance and direction between the first external electronic device 610 of FIG. 6) may be obtained through an ultra wide band (UWB) connection, and the second external electronic device (eg, FIG. 4 or 610). Includes the distance and direction between the second external electronic device 620 of FIG. 6 and the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIG. 6 ) The packet is the device information of the second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6), the first external electronic device (eg, the electronic device 102 of FIG. 1, or Device information of the first external electronic device 610 of FIG. 6 , or the second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6 ) and the first external electronic device (eg : may further include at least one of information related to a ranging protocol used for a UWB ranging operation between the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIG. 6 .

본 개시의 다양한 실시 예에 따르면, 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))는 통신 회로(예: 도 4의 통신 회로(402)), 및 상기 통신 회로(예: 도 4의 통신 회로(402))와 작동적으로 연결되는 적어도 하나의 프로세서(예: 도 4의 프로세서(404))를 포함할 수 있고, 상기 적어도 하나의 프로세서(예: 도 4의 프로세서(404))는, 상기 통신 회로(예: 도 4의 통신 회로(402))를 통해, 전자 장치(예: 도 1, 도 3, 또는 도 6의 전자 장치(101))와 연결을 설정하고, 상기 통신 회로(예: 도 4의 통신 회로(402))를 통해, 상기 전자 장치(예: 도 1, 도 3, 또는 도 6의 전자 장치(101))로부터 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))에 대한 위치 기반 서비스를 위해 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))의 위치를 획득하기 위한 릴레이(relay) 장치로 동작할 것을 요청하는 패킷을 수신하고, 상기 통신 회로(예: 도 4의 통신 회로(402))를 통해, 상기 제1외부 전자 장치와 연결을 설정하고, 상기 통신 회로(예: 도 4의 통신 회로(402))를 통해, 상기 전자 장치(예: 도 1, 도 3, 또는 도 6의 전자 장치(101))로 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610)) 간의 거리 및 방향을 포함하는 패킷을 송신하도록 구성될 수 있다. According to various embodiments of the present disclosure, the second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6) includes a communication circuit (eg, the communication circuit 402 of FIG. 4), and the and at least one processor (eg, processor 404 of FIG. 4 ) in operative connection with communication circuitry (eg, communication circuitry 402 of FIG. 4 ), wherein the at least one processor (eg, FIG. The processor 404 of 4) is connected to an electronic device (eg, the electronic device 101 of FIG. 1, 3, or 6) through the communication circuit (eg, the communication circuit 402 of FIG. 4). is set, and the electronic device (eg, the electronic device 101 of FIGS. 1, 3, or 6) through the communication circuit (eg, the communication circuit 402 of FIG. 4) to the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIG. 6) for location-based services (eg, the electronic device 102 of FIG. 1 ); Alternatively, receiving a packet requesting operation as a relay device for acquiring the location of the first external electronic device 610 of FIG. 6, and the communication circuit (eg, the communication circuit 402 of FIG. 4) Establishing a connection with the first external electronic device through, and through the communication circuit (eg, the communication circuit 402 of FIG. 4), the electronic device (eg, the electronic device of FIG. 1, FIG. 3, or FIG. 6) The device 101) is the second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6) and the first external electronic device (eg, the electronic device 102 of FIG. 1 ), or It may be configured to transmit a packet including the distance and direction between the first external electronic devices 610 of FIG. 6 .

본 개시의 다양한 실시 예에 따르면, 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610)) 간의 연결은 초광대역(ultra wide band: UWB) 연결일 수 있고, 및 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610)) 간의 거리 및 방향을 포함하는 패킷은 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))의 장치 정보, 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))의 장치 정보, 또는 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610)) 간의 UWB 레인징(ranging) 동작에 사용된 레인징 프로토콜에 관련된 정보 중 적어도 하나를 더 포함할 수 있다.According to various embodiments of the present disclosure, the second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6 ) and the first external electronic device (eg, the electronic device 102 of FIG. 1 ) ) or the first external electronic device 610 of FIG. 6) may be an ultra wide band (UWB) connection, and the second external electronic device (eg, the second external electronic device 610 of FIG. 4 or 6). A packet including the distance and direction between the external electronic device 620 and the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIG. 6) 2 Device information of the external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6 ), the first external electronic device (eg, the electronic device 102 of FIG. 1 , or the first external electronic device 620 of FIG. 6 ). Device information of the external electronic device 610), or the second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6) and the first external electronic device (eg, the electronic device of FIG. 1) It may further include at least one of information related to a ranging protocol used in a UWB ranging operation between the device 102 or the first external electronic device 610 of FIG. 6 .

본 개시의 다양한 실시 예에 따르면, 전자 장치(예: 도 1, 도 3, 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 전자 장치(101))는 디스플레이(예: 도 1의 디스플레이 모듈(160) 또는 도 3의 디스플레이(310)), 통신 회로(예: 도 1의 통신 모듈 (190) 또는 도 3의 통신 회로(302)), 및 상기 디스플레이(예: 도 1의 디스플레이 모듈(160) 또는 도 3의 디스플레이(310)) 및 상기 통신 회로(예: 도 1의 통신 모듈 (190) 또는 도 3의 통신 회로(302))와 작동적으로 연결되는 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(304))를 포함할 수 있고, 상기 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(304))는, 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))에 대한 위치 기반 서비스가 실행됨을 확인하면, 상기 통신 회로(예: 도 1의 통신 모듈 (190) 또는 도 3의 통신 회로(302))를 통해, 제3 외부 전자 장치(예: 도 1의 서버(108) 또는 도 5, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제3 외부 전자 장치(1210))로 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷을 송신하고, 상기 통신 회로(예: 도 1의 통신 모듈 (190) 또는 도 3의 통신 회로(302))를 통해, 상기 제3 외부 전자 장치(예: 도 1의 서버(108) 또는 도 5, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제3 외부 전자 장치(1210))로부터 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 위치를 획득하기 위한 릴레이(relay) 장치로 동작하는 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))에 의해 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 위치가 획득됨을 나타내는 패킷을 수신하고, 및 상기 디스플레이(예: 도 1의 디스플레이 모듈(160) 또는 도 3의 디스플레이(310))를 통해, 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))에 의해 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 위치가 획득됨을 나타내는 정보를 디스플레이하도록 구성될 수 있다.According to various embodiments of the present disclosure, an electronic device (eg, the electronic device 101 of FIGS. 1, 3, or 12A and 12B, or 13A and 13B) may include a display (eg, the display module of FIG. 1 ). 160 or display 310 in FIG. 3 ), communication circuitry (eg, communication module 190 in FIG. 1 or communication circuitry 302 in FIG. 3 ), and the display (eg, display module 160 in FIG. 1 ). ) or display 310 of FIG. 3) and at least one processor (eg, FIG. 1 ) in operative connection with the communication circuitry (eg, communication module 190 of FIG. may include the processor 120 of FIG. 3 or the processor 304 of FIG. 3 , and the at least one processor (eg, the processor 120 of FIG. 1 or the processor 304 of FIG. 3 ) may include a first external electronic When it is confirmed that the location-based service for the device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIGS. 12A and 12B or 13A and 13B) is executed, the communication circuit (eg, the communication module 190 of FIG. 1 or the communication circuit 302 of FIG. 3) through a third external electronic device (eg, the server 108 of FIG. 1 or FIG. 5, 12A and 12B, or The first external electronic device (eg, the electronic device 102 in FIG. 1 or the first external electronic device 1210 in FIGS. 12A and 12B or 13A and 13B) is the third external electronic device 1210 in FIGS. 13A and 13B. Transmits a packet requesting to perform a location-based service for the external electronic device 610, and through the communication circuit (eg, the communication module 190 of FIG. 1 or the communication circuit 302 of FIG. 3), The first external electronic device (eg, the server 108 of FIG. 1 or the third external electronic device 1210 of FIGS. 5, 12A and 12B, or 13A and 13B) Example: A second operating as a relay device for acquiring the position of the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIGS. 12A and 12B or 13A and 13B) The first external electronic device (eg, the electronic device 102 of FIG. 1 ) by an external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B) , or a packet indicating that the location of the first external electronic device 610 of FIGS. 12A and 12B, or 13A and 13B) is obtained, and the display (eg, the display module 160 of FIG. 1 or The first external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B) through the display 310 of FIG. 3). configured to display information indicating that the location of an external electronic device (eg, the electronic device 102 in FIG. 1 or the first external electronic device 610 in FIGS. 12A and 12B or 13A and 13B) is acquired. can

본 개시의 다양한 실시 예에 따르면, 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷은 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 장치 정보를 포함할 수 있다.According to various embodiments of the present disclosure, the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIGS. 12A and 12B or 13A and 13B) A packet requesting to perform a location-based service for the first external electronic device (eg, the electronic device 102 of FIG. 1, or the first external electronic device of FIGS. 12A and 12B, or 13A and 13B) (610)) may include device information.

본 개시의 다양한 실시 예에 따르면, 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610)) 간의 연결은 초광대역(ultra wide band: UWB) 연결일 수 있고, 및 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 위치가 획득됨을 나타내는 패킷은 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))의 장치 정보, 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 장치 정보, 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610)) 간의 거리 및 방향, 또는 UWB 레인징(ranging) 동작에 사용된 레인징 프로토콜에 관련된 정보 중 적어도 하나를 포함할 수 있다. According to various embodiments of the present disclosure, the second external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B) and the first external electronic device (Example: Connection between the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIGS. 12A and 12B or 13A and 13B) may be an ultra wide band (UWB) connection. and indicating that the location of the first external electronic device (eg, the electronic device 102 of FIG. 1, or the first external electronic device 610 of FIGS. 12A and 12B, or 13A and 13B) is acquired. The packet includes device information of the second external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B), the first external electronic device (eg, the second external electronic device 620 of FIGS. 13A and 13B). Device information of the electronic device 102 of 1 or the first external electronic device 610 of FIGS. 12A and 12B or 13A and 13B, the second external electronic device (eg, FIGS. 4, 12A and 13B). The second external electronic device 620 of FIG. 12B, or FIGS. 13A and 13B) and the first external electronic device (e.g., the electronic device 102 of FIG. 1 or FIGS. 12A and 12B, or FIGS. 13A and 13B). It may include at least one of information related to the distance and direction between the first external electronic devices 610 of 13B or a ranging protocol used for a UWB ranging operation.

본 개시의 다양한 실시 예에 따르면, 상기 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(304))는, 상기 통신 회로(예: 도 1의 통신 모듈 (190) 또는 도 3의 통신 회로(302))를 통해, 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))와 연결을 설정하고, 상기 통신 회로(예: 도 1의 통신 모듈 (190) 또는 도 3의 통신 회로(302))를 통해, 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))로부터 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610)) 간의 거리 및 방향을 포함하는 패킷을 수신하고, 및 상기 전자 장치(예: 도 1, 도 3, 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 전자 장치(101))와 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620)) 간의 거리 및 방향, 및 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610)) 간의 거리 및 방향에 기반하여 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 위치를 예측하고, 및 상기 디스플레이(예: 도 1의 디스플레이 모듈(160) 또는 도 3의 디스플레이(310))를 통해, 상기 예측된 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 위치를 나타내는 정보를 디스플레이하도록 더 구성될 수 있다. According to various embodiments of the present disclosure, the at least one processor (eg, the processor 120 of FIG. 1 or the processor 304 of FIG. 3 ) may include the communication circuit (eg, the communication module 190 or Through the communication circuit 302 of FIG. 3, establish a connection with the second external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B) and the second external electronic device (eg, FIG. 4, 12A and 12B, or 13A) through the communication circuit (eg, the communication module 190 of FIG. 1 or the communication circuit 302 of FIG. 3). and the second external electronic device 620 of FIG. 13B) to the second external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B) and the Receive a packet including the distance and direction between the first external electronic devices (eg, the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIGS. 12A and 12B or 13A and 13B) and the electronic device (eg, the electronic device 101 of FIGS. 1, 3, or 12A and 12B, or 13A and 13B) and the second external electronic device (eg, FIGS. 4 and 12A) and the distance and direction between the second external electronic device 620 of FIG. 12B, or FIGS. 13A and 13B, and the second external electronic device (eg, FIGS. 4, 12A and 12B, or FIGS. 13A and 13B). of the second external electronic device 620) and the first external electronic device (eg, the electronic device 102 of FIG. 1, or the first external electronic device 610 of FIGS. 12A and 12B, or 13A and 13B) ) The first external electronic device (eg, the electronic device 102 of FIG. 1, or the first external electronic device 610 of FIGS. 12A and 12B, or 13A and 13B) based on the distance and direction between Predicting the position of and through the display (eg, display module 160 of FIG. 1 or display 310 of FIG. 3), the predicted first external electronic device (eg, electronic device of FIG. 1 ( 102), or the first external electronic device 610 of FIGS. 12A and 12B, or 13A and 13B) may be further configured to display information indicating a location.

본 개시의 다양한 실시 예에 따르면, 상기 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(304))는, 상기 통신 회로(예: 도 1의 통신 모듈 (190) 또는 도 3의 통신 회로(302))를 통해, 상기 제3 외부 전자 장치(예: 도 1의 서버(108) 또는 도 5, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제3 외부 전자 장치(1210))로부터 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610)) 간의 거리 및 방향을 포함하는 패킷을 수신하고, 및 상기 디스플레이(예: 도 1의 디스플레이 모듈(160) 또는 도 3의 디스플레이(310))를 통해, 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610)) 간의 거리 및 방향을 포함하는 정보를 출력하도록 더 구성될 수 있다. According to various embodiments of the present disclosure, the at least one processor (eg, the processor 120 of FIG. 1 or the processor 304 of FIG. 3 ) may include the communication circuit (eg, the communication module 190 or Through the communication circuit 302 of FIG. 3, the third external electronic device (eg, the server 108 of FIG. 1 or the third external electronic device of FIGS. 5, 12A and 12B, or 13A and 13B) 1210) to the second external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B) and the first external electronic device (eg, FIG. Receive a packet including the distance and direction between the electronic device 102 of 1 or the first external electronic device 610 of FIGS. 12A and 12B or 13A and 13B, and the display (eg, FIG. Through the display module 160 of FIG. 1 or the display 310 of FIG. 3 , the second external electronic device (eg, the second external electronic device of FIGS. 4, 12A and 12B, or 13A and 13B) 620) and the first external electronic device (e.g., the electronic device 102 of FIG. 1, or the first external electronic device 610 of FIGS. 12A and 12B, or 13A and 13B) It may be further configured to output information including.

본 개시의 다양한 실시 예에 따르면, 제3 외부 전자 장치(예: 도 1의 서버(108) 또는 도 5, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제3 외부 전자 장치(1210))는 통신 회로(예: 도 5의 통신 회로(502)), 및 상기 통신 회로(예: 도 5의 통신 회로(502))와 작동적으로 연결되는 적어도 하나의 프로세서(예: 도 5의 프로세서(504))를 포함할 수 있고, 상기 적어도 하나의 프로세서(예: 도 5의 프로세서(504))는, 상기 통신 회로(예: 도 5의 통신 회로(502))를 통해, 전자 장치(예: 도 1, 도 3, 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 전자 장치(101))로부터 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷을 수신하고, 상기 통신 회로(예: 도 5의 통신 회로(502))를 통해, 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 위치를 획득하기 위한 릴레이(relay) 장치로 동작하는 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))로 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))에 대한 상기 위치 기반 서비스를 수행할 것을 요청하는 패킷을 송신하고, 상기 통신 회로(예: 도 5의 통신 회로(502))를 통해, 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))로부터 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 위치가 획득됨을 나타내는 패킷을 수신하고, 및 상기 통신 회로(예: 도 5의 통신 회로(502))를 통해, 상기 전자 장치(예: 도 1, 도 3, 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 전자 장치(101))로 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))에 의해 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 위치가 획득됨을 나타내는 패킷을 송신하도록 구성될 수 있다. According to various embodiments of the present disclosure, a third external electronic device (eg, the server 108 of FIG. 1 or the third external electronic device 1210 of FIGS. 5, 12A and 12B, or 13A and 13B) is a communication circuit (eg, communication circuit 502 of FIG. 5 ), and at least one processor operatively coupled with the communication circuit (eg, communication circuit 502 of FIG. 5 ) (eg, the processor of FIG. 5 ( 504)), and the at least one processor (eg, the processor 504 of FIG. 5), through the communication circuit (eg, the communication circuit 502 of FIG. 5), the electronic device (eg, the processor 504 of FIG. 5). 1, 3, or FIGS. 12A and 12B, or FIGS. 13A and 13B from the first external electronic device (e.g., the electronic device 102 of FIG. 1, or FIGS. 12A and 12B) , or receiving a packet requesting to perform a location-based service for the first external electronic device 610 of FIGS. 13A and 13B, and through the communication circuit (eg, the communication circuit 502 of FIG. 5) , A relay for acquiring the location of the first external electronic device (eg, the electronic device 102 of FIG. 1, or the first external electronic device 610 of FIGS. 12A and 12B, or 13A and 13B) ( The first external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B) operating as a relay device. Transmits a packet requesting to perform the location-based service for the electronic device 102 of 1 or the first external electronic device 610 of FIGS. 12A and 12B or 13A and 13B, and The second external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B) via a circuit (eg, the communication circuit 502 of FIG. 5). A packet indicating that the location of the first external electronic device (eg, the electronic device 102 of FIG. 1, or the first external electronic device 610 of FIGS. 12A and 12B, or 13A and 13B) is obtained from receive, and through the communication circuit (eg, communication circuit 502 of FIG. 5), the electronic device (eg, the electronic device of FIGS. 1, 3, or 12A and 12B, or 13A and 13B) (101)) by the second external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B) to the first external electronic device (eg, It may be configured to transmit a packet indicating that the location of the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIGS. 12A and 12B or 13A and 13B is obtained.

본 개시의 다양한 실시 예에 따르면, 상기 적어도 하나의 프로세서(예: 도 5의 프로세서(504))는, 상기 통신 회로(예: 도 5의 통신 회로(502))를 통해, 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))로부터 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610)) 간의 거리 및 방향을 포함하는 패킷을 수신하고, 및 상기 통신 회로(예: 도 5의 통신 회로(502))를 통해, 상기 전자 장치(예: 도 1, 도 3, 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 전자 장치(101))로 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610)) 간의 거리 및 방향을 포함하는 패킷을 송신하도록 구성될 수 있다. According to various embodiments of the present disclosure, the at least one processor (eg, the processor 504 of FIG. 5 ), via the communication circuit (eg, the communication circuit 502 of FIG. 5 ), the second external electronic device (eg, second external electronic device 620 in FIGS. 4, 12A and 12B, or 13A and 13B) to the second external electronic device (eg, FIGS. 4, 12A and 12B, or FIG. The second external electronic device 620 of FIGS. 13A and 13B) and the first external electronic device (e.g., the electronic device 102 of FIG. 1 or the first external electronic device 620 of FIGS. 12A and 12B or 13A and 13B) Receive a packet including the distance and direction between the electronic devices 610, and through the communication circuitry (eg, the communication circuit 502 of FIG. 5), the electronic device (eg, FIG. 1, FIG. 3, or 12A and 12B, or the electronic device 101 of FIGS. 13A and 13B), the second external electronic device (eg, the second external electronic device of FIGS. 4, 12A and 12B, or 13A and 13B) 620) and the first external electronic device (e.g., the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIGS. 12A and 12B, or 13A and 13B) It can be configured to transmit a packet containing.

상기 레인징 프로토콜은 원 웨이(one way) 레인징 프로토콜 또는 투 웨이(two way) 레인징 프로토콜 중 적어도 하나를 포함할 수 있다. The ranging protocol may include at least one of a one way ranging protocol and a two way ranging protocol.

그러면 여기서 도 7 및 도 8을 참조하여 무선 통신 네트워크에서 DS-TWR 프로토콜에 따른 UWB 레인징 동작 및 OWR 프로토콜에 따른 UWB 레인징 동작에 대해서 각각 설명하기로 한다. Then, a UWB ranging operation according to the DS-TWR protocol and a UWB ranging operation according to the OWR protocol in a wireless communication network will be described with reference to FIGS. 7 and 8 .

도 7은 다양한 실시 예에 따른 무선 통신 네트워크에서 UWB 레인징 동작의 일 예를 도시하고 있는 도면이다.7 is a diagram illustrating an example of a UWB ranging operation in a wireless communication network according to various embodiments.

도 7을 참조하면, 도 7에 도시되어 있는 UWB 레인징 동작은 DS-TWR 프로토콜에 기반하는 UWB 레인징 동작일 수 있다. 개시자(710)는 UWB 레인징 동작을 개시하는 전자 장치일 수 있고, 응답자(720)는 개시자(710)에 응답하는 전자 장치 일 수 있다.Referring to FIG. 7 , the UWB ranging operation illustrated in FIG. 7 may be a UWB ranging operation based on the DS-TWR protocol. The initiator 710 may be an electronic device that initiates a UWB ranging operation, and the responder 720 may be an electronic device that responds to the initiator 710 .

DS-TWR프로토콜에서는 2개의 왕복 시간(round-trip time: RTT) 측정들이 사용 및 결합되어 상당히 긴 응답 지연(예: 임계 시간을 초과하는 응답 지연)이 존재하고, 부정확한 클럭 주파수 오프셋이 존재할 경우에도 감소된 에러를 가지는 비행 시간(time of flight: TOF)(예: 전파 시간(propagation time) Tprop)을 제공할 수 있다. 2개의 RTT 측정들 중 1개의 RTT 측정(예: 제1 RTT 측정)에서는 전자 장치 A가 개시자(710)로서 동작할 수 있고, 나머지 1개의 RTT 측정(예: 제2 RTT 측정)에서는 전자 장치 B가 개시자(710)로서 동작할 수 있다. 도 7에서 동작 711, 동작 713, 동작 715, 동작 717, 및 동작 719는 제1 RTT 측정에 따른 동작들이고, 동작 721, 동작 723, 동작 725, 동작 727, 및 동작 729는 제2 RTT 측정에 따른 동작들일 수 있다. In the DS-TWR protocol, two round-trip time (RTT) measurements are used and combined in the presence of fairly long response delays (e.g. response delays exceeding the threshold time) and inaccurate clock frequency offsets. Even in , time of flight (TOF) (eg, propagation time (propagation time) T prop ) with reduced error can be provided. Electronic device A may operate as the initiator 710 in one RTT measurement (eg, first RTT measurement) of the two RTT measurements, and in the other RTT measurement (eg, second RTT measurement), electronic device A may operate as the initiator 710 . B may act as initiator 710 . 7 , operations 711, 713, 715, 717, and 719 are operations according to the first RTT measurement, and operations 721, 723, 725, 727, and 729 are operations according to the second RTT measurement. can be actions.

개시자(710)는 동작 711에서 응답자(720)로 레인징 제어 메시지(ranging control message: RCM)를 송신하여 제1 RTT 측정을 개시할 수 있다. RCM은 진화된 레인징 제어 정보 엘리먼트(information element: IE)(advanced ranging control IE: ARC IE)를 전달하는 데이터 프레임일 수 있다. 일 실시 예에서, RCM은 UWB 레인징 동작에 관련되는 적어도 하나의 파라미터를 포함할 수 있다. The initiator 710 may initiate the first RTT measurement by transmitting a ranging control message (RCM) to the responder 720 in operation 711 . The RCM may be a data frame carrying an advanced ranging control IE (ARC IE) (an information element (IE)). In an embodiment, the RCM may include at least one parameter related to a UWB ranging operation.

개시자(710)는 동작 713에서 응답자(720)로 폴(poll) 신호를 송신할 수 있다. 개시자(710)로부터 폴 신호를 수신한 응답자(720)는 동작 715에서 폴 신호에 대해 응답하여 개시자(710)로 응답(response) 신호를 송신할 수 있다. 응답자(720)로부터 응답 신호를 수신한 개시자(710)는 동작 717에서 응답 신호에 대해 응답하여 응답자(720)로 최종(final) 신호를 송신할 수 있다. 개시자(710)로부터 최종 신호를 수신한 응답자(720)는 동작 719에서 최종 신호에 응답하여 보고(report) 신호를 송신할 수 있다. Initiator 710 may transmit a poll signal to responder 720 at operation 713 . Upon receiving the poll signal from the initiator 710, the responder 720 may transmit a response signal to the initiator 710 in response to the poll signal in operation 715. Upon receiving the response signal from the responder 720, the initiator 710 may transmit a final signal to the responder 720 in response to the response signal in operation 717. Upon receiving the final signal from the initiator 710, the responder 720 may transmit a report signal in response to the final signal in operation 719.

개시자(710)는 동작 721에서 응답자(720)로 RCM을 송신하여 제2 RTT 측정을 개시할 수 있다. RCM은 UWB 레인징 동작에 관련되는 적어도 하나의 파라미터를 포함할 수 있다. 개시자(710)는 동작 723에서 응답자(720)로 폴 신호를 송신할 수 있다. 개시자(710)로부터 폴 신호를 수신한 응답자(720)는 동작 725에서 폴 신호에 대해 응답하여 개시자(710)로 응답 신호를 송신할 수 있다. 응답자(720)로부터 응답 신호를 수신한 개시자(710)는 동작 727에서 응답 신호에 대해 응답하여 응답자(720)로 최종 신호를 송신할 수 있다. 개시자(710)로부터 최종 신호를 수신한 응답자(720)는 동작 729에서 최종 신호에 응답하여 보고 신호를 송신할 수 있다. The initiator 710 may transmit an RCM to the responder 720 in operation 721 to initiate the second RTT measurement. RCM may include at least one parameter related to a UWB ranging operation. The initiator 710 may transmit a poll signal to the responder 720 at operation 723 . Upon receiving the poll signal from the initiator 710, the responder 720 may transmit a response signal to the initiator 710 in response to the poll signal in operation 725. Upon receiving the response signal from the responder 720, the initiator 710 may transmit a final signal to the responder 720 in response to the response signal in operation 727. Upon receiving the final signal from the initiator 710, the responder 720 may transmit a report signal in response to the final signal in operation 729.

제1 RTT 측정 및 제2 RTT 측정 모두가 완료되면, DS-TWR 프로토콜에 따른 UWB 레인징 동작이 완료되며, 전자 장치 A와 전자 장치 B간의 전파 시간(propagation time) Tprop이 획득될 수 있다. When both the first RTT measurement and the second RTT measurement are completed, the UWB ranging operation according to the DS-TWR protocol is completed, and a propagation time T prop between the electronic device A and the electronic device B may be obtained.

도 8은 다양한 실시 예에 따른 무선 통신 네트워크에서 UWB 레인징 동작의 다른 예를 도시하고 있는 도면이다.8 is a diagram illustrating another example of a UWB ranging operation in a wireless communication network according to various embodiments.

도 8을 참조하면, 도 8에 도시되어 있는 UWB 레인징 동작은 OWR 프로토콜에 기반하는 UWB 레인징 동작일 수 있다. 개시자(810)는 UWB 레인징 동작을 개시하는 전자 장치일 수 있고, 제1 응답자(820), 제2 응답자(830), 및/또는 제3 응답자(840)는 개시자(810)에 응답하는 전자 장치 일 수 있다. Referring to FIG. 8 , the UWB ranging operation shown in FIG. 8 may be a UWB ranging operation based on the OWR protocol. The initiator 810 may be an electronic device that initiates a UWB ranging operation, and the first responder 820, the second responder 830, and/or the third responder 840 respond to the initiator 810. It may be an electronic device that

OWR 프로토콜은 도착 시간 차이(time difference of arrival: TDOA) 기술에 대해서 사용될 수 있다. TDOA기술은 단일 메시지 또는 다수의 메시지들의 상대적 도착 시간에 기반하여, 전자 장치(예: 무선 주파수 식별(radio frequency identification: RFID) 장치)의 위치를 획득하는 기술일 수 있다. OWR 프로토콜에서는 개시자(810)가 다수의 응답자들(예: 제1 응답자(820), 제2 응답자(830), 및/또는 제3 응답자(840))로부터 데이터를 수신할 수 있고, 다수의 응답자들로부터 수신된 데이터에 기반하여 다수의 응답자들 각각에 대한 TDOA를 획득할 수 있다. The OWR protocol may be used for time difference of arrival (TDOA) techniques. The TDOA technology may be a technology for obtaining the location of an electronic device (eg, a radio frequency identification (RFID) device) based on the relative arrival time of a single message or multiple messages. In the OWR protocol, the initiator 810 can receive data from multiple responders (eg, first responder 820, second responder 830, and/or third responder 840), and multiple responders A TDOA for each of a plurality of responders may be obtained based on data received from the responders.

제1 응답자(820)는 동작 811에서 개시자(810)로 페어링 데이터(paring data)를 송신할 수 있다. 제1 응답자(820)는 동작 813에서 개시자(810)로 데이터를 송신할 수 있다. 개시자(810)는 제1 응답자(820)로부터 수신된 데이터에 기반하여 제1 응답자(820)에 대한 TDOA를 획득할 수 있다. First responder 820 may transmit pairing data to initiator 810 in operation 811 . First responder 820 may transmit data to initiator 810 in operation 813 . The initiator 810 may obtain a TDOA for the first responder 820 based on the data received from the first responder 820 .

제2 응답자(830)는 동작 821에서 개시자(810)로 페어링 데이터를 송신할 수 있다. 제2 응답자(830)는 동작 823에서 개시자(810)로 데이터를 송신할 수 있다. 개시자(810)는 제2 응답자(830)로부터 수신된 데이터에 기반하여 제2 응답자(830)에 대한 TDOA를 획득할 수 있다. The second responder 830 may transmit pairing data to the initiator 810 in operation 821 . The second responder 830 may transmit data to the initiator 810 in operation 823 . The initiator 810 may obtain a TDOA for the second responder 830 based on data received from the second responder 830 .

제3 응답자(840)는 동작 831에서 개시자(810)로 페어링 데이터를 송신할 수 있다. 제3 응답자(840)는 동작 833에서 개시자(810)로 데이터를 송신할 수 있다. 개시자(810)는 제3 응답자(840)로부터 수신된 데이터에 기반하여 제3 응답자(840)에 대한 TDOA를 획득할 수 있다. Third responder 840 may transmit pairing data to initiator 810 in operation 831 . The third responder 840 may transmit data to the initiator 810 in operation 833 . The initiator 810 may obtain a TDOA for the third responder 840 based on data received from the third responder 840 .

다시 도 6을 참조하면, 전자 장치(101)는 설정되어 있는 헬퍼 장치들 중 선택된 제2 외부 전자 장치(620)와 UWB 연결을 설정할 수 있다. 일 실시 예에서, 전자 장치(101)와 제2 외부 전자 장치(620) 간의 거리는 UWB 통신이 가능한 임계 거리와 같거나 또는 짧을 수 있다. 전자 장치(101)는 제2 외부 전자 장치(620)와 UWB 연결을 설정한 후 제2 외부 전자 장치(620)로 제1 외부 전자 장치(610)에 대한 찾기 서비스에 대한 UWB 릴레이 장치로 동작할 것을 요청하는 제1 패킷을 송신할 수 있다. Referring back to FIG. 6 , the electronic device 101 may establish a UWB connection with the second external electronic device 620 selected from among set helper devices. In an embodiment, a distance between the electronic device 101 and the second external electronic device 620 may be equal to or shorter than a critical distance at which UWB communication is possible. After the electronic device 101 establishes a UWB connection with the second external electronic device 620, the second external electronic device 620 may operate as a UWB relay device for a search service for the first external electronic device 610. It is possible to transmit a first packet requesting that.

일 실시 예에서, 제1 패킷은 타겟 전자 장치(예: 제1 외부 전자 장치(610))에 대한 찾기 서비스를 제공하기 위한 UWB 릴레이 장치로 동작할 것을 요청하는 패킷일 수 있다. 일 실시 예에서, 제1 패킷은 찾기 서비스에 대한 타겟 전자 장치인 제1 외부 전자 장치(610)의 장치 정보(device information), 제1 외부 전자 장치(610)에 대한 찾기 서비스를 제공하기 위해 UWB 검색 기능을 온(on) 시킬 것을 요청하는 명령(command), 또는 프로토콜에 관련된 정보 중 적어도 하나를 포함할 수 있다. In one embodiment, the first packet may be a packet requesting operation as a UWB relay device for providing a discovery service for a target electronic device (eg, the first external electronic device 610). In one embodiment, the first packet includes device information of the first external electronic device 610, which is a target electronic device for the discovery service, and UWB to provide a discovery service for the first external electronic device 610. It may include at least one of a command requesting to turn on a search function and information related to a protocol.

일 실시 예에서, 프로토콜에 관련된 정보는 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 사이의 UWB 레인징 동작에 사용될 레인징 프로토콜에 관련된 정보, 또는 제1 외부 전자 장치(610)에서 지원하는 프로토콜 타입에 관련된 정보 중 적어도 하나를 포함할 수 있다. 일 실시 예에서, 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 사이의 UWB 레인징 동작에 사용될 레인징 프로토콜은 투 웨이 레인징(예: DS-TWR) 프로토콜 또는 원 웨이 레인징 중 적어도 하나를 포함할 수 있다. 제1 외부 전자 장치(610)에서 지원하는 프로토콜 타입은 UWB, BLE, 또는 Wi-Fi 중 적어도 하나를 포함할 수 있다. In an embodiment, the protocol-related information is information related to a ranging protocol to be used for a UWB ranging operation between the second external electronic device 620 and the first external electronic device 610, or the first external electronic device 610 ) may include at least one of information related to a protocol type supported by In an embodiment, a ranging protocol to be used for a UWB ranging operation between the second external electronic device 620 and the first external electronic device 610 is a two-way ranging (eg, DS-TWR) protocol or a one-way lane It may contain at least one of the The protocol type supported by the first external electronic device 610 may include at least one of UWB, BLE, and Wi-Fi.

전자 장치(101)로부터 제1 패킷을 수신한 제2 외부 전자 장치(620)는 제1 패킷에 포함되어 있는 정보에 기반하여 제1 외부 전자 장치(610)와 UWB 연결을 설정할 수 있다. 제1 외부 전자 장치(610)와 제2 외부 전자 장치(620) 간의 거리는 임계 거리와 같거나 또는 짧을 수 있다. 제1 외부 전자 장치(610)와 UWB 연결을 설정한 후 제2 외부 전자 장치(620)는 제1 패킷에 포함되어 있는 정보에 기반하여 개시자로서 UWB 레인징 동작을 수행할 수 있다. 일 실시 예에서, 제2 외부 전자 장치(620)는 제1 패킷에 포함되어 있는 프토토콜에 관련된 정보에 포함되어 있는 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 사이의 UWB 레인징 동작에 사용될 레인징 프로토콜에 관련된 정보, 또는 제1 외부 전자 장치(610)에서 지원하는 프로토콜 타입에 관련된 정보 중 적어도 하나에 기반하여 개시자로서 UWB 레인징 동작을 수행할 수 있다. Upon receiving the first packet from the electronic device 101, the second external electronic device 620 may establish a UWB connection with the first external electronic device 610 based on information included in the first packet. A distance between the first external electronic device 610 and the second external electronic device 620 may be equal to or shorter than the critical distance. After establishing a UWB connection with the first external electronic device 610, the second external electronic device 620 may perform a UWB ranging operation as an initiator based on information included in the first packet. In one embodiment, the second external electronic device 620 is UWB between the second external electronic device 620 and the first external electronic device 610 included in protocol-related information included in the first packet. A UWB ranging operation may be performed as an initiator based on at least one of information related to a ranging protocol to be used for the ranging operation or information related to a protocol type supported by the first external electronic device 610 .

제2 외부 전자 장치(620)는 제1 외부 전자 장치(610)와 UWB 레인징 동작을 수행함에 따라 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 거리 및 방향(예: 도래각(angle of arrival: AoA))을 획득할 수 있다. 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 거리 및 방향을 획득한 제2 외부 전자 장치(620)는 전자 장치(101)로 릴레이 패킷(packet)을 송신할 수 있다. 일 실시 예에서, 릴레이 패킷은 UWB 릴레이 장치로 동작하는 제2 외부 전자 장치(620)가 송신하는 패킷일 수 있다. 일 실시 예에서, 릴레이 패킷은 제2 외부 전자 장치(620)가 UWB 릴레이 장치로서 동작함에 따라 획득된, 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 거리 및 방향을 포함할 수 있다.As the second external electronic device 620 performs a UWB ranging operation with the first external electronic device 610, the distance and direction between the second external electronic device 620 and the first external electronic device 610 (for example, The angle of arrival (AoA) can be obtained. After obtaining the distance and direction between the second external electronic device 620 and the first external electronic device 610, the second external electronic device 620 may transmit a relay packet to the electronic device 101. In one embodiment, the relay packet may be a packet transmitted by the second external electronic device 620 operating as a UWB relay device. In one embodiment, the relay packet includes a distance and a direction between the second external electronic device 620 and the first external electronic device 610, obtained as the second external electronic device 620 operates as a UWB relay device. can do.

그러면 여기서 도 9를 참조하여 다양한 실시 예에 따른 무선 통신 네트워크에서 릴레이 패킷에 대해서 설명하기로 한다.Here, a relay packet in a wireless communication network according to various embodiments will be described with reference to FIG. 9 .

도 9는 다양한 실시 예에 따른 무선 통신 네트워크에서 릴레이 패킷의 일 예를 도시하고 있는 도면이다.9 is a diagram illustrating an example of a relay packet in a wireless communication network according to various embodiments.

도 9를 참조하면, 릴레이 패킷(900)은 UWB 릴레이 장치(예: 제2 외부 전자 장치)에 의해 송신되는 패킷일 수 있다. 일 실시 예에서, 릴레이 패킷(900)은 무선 통신 네트워크에서 제1 외부 전자 장치에 대한 찾기 서비스에 참여하는, 적어도 하나의 UWB 릴레이 장치에 의해 송신될 수 있다. 릴레이 패킷(900)은 개시자 장치 정보(initiator device information)(910), 응답자 장치 정보(responder device information)(920), 또는 UWB 레인징 데이터(UWB ranging data)(930) 중 적어도 하나를 포함할 수 있다. 일 실시 예에서, 개시자 장치 정보(910), 응답자 장치 정보(920), 및/또는 UWB 레인징 데이터(930)는 릴레이 패킷(900)의 페이로드(payload) 필드에 포함될 수 있다. Referring to FIG. 9 , a relay packet 900 may be a packet transmitted by a UWB relay device (eg, a second external electronic device). In an embodiment, the relay packet 900 may be transmitted by at least one UWB relay device participating in a discovery service for a first external electronic device in a wireless communication network. The relay packet 900 may include at least one of initiator device information 910, responder device information 920, and UWB ranging data 930. can In one embodiment, initiator device information 910 , responder device information 920 , and/or UWB ranging data 930 may be included in a payload field of relay packet 900 .

일 실시 예에서, 개시자 장치 정보(910)는 장치 식별자(identifier: ID), 장치 타입(device type), 또는 장치 이름(device name) 중 적어도 하나를 포함할 수 있다. 개시자 장치 정보(910)에 포함되는 장치 ID는 개시자의 장치 ID를 나타낼 수 있다. 개시자 장치 정보(910)에 포함되는 장치 타입은 개시자의 장치 타입을 나타낼 수 있다. 일 실시 예에서, 장치 타입은 해당 장치가 고정 타입(fixed-type) 장치 인지 또는 이동 타입(mobile-type) 장치인지를 나타낼 수 있다. 일 실시 예에서, 이동 타입 장치는 스마트 폰 또는 태블릿 중 적어도 하나를 포함할 수 있으며, 고정 타입 장치는 TV, 라이트, 에어 컨디셔너, 오븐, 스피커, 또는 냉장고와 같은 가전 제품들 중 적어도 하나를 포함할 수 있다. 개시자 장치 정보(910)에 포함되는 장치 이름은 개시자 장치의 장치 이름을 나타낼 수 있다. 일 실시 예에서, 장치 이름은 전자 장치의 사용자에 의해 부여된 장치 이름일 수 있다. In one embodiment, the initiator device information 910 may include at least one of a device identifier (ID), a device type, or a device name. The device ID included in the initiator device information 910 may represent the device ID of the initiator. The device type included in the initiator device information 910 may indicate the device type of the initiator. In one embodiment, the device type may indicate whether the corresponding device is a fixed-type device or a mobile-type device. In one embodiment, the mobile type device may include at least one of a smart phone or tablet, and the fixed type device may include at least one of home appliances such as a TV, light, air conditioner, oven, speaker, or refrigerator. can The device name included in the initiator device information 910 may represent the device name of the initiator device. In one embodiment, the device name may be a device name given by a user of the electronic device.

일 실시 예에서, 응답자 장치 정보(920)는 장치 ID, 장치 타입, 또는 장치 이름 중 적어도 하나를 포함할 수 있다. 응답자 장치 정보(920)에 포함되는 장치 ID는 응답자의 장치 ID를 나타낼 수 있다. 응답자 장치 정보(920)에 포함되는 장치 타입은 응답자의 장치 타입을 나타낼 수 있다. 일 실시 예에서, 장치 타입은 해당 장치가 고정 타입 장치 인지 또는 이동 타입 장치인지를 나타낼 수 있다. 일 실시 예에서, 이동 타입 장치는 스마트 폰 또는 태블릿 중 적어도 하나를 포함할 수 있으며, 고정 타입 장치는 TV, 라이트, 에어 컨디셔너, 오븐, 스피커, 또는 냉장고와 같은 가전 제품들 중 적어도 하나를 포함할 수 있다. 응답자 장치 정보(920)에 포함되는 장치 이름은 응답자 장치의 장치 이름을 나타낼 수 있다. 일 실시 예에서, 장치 이름은 전자 장치의 사용자에 의해 부여된 장치 이름일 수 있다. In one embodiment, the responder device information 920 may include at least one of a device ID, device type, or device name. The device ID included in the responder device information 920 may represent the device ID of the responder. The device type included in the responder device information 920 may indicate the responder's device type. In one embodiment, the device type may indicate whether the corresponding device is a fixed type device or a mobile type device. In one embodiment, the mobile type device may include at least one of a smart phone or tablet, and the fixed type device may include at least one of home appliances such as a TV, light, air conditioner, oven, speaker, or refrigerator. can The device name included in the responder device information 920 may represent the device name of the responder device. In one embodiment, the device name may be a device name given by a user of the electronic device.

일 실시 예에서, UWB 레인징 데이터(930)는 거리, AoA, 또는 레인징 타입(ranging type) 중 적어도 하나를 포함할 수 있다. 일 실시 예에서, 거리는 UWB 릴레이 장치인 제2 외부 전자 장치와 타겟 전자 장치인 제1 외부 전자 장치 간의 거리를 나타낼 수 있다. 일 실시 예에서, AoA는 제2 외부 전자 장치와 제1 외부 전자 장치 간의 AoA를 나타낼 수 있다. 일 실시 예에서, 레인징 타입은 제2 외부 전자 장치와 제1 외부 전자 장치 간의 UWB 레인징 동작에 사용된 레인징 프로토콜의 타입을 나타낼 수 있다. 일 실시 예에서, 레인징 프로토콜의 타입은 OWR, DS-TWR, 또는 단일 사이드 투 웨이 레인징(single side two way ranging: SS-TWR) 중 적어도 하나를 포함할 수 있다. In an embodiment, the UWB ranging data 930 may include at least one of distance, AoA, or ranging type. In an embodiment, the distance may indicate a distance between the second external electronic device, which is a UWB relay device, and the first external electronic device, which is a target electronic device. In an embodiment, AoA may indicate an AoA between the second external electronic device and the first external electronic device. In an embodiment, the ranging type may indicate a type of ranging protocol used for a UWB ranging operation between the second external electronic device and the first external electronic device. In an embodiment, the type of ranging protocol may include at least one of OWR, DS-TWR, or single side two way ranging (SS-TWR).

다시 도 6을 참조하면, 제2 외부 전자 장치(620)로부터 릴레이 패킷을 수신한 전자 장치(101)는 수신한 릴레이 패킷에 포함되어 있는 정보에 기반하여 제1 외부 전자 장치(610)의 위치를 획득할 수 있다. 전자 장치(101)는 획득된 제1 외부 전자 장치(610)의 위치를 AR 파인더 상에서 UI를 통해 디스플레이 할 수 있다. Referring back to FIG. 6 , upon receiving the relay packet from the second external electronic device 620, the electronic device 101 locates the first external electronic device 610 based on the information included in the received relay packet. can be obtained The electronic device 101 may display the acquired location of the first external electronic device 610 on the AR finder through the UI.

그러면 여기서 도 10을 참조하여 다양한 실시 예에 따른 무선 통신 네트워크에서 릴레이 패킷에 기반하여 제1 외부 전자 장치의 위치를 획득하는 동작에 대해서 설명하기로 한다.Then, an operation of obtaining a location of a first external electronic device based on a relay packet in a wireless communication network according to various embodiments will be described with reference to FIG. 10 .

도 10은 다양한 실시 예에 따른 무선 통신 네트워크에서 릴레이 패킷에 기반하여 제1 외부 전자 장치의 위치를 획득하는 동작의 일 예를 도시하고 있는 도면이다.10 is a diagram illustrating an example of an operation of acquiring a location of a first external electronic device based on a relay packet in a wireless communication network according to various embodiments.

도 10을 참조하면, 무선 통신 네트워크의 구조는 도 6에서 도시한 무선 통신 네트워크의 구조와 동일하다고 가정하기로 한다. 도 10에서, "a"는 전자 장치(예: 도 1, 도 3, 또는 도 6의 전자 장치(101))와 제2 외부 전자 장치(예: 도 6의 제2 외부 전자 장치(620)) 간의 거리를 나타내고, "b"는 전자 장치와 제1 외부 전자 장치(예: 도 1의 전자 장치(102) 또는 도 6의 제1 외부 전자 장치(610)) 간의 거리를 나타내고, "c"는 제2 외부 전자 장치와 제1 외부 전자 장치 간의 거리를 나타내고, "A"는 제2 외부 전자 장치의 위치를 나타내고, "B"는 제1 외부 전자 장치의 위치를 나타내고, "C"는 전자 장치의 위치를 나타낼 수 있다. 전자 장치는 제2 외부 전자 장치로부터 릴레이 패킷을 수신하고, 수신된 릴레이 패킷에 기반하여 제2 외부 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향을 획득할 수 있다. 일 실시 예에서, 제2 외부 전자 장치와 제1 외부 전자 장치 간의 방향은 제2 외부 전자 장치와 제1 외부 전자 장치 간의 AoA일 수 있다.Referring to FIG. 10 , it is assumed that the structure of the wireless communication network is the same as that of the wireless communication network shown in FIG. 6 . In FIG. 10, "a" denotes an electronic device (eg, the electronic device 101 of FIG. 1, 3, or 6) and a second external electronic device (eg, the second external electronic device 620 of FIG. 6). "b" represents the distance between the electronic device and the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIG. 6), and "c" represents the distance between the electronic device and the first external electronic device. represents the distance between the second external electronic device and the first external electronic device, "A" represents the location of the second external electronic device, "B" represents the location of the first external electronic device, and "C" represents the electronic device position can be indicated. The electronic device may receive a relay packet from the second external electronic device and obtain a distance and direction between the second external electronic device and the first external electronic device based on the received relay packet. In an embodiment, a direction between the second external electronic device and the first external electronic device may be AoA between the second external electronic device and the first external electronic device.

일 실시 예에서, 전자 장치는 전자 장치와 제2 외부 전자 장치 간의 거리 a, 제2 외부 전자 장치와 제1 외부 전자 장치 간의 거리 c, 및 제2 외부 전자 장치와 제1 외부 전자 장치 간의 AoA에 기반하여 전자 장치와 제1 외부 전자 장치 간의 거리 b를 획득할 수 있으며, 이는 하기 수학식 1과 같이 나타낼 수 있다.In an embodiment, the electronic device is determined by a distance a between the electronic device and the second external electronic device, a distance c between the second external electronic device and the first external electronic device, and an AoA between the second external electronic device and the first external electronic device. Based on this, it is possible to obtain a distance b between the electronic device and the first external electronic device, which can be expressed as in Equation 1 below.

<수학식 1><Equation 1>

Figure pat00001
Figure pat00001

도 11A 및 도 11B는 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스의 다른 예를 도시한 도면들이다. 11A and 11B are diagrams illustrating another example of a location-based service in a wireless communication network according to various embodiments.

도 11A 및 도 11B를 참조하면, 위치 기반 서비스는 찾기 서비스일 수 있다. 무선 통신 네트워크는 전자 장치(101), 제1 외부 전자 장치(610), 제2 외부 전자 장치(620), 및/또는 다른 제2 외부 전자 장치(1110)를 포함할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 도 1 또는 도 3의 전자 장치(101)일 수 있고, 제1 외부 전자 장치(610)는 도 1의 전자 장치(102)일 수 있고, 제2 외부 전자 장치(620) 및 다른 제2 외부 전자 장치(1110)는 전자 장치(101)의 제어에 의해 전자 장치(101)와 협력하여 제1 외부 전자 장치(610)에 대한 찾기 서비스를 제공하는 장치일 수 있다. 일 실시 예에 따르면, 제2 외부 전자 장치(620) 및 다른 제2 외부 전자 장치(1110) 각각은 IoT 장치(예: TV, 라이트, 에어 컨디셔너, 오븐, 또는 스피커와 같은 가전 제품) 또는 사용자 장치(예: 스마트 폰, 또는 웨어러블 전자 장치)일 수 있다. 제1 외부 전자 장치(610)는 전자 장치(101)와 연동하여 찾기 서비스를 제공할 수 있다. 예를 들어, 제1 외부 전자 장치(610)는 스마트 태그(예: 삼성 갤럭시 스마트 태그), 스마트 버튼, 또는 웨어러블 전자 장치(예: 스마트 와치 또는 이어 버즈)일 수 있다. 일 실시 예에 따르면, IoT 기반의 어플리케이션(예: 삼성 스마트싱스 어플리케이션)을 통해 찾기 서비스가 실행될 경우, 전자 장치(101)는 제1 외부 전자 장치(610)에 대한 검색 동작을 수행할 수 있다. 전자 장치(101)는 제1 외부 전자 장치(610)를 발견할 경우 제1 외부 전자 장치(610)와 UWB 연결을 설정할 수 있다. 일 실시 예에서, 전자 장치(101)와 제1 외부 전자 장치(610) 간의 거리는 "a"일 수 있고, 거리 a는 UWB 연결이 설정되는 것이 가능한 임계 거리보다 짧다고 가정하기로 한다. 전자 장치(101)와 제1 외부 전자 장치(610) 간에 UWB 연결이 설정됨에 따라, AR 파인더를 실행하여 스캔 동작을 수행할 수 있다. 전자 장치(101)는 설정된 UWB 연결을 통해 전자 장치(101)와 제1 외부 전자 장치(610) 간의 거리 및 방향을 획득할 수 있다. 전자 장치(101)는 획득된 전자 장치(101)와 제1 외부 전자 장치(610) 간의 거리 및 방향에 기반하여 제1 외부 전자 장치(610)의 위치를 획득할 수 있고, AR 파인더 상에서 UI를 통해 획득된 제1 외부 전자 장치의 위치를 디스플레이 할 수 있다(1111). Referring to FIGS. 11A and 11B , the location-based service may be a finding service. The wireless communication network may include the electronic device 101 , a first external electronic device 610 , a second external electronic device 620 , and/or another second external electronic device 1110 . According to an embodiment, the electronic device 101 may be the electronic device 101 of FIG. 1 or 3, the first external electronic device 610 may be the electronic device 102 of FIG. 1, and the second external electronic device 610 may be the electronic device 102 of FIG. The external electronic device 620 and the second external electronic device 1110 cooperate with the electronic device 101 under the control of the electronic device 101 to provide a search service for the first external electronic device 610. can be According to an embodiment, each of the second external electronic device 620 and the other second external electronic device 1110 is an IoT device (eg, a TV, a light, an air conditioner, an oven, or a home appliance such as a speaker) or a user device. (eg, a smart phone or a wearable electronic device). The first external electronic device 610 may provide a search service by interworking with the electronic device 101 . For example, the first external electronic device 610 may be a smart tag (eg, a Samsung Galaxy smart tag), a smart button, or a wearable electronic device (eg, a smart watch or earbuds). According to an embodiment, when a search service is executed through an IoT-based application (eg, Samsung SmartThings application), the electronic device 101 may perform a search operation for the first external electronic device 610 . When the electronic device 101 discovers the first external electronic device 610, it can establish a UWB connection with the first external electronic device 610. In one embodiment, it is assumed that the distance between the electronic device 101 and the first external electronic device 610 may be "a", and the distance a is shorter than a critical distance for establishing a UWB connection. As the UWB connection is established between the electronic device 101 and the first external electronic device 610, an AR finder may be executed to perform a scan operation. The electronic device 101 may acquire the distance and direction between the electronic device 101 and the first external electronic device 610 through the established UWB connection. The electronic device 101 may acquire the location of the first external electronic device 610 based on the obtained distance and direction between the electronic device 101 and the first external electronic device 610, and display the UI on the AR finder. The location of the first external electronic device acquired through this may be displayed (1111).

하지만, UWB 안테나는 지향성 방사 패턴을 가지기 때문에, 전자 장치(101)의 방향과 제1 외부 전자 장치(610)의 방향이 일치하지 않거나, 전자 장치(101)와 제1 외부 전자 장치(610) 간에 장애물이 존재하거나, 및/또는 전자 장치(101)와 제1 외부 전자 장치(610) 간의 거리가 UWB 연결이 설정되는 것이 가능한 임계 거리 보다 길 경우, 전자 장치(101)는 제1 외부 전자 장치(610)로부터의 UWB 신호를 수신하지 못할 수 있다(1113). 도 11A 및 도 11B에서는 제1 외부 전자 장치(610)가 이동하고, 이에 따라 전자 장치(101)와 제1 외부 전자 장치(610) 간의 거리가 임계 거리 보다 길어지고, 따라서 전자 장치(101)가 제1 외부 전자 장치(610)로부터의 UWB 신호를 수신하지 못한다고 가정하기로 한다. However, since the UWB antenna has a directional radiation pattern, the direction of the electronic device 101 and the direction of the first external electronic device 610 do not match, or between the electronic device 101 and the first external electronic device 610. When an obstacle exists and/or the distance between the electronic device 101 and the first external electronic device 610 is greater than the critical distance at which a UWB connection can be established, the electronic device 101 may cause the first external electronic device ( 610) may not be able to receive the UWB signal (1113). 11A and 11B, the first external electronic device 610 moves, and accordingly, the distance between the electronic device 101 and the first external electronic device 610 becomes longer than the threshold distance, and thus the electronic device 101 Assume that the UWB signal from the first external electronic device 610 is not received.

전자 장치(101)는 설정 시간 동안 제1 외부 전자 장치(610)로부터 UWB 신호가 수신되지 않을 경우, 설정되어 있는 헬퍼 장치들 중 적어도 하나를 제2 외부 전자 장치(620)로 선택할 수 있다. 도 11A 및 도 11B에서, 전자 장치(101)와 제1 외부 전자 장치(610) 간의 거리는 UWB 방식에 기반하여 측정될 수 있는 임계 거리보다 긴 거리라고 가정할 수 있다. 전자 장치(101)와 제1 외부 전자 장치(610) 간의 거리는 UWB 방식에 기반하여 측정될 수 있는 임계 거리보다 길기 때문에, 전자 장치(101)는 설정 시간 동안 제1 외부 전자 장치(610)로부터 UWB 신호를 수신하지 못할 수 있다. 일 실시 예에서, 제 2 외부 전자 장치(620)는 UWB 릴레이 장치일 수 있다. UWB 릴레이 장치는 전자 장치(101)의 요청에 따라 제1 외부 전자 장치(610)와 UWB 연결을 설정하여, 설정된 UWB 연결을 통해 제1 외부 전자 장치(610)의 위치 및 방향을 획득할 수 있는 전자 장치일 수 있다. When a UWB signal is not received from the first external electronic device 610 for a set time period, the electronic device 101 may select at least one of set helper devices as the second external electronic device 620 . In FIGS. 11A and 11B , it may be assumed that the distance between the electronic device 101 and the first external electronic device 610 is greater than a critical distance that can be measured based on the UWB scheme. Since the distance between the electronic device 101 and the first external electronic device 610 is longer than the critical distance that can be measured based on the UWB method, the electronic device 101 is unable to transmit the UWB from the first external electronic device 610 for a set time. A signal may not be received. In one embodiment, the second external electronic device 620 may be a UWB relay device. The UWB relay device establishes a UWB connection with the first external electronic device 610 according to the request of the electronic device 101 and obtains the location and direction of the first external electronic device 610 through the established UWB connection. It may be an electronic device.

전자 장치(101)는 설정되어 있는 헬퍼 장치들 중 선택된 제2 외부 전자 장치(620)와 UWB 연결을 설정할 수 있다. 일 실시 예에서, 전자 장치(101)와 제2 외부 전자 장치(620) 간의 거리는 임계 거리와 같거나 또는 짧을 수 있다. 일 실시 예에서, 전자 장치(101)와 제2 외부 전자 장치(620) 간의 거리는 "a"일 수 있다. 전자 장치(101)는 제2 외부 전자 장치(620)와 UWB 연결을 설정한 후 제2 외부 전자 장치(620)로 제1 외부 전자 장치(610)에 대한 찾기 서비스에 대한 UWB 릴레이 장치로 동작할 것을 요청하는 제1 패킷을 송신할 수 있다. 제1 패킷은 타겟 전자 장치(예: 제1 외부 전자 장치(610))에 대한 찾기 서비스에 대한 UWB 릴레이 장치로 동작할 것을 요청하는 패킷일 수 있다. 제1 패킷은 도 6에서 설명한 제1 패킷과 유사하게 구현될 수 있으며, 따라서 그 상세한 설명은 생략하기로 한다. The electronic device 101 may establish a UWB connection with the second external electronic device 620 selected from among set helper devices. In one embodiment, the distance between the electronic device 101 and the second external electronic device 620 may be equal to or shorter than the threshold distance. In one embodiment, the distance between the electronic device 101 and the second external electronic device 620 may be "a". After the electronic device 101 establishes a UWB connection with the second external electronic device 620, the second external electronic device 620 may operate as a UWB relay device for a search service for the first external electronic device 610. It is possible to transmit a first packet requesting that. The first packet may be a packet requesting operation as a UWB relay device for a search service for a target electronic device (eg, the first external electronic device 610). The first packet may be implemented similarly to the first packet described with reference to FIG. 6, and thus a detailed description thereof will be omitted.

전자 장치(101)로부터 제1 패킷을 수신한 제2 외부 전자 장치(620)는 제1 패킷에 기반하여 제1 외부 전자 장치(610)와 UWB 연결을 설정할 수 있다(1115). 제1 외부 전자 장치(610)와 제2 외부 전자 장치(620) 간의 거리는 "c"이며, 제1 외부 전자 장치(610)와 제2 외부 전자 장치(620) 간의 거리 c는 임계 거리와 같거나 또는 짧을 수 있다. 제1 외부 전자 장치(610)와 UWB 연결을 설정한 후 제2 외부 전자 장치(620)는 제1 패킷에 기반하여 개시자로서 UWB 레인징 동작을 수행할 수 있다. 일 실시 예에서, 제2 외부 전자 장치(620)는 제1 패킷에 포함되어 있는 프토토콜에 관련된 정보에 포함되어 있는 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 사이의 UWB 레인징 동작에 사용될 레인징 프로토콜에 관련된 정보, 및/또는 제1 외부 전자 장치(610)에서 지원하는 프로토콜 타입에 관련된 정보 중 적어도 하나에 기반하여 개시자로서 UWB 레인징 동작을 수행할 수 있다. Upon receiving the first packet from the electronic device 101, the second external electronic device 620 may establish a UWB connection with the first external electronic device 610 based on the first packet (1115). The distance between the first external electronic device 610 and the second external electronic device 620 is "c", and the distance c between the first external electronic device 610 and the second external electronic device 620 is equal to the threshold distance or or short. After establishing a UWB connection with the first external electronic device 610, the second external electronic device 620 may perform a UWB ranging operation as an initiator based on the first packet. In one embodiment, the second external electronic device 620 is UWB between the second external electronic device 620 and the first external electronic device 610 included in protocol-related information included in the first packet. A UWB ranging operation may be performed as an initiator based on at least one of information related to a ranging protocol to be used for the ranging operation and/or information related to a protocol type supported by the first external electronic device 610 .

제2 외부 전자 장치(620)는 제1 외부 전자 장치(610)와 UWB 레인징 동작을 수행함에 따라 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 거리 및 방향(예: AoA)을 획득할 수 있다. 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 거리 및 방향을 획득한 제2 외부 전자 장치(620)는 전자 장치(101)로 릴레이 패킷을 송신할 수 있다. 제2 외부 전자 장치(620)로부터 릴레이 패킷을 수신한 전자 장치(101)는 수신한 릴레이 패킷에 기반하여 제1 외부 전자 장치(610)의 위치를 획득할 수 있고, 획득된 제1 외부 전자 장치(610)의 위치를 AR 파인더 상에서 UI를 통해 디스플레이 할 수 있다. As the second external electronic device 620 performs a UWB ranging operation with the first external electronic device 610, the distance and direction between the second external electronic device 620 and the first external electronic device 610 (for example, AoA) can be obtained. After acquiring the distance and direction between the second external electronic device 620 and the first external electronic device 610 , the second external electronic device 620 may transmit a relay packet to the electronic device 101 . Upon receiving the relay packet from the second external electronic device 620, the electronic device 101 may obtain the location of the first external electronic device 610 based on the received relay packet, and obtain the first external electronic device 610. The position of 610 may be displayed on the AR finder through the UI.

이후, 다시 제1 외부 전자 장치(610)의 이동에 따라 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 거리가 임계 거리 보다 길어짐에 따라 제2 외부 전자 장치(620)는 제1 외부 전자 장치(610)로부터의 UWB 신호를 수신할 수 없을 수 있다. 제1 외부 전자 장치(610)의 이동에 따라, 전자 장치(101)는 설정 시간 동안 제1 외부 전자 장치(610) 뿐만 아니라 제2 외부 전자 장치(620)로부터 UWB 신호를 수신할 수 없고, 이 경우 설정되어 있는 헬퍼 장치들 중 적어도 하나를 다른 제2 외부 전자 장치(1110)로 선택할 수 있다. 도 11A 및 도 11B에서, 전자 장치(101)와 제2 외부 전자 장치(620) 간의 거리는 UWB 방식에 기반하여 측정될 수 있는 임계 거리보다 긴 거리일 수 있고, 이로 인해 전자 장치(101)는 설정 시간 동안 제2 외부 전자 장치(620)로부터 UWB 신호를 수신하지 못할 수 있다. 다른 제 2 외부 전자 장치(1110)는 UWB 릴레이 장치일 수 있다. Then, as the distance between the second external electronic device 620 and the first external electronic device 610 becomes longer than the threshold distance according to the movement of the first external electronic device 610, the second external electronic device 620 A UWB signal from the first external electronic device 610 may not be received. As the first external electronic device 610 moves, the electronic device 101 cannot receive UWB signals from not only the first external electronic device 610 but also the second external electronic device 620 for a set time. In this case, at least one of the set helper devices may be selected as another second external electronic device 1110 . 11A and 11B, the distance between the electronic device 101 and the second external electronic device 620 may be greater than a critical distance that can be measured based on the UWB method, and thus the electronic device 101 sets A UWB signal may not be received from the second external electronic device 620 for a period of time. Another second external electronic device 1110 may be a UWB relay device.

일 실시 예에 따르면, 전자 장치(101)는 다른 제2 외부 전자 장치(1110)와 UWB 연결을 설정한 후 다른 제2 외부 전자 장치(1110)로 제1 외부 전자 장치(610)에 대한 찾기 서비스에 대한 UWB 릴레이 장치로 동작할 것을 요청하는 제1 패킷을 송신할 수 있다. 전자 장치(101)로부터 제1 패킷을 수신한 다른 제2 외부 전자 장치(1110)는 제1 외부 전자 장치(610)와 UWB 연결을 설정할 수 있다(1117). 제1 외부 전자 장치(610)와 다른 제2 외부 전자 장치(1110) 간의 거리는 임계 거리와 같거나 또는 짧을 수 있다. 제1 외부 전자 장치(610)와 UWB 연결을 설정한 후 다른 제2 외부 전자 장치(1110)는 제1 패킷에 기반하여 개시자로서 UWB 레인징 동작을 수행할 수 있다. 일 실시 예에서, 다른 제2 외부 전자 장치(1110)는 제1 패킷에 포함되어 있는 프토토콜에 관련된 정보에 포함되어 있는 다른 제2 외부 전자 장치(1110)와 제1 외부 전자 장치(610) 사이의 UWB 레인징 동작에 사용될 레인징 프로토콜에 관련된 정보, 또는 제1 외부 전자 장치(610)에서 지원하는 프로토콜 타입에 관련된 정보 중 적어도 하나에 기반하여 개시자로서 UWB 레인징 동작을 수행할 수 있다. According to an embodiment, after the electronic device 101 establishes a UWB connection with another second external electronic device 1110, the other second external electronic device 1110 provides a search service for the first external electronic device 610. A first packet requesting to operate as a UWB relay device for may be transmitted. Upon receiving the first packet from the electronic device 101, another second external electronic device 1110 may establish a UWB connection with the first external electronic device 610 (1117). A distance between the first external electronic device 610 and the second external electronic device 1110 may be equal to or shorter than the critical distance. After establishing a UWB connection with the first external electronic device 610, another second external electronic device 1110 may perform a UWB ranging operation as an initiator based on the first packet. In an embodiment, the other second external electronic device 1110 is between the other second external electronic device 1110 and the first external electronic device 610 included in protocol-related information included in the first packet. As an initiator, the UWB ranging operation may be performed based on at least one of information related to a ranging protocol to be used for the UWB ranging operation of the device or information related to a protocol type supported by the first external electronic device 610 .

다른 제2 외부 전자 장치(1110)는 제1 외부 전자 장치(610)와 UWB 레인징 동작을 수행함에 따라 다른 제2 외부 전자 장치(1110)와 제1 외부 전자 장치(610) 간의 거리 및 방향(예: AoA)을 획득할 수 있다. 다른 제2 외부 전자 장치(1110)와 제1 외부 전자 장치(610) 간의 거리 및 방향을 획득한 다른 제2 외부 전자 장치(1110)는 전자 장치(101)로 릴레이 패킷을 송신할 수 있다. 다른 제2 외부 전자 장치(1110)로부터 릴레이 패킷을 수신한 전자 장치(101)는 수신한 릴레이 패킷에 기반하여 제1 외부 전자 장치(610)의 위치를 획득할 수 있고, 획득된 제1 외부 전자 장치(610)의 위치를 AR 파인더 상에서 UI를 통해 디스플레이 할 수 있다. As the second external electronic device 1110 performs a UWB ranging operation with the first external electronic device 610, the distance and direction between the second external electronic device 1110 and the first external electronic device 610 ( Example: AoA) can be acquired. After obtaining the distance and direction between the second external electronic device 1110 and the first external electronic device 610, the second external electronic device 1110 may transmit a relay packet to the electronic device 101. Upon receiving a relay packet from another second external electronic device 1110, the electronic device 101 may obtain the location of the first external electronic device 610 based on the received relay packet, and obtain the first external electronic device 610. The location of the device 610 may be displayed on the AR finder through the UI.

일 실시 예에서, 전자 장치(101)는 제2 외부 전자 장치(620) 또는 다른 제2 외부 전자 장치(1110) 중 적어도 하나를 통해 제1 외부 전자 장치(610)의 위치를 획득하고 있는 중에, 설정 조건들 중 적어도 하나가 만족될 경우, 제2 외부 전자 장치(620) 또는 다른 제2 외부 전자 장치(1110) 중 적어도 하나와 전자 장치(101) 간에 설정되어 있는 UWB 연결을 해제하고, 제1 외부 전자 장치(610)와 직접 통신할 수 있다. 일 실시 예에서, 설정 조건들은 다음과 같을 수 있다. In one embodiment, while the electronic device 101 obtains the location of the first external electronic device 610 through at least one of the second external electronic device 620 and another second external electronic device 1110, When at least one of the set conditions is satisfied, the UWB connection established between at least one of the second external electronic device 620 or the other second external electronic device 1110 and the electronic device 101 is released, and the first It can directly communicate with the external electronic device 610 . In one embodiment, setting conditions may be as follows.

(1) 제1 조건(1) 1st condition

제1 조건은 전자 장치(101)와 제1 외부 전자 장치(610) 간에 UWB 연결이 설정되어 있고, 설정되어 있는 UWB 연결을 통해 다시 전자 장치(101)와 제1 외부 전자 장치(610) 간의 통신이 가능하게 되는 조건일 수 있다. 전자 장치(101)와 제1 외부 전자 장치(610) 간의 통신이 가능하게 되는 조건은 전자 장치(101)와 제1 외부 전자 장치(610) 간에 송/수신되는 UWB 데이터의 드롭(drop) 퍼센티지(percentage)가 제1 임계 퍼센티지(예: 50%) 이하인 조건일 수 있다. 일 실시 예에서, UWB의 드롭 퍼센티지는 유효(effective) 패킷 에러 레이트(packet error rate: PER)를 포함할 수 있다. A first condition is that a UWB connection is established between the electronic device 101 and the first external electronic device 610, and communication between the electronic device 101 and the first external electronic device 610 is established again through the established UWB connection. It may be a condition that makes this possible. A condition for enabling communication between the electronic device 101 and the first external electronic device 610 is a drop percentage of UWB data transmitted/received between the electronic device 101 and the first external electronic device 610 ( percentage) may be a condition that is less than or equal to the first threshold percentage (eg, 50%). In one embodiment, the drop percentage of UWB may include an effective packet error rate (PER).

(2) 제2 조건(2) 2nd condition

제2 조건은 전자 장치(101)와 제1 외부 전자 장치(610) 간에 UWB 연결이 설정되어 있지 않은 상태에서, 전자 장치(101) 또는 제1 외부 전자 장치(610)가 제2 외부 전자 장치(620)와 BLE 일반 어트리뷰트 프로파일(generic attribute profile: GATT) 연결을 설정하게 될 경우, 제2 외부 전자 장치(620)에 의해 전자 장치(101)와 제1 외부 전자 장치(610) 간에 UWB 연결이 설정되는 조건일 수 있다. 일 실시 예에서, 전자 장치(101) 또는 제1 외부 전자 장치(610)와 제2 외부 전자 장치(620) 간에 BLE GATT 연결이 설정될 경우, 제2 외부 전자 장치(620)는 전자 장치(101) 및 제1 외부 전자 장치(610)에게 UWB 연결을 설정할 것을 요청하는 패킷을 송신할 수 있다. 일 실시 예에서, UWB 연결을 설정할 것을 요청하는 패킷은 BLE 일반 GATT 연결을 통해 송신될 수 있다. 제2 외부 전자 장치(620)로부터 해당 패킷을 수신한 전자 장치(101) 및 제1 외부 전자 장치(610)는 UWB 연결을 설정할 수 있다. 일 실시 예에서, 전자 장치(101) 또는 제1 외부 전자 장치(610)와 다른 제2 외부 전자 장치(1110) 간에 BLE GATT 연결이 설정될 경우, 다른 제2 외부 전자 장치(1110)는 전자 장치(101) 및 제1 외부 전자 장치(610)에게 UWB 연결을 설정할 것을 요청하는 패킷을 송신할 수 있다. 일 실시 예에서, UWB 연결을 설정할 것을 요청하는 패킷은 BLE 일반 GATT 연결을 통해 송신될 수 있다. 다른 제2 외부 전자 장치(1110)로부터 UWB 연결을 설정할 것을 요청하는 패킷을 수신한 전자 장치(101) 및 제1 외부 전자 장치(610)는 UWB 연결을 설정할 수 있다.The second condition is that in a state in which a UWB connection is not established between the electronic device 101 and the first external electronic device 610, the electronic device 101 or the first external electronic device 610 is connected to the second external electronic device ( 620) and a BLE generic attribute profile (GATT) connection, a UWB connection is established between the electronic device 101 and the first external electronic device 610 by the second external electronic device 620 condition may be. In one embodiment, when a BLE GATT connection is established between the electronic device 101 or the first external electronic device 610 and the second external electronic device 620, the second external electronic device 620 connects the electronic device 101 ) and a packet requesting the first external electronic device 610 to establish a UWB connection may be transmitted. In one embodiment, a packet requesting to establish a UWB connection may be transmitted over a BLE general GATT connection. Upon receiving the corresponding packet from the second external electronic device 620, the electronic device 101 and the first external electronic device 610 may establish a UWB connection. In one embodiment, when a BLE GATT connection is established between the electronic device 101 or the first external electronic device 610 and another second external electronic device 1110, the other second external electronic device 1110 A packet requesting to establish a UWB connection may be transmitted to 101 and the first external electronic device 610 . In one embodiment, a packet requesting to establish a UWB connection may be transmitted over a BLE general GATT connection. The electronic device 101 and the first external electronic device 610 receiving a packet requesting establishment of a UWB connection from another second external electronic device 1110 may establish a UWB connection.

(3) 제3 조건(3) Third condition

전자 장치(101)와 제1 외부 전자 장치(610) 간에 UWB 연결이 설정되어 있고, 설정되어 있는 UWB 연결을 통해 전자 장치(101)와 제1 외부 전자 장치(610) 간의 통신이 가능하기는 하지만, 전자 장치(101)와 제1 외부 전자 장치(610) 간의 통신이 불안정할 수 있다. 이 경우, 전자 장치(101)는 제1 외부 전자 장치(610) 뿐만 아니라 제2 외부 전자 장치(620) 또는 다른 제2 외부 전자 장치(1110)와 UWB 연결을 설정하여, 전자 장치(101)와 제2 외부 전자 장치(620) 또는 다른 제2 외부 전자 장치(1110) 간에 설정되어 있는 UWB 연결을 통해 제1 외부 전자 장치(610)의 위치를 획득할 수 있다. 일 실시 예에서, 제2 외부 전자 장치(620) 또는 다른 제2 외부 전자 장치(1110)는 고정 타입 장치 또는 이동 타입 장치일 수 있으며, 전자 장치(101)의 사용자는 UI를 통해 전자 장치(101) 주변에 존재하는 고정 타입 장치들 또는 이동 타입 장치들 중 적어도 하나를 전자 장치(101)와 UWB 연결을 설정할 수 있는 제2 외부 전자 장치(620) 또는 다른 제2 외부 전자 장치(1110)로 선택할 수 있다. Although a UWB connection is established between the electronic device 101 and the first external electronic device 610, and communication between the electronic device 101 and the first external electronic device 610 is possible through the established UWB connection, , communication between the electronic device 101 and the first external electronic device 610 may be unstable. In this case, the electronic device 101 establishes a UWB connection with not only the first external electronic device 610 but also the second external electronic device 620 or another second external electronic device 1110, and the electronic device 101 and The location of the first external electronic device 610 may be acquired through a UWB connection established between the second external electronic device 620 or another second external electronic device 1110 . In an embodiment, the second external electronic device 620 or another second external electronic device 1110 may be a fixed type device or a mobile type device, and a user of the electronic device 101 may view the electronic device 101 through a UI. ) Select at least one of fixed type devices or mobile type devices existing in the vicinity as the second external electronic device 620 or another second external electronic device 1110 capable of establishing a UWB connection with the electronic device 101 can

일 실시 예에서, 제3 조건은 전자 장치(101)와 제1 외부 전자 장치(610) 간에 설정되어 있는 UWB 연결을 통한 통신이 안정적이 되는 조건일 수 있다. 전자 장치(101)와 제1 외부 전자 장치(610) 간의 통신이 안정적이 되는 조건은 전자 장치(101)와 제1 외부 전자 장치(610) 간에 송수신되는 UWB 데이터의 드롭 퍼센티지가 제2 임계 퍼센티지 이하인 조건일 수 있다. 일 실시 예에서, 제2 임계 퍼센티지는 제1 임계 퍼센티지 미만일 수 있다. In an embodiment, the third condition may be a condition in which communication through a UWB connection established between the electronic device 101 and the first external electronic device 610 is stable. A condition for stable communication between the electronic device 101 and the first external electronic device 610 is that the drop percentage of UWB data transmitted and received between the electronic device 101 and the first external electronic device 610 is equal to or less than the second threshold percentage. may be a condition. In one embodiment, the second threshold percentage may be less than the first threshold percentage.

도 12A 및 도 12B는 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스의 또 다른 예를 도시한 도면들이다. 12A and 12B are diagrams illustrating another example of a location-based service in a wireless communication network according to various embodiments.

도 12A 및 도 12B를 참조하면, 위치 기반 서비스는 찾기 서비스일 수 있다. 무선 통신 네트워크는 전자 장치(101), 제1 외부 전자 장치(610), 제2 외부 전자 장치(620), 및/또는 제3 외부 전자 장치(1210)를 포함할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 도 1 또는 도 3의 전자 장치(101)일 수 있고, 제1 외부 전자 장치(610)는 도 1의 전자 장치(102)일 수 있고, 제2 외부 전자 장치(620)는 도 4의 제2 외부 전자 장치(620)일 수 있다. 제2 외부 전자 장치(620)는 전자 장치(101)의 제어에 의해 전자 장치(101)와 협력하여 찾기 서비스를 제공하는 장치일 수 있다. 일 실시 예에 따르면, 제2 외부 전자 장치(620)는 IoT 장치(예: TV, 라이트, 에어 컨디셔너, 오븐, 또는 스피커와 같은 가전 제품) 또는 사용자 장치(예: 스마트 폰, 또는 웨어러블 전자 장치)일 수 있다. 제2 외부 전자 장치(620)는 전자 장치(101)에 의해 제1 외부 전자 장치(610)에 대한 상태 정보 및 접근 권한이 공유될 수 있는 전자 장치(예: 헬퍼 장치)일 수 있다. 헬퍼 장치에 대해서는 도 6에서 설명한 바 있으므로, 그 상세한 설명은 생략하기로 한다. 일 실시 예에서, 제 2 외부 전자 장치(620)는 UWB 릴레이 장치일 수 있다. 제1 외부 전자 장치(610)는 전자 장치(101)와 연동하여 찾기 서비스를 제공할 수 있다. 예를 들어, 제1 외부 전자 장치(610)는 스마트 태그(예: 삼성 갤럭시 스마트 태그), 스마트 버튼, 또는 웨어러블 전자 장치(예: 스마트 와치 또는 이어 버즈)일 수 있다. Referring to FIGS. 12A and 12B , the location-based service may be a finding service. The wireless communication network may include the electronic device 101 , the first external electronic device 610 , the second external electronic device 620 , and/or the third external electronic device 1210 . According to an embodiment, the electronic device 101 may be the electronic device 101 of FIG. 1 or 3, the first external electronic device 610 may be the electronic device 102 of FIG. 1, and the second external electronic device 610 may be the electronic device 102 of FIG. The external electronic device 620 may be the second external electronic device 620 of FIG. 4 . The second external electronic device 620 may be a device that provides a search service in cooperation with the electronic device 101 under the control of the electronic device 101 . According to an embodiment, the second external electronic device 620 is an IoT device (eg, a TV, a light, an air conditioner, an oven, or a home appliance such as a speaker) or a user device (eg, a smart phone or a wearable electronic device). can be The second external electronic device 620 may be an electronic device (eg, a helper device) capable of sharing status information and access rights with respect to the first external electronic device 610 by the electronic device 101 . Since the helper device has been described with reference to FIG. 6 , a detailed description thereof will be omitted. In one embodiment, the second external electronic device 620 may be a UWB relay device. The first external electronic device 610 may provide a search service by interworking with the electronic device 101 . For example, the first external electronic device 610 may be a smart tag (eg, a Samsung Galaxy smart tag), a smart button, or a wearable electronic device (eg, a smart watch or earbuds).

일 실시 예에서, 제3 외부 전자 장치(1210)는 도 1의 서버(108) 또는 도 5의 제3 외부 전자 장치(1210)일 수 있다. 도 12A 및 도 12B에서 설명되는 찾기 서비스는 전자 장치(101), 및 제2 외부 전자 장치(620)가 제3 외부 전자 장치(1210)와 통신 가능할 경우의 찾기 서비스 일 수 있다. 도 12A 및 도 12B에서 설명되는 찾기 서비스는 전자 장치(101)와 제1 외부 전자 장치(610) 간에는 UWB 연결이 설정되어 있지 않을 경우의 찾기 서비스일 수 있다. In one embodiment, the third external electronic device 1210 may be the server 108 of FIG. 1 or the third external electronic device 1210 of FIG. 5 . The search service described in FIGS. 12A and 12B may be a search service when the electronic device 101 and the second external electronic device 620 can communicate with the third external electronic device 1210 . The search service described in FIGS. 12A and 12B may be a search service when a UWB connection is not established between the electronic device 101 and the first external electronic device 610 .

일 실시 예에 따르면, IoT 기반의 어플리케이션(예: 삼성 스마트싱스 어플리케이션)을 통해 제1 외부 전자 장치(610)에 대한 찾기 서비스가 실행될 경우, 동작 1211에서 전자 장치(101)는 타겟 전자 장치(예: 제1 외부 전자 장치(610))에 대한 찾기 서비스를 전자 장치(101)의 적어도 하나의 헬퍼 장치와 함께 수행하기 위해 제3 외부 전자 장치(1210)로 제1 외부 전자 장치(610)에 대한 찾기 서비스를 수행할 것을 요청하는 제2 패킷을 송신할 수 있다. 제2 패킷은 찾기 서비스에 대한 타겟 전자 장치(예: 제1 외부 전자 장치(610))의 장치 정보를 포함할 수 있다. According to an embodiment, when a search service for the first external electronic device 610 is executed through an IoT-based application (eg, Samsung SmartThings application), in operation 1211, the electronic device 101 detects the target electronic device (eg, Samsung SmartThings application). : Search for the first external electronic device 610 by the third external electronic device 1210 in order to perform a search service for the first external electronic device 610 together with at least one helper device of the electronic device 101. A second packet requesting to perform a finding service may be transmitted. The second packet may include device information of a target electronic device (eg, the first external electronic device 610) for the search service.

일 실시 예에 따르면, 제1 외부 전자 장치(610)는 전자 장치(101)와 UWB 연결을 설정할 수 없고, 따라서 제1 외부 전자 장치(610)는 동작 1213에서 BLE 방식에 기반하는 애드버타이징(advertising) 동작을 수행할 수 있다. 일 실시 예에서, 제1 외부 전자 장치(610)는 BLE 애드버타이즈먼트(advertisement: ADV) 패킷을 송신함으로써(예: 브로드캐스팅함으로써) 애드버타이징 동작을 수행할 수 있다.According to an embodiment, the first external electronic device 610 cannot establish a UWB connection with the electronic device 101, and therefore, in operation 1213, the first external electronic device 610 performs advertising based on the BLE scheme. (advertising) operation can be performed. In an embodiment, the first external electronic device 610 may perform an advertising operation by transmitting (eg, broadcasting) a BLE advertisement (ADV) packet.

전자 장치(101)는 제1 외부 전자 장치(610)와 UWB 연결을 설정할 수 없고, 따라서 전자 장치(101)는 동작 1215에서 BLE 방식에 기반하는 애드버타이징 동작을 수행할 수 있다. 일 실시 예에서, 전자 장치(101)는 BLE ADV 패킷을 송신함으로써(예: 브로드캐스팅함으로써) 애드버타이징 동작을 수행할 수 있다.The electronic device 101 cannot establish a UWB connection with the first external electronic device 610, and thus the electronic device 101 may perform an advertising operation based on the BLE scheme in operation 1215. In one embodiment, the electronic device 101 may perform an advertising operation by transmitting (eg, broadcasting) a BLE ADV packet.

일 실시 예에서, 전자 장치(101)로부터 제2 패킷을 수신한 제3 외부 전자 장치(1210)는 동작 1217에서 전자 장치(101)의 적어도 하나의 헬퍼 장치(예: 제2 외부 전자 장치(620))로 제1 외부 전자 장치(610)에 대한 찾기 서비스를 수행할 요청하는 제3 패킷을 송신할 수 있다. 도 12A 및 도 12B에서는 전자 장치(101)의 적어도 하나의 헬퍼 전자 장치가 제2 외부 전자 장치(620)를 포함한다고 가정할 수 있다. 일 실시 예에서, 제3 패킷은 제1 외부 전자 장치(610)의 장치 정보, 또는 프로토콜에 관련된 정보 중 적어도 하나를 포함할 수 있다. 일 실시 예에서, 프로토콜에 관련된 정보는 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 사이의 UWB 레인징 동작에 사용될 레인징 프로토콜에 관련된 정보, 또는 제1 외부 전자 장치(610)에서 지원하는 프로토콜 타입에 관련된 정보 중 적어도 하나를 포함할 수 있다. 일 실시 예에서, 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 사이의 UWB 레인징 동작에 사용될 레인징 프로토콜은 투 웨이 레인징(예: DS-TWR) 프로토콜 또는 원 웨이 레인징 중 적어도 하나를 포함할 수 있다. 제1 외부 전자 장치(610)에서 지원하는 프로토콜 타입은 UWB, BLE, 또는 와이파이 중 적어도 하나를 포함할 수 있다. In an embodiment, the third external electronic device 1210 receiving the second packet from the electronic device 101 operates at least one helper device (eg, the second external electronic device 620 of the electronic device 101 in operation 1217). )), a third packet requesting to perform a search service for the first external electronic device 610 may be transmitted. 12A and 12B , it may be assumed that at least one helper electronic device of the electronic device 101 includes the second external electronic device 620 . In an embodiment, the third packet may include at least one of device information of the first external electronic device 610 or protocol-related information. In an embodiment, the protocol-related information is information related to a ranging protocol to be used for a UWB ranging operation between the second external electronic device 620 and the first external electronic device 610, or the first external electronic device 610 ) may include at least one of information related to a protocol type supported by In an embodiment, a ranging protocol to be used for a UWB ranging operation between the second external electronic device 620 and the first external electronic device 610 is a two-way ranging (eg, DS-TWR) protocol or a one-way lane It may contain at least one of the The protocol type supported by the first external electronic device 610 may include at least one of UWB, BLE, and Wi-Fi.

제3 외부 전자 장치(1210)로부터 제1 외부 전자 장치(610)에 대한 찾기 서비스를 수행할 요청하는 제3 패킷을 수신할 경우, 제2 외부 전자 장치(620)는 동작 1219에서 제3 패킷에 포함되어 있는 제1 외부 전자 장치(610)의 장치 정보, 및/또는 프로토콜에 관련된 정보에 기반하여 제1 외부 전자 장치(610)에 대한 찾기 서비스를 수행하는 것을 시작할 수 있다. 동작 1219에서, 제2 외부 전자 장치(620)는 BLE 스캔(scan) 동작을 수행할 수 있다. 일 실시 예에서, 제2 외부 전자 장치(620)는 동작 1221에서 BLE 스캔 동작을 통해 제1 외부 전자 장치(610)를 검출하고, 제1 외부 전자 장치(610)와 BLE GATT 연결을 설정할 수 있다. When receiving a third packet requesting a search service for the first external electronic device 610 from the third external electronic device 1210, the second external electronic device 620 returns the third packet in operation 1219. Based on the included device information of the first external electronic device 610 and/or protocol-related information, a search service for the first external electronic device 610 may be started to be performed. In operation 1219, the second external electronic device 620 may perform a BLE scan operation. In an embodiment, the second external electronic device 620 may detect the first external electronic device 610 through a BLE scan operation in operation 1221 and establish a BLE GATT connection with the first external electronic device 610. .

제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간에 BLE GATT 연결이 설정되면, 제2 외부 전자 장치(620)는 동작 1223에서 제1 외부 전자 장치(610)로 UWB 연결을 요청하는 UWB 연결 요청 패킷을 송신할 수 있다. 제2 외부 전자 장치(620)로부터 UWB 연결 요청 패킷을 수신한 제1 외부 전자 장치(610)는 동작 1225에서 UWB 연결 요청 패킷에 대한 응답 패킷인 UWB 연결 응답 패킷을 제2 외부 전자 장치(620)로 송신할 수 있고, 이에 따라 제1 외부 전자 장치(610)와 제2 외부 전자 장치(620) 간에는 UWB 연결이 설정될 수 있다. When a BLE GATT connection is established between the second external electronic device 620 and the first external electronic device 610, the second external electronic device 620 requests a UWB connection from the first external electronic device 610 in operation 1223. A UWB connection request packet may be transmitted. Upon receiving the UWB connection request packet from the second external electronic device 620, the first external electronic device 610 transmits, in operation 1225, a UWB connection response packet that is a response packet to the UWB connection request packet to the second external electronic device 620. , and accordingly, a UWB connection may be established between the first external electronic device 610 and the second external electronic device 620 .

제1 외부 전자 장치(610)와 UWB 연결을 설정한 제2 외부 전자 장치(620)는 동작 1227에서 제3 외부 전자 장치(1210)로 제1 외부 전자 장치(610)가 찾아졌음을 나타내는 제4 패킷을 송신할 수 있다. 일 실시 예에서, 제4 패킷은 제2 외부 전자 장치(620)에 의해 제1 외부 전자 장치(610)의 위치가 획득됨을 나타내는 패킷일 수 있다. 일 실시 예에서, 제4 패킷은 개시자 장치 정보, 응답자 장치 정보, 또는 UWB 레인징 데이터 중 적어도 하나를 포함할 수 있다. 일 실시 예에서, 제4 패킷에 포함되는, 개시자 장치 정보는 개시자(예: 제2 외부 전자 장치(620))의 장치 정보 일 수 있다. 일 실시 예에서, 제4 패킷에 포함되는, 응답자 장치 정보는 응답자(예: 제1 외부 전자 장치(610))의 장치 정보 일 수 있다. 일 실시 예에서, 제4 패킷에 포함되는, 개시자 장치 정보, 응답자 장치 정보, 및/또는 UWB 레인징 데이터는 도 9의 개시자 장치 정보(910), 응답자 장치 정보(920), 및/또는 UWB 레인징 데이터(930)와 유사하게 구현될 수 있으며, 따라서 그 상세한 설명은 생략하기로 한다. In operation 1227, the second external electronic device 620 that has established a UWB connection with the first external electronic device 610 sends a fourth signal to the third external electronic device 1210 indicating that the first external electronic device 610 has been found. packets can be sent. In an embodiment, the fourth packet may be a packet indicating that the location of the first external electronic device 610 is acquired by the second external electronic device 620 . In an embodiment, the fourth packet may include at least one of initiator device information, responder device information, or UWB ranging data. In an embodiment, the initiator device information included in the fourth packet may be device information of an initiator (eg, the second external electronic device 620). In an embodiment, the responder device information included in the fourth packet may be device information of the responder (eg, the first external electronic device 610). In one embodiment, the initiator device information, responder device information, and/or UWB ranging data included in the fourth packet may include initiator device information 910, responder device information 920, and/or It may be implemented similarly to the UWB ranging data 930, and thus a detailed description thereof will be omitted.

제2 외부 전자 장치(620)로부터 제1 외부 전자 장치(610)가 찾아졌음을 나타내는 제4 패킷을 수신한 제3 외부 전자 장치(1210)는 동작 1229에서 전자 장치(101)로 제2 패킷에 대한 응답 패킷인 제5 패킷을 송신할 수 있다. 일 실시 예에서, 제5 패킷은 제2 외부 전자 장치(620)에 의해 제1 외부 전자 장치(610)가 찾아졌음을 나타내는 패킷일 수 있다. 일 실시 예에서, 제5 패킷은 제2 외부 전자 장치(620)에 의해 제1 외부 전자 장치(610)의 위치가 획득됨을 나타내는 패킷일 수 있다. 일 실시 예에서, 제5 패킷은 개시자 장치 정보, 응답자 장치 정보, 및/또는 UWB 레인징 데이터를 포함할 수 있다. 일 실시 예에서, 제5 패킷에 포함되는, 개시자 장치 정보, 응답자 장치 정보, 및/또는 UWB 레인징 데이터는 도 9의 개시자 장치 정보(910), 응답자 장치 정보(920), 및/또는 UWB 레인징 데이터(930)와 유사하게 구현될 수 있으며, 따라서 그 상세한 설명은 생략하기로 한다.Upon receiving the fourth packet indicating that the first external electronic device 610 has been found from the second external electronic device 620, the third external electronic device 1210 sends a second packet to the electronic device 101 in operation 1229. A fifth packet, which is a response packet, may be transmitted. In an embodiment, the fifth packet may be a packet indicating that the first external electronic device 610 has been found by the second external electronic device 620 . In an embodiment, the fifth packet may be a packet indicating that the location of the first external electronic device 610 is obtained by the second external electronic device 620 . In one embodiment, the fifth packet may include initiator device information, responder device information, and/or UWB ranging data. In one embodiment, the initiator device information, responder device information, and/or UWB ranging data included in the fifth packet may include initiator device information 910, responder device information 920, and/or It may be implemented similarly to the UWB ranging data 930, and thus a detailed description thereof will be omitted.

제3 외부 전자 장치(1210)로부터 제5 패킷을 수신한 전자 장치(101)는 동작 1231에서, 제5 패킷에 포함되어 있는 개시자 장치 정보, 응답자 장치 정보, 및/또는 UWB 레인징 데이터에 기반하여 제1 외부 전자 장치(610)가 찾아졌음을 통지하는 메시지를 BLE 파인더 상에서 UI를 통해 디스플레이 할 수 있다. 일 실시 예에서, 제1 외부 전자 장치(610)가 찾아졌음을 통지하는 메시지는 제2 외부 전자 장치(620)에 의해 제1 외부 전자 장치(610)의 위치가 획득됨을 나타내는 메시지일 수 있다. 일 실시 예에서, 제1 외부 전자 장치(610)가 찾아졌음을 통지하는 메시지는 제1 외부 전자 장치(610)가 헬퍼 장치(예: UWB 릴레이 장치)인 제2 외부 전자 장치(620)에서 찾아졌음을 나타내는 통지하는 메시지일 수 있다. Upon receiving the fifth packet from the third external electronic device 1210, the electronic device 101, in operation 1231, based on initiator device information, responder device information, and/or UWB ranging data included in the fifth packet Thus, a message notifying that the first external electronic device 610 has been found may be displayed on the BLE finder through the UI. In an embodiment, the message notifying that the first external electronic device 610 has been found may be a message indicating that the location of the first external electronic device 610 is acquired by the second external electronic device 620 . In one embodiment, a message notifying that the first external electronic device 610 has been found is found by the second external electronic device 620, which is a helper device (eg, a UWB relay device), by the first external electronic device 610. It may be a message notifying that it has been lost.

제1 외부 전자 장치(610)가 찾아졌음을 통지하는 메시지를 출력한 전자 장치(101)는 동작 1233에서, 제2 외부 전자 장치(620)와 BLE GATT 연결을 설정하고, 전자 장치(101)와 제2 외부 전자 장치(620) 간에 GATT 연결이 설정되면, 제2 외부 전자 장치(620)로 UWB 연결을 요청하는 UWB 연결 요청 패킷을 송신할 수 있다. 전자 장치(101)로부터 UWB 연결 요청 패킷을 수신한 제2 외부 전자 장치(620)는 동작 1235에서 UWB 연결 요청 패킷에 대한 응답 패킷인 UWB 연결 응답 패킷을 전자 장치(101)로 송신할 수 있고, 이에 따라 전자 장치(101)와 제2 외부 전자 장치(620) 간에는 UWB 연결이 설정될 수 있다. 도 12A 및 도 12B에서는 전자 장치(101)와 제2 외부 전자 장치(620) 간에는 UWB 연결이 설정될 수 있다. The electronic device 101 outputting a message notifying that the first external electronic device 610 has been found establishes a BLE GATT connection with the second external electronic device 620 in operation 1233, and establishes a BLE GATT connection with the electronic device 101. When a GATT connection is established between the second external electronic devices 620, a UWB connection request packet requesting a UWB connection may be transmitted to the second external electronic device 620. Upon receiving the UWB connection request packet from the electronic device 101, the second external electronic device 620 may transmit a UWB connection response packet, which is a response packet to the UWB connection request packet, to the electronic device 101 in operation 1235, Accordingly, a UWB connection may be established between the electronic device 101 and the second external electronic device 620 . 12A and 12B, a UWB connection may be established between the electronic device 101 and the second external electronic device 620.

전자 장치(101)와 제2 외부 전자 장치(620) 간에 UWB 연결이 설정되면, 제2 외부 전자 장치(620)는 전자 장치(101)로 릴레이 패킷을 송신할 수 있다. 일 실시 예에서, 제2 외부 전자 장치(620)에서 전자 장치(101)로 송신되는 릴레이 패킷은 개시자 장치 정보, 응답자 장치 정보, 및/또는 UWB 레인징 데이터를 포함할 수 있다. 일 실시 예에서, 제2 외부 전자 장치(620)에서 전자 장치(101)로 송신되는 릴레이 패킷에 포함되는, 개시자 장치 정보는 개시자(예: 제2 외부 전자 장치(620))의 장치 정보 일 수 있다. 일 실시 예에서, 릴레이 패킷에 포함되는, 응답자 장치 정보는 응답자(예: 제1 외부 전자 장치(610))의 장치 정보 일 수 있다. 일 실시 예에서, 릴레이 패킷에 포함되는, 개시자 장치 정보, 응답자 장치 정보, 및/또는 UWB 레인징 데이터는 도 9의 개시자 장치 정보(910), 응답자 장치 정보(920), 및/또는 UWB 레인징 데이터(930)와 유사하게 구현될 수 있으며, 따라서 그 상세한 설명은 생략하기로 한다. When a UWB connection is established between the electronic device 101 and the second external electronic device 620 , the second external electronic device 620 may transmit a relay packet to the electronic device 101 . In an embodiment, the relay packet transmitted from the second external electronic device 620 to the electronic device 101 may include initiator device information, responder device information, and/or UWB ranging data. In one embodiment, initiator device information included in a relay packet transmitted from the second external electronic device 620 to the electronic device 101 is device information of an initiator (eg, the second external electronic device 620). can be In an embodiment, the responder device information included in the relay packet may be device information of the responder (eg, the first external electronic device 610). In one embodiment, the initiator device information, responder device information, and/or UWB ranging data included in the relay packet may include initiator device information 910, responder device information 920, and/or UWB ranging data in FIG. It may be implemented similarly to the ranging data 930, and thus a detailed description thereof will be omitted.

일 실시 예에서, 전자 장치(101)와 제2 외부 전자 장치(620) 간에 UWB 연결이 설정되면, 제2 외부 전자 장치(620)는 전자 장치(101)로 릴레이 패킷을 송신할 수 있기 때문에 더 이상 제3 외부 전자 장치(1210)으로 제4 패킷을 송신할 필요가 없다. 전자 장치(101)와 제2 외부 전자 장치(620) 간에 UWB 연결이 설정되면, 제2 외부 전자 장치(620)는 제2 외부 전자 장치(620)와 전자 장치(101)간에 설정된 UWB 연결을 통해 릴레이 패킷을 송신함으로써 전자 장치(101)로 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 거리 및 방향을 직접 알려줄 수 있다.In one embodiment, when a UWB connection is established between the electronic device 101 and the second external electronic device 620, the second external electronic device 620 may transmit a relay packet to the electronic device 101, and thus further There is no need to transmit the fourth packet to the third external electronic device 1210. When a UWB connection is established between the electronic device 101 and the second external electronic device 620, the second external electronic device 620 is configured through the UWB connection established between the second external electronic device 620 and the electronic device 101. By transmitting the relay packet, the distance and direction between the second external electronic device 620 and the first external electronic device 610 may be directly notified to the electronic device 101 .

전자 장치(101)와 제2 외부 전자 장치(620) 간에 UWB 연결이 설정되면, 전자 장치(101)는 전자 장치(101)와 제2 외부 전자 장치(620) 간의 거리 및 방향을 획득할 수 있고, 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 거리 및 방향을 획득할 수 있다. 전자 장치(101)는 동작 1237에서, 전자 장치(101)와 제2 외부 전자 장치(620) 간의 거리 및 방향과 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 거리 및 방향에 기반하여 전자 장치(101)와 제1 외부 전자 장치(610) 간의 거리 및 방향을 예측할 수 있다. 전자 장치(101)가 전자 장치(101)와 제2 외부 전자 장치(620) 간의 거리 및 방향과 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 거리 및 방향에 기반하여 전자 장치(101)와 제1 외부 전자 장치(610) 간의 거리 및 방향을 예측하는 방식은 도 10에서 설명한 릴레이 패킷에 기반하여 제1 외부 전자 장치의 위치를 획득하는 동작과 유사하게 구현될 수 있으며, 따라서 그 상세한 설명은 생략하기로 한다. 전자 장치(101)는 예측한 전자 장치(101)와 제1 외부 전자 장치(610) 간의 거리 및 방향에 기반하여 제1 외부 전자 장치(610)의 위치를 나타내는 정보를 포함하는 메시지를 BLE 파인더 상에서 UI를 통해 디스플레이 할 수 있다. When a UWB connection is established between the electronic device 101 and the second external electronic device 620, the electronic device 101 may acquire the distance and direction between the electronic device 101 and the second external electronic device 620, , the distance and direction between the second external electronic device 620 and the first external electronic device 610 may be obtained. In operation 1237, the electronic device 101 determines the distance and direction between the electronic device 101 and the second external electronic device 620 and the distance and direction between the second external electronic device 620 and the first external electronic device 610. The distance and direction between the electronic device 101 and the first external electronic device 610 may be predicted based on . The electronic device 101 determines the electronic device 101 based on the distance and direction between the electronic device 101 and the second external electronic device 620 and the distance and direction between the second external electronic device 620 and the first external electronic device 610. A method of estimating the distance and direction between the device 101 and the first external electronic device 610 may be implemented similarly to the operation of acquiring the location of the first external electronic device based on the relay packet described in FIG. 10, Therefore, a detailed description thereof will be omitted. The electronic device 101 sends a message including information indicating the location of the first external electronic device 610 based on the predicted distance and direction between the electronic device 101 and the first external electronic device 610 on the BLE finder. It can be displayed through the UI.

도 13A 및 도 13B는 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스의 또 다른 예를 도시한 도면이다. 13A and 13B are diagrams illustrating another example of a location based service in a wireless communication network according to various embodiments.

도 13A 및 도 13B를 참조하면, 위치 기반 서비스는 찾기 서비스일 수 있다. 무선 통신 네트워크는 전자 장치(101), 제1 외부 전자 장치(610), 제2 외부 전자 장치(620), 및/또는 제3 외부 전자 장치(1210)를 포함할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 도 1 또는 도 3의 전자 장치(101)일 수 있고, 제1 외부 전자 장치(610)는 도 1의 전자 장치(102)일 수 있고, 제2 외부 전자 장치(620)는 도 4의 제2 외부 전자 장치(620)일 수 있다. Referring to FIGS. 13A and 13B , the location-based service may be a search service. The wireless communication network may include the electronic device 101 , the first external electronic device 610 , the second external electronic device 620 , and/or the third external electronic device 1210 . According to an embodiment, the electronic device 101 may be the electronic device 101 of FIG. 1 or 3, the first external electronic device 610 may be the electronic device 102 of FIG. 1, and the second external electronic device 610 may be the electronic device 102 of FIG. The external electronic device 620 may be the second external electronic device 620 of FIG. 4 .

일 실시 예에 따르면, 제2 외부 전자 장치(620)는 전자 장치(101)와 협력하여 찾기 서비스를 제공하는 장치일 수 있다. 일 실시 예에 따르면, 제2 외부 전자 장치(620)는 IoT 장치(예: TV, 라이트, 에어 컨디셔너, 오븐, 또는 스피커와 같은 가전 제품) 또는 사용자 장치(예: 스마트 폰, 또는 웨어러블 전자 장치)일 수 있다. 제2 외부 전자 장치(620)는 전자 장치(101)에 의해 제1 외부 전자 장치(610)에 대한 상태 정보 및 접근 권한이 공유될 수 있는 전자 장치(예: 헬퍼 장치)일 수 있다. 헬퍼 장치에 대해서는 도 6에서 설명한 바 있으므로, 그 상세한 설명은 생략하기로 한다. 일 실시 예에서, 제 2 외부 전자 장치(620)는 UWB 릴레이 장치일 수 있다. 제1 외부 전자 장치(610)는 전자 장치(101)와 연동하여 찾기 서비스를 제공할 수 있다. 예를 들어, 제1 외부 전자 장치(610)는 스마트 태그(예: 삼성 갤럭시 스마트 태그), 스마트 버튼, 또는 웨어러블 전자 장치(예: 스마트 와치 또는 이어 버즈)일 수 있다. 일 실시 예에서, 제3 외부 전자 장치(1210)는 도 1의 서버(108) 또는 도 5의 제3 외부 전자 장치(1210)일 수 있다. 도 13A 및 도 13B에서 설명되는 찾기 서비스는 전자 장치(101), 및 제2 외부 전자 장치(620)가 제3 외부 전자 장치(1210)와 통신 가능할 경우의 찾기 서비스 일 수 있다. 일 실시 예에서, 전자 장치(101)와 제1 외부 전자 장치(610) 간에는 UWB 연결이 설정되어 있지 않을 수 있고, 전자 장치(101)와 제2 외부 전자 장치(620) 간에도 UWB 연결이 설정되어 있지 않을 수 있다. According to an embodiment, the second external electronic device 620 may be a device that provides a search service in cooperation with the electronic device 101 . According to an embodiment, the second external electronic device 620 is an IoT device (eg, a TV, a light, an air conditioner, an oven, or a home appliance such as a speaker) or a user device (eg, a smart phone or a wearable electronic device). can be The second external electronic device 620 may be an electronic device (eg, a helper device) capable of sharing status information and access rights with respect to the first external electronic device 610 by the electronic device 101 . Since the helper device has been described with reference to FIG. 6 , a detailed description thereof will be omitted. In one embodiment, the second external electronic device 620 may be a UWB relay device. The first external electronic device 610 may provide a search service by interworking with the electronic device 101 . For example, the first external electronic device 610 may be a smart tag (eg, a Samsung Galaxy smart tag), a smart button, or a wearable electronic device (eg, a smart watch or earbuds). In one embodiment, the third external electronic device 1210 may be the server 108 of FIG. 1 or the third external electronic device 1210 of FIG. 5 . The search service described in FIGS. 13A and 13B may be a search service when the electronic device 101 and the second external electronic device 620 can communicate with the third external electronic device 1210 . In an embodiment, a UWB connection may not be established between the electronic device 101 and the first external electronic device 610, and a UWB connection may also be established between the electronic device 101 and the second external electronic device 620. There may not be.

도 13A 및 도 13B의 동작 1211 내지 동작 1231은 도 12A 및 도 12B의 동작 1211 내지 동작 1231과 유사하거나 실질적으로 동일하게 구현될 수 있으며, 따라서 그 상세한 설명은 생략하기로 한다. Operations 1211 to 1231 of FIGS. 13A and 13B may be implemented similarly or substantially the same as operations 1211 to 1231 of FIGS. 12A and 12B, and thus detailed description thereof will be omitted.

동작 1231에서 제5 패킷에 포함되어 있는 개시자 장치 정보, 응답자 장치 정보, 및/또는 UWB 레인징 데이터에 기반하여 제1 외부 전자 장치(610)가 BLE 파인더 상에서 UI를 통해 제1 외부 전자 장치(610)가 찾아졌음을 통지하는 메시지를 디스플레이 한 전자 장치(101)는 동작 1333에서, 제2 외부 전자 장치(620)와 BLE GATT 연결을 설정할 수 있다. 전자 장치(101)와 제2 외부 전자 장치(620) 간에 BLE GATT 연결이 설정되면, 전자 장치(101)는 제2 외부 전자 장치(620)로 UWB 연결을 요청하는 UWB 연결 요청 패킷을 송신할 수 있다. 도 13A 및 도 13B에서는 전자 장치(101)와 제2 외부 전자 장치(620) 간에는 UWB 연결이 설정되지 않을 수 있다. 따라서, 제2 외부 전자 장치(620)는 전자 장치(101)가 송신한 UWB 연결 요청 패킷에 대한 응답 패킷인 UWB 연결 응답 패킷을 송신하지 못 할 수 있다. Based on the initiator device information, responder device information, and/or UWB ranging data included in the fifth packet in operation 1231, the first external electronic device 610 detects the first external electronic device through the UI on the BLE finder ( The electronic device 101 displaying a message notifying that 610) has been found may establish a BLE GATT connection with the second external electronic device 620 in operation 1333. When a BLE GATT connection is established between the electronic device 101 and the second external electronic device 620, the electronic device 101 may transmit a UWB connection request packet requesting a UWB connection to the second external electronic device 620. there is. 13A and 13B, a UWB connection may not be established between the electronic device 101 and the second external electronic device 620. Accordingly, the second external electronic device 620 may not be able to transmit a UWB connection response packet that is a response packet to the UWB connection request packet transmitted by the electronic device 101 .

일 실시 예에서, 제2 외부 전자 장치(620)는 제3 외부 전자 장치(1210)로 제1 외부 전자 장치(610)가 찾아졌음을 나타내는 제4 패킷을 송신한 후 설정 시간 내에 전자 장치(101)와UWB 연결이 설정되지 않을 경우, 동작 1335에서 제3 외부 전자 장치(1210)로 릴레이 패킷을 송신할 수 있다. 일 실시 예에서, 설정 시간은 무선 통신 네트워크의 상황에 적합하게 가변적으로 설정될 수 있다. 일 실시 예에서, 제2 외부 전자 장치(620)에서 제3 외부 전자 장치(1210)로 송신되는 릴레이 패킷은 개시자 장치 정보, 응답자 장치 정보, 및/또는 UWB 레인징 데이터를 포함할 수 있다. 일 실시 예에서, 릴레이 패킷에 포함되는 개시자 장치 정보는 개시자(예: 제2 외부 전자 장치(620))의 장치 정보 일 수 있다. 일 실시 예에서, 릴레이 패킷에 포함되는 응답자 장치 정보는 응답자(예: 제1 외부 전자 장치(610))의 장치 정보 일 수 있다. 일 실시 예에서, 릴레이 패킷에 포함되는, 개시자 장치 정보, 응답자 장치 정보, 및/또는 UWB 레인징 데이터는 도 9의 개시자 장치 정보(910), 응답자 장치 정보(920), 및/또는 UWB 레인징 데이터(930)와 유사하게 구현될 수 있으며, 따라서 그 상세한 설명은 생략하기로 한다.In an embodiment, the second external electronic device 620 transmits a fourth packet indicating that the first external electronic device 610 has been found to the third external electronic device 1210 and then sends the electronic device 101 within a set time. ) and the UWB connection is not established, a relay packet may be transmitted to the third external electronic device 1210 in operation 1335 . In one embodiment, the setting time may be variably set to suit the circumstances of the wireless communication network. In an embodiment, a relay packet transmitted from the second external electronic device 620 to the third external electronic device 1210 may include initiator device information, responder device information, and/or UWB ranging data. In an embodiment, initiator device information included in the relay packet may be device information of an initiator (eg, the second external electronic device 620). In an embodiment, the responder device information included in the relay packet may be device information of the responder (eg, the first external electronic device 610). In one embodiment, the initiator device information, responder device information, and/or UWB ranging data included in the relay packet may include initiator device information 910, responder device information 920, and/or UWB ranging data in FIG. It may be implemented similarly to the ranging data 930, and thus a detailed description thereof will be omitted.

일 실시 예에서, 제2 외부 전자 장치(620)로부터 릴레이 패킷을 수신한 제3 외부 전자 장치(1210)는 동작 1337에서 전자 장치(101)로 제2 외부 전자 장치(620)로부터 수신한 릴레이 패킷에 포함되어 있는 정보(예: 개시자 장치 정보, 응답자 장치 정보, 및/또는 UWB 레인징 데이터를)를 포함하는 제6 패킷을 송신할 수 있다. In an embodiment, the third external electronic device 1210 receiving the relay packet from the second external electronic device 620 transfers the relay packet received from the second external electronic device 620 to the electronic device 101 in operation 1337. A sixth packet including information (eg, initiator device information, responder device information, and/or UWB ranging data) may be transmitted.

제3 외부 전자 장치(1210)로부터 제6 패킷을 수신한 전자 장치(101)는 동작 1339에서, 제6 패킷에 포함되어 있는 개시자 장치 정보, 응답자 장치 정보, 및/또는 UWB 레인징 데이터에 기반하여 제1 외부 전자 장치(610)의 위치와 관련된 정보를 포함하는 메시지를 UI를 통해 디스플레이 할 수 있다. 일 실시 예에서, 제1 외부 전자 장치(610)의 위치와 관련된 정보는 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 거리 및 방향을 포함할 수 있다. Upon receiving the sixth packet from the third external electronic device 1210, the electronic device 101, in operation 1339, based on initiator device information, responder device information, and/or UWB ranging data included in the sixth packet Accordingly, a message including information related to the location of the first external electronic device 610 may be displayed through the UI. In an embodiment, information related to the location of the first external electronic device 610 may include a distance and direction between the second external electronic device 620 and the first external electronic device 610 .

도 12A 및 도 12B에서 설명한 찾기 서비스의 경우, 전자 장치(101)와 제2 외부 전자 장치(620) 간에 UWB 연결이 설정될 수 있고, 따라서 전자 장치(101)는 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 거리 및 방향 뿐만 아니라 전자 장치(101)와 제2 외부 전자 장치(620) 간의 거리 및 방향을 획득할 수 있다. 이렇게, 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 거리 및 방향과, 전자 장치(101)와 제2 외부 전자 장치(620) 간의 거리 및 방향을 획득한 전자 장치(101)는 전자 장치(101)와 제2 외부 전자 장치(620) 간의 거리 및 방향과 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 거리 및 방향에 기반하여 전자 장치(101)와 제1 외부 전자 장치(610) 간의 거리 및 방향을 예측하여, UI를 통해 예측된 제1 외부 전자 장치(610)의 위치를 디스플레이 할 수 있다. In the case of the search service described with reference to FIGS. 12A and 12B, a UWB connection may be established between the electronic device 101 and the second external electronic device 620. The distance and direction between the first external electronic device 610 and the distance and direction between the electronic device 101 and the second external electronic device 620 may be obtained. In this way, the electronic device 101 obtained the distance and direction between the second external electronic device 620 and the first external electronic device 610 and the distance and direction between the electronic device 101 and the second external electronic device 620. ) is the electronic device 101 based on the distance and direction between the electronic device 101 and the second external electronic device 620 and the distance and direction between the second external electronic device 620 and the first external electronic device 610. A distance and direction between the first external electronic device 610 and the first external electronic device 610 may be predicted, and the predicted location of the first external electronic device 610 may be displayed through the UI.

하지만, 도 13A 및 도 13B에서 설명한 찾기 서비스의 경우, 전자 장치(101)와 제2 외부 전자 장치(620) 간에 UWB 연결이 설정될 수 없고, 따라서 전자 장치(101)는 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 거리 및 방향은 획득할 수 있으나, 전자 장치(101)와 제2 외부 전자 장치(620) 간의 거리 및 방향은 획득할 수 없다. 따라서, 전자 장치(101)는 도 12A 및 도 12B에서 설명한 찾기 서비스와는 달리, 예측된 제1 외부 전자 장치(610)의 위치가 아닌, 제1 외부 전자 장치(610)의 위치에 관련된 정보(예: 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 거리 및 방향)을 UI를 통해 디스플레이할 수 있다. However, in the case of the search service described in FIGS. 13A and 13B, a UWB connection cannot be established between the electronic device 101 and the second external electronic device 620, and thus the electronic device 101 is connected to the second external electronic device ( 620) and the first external electronic device 610 may be acquired, but the distance and direction between the electronic device 101 and the second external electronic device 620 may not be obtained. Therefore, unlike the search service described with reference to FIGS. 12A and 12B, the electronic device 101 provides information related to the location of the first external electronic device 610 rather than the predicted location of the first external electronic device 610 ( Example: The distance and direction between the second external electronic device 620 and the first external electronic device 610) may be displayed through the UI.

도 14A 및 도 14B는 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스의 또 다른 예를 도시한 도면이다. 14A and 14B are diagrams illustrating another example of a location-based service in a wireless communication network according to various embodiments.

도 14A 및 도 14B를 참조하면, 위치 기반 서비스는 찾기 서비스일 수 있다. 무선 통신 네트워크는 전자 장치(101), 제1 외부 전자 장치(610), 제2 외부 전자 장치(620), 및/또는 다른 제2 외부 전자 장치(1110)를 포함할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 도 1 또는 도 3의 전자 장치(101)일 수 있고, 제1 외부 전자 장치(610)는 도 1의 전자 장치(102)일 수 있고, 제2 외부 전자 장치(620)는 도 4의 제2 외부 전자 장치(620)일 수 있다. Referring to FIGS. 14A and 14B , the location based service may be a finding service. The wireless communication network may include the electronic device 101 , a first external electronic device 610 , a second external electronic device 620 , and/or another second external electronic device 1110 . According to an embodiment, the electronic device 101 may be the electronic device 101 of FIG. 1 or 3, the first external electronic device 610 may be the electronic device 102 of FIG. 1, and the second external electronic device 610 may be the electronic device 102 of FIG. The external electronic device 620 may be the second external electronic device 620 of FIG. 4 .

제2 외부 전자 장치(620) 및 다른 제2 외부 전자 장치(1110) 각각은 전자 장치(101)의 제어에 의해 찾기 서비스를 제공하는 장치일 수 있다. 일 실시 예에 따르면, 제2 외부 전자 장치(620) 및 다른 제2 외부 전자 장치(1110) 각각은 IoT 장치(예: TV, 라이트, 에어 컨디셔너, 오븐, 또는 스피커와 같은 가전 제품), 또는 사용자 장치(예: 스마트 폰, 또는 웨어러블 전자 장치)일 수 있다. 제2 외부 전자 장치(620) 및 다른 제2 외부 전자 장치(1110) 각각은 전자 장치(101)에 의해 제1 외부 전자 장치(610)에 대한 상태 정보 및 접근 권한이 공유될 수 있는 전자 장치(예: 헬퍼 장치)일 수 있다. 헬퍼 장치에 대해서는 도 6에서 설명한 바 있으므로, 그 상세한 설명은 생략하기로 한다. 일 실시 예에서, 제 2 외부 전자 장치(620) 및 다른 제2 외부 전자 장치(1110) 각각은 UWB 릴레이 장치일 수 있다. 제1 외부 전자 장치(610)는 전자 장치(101)와 연동하여 찾기 서비스를 제공할 수 있다. 예를 들어, 제1 외부 전자 장치(610)는 스마트 태그(예: 삼성 갤럭시 스마트 태그), 스마트 버튼, 또는 웨어러블 전자 장치(예: 스마트 와치 또는 이어 버즈)일 수 있다. 일 실시 예에서, 제3 외부 전자 장치(1210)는 도 1의 서버(108) 또는 도 5의 제3 외부 전자 장치(1210)일 수 있다. 도 13A 및 도 13B에서는, 전자 장치(101)와 제1 외부 전자 장치(610) 간에는 UWB 연결이 설정될 수 있고, 전자 장치(101)와 제2 외부 전자 장치(620) 및 다른 제2 외부 전자 장치(1110) 각각 간에도 UWB 연결이 설정될 수 있다. Each of the second external electronic device 620 and the other second external electronic device 1110 may be a device that provides a search service under the control of the electronic device 101 . According to an embodiment, each of the second external electronic device 620 and the other second external electronic device 1110 is an IoT device (eg, a TV, light, air conditioner, oven, or home appliance such as a speaker), or a user It may be a device (eg, a smart phone or a wearable electronic device). Each of the second external electronic device 620 and the other second external electronic device 1110 is an electronic device capable of sharing state information and access rights with respect to the first external electronic device 610 by the electronic device 101 ( e.g. a helper device). Since the helper device has been described with reference to FIG. 6 , a detailed description thereof will be omitted. In one embodiment, each of the second external electronic device 620 and the other second external electronic device 1110 may be a UWB relay device. The first external electronic device 610 may provide a search service by interworking with the electronic device 101 . For example, the first external electronic device 610 may be a smart tag (eg, a Samsung Galaxy smart tag), a smart button, or a wearable electronic device (eg, a smart watch or earbuds). In one embodiment, the third external electronic device 1210 may be the server 108 of FIG. 1 or the third external electronic device 1210 of FIG. 5 . 13A and 13B, a UWB connection may be established between the electronic device 101 and the first external electronic device 610, and the electronic device 101 and the second external electronic device 620 and other second external electronic devices A UWB connection may also be established between each device 1110 .

전자 장치(101)와 제1 외부 전자 장치(610) 간에는 BLE GATT 연결 및 UWB 연결이 설정되어 있고, 전자 장치(101)는 동작 1411에서 투 웨이 레인징 프로토콜에 기반하여 제1 외부 전자 장치(610)와 UWB 통신을 수행할 수 있다. A BLE GATT connection and a UWB connection are established between the electronic device 101 and the first external electronic device 610, and the electronic device 101 establishes the first external electronic device 610 based on the two-way ranging protocol in operation 1411. ) and UWB communication.

제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간에는 BLE GATT 연결 및 UWB 연결이 설정되어 있고, 제2 외부 전자 장치(620)는 동작 1413에서 투 웨이 레인징 프로토콜에 기반하여 제1 외부 전자 장치(610)와 UWB 통신을 수행할 수 있다. A BLE GATT connection and a UWB connection are established between the second external electronic device 620 and the first external electronic device 610, and the second external electronic device 620 establishes a second external electronic device based on the two-way ranging protocol in operation 1413. 1 UWB communication with the external electronic device 610 may be performed.

이렇게 전자 장치(101)와 제1 외부 전자 장치(610) 간에 UWB 연결이 설정되어 있고, 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간에 UWB 연결이 설정되어 있는 상태에서, 다른 제2 외부 전자 장치(1110)는 동작 1415에서 제1 외부 전자 장치(610)와 BLE GATT 연결을 설정한 후 제1 외부 전자 장치(610)로 UWB 연결 요청 패킷을 송신할 수 있다. 일 실시 예에서, UWB 연결 요청 패킷은 투 웨이 레인징 프로토콜에 기반하여 UWB 연결을 요청하는 패킷일 수 있다. In this way, in a state in which a UWB connection is established between the electronic device 101 and the first external electronic device 610 and a UWB connection is established between the second external electronic device 620 and the first external electronic device 610, After establishing a BLE GATT connection with the first external electronic device 610 in operation 1415, the other second external electronic device 1110 may transmit a UWB connection request packet to the first external electronic device 610. In an embodiment, the UWB connection request packet may be a packet requesting a UWB connection based on a two-way ranging protocol.

일 실시 예에서, 제1 외부 전자 장치(610)는 최대 2개의 UWB 연결(예: UWB 세션)들을 유지할 수 있다고 가정하기로 한다. 다른 제2 외부 전자 장치(1110)로부터 투 웨이 레인징 프로토콜에 기반하여 UWB 연결을 요청하는 UWB 연결 요청 패킷을 수신한 제1 외부 전자 장치(610)는 동작 1417에서, 현재 설정되어 있는 UWB 연결들의 개수가 2개이므로(예: 전자 장치(101)와 제1 외부 전자 장치(610) 간의 UWB 연결 및 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 UWB 연결), 더 이상 투 웨이 레인징 프로토콜에 기반하여 UWB 연결을 설정하는 것은 불가능함을 확인할 수 있다. 따라서, 제1 외부 전자 장치(610)는 레인징 프로토콜을 투 웨이 레인징 프로토콜에서 원 웨이 레인징 프로토콜로 변경해야 함을 확인할 수 있다. In one embodiment, it is assumed that the first external electronic device 610 can maintain up to two UWB connections (eg, UWB sessions). Upon receiving a UWB connection request packet requesting a UWB connection based on the two-way ranging protocol from another second external electronic device 1110, in operation 1417, the first external electronic device 610 determines the number of currently established UWB connections. Since the number is two (eg, UWB connection between the electronic device 101 and the first external electronic device 610 and UWB connection between the second external electronic device 620 and the first external electronic device 610), no more It can be seen that it is impossible to establish a UWB connection based on the two-way ranging protocol. Accordingly, the first external electronic device 610 can confirm that the ranging protocol needs to be changed from the two-way ranging protocol to the one-way ranging protocol.

레인징 프로토콜을 투 웨이 레인징 프로토콜에서 원 웨이 레인징 프로토콜로 변경해야 함을 확인한 제1 외부 전자 장치(610)는 동작 1419에서 전자 장치(101)로 레인징 프로토콜 변경을 요청하는 패킷인 제7 패킷을 송신할 수 있다. 일 실시 예에서, 레인징 프로토콜 변경을 요청하는 패킷은 레인징 프로토콜을 투 웨이 레인징 프로토콜에서 원 웨이 레인징 프로토콜로 변경할 것을 요청하는 정보를 포함할 수 있다. 일 실시 예에서, 레인징 프로토콜 변경을 요청하는 패킷은 BLE GATT 연결을 통해 송신될 수 있다. After confirming that the ranging protocol needs to be changed from the two-way ranging protocol to the one-way ranging protocol, the first external electronic device 610 requests the electronic device 101 to change the ranging protocol in operation 1419, which is a 7th packet. packets can be sent. In an embodiment, a packet requesting a ranging protocol change may include information requesting a change of a ranging protocol from a two-way ranging protocol to a one-way ranging protocol. In one embodiment, a packet requesting a ranging protocol change may be transmitted through a BLE GATT connection.

제1 외부 전자 장치(610)로부터 BLE GATT 연결을 통해 레인징 프로토콜 변경을 요청하는 패킷을 수신한 전자 장치(101)는 제1 외부 전자 장치(610)의 레인징 프로토콜을 투 웨이 레인징 프로토콜에서 원 웨이 레인징 프로토콜로 변경해야 함을 확인할 수 있다. 제1 외부 전자 장치(610)의 레인징 프로토콜을 투 웨이 레인징 프로토콜에서 원 웨이 레인징 프로토콜로 변경해야 함을 확인한 전자 장치(101)는 동작 1421에서 레인징 프로토콜을 변경할지 여부를 확인하는 동작을 수행할 수 있다. 일 실시 예에서, 레인징 프로토콜을 변경할지 여부를 확인하는 동작은 UI를 통해 레인징 프로토콜을 변경해야 함을 나타내는 메시지를 디스플레이하는 동작을 포함할 수 있다. 레인징 프로토콜을 변경할지 여부를 확인하는 메시지를 디스플레이 한 후, 전자 장치(101)는 레인징 프로토콜을 전환할 것임을 나타내는 정보가 입력되는지 또는 레인징 프로토콜을 전환하지 않을 것임을(예: 유지할 것임을) 나타내는 정보가 입력되는지 체크할 수 있다. Upon receiving a packet requesting a ranging protocol change from the first external electronic device 610 through the BLE GATT connection, the electronic device 101 converts the ranging protocol of the first external electronic device 610 to a two-way ranging protocol. It can be confirmed that it needs to be changed to a one-way ranging protocol. After confirming that the ranging protocol of the first external electronic device 610 needs to be changed from the two-way ranging protocol to the one-way ranging protocol, the electronic device 101 determines whether to change the ranging protocol in operation 1421. can be performed. In an embodiment, the operation of determining whether to change the ranging protocol may include an operation of displaying a message indicating that the ranging protocol should be changed through a UI. After displaying a message confirming whether or not to change the ranging protocol, the electronic device 101 determines whether information indicating that the ranging protocol will be switched is input or indicating that the ranging protocol will not be switched (eg, will be maintained). You can check if the information is entered.

레인징 프로토콜을 전환하지 않을 것임을 나타내는 정보가 입력될 경우, 전자 장치(101)는 동작 1423에서, 제1 외부 전자 장치(610)로 BLE GATT 연결을 통해 레인징 프로토콜 변경을 요청하는 패킷에 대한 응답 패킷인 제8 패킷을 송신할 수 있다. 동작 1423에서 전자 장치(101)로부터 제1 외부 전자 장치(610)로 송신되는 응답 패킷은 레인징 프로토콜 변경 요청에 대한 거절을 나타내는 정보를 포함할 수 있다. When information indicating that the ranging protocol will not be switched is input, in operation 1423, the electronic device 101 provides a response to a packet requesting a ranging protocol change from the first external electronic device 610 through the BLE GATT connection. An eighth packet, which is a packet, may be transmitted. A response packet transmitted from the electronic device 101 to the first external electronic device 610 in operation 1423 may include information indicating rejection of the ranging protocol change request.

레인징 프로토콜 변경 요청에 대한 거절을 나타내는 정보를 포함하는 응답 패킷을 수신한 제1 외부 전자 장치(610)는 제1 외부 전자 장치(610)의 레인징 프로토콜을 원 웨이 프로토콜로 변경하는 것이 거절됨을 확인할 수 있고, 동작 1425에서 다른 제2 외부 전자 장치(1110)으로 UWB 연결 요청 패킷에 대한 응답 패킷인 UWB 연결 응답 패킷을 송신할 수 있다. 제1 외부 전자 장치(610)에서 다른 제2 외부 전자 장치(1110)로 송신되는 UWB 연결 응답 패킷은 다른 제2 외부 전자 장치(1110)의 UWB 연결 요청이 거절됨을 나타내는 정보를 포함할 수 있다. The first external electronic device 610 receiving the response packet including information indicating rejection of the ranging protocol change request indicates that changing the ranging protocol of the first external electronic device 610 to the one-way protocol is rejected. It can be checked, and in operation 1425, a UWB connection response packet, which is a response packet to the UWB connection request packet, can be transmitted to the other second external electronic device 1110. A UWB connection response packet transmitted from the first external electronic device 610 to the other second external electronic device 1110 may include information indicating that the UWB connection request of the other second external electronic device 1110 is rejected.

이렇게, 레인징 프로토콜을 전환하지 않기로 하는 정보가 입력됨에 따라, 제1 외부 전자 장치(610)의 레인징 프로토콜은 투 웨이 레인징 프로토콜에서 원 웨이 레인징 프로토콜로 변경되지 않으며, 따라서 전자 장치(101)와 제1 외부 전자 장치(610) 간의 투 웨이 레인징 프로토콜에 기반하는 UWB 연결 및 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 투 웨이 레인징 프로토콜에 기반하는UWB 연결만 유지되고, 다른 제2 외부 전자 장치(1110)는 제1 외부 전자 장치(610)와 UWB 연결을 설정할 수 없다. In this way, as the information not to switch the ranging protocol is input, the ranging protocol of the first external electronic device 610 does not change from the two-way ranging protocol to the one-way ranging protocol, and thus the electronic device 101 ) and the first external electronic device 610 based on a two-way ranging protocol, and between the second external electronic device 620 and the first external electronic device 610 based on a two-way ranging protocol. is maintained, and the other second external electronic device 1110 cannot establish a UWB connection with the first external electronic device 610 .

이와는 달리, 동작 1421에서 전자 장치(101)가 UI를 통해 레인징 프로토콜을 변경해야 함을 나타내는 메시지를 디스플레이 한 후, 레인징 프로토콜을 전환할 것임을 나타내는 정보가 입력될 경우, 전자 장치(101)는 동작 1427에서, 제1 외부 전자 장치(610)로 BLE GATT 연결을 통해 레인징 프로토콜 변경을 요청하는 패킷에 대한 응답 패킷인 제8 패킷을 송신할 수 있다. 동작 1427에서 전자 장치(101)로부터 제1 외부 전자 장치(610)로 송신되는 응답 패킷은 레인징 프로토콜 변경 요청에 대한 수락을 나타내는 정보를 포함할 수 있다. In contrast, in operation 1421, when the electronic device 101 displays a message indicating that the ranging protocol needs to be changed through the UI and then inputs information indicating that the ranging protocol will be switched, the electronic device 101 In operation 1427, an eighth packet, which is a response packet to a packet requesting a ranging protocol change, may be transmitted to the first external electronic device 610 through the BLE GATT connection. The response packet transmitted from the electronic device 101 to the first external electronic device 610 in operation 1427 may include information indicating acceptance of the ranging protocol change request.

레인징 프로토콜 변경 요청에 대한 수락을 나타내는 정보를 포함하는 응답 패킷을 수신한 제1 외부 전자 장치(610)는 제1 외부 전자 장치(610)의 레인징 프로토콜을 원 웨이 프로토콜로 변경하는 것이 수락됨을 확인할 수 있고, 동작 1429에서 제2 외부 전자 장치(620)로 레인징 프로토콜 변경을 통지하는 패킷인 제9 패킷을 송신할 수 있다. 일 실시 예에서, 레인징 프로토콜 변경을 통지하는 패킷은 레인징 프로토콜을 투 웨이 레인징 프로토콜에서 원 웨이 레인징 프로토콜로 변경하는 것을 통지하는 정보를 포함할 수 있다. 일 실시 예에서, 레인징 프로토콜 변경을 통지하는 패킷은 BLE GATT 연결을 통해 송신될 수 있다. Upon receiving the response packet including information indicating acceptance of the ranging protocol change request, the first external electronic device 610 indicates that changing the ranging protocol of the first external electronic device 610 to the one-way protocol is accepted. In operation 1429, a ninth packet, which is a packet notifying the ranging protocol change, may be transmitted to the second external electronic device 620. According to an embodiment, a packet notifying a ranging protocol change may include information notifying a changing of a ranging protocol from a two-way ranging protocol to a one-way ranging protocol. In one embodiment, a packet notifying a ranging protocol change may be transmitted through a BLE GATT connection.

제1 외부 전자 장치(610)의 레인징 프로토콜을 원 웨이 프로토콜로 변경하는 것이 수락됨을 확인한 전자 장치(101)는 동작 1431에서 다른 제2 외부 전자 장치(1110)로 레인징 프로토콜 변경을 통지하는 패킷인 제9 패킷을 송신할 수 있다. 일 실시 예에서, 레인징 프로토콜 변경을 통지하는 패킷은 레인징 프로토콜을 투 웨이 레인징 프로토콜에서 원 웨이 레인징 프로토콜로 변경하는 것을 통지하는 정보를 포함할 수 있다. 일 실시 예에서, 레인징 프로토콜 변경을 통지하는 패킷은 BLE GATT 연결을 통해 송신될 수 있다. After confirming that the changing of the ranging protocol of the first external electronic device 610 to the one-way protocol is accepted, the electronic device 101 notifies the second external electronic device 1110 of the ranging protocol change in operation 1431. A ninth packet may be transmitted. According to an embodiment, a packet notifying a ranging protocol change may include information notifying a changing of a ranging protocol from a two-way ranging protocol to a one-way ranging protocol. In one embodiment, a packet notifying a ranging protocol change may be transmitted through a BLE GATT connection.

이렇게, 레인징 프로토콜이 변경됨에 따라, 제1 외부 전자 장치(610)의 레인징 프로토콜은 투 웨이 레인징 프로토콜에서 원 웨이 레인징 프로토콜로 변경되며, 따라서 동작 1433에서 전자 장치(101)와 제1 외부 전자 장치(610) 간의 투 웨이 레인징 프로토콜에 기반하는 UWB 연결은 원 웨이 레인징 프로토콜에 기반하는 UWB 연결로 전환될 수 있다. 일 실시 예에서, 제2 외부 전자 장치(620)와 제1 외부 전자 장치(610) 간의 투 웨이 레인징 프로토콜에 기반하는UWB 연결 역시 동작 1435에서 원 웨이 레인징 프로토콜에 기반하는 UWB 연결로 전환될 수 있다. 일 실시 예에서, 다른 제2 외부 전자 장치(1110)는 동작 1437에서 제1 외부 전자 장치(610)와 원 웨이 레인징 프로토콜에 기반하는 UWB 연결을 설정할 수 있다. 일 실시 예에서, 제1 외부 전자 장치(610)는 동작 1439에서 제1 외부 전자 장치(610)와 전자 장치(101)간의 UWB 연결 및 제1 외부 전자 장치(610)와 제2 외부 전자 장치(620) 간의 연결을 투 웨이 레인징 프로토콜에 기반하는UWB 연결에서 원 웨이 레인징 프로토콜에 기반하는 UWB 연결로 전환하고, 다른 제2 외부 전자 장치(1110)와 원 웨이 레인징 프로토콜에 기반하는 UWB 연결을 설정할 수 있다.In this way, as the ranging protocol is changed, the ranging protocol of the first external electronic device 610 is changed from a two-way ranging protocol to a one-way ranging protocol. Accordingly, in operation 1433, the electronic device 101 and the first A UWB connection based on a two-way ranging protocol between external electronic devices 610 may be converted into a UWB connection based on a one-way ranging protocol. In an embodiment, the UWB connection based on the two-way ranging protocol between the second external electronic device 620 and the first external electronic device 610 is also converted to a UWB connection based on the one-way ranging protocol in operation 1435. can In an embodiment, the second external electronic device 1110 may establish a UWB connection based on the one-way ranging protocol with the first external electronic device 610 in operation 1437 . In an embodiment, the first external electronic device 610 performs UWB connection between the first external electronic device 610 and the electronic device 101 in operation 1439 and the first external electronic device 610 and the second external electronic device ( 620) from a two-way ranging protocol-based UWB connection to a one-way ranging protocol-based UWB connection, and a one-way ranging protocol-based UWB connection with another second external electronic device 1110 can be set.

도 15는 다양한 실시 예에 따른 무선 통신 네트워크에서 전자 장치의 동작 과정의 일 예를 도시한 도면이다. 15 is a diagram illustrating an example of an operation process of an electronic device in a wireless communication network according to various embodiments.

도 15를 참조하면, 도 15에 도시되어 있는 전자 장치(예: 도 1, 도 3, 또는 도 6의 전자 장치(101))의 동작 과정은 도 6에서 설명한 위치 기반 서비스(예: 찾기 서비스)를 제공하는 프로세스에 따른 동작 과정일 수 있다.Referring to FIG. 15, the operation process of the electronic device shown in FIG. 15 (eg, the electronic device 101 of FIGS. 1, 3, or 6) is the location-based service (eg, search service) described in FIG. It may be an operating process according to a process that provides.

동작 1511에서, 전자 장치의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(304))는 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))에 대한 위치 기반 서비스(예: 찾기 서비스)를 제공하고 있는 중에, 설정 시간 동안 제1 외부 전자 장치로부터 패킷이 수신되지 않음을 확인할 수 있다. 일 실시 예에서, 제1 외부 전자 장치는 찾기 서비스에 대한 타겟 전자 장치일 수 있고, 전자 장치와 제1 외부 전자 장치 간의 연결은 UWB 연결일 수 있다. 도 6에서 설명한 바와 같이, UWB 안테나는 지향성 방사 패턴을 가지기 때문에, 전자 장치의 방향과 제1 외부 전자 장치의 방향이 일치하지 않거나, 또는 전자 장치와 제1 외부 전자 장치 간에 장애물이 존재하거나, 또는 전자 장치와 제1 외부 전자 장치 간의 거리가 임계 거리 보다 길 경우, 전자 장치는 제1 외부 전자 장치로부터의 패킷(예: UWB 패킷)을 수신하지 못할 수 있다. In operation 1511, a processor of the electronic device (eg, the processor 120 of FIG. 1 or the processor 304 of FIG. 3 ) performs a first external electronic device (eg, the electronic device 102 of FIG. 1 or the processor 304 of FIG. 6 ). While a location-based service (eg, a search service) for external electronic device 1 610 is being provided, it may be confirmed that no packet is received from the first external electronic device for a set time. In an embodiment, the first external electronic device may be a target electronic device for a search service, and a connection between the electronic device and the first external electronic device may be a UWB connection. As described in FIG. 6, since the UWB antenna has a directional radiation pattern, the direction of the electronic device and the direction of the first external electronic device do not match, or an obstacle exists between the electronic device and the first external electronic device, or When the distance between the electronic device and the first external electronic device is longer than the threshold distance, the electronic device may not receive a packet (eg, a UWB packet) from the first external electronic device.

설정 시간 동안 제1 외부 전자 장치로부터 패킷이 수신되지 않음을 확인한 프로세서는 동작 1513에서 통신 회로(예: 도 1의 통신 모듈 (190) 또는 도 3의 통신 회로(302))를 통해 설정되어 있는 적어도 하나의 헬퍼 전자 장치들 중 어느 하나인 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))와 연결(예: UWB 연결)을 설정할 수 있다. After confirming that no packets are received from the first external electronic device during the set time, the processor determines at least one number set through a communication circuit (eg, the communication module 190 of FIG. 1 or the communication circuit 302 of FIG. 3) in operation 1513. A connection (eg, UWB connection) may be established with a second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6 ), which is one of the helper electronic devices.

전자 장치와 제2 외부 전자 장치 간에 연결이 설정됨에 따라, 프로세서는 동작 1515에서 통신 회로를 통해 제2 외부 전자 장치로 위치 기반 서비스를 위해 제1 외부 전자 장치의 위치를 획득하는 릴레이 장치(예: UWB 릴레이 장치)로 동작할 것을 요청하는 패킷(예: 제1 패킷)을 송신할 수 있다. 제1 외부 전자 장치의 위치를 획득하는 릴레이 장치로 동작할 것을 요청하는 패킷은 도 6과 유사하게 구현될 수 있으며, 따라서 그 상세한 설명을 생략하기로 한다. As the connection is established between the electronic device and the second external electronic device, the processor may, in operation 1515, transmit a relay device (e.g., A packet requesting operation as a UWB relay device (eg, a first packet) may be transmitted. A packet requesting to operate as a relay device for acquiring the location of the first external electronic device may be implemented similarly to FIG. 6, and thus a detailed description thereof will be omitted.

제2 외부 전자 장치로 제1 외부 전자 장치의 위치를 획득하는 릴레이 장치로 동작할 것을 요청하는 패킷을 송신한 프로세서는 동작 1517에서 통신 회로를 통해 제2 외부 전자 장치로부터 제2 외부 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향을 포함하는 패킷(예: 릴레이 패킷)을 수신할 수 있다. 제2 외부 전자 장치로부터 수신되는, 제2 외부 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향을 포함하는 패킷은 도 6에서 설명한 릴레이 패킷과 유사하게 구현될 수 있으며, 따라서 그 상세한 설명을 생략하기로 한다.In operation 1517, the processor that transmits the packet requesting the second external electronic device to operate as a relay device for acquiring the location of the first external electronic device communicates with the second external electronic device through a communication circuit. 1 A packet (eg, relay packet) including the distance and direction between external electronic devices can be received. A packet received from the second external electronic device and including the distance and direction between the second external electronic device and the first external electronic device may be implemented similarly to the relay packet described in FIG. 6 , and thus a detailed description thereof will be omitted. do it with

제2 외부 전자 장치로부터 제2 외부 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향을 포함하는 패킷을 수신한 프로세서는 동작 1519에서 전자 장치와 제2 외부 전자 장치 간의 거리 및 방향, 및 제2 외부 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향에 기반하여 제1 외부 전자 장치의 위치를 예측할 수 있다. 전자 장치와 제2 외부 전자 장치 간의 거리 및 방향, 및 제2 외부 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향에 기반하여 제1 외부 전자 장치의 위치를 예측하는 동작은 도 10에서 설명한 바와 유사하게 구현될 수 있으며, 그 상세한 설명은 생략하기로 한다.Upon receiving a packet including the distance and direction between the second external electronic device and the first external electronic device from the second external electronic device, the processor in operation 1519 determines the distance and direction between the electronic device and the second external electronic device, and the second external electronic device. The position of the first external electronic device may be predicted based on the distance and direction between the electronic device and the first external electronic device. The operation of predicting the position of the first external electronic device based on the distance and direction between the electronic device and the second external electronic device and the distance and direction between the second external electronic device and the first external electronic device is similar to that described with reference to FIG. 10 . may be implemented, and a detailed description thereof will be omitted.

제1 외부 전자 장치의 위치를 예측한 프로세서는 동작 1521에서 디스플레이(예: 도 1의 디스플레이 모듈(160) 또는 도 3의 디스플레이(310))를 통해 예측된 제1 외부 전자 장치의 위치를 나타내는 메시지를 디스플레이 할 수 있다. The processor predicting the location of the first external electronic device, in operation 1521, displays a message indicating the predicted location of the first external electronic device through a display (eg, the display module 160 of FIG. 1 or the display 310 of FIG. 3 ). can display.

도 16은 다양한 실시 예에 따른 무선 통신 네트워크에서 전자 장치의 동작 과정의 다른 예를 도시한 도면이다. 16 is a diagram illustrating another example of an operation process of an electronic device in a wireless communication network according to various embodiments.

도 16을 참조하면, 도 16에 도시되어 있는 전자 장치(예: 도 1, 도 3, 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 전자 장치(101))의 동작 과정은 도 12A 및 도 12B, 또는 도 13A 및 도 13B에서 설명한 위치 기반 서비스(예: 찾기 서비스)를 제공하는 프로세스에 따른 동작 과정일 수 있다.Referring to FIG. 16, the operation process of the electronic device shown in FIG. 16 (eg, the electronic device 101 of FIGS. 1, 3, or 12A and 12B, or 13A and 13B) is shown in FIGS. It may be an operation process according to a process for providing a location-based service (eg, a search service) described in FIG. 12B or FIGS. 13A and 13B.

동작 1611에서, 전자 장치의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(304))는 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))에 대한 위치 기반 서비스(예: 찾기 서비스)가 실행됨을 확인할 수 있다. In operation 1611, a processor of the electronic device (eg, processor 120 of FIG. 1 or processor 304 of FIG. 3 ) initiates a first external electronic device (eg, electronic device 102 of FIG. 1 , or processor 120 of FIG. 12A and 304 ). 12B or the first external electronic device 610 of FIGS. 13A and 13B), it can be confirmed that a location-based service (eg, a search service) is executed.

제1 외부 전자 장치에 대한 위치 기반 서비스가 실행됨을 확인한 프로세서는 동작 1613에서 통신 회로(예: 도 1의 통신 모듈 (190) 또는 도 3의 통신 회로(302))를 통해 제3 외부 전자 장치(예: 도 1의 서버(108) 또는 도 5, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제3 외부 전자 장치(1210))로 제1 외부 전자 장치에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷(예: 제2 패킷)을 송신할 수 있다. 제1 외부 전자 장치에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷은 도 12A 및 도 12B의 동작 1211의 제2 패킷 또는 도 13A 및 도 13B의 동작 1211의 제2 패킷과 유사하게 구현될 수 있으며, 그 상세한 설명은 생략하기로 한다. After confirming that the location-based service for the first external electronic device is executed, in operation 1613, the processor uses a communication circuit (eg, the communication module 190 of FIG. 1 or the communication circuit 302 of FIG. 3 ) to a third external electronic device ( Example: Requesting that the server 108 of FIG. 1 or the third external electronic device 1210 of FIGS. 5, 12A and 12B, or 13A and 13B perform a location-based service for a first external electronic device. A requested packet (eg, a second packet) may be transmitted. A packet requesting to perform a location-based service for the first external electronic device may be implemented similarly to the second packet of operation 1211 of FIGS. 12A and 12B or the second packet of operation 1211 of FIGS. 13A and 13B, , a detailed description thereof will be omitted.

제3외부 전자 장치로 제1 외부 전자 장치에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷을 송신한 프로세서는 동작 1615에서 통신 회로를 통해, 제3 외부 전자 장치로부터 위치 기반 서비스를 위해 제1 외부 전자 장치의 위치를 획득하는 릴레이 장치(예: UWB 릴레이 장치)로 동작하는 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))에 의해 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷(예: 제5 패킷)을 수신할 수 있다. 제2 외부 전자 장치에 의해 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷은 도 12A 및 도 12B의 동작 1229의 제5 패킷 또는 도 13A 및 도 13B의 동작 1229의 제5 패킷과 유사하게 구현될 수 있으며, 그 상세한 설명은 생략하기로 한다. In operation 1615, the processor that transmits the packet requesting to perform the location-based service for the first external electronic device to the third external electronic device sends the first external electronic device through the communication circuit for the location-based service from the third external electronic device. A second external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B) operating as a relay device (eg, a UWB relay device) that obtains the location of the electronic device. )), a packet indicating that the location of the first external electronic device is obtained (eg, a fifth packet) may be received. A packet indicating that the location of the first external electronic device is obtained by the second external electronic device may be implemented similarly to the fifth packet of operation 1229 of FIGS. 12A and 12B or the fifth packet of operation 1229 of FIGS. 13A and 13B. may be, and a detailed description thereof will be omitted.

제2 외부 전자 장치에 의해 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷을 수신한 프로세서는 동작 1617에서 디스플레이(예: 도 1의 디스플레이 모듈(160) 또는 도 3의 디스플레이(310))를 통해 제2 외부 전자 장치에 의해 제1 외부 전자 장치의 위치가 획득됨을 나타내는 메시지를 디스플레이 할 수 있다. 제2 외부 전자 장치에 의해 제1 외부 전자 장치의 위치가 획득됨을 나타내는 메시지는 도 12A 및 도 12B의 동작 1231의 제2 외부 전자 장치에 의해 제1 외부 전자 장치의 위치가 획득됨을 나타내는 메시지 또는 도 13A 및 도 13B의 동작 1231의 제2 외부 전자 장치에 의해 제1 외부 전자 장치의 위치가 획득됨을 나타내는 메시지와 유사하게 구현될 수 있으며, 그 상세한 설명은 생략하기로 한다. Upon receiving the packet indicating that the location of the first external electronic device is acquired by the second external electronic device, the processor displays (eg, the display module 160 of FIG. 1 or the display 310 of FIG. 3 ) in operation 1617. A message indicating that the location of the first external electronic device is acquired by the second external electronic device may be displayed. A message indicating that the location of the first external electronic device is obtained by the second external electronic device is a message indicating that the location of the first external electronic device is obtained by the second external electronic device of operation 1231 of FIGS. 12A and 12B or FIG. It may be implemented similarly to the message indicating that the location of the first external electronic device is acquired by the second external electronic device of operation 1231 of FIGS. 13A and 13B, and a detailed description thereof will be omitted.

도 17은 다양한 실시 예에 따른 무선 통신 네트워크에서 제2 외부 전자 장치의 동작 과정의 일 예를 도시한 도면이다. 17 is a diagram illustrating an example of an operation process of a second external electronic device in a wireless communication network according to various embodiments.

도 17을 참조하면, 도 17에 도시되어 있는 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))의 동작 과정은 도 6에서 설명한 위치 기반 서비스(예: 찾기 서비스)를 제공하는 프로세스에 따른 동작 과정일 수 있다.Referring to FIG. 17, the operation process of the second external electronic device shown in FIG. 17 (eg, the second external electronic device 620 of FIG. 4 or 6) is the location-based service (eg, search It may be an operation process according to a process that provides a service).

동작 1711에서 제2 외부 전자 장치의 프로세서(예: 도 4의 프로세서(404))는 통신 회로(예: 도 4의 통신 회로(402))를 통해 전자 장치(예: 도 1, 도 3, 또는 도 6의 전자 장치(101))와 연결(예: UWB 연결)을 설정할 수 있다. In operation 1711, the processor of the second external electronic device (eg, the processor 404 of FIG. 4 ) via a communication circuit (eg, the communication circuit 402 of FIG. 4 ) via the electronic device (eg, the processor 404 of FIG. 1 , FIG. 3 , or A connection (eg, UWB connection) with the electronic device 101 of FIG. 6 may be established.

전자 장치와 연결을 설정한 프로세서는 동작 1713에서 통신 회로를 통해 전자 장치로부터 제1 외부 전자 장치(예: 도 1의 전자 장치(102) 또는 도 6의 제1 외부 전자 장치(610))에 대한 위치 기반 서비스를 위해 제1 외부 전자 장치의 위치를 획득하는 릴레이 장치(예: UWB 릴레이 장치)로 동작할 것을 요청하는 패킷(예: 제1 패킷)을 수신할 수 있다. 제1 외부 전자 장치의 위치를 획득하는 릴레이 장치로 동작할 것을 요청하는 패킷은 도 6과 유사하게 구현될 수 있으며, 따라서 그 상세한 설명을 생략하기로 한다. In operation 1713, the processor that establishes a connection with the electronic device transmits information about a first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIG. 6) from the electronic device through a communication circuit. A packet requesting to operate as a relay device (eg, a UWB relay device) obtaining a location of a first external electronic device for a location-based service (eg, a first packet) may be received. A packet requesting to operate as a relay device for acquiring the location of the first external electronic device may be implemented similarly to FIG. 6, and thus a detailed description thereof will be omitted.

제1 외부 전자 장치의 위치를 획득하는 릴레이 장치로 동작할 것을 요청하는 패킷을 수신한 프로세서는 동작 1715에서 통신 회로를 통해, 제1외부 전자 장치와 연결(예: UWB)을 설정할 수 있다. In operation 1715, the processor receiving the packet requesting to operate as a relay device obtaining the location of the first external electronic device may establish a connection (eg, UWB) with the first external electronic device through a communication circuit.

제2 외부 전자 장치와 제1 외부 전자 장치 간에 연결이 설정됨에 따라 프로세서는 제2 외부 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향을 획득할 수 있다. 동작 1717에서 프로세서는 통신 회로를 통해, 전자 장치로 제2 외부 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향을 포함하는 패킷(예: 릴레이 패킷)을 송신할 수 있다. 일 실시 예에서, 릴레이 패킷은 도 6의 릴레이 패킷 및 도 9의 릴레이 패킷과 유사하게 구현될 수 있으며, 그 상세한 설명은 생략하기로 한다. As the connection between the second external electronic device and the first external electronic device is established, the processor may obtain a distance and a direction between the second external electronic device and the first external electronic device. In operation 1717, the processor may transmit a packet (eg, a relay packet) including a distance and a direction between the second external electronic device and the first external electronic device to the electronic device through the communication circuit. In one embodiment, the relay packet may be implemented similarly to the relay packet of FIG. 6 and the relay packet of FIG. 9, and a detailed description thereof will be omitted.

도 18은 다양한 실시 예에 따른 무선 통신 네트워크에서 제3 외부 전자 장치의 동작 과정의 일 예를 도시한 도면이다. 18 is a diagram illustrating an example of an operation process of a third external electronic device in a wireless communication network according to various embodiments.

도 18을 참조하면, 도 18에 도시되어 있는 제3 외부 전자 장치(예: 도 1의 서버(108) 또는 도 5, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제3 외부 전자 장치(1210))의 동작 과정은 도 12A 및 도 12B, 또는 도 13A 및 도 13B에서 설명한 위치 기반 서비스(예: 찾기 서비스)를 제공하는 프로세스에 따른 동작 과정일 수 있다.Referring to FIG. 18, the third external electronic device shown in FIG. 18 (eg, the server 108 of FIG. 1 or the third external electronic device of FIGS. 5, 12A and 12B, or 13A and 13B ( The operation process of 1210) may be an operation process according to a process for providing a location-based service (eg, a search service) described in FIGS. 12A and 12B or 13A and 13B.

동작 1811에서, 제3 외부 전자 장치의 프로세서는 통신 회로(예: 도 5의 통신 회로(502))를 통해 전자 장치(예: 도 1, 도 3, 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 전자 장치(101))로부터 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷(예: 제2 패킷)을 수신할 수 있다. 제1 외부 전자 장치에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷은 도 12A 및 도 12B의 동작 1211의 제2 패킷 또는 도 13A 및 도 13B의 동작 1211의 제2 패킷과 유사하게 구현될 수 있으며, 그 상세한 설명은 생략하기로 한다. In operation 1811, the processor of the third external electronic device via communication circuitry (eg, communication circuitry 502 of FIG. 5) to the electronic device (eg, FIGS. 1, 3, or 12A and 12B, or 13A and A first external electronic device (e.g., the electronic device 102 of FIG. 1, or the first external electronic device 610 of FIGS. 12A and 12B, or 13A and 13B) from the electronic device 101 of FIG. 13B. A packet (eg, a second packet) requesting to perform a location-based service for may be received. A packet requesting to perform a location-based service for the first external electronic device may be implemented similarly to the second packet of operation 1211 of FIGS. 12A and 12B or the second packet of operation 1211 of FIGS. 13A and 13B, , a detailed description thereof will be omitted.

제1 외부 전자 장치에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷을 수신한 프로세서는 동작 1813에서 통신 회로를 통해 위치 기반 서비스를 위해 제1 외부 전자 장치의 위치를 획득하는 릴레이 장치(예: UWB 릴레이 장치)로 동작하는 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))로 제1 외부 전자 장치에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷(예: 제3 패킷)을 송신할 수 있다. 제1 외부 전자 장치에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷은 도 12A 및 도 12B의 동작 1217의 제3 패킷 또는 도 13A 및 도 13B의 동작 1217의 제3 패킷과 유사하게 구현될 수 있으며, 그 상세한 설명은 생략하기로 한다. Upon receiving the packet requesting to perform the location-based service for the first external electronic device, in operation 1813, the processor obtains the location of the first external electronic device for the location-based service through a communication circuit (e.g., a UWB relay device). Location-based service for the first external electronic device with a second external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B) operating as a relay device) A packet (eg, a third packet) requesting to perform may be transmitted. A packet requesting to perform a location-based service for the first external electronic device may be implemented similarly to the third packet of operation 1217 of FIGS. 12A and 12B or the third packet of operation 1217 of FIGS. 13A and 13B, , a detailed description thereof will be omitted.

제2 외부 전자 장치로 제1 외부 전자 장치에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷을 송신한 프로세서는 동작 1815에서 통신 회로를 통해 제2 외부 전자 장치로부터 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷(예: 제4 패킷)을 수신할 수 있다. 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷은 도 12A 및 도 12B의 동작 1227의 제4 패킷 또는 도 13A 및 도 13B의 동작 1227의 제4 패킷과 유사하게 구현될 수 있으며, 그 상세한 설명은 생략하기로 한다. In operation 1815, the processor that transmits the packet requesting to perform the location-based service for the first external electronic device to the second external electronic device obtains the location of the first external electronic device from the second external electronic device through a communication circuit. A packet (eg, a 4th packet) indicating that it is done may be received. A packet indicating that the location of the first external electronic device is acquired may be implemented similarly to the fourth packet of operation 1227 of FIGS. 12A and 12B or the fourth packet of operation 1227 of FIGS. 13A and 13B. to omit

제2 외부 전자 장치로부터 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷을 수신한 프로세서는 동작 1817에서 통신 회로를 통해 전자 장치로 제2 외부 전자 장치에 의해 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷(예: 제5 패킷)을 송신할 수 있다. 제2 외부 전자 장치에 의해 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷은 도 12A 및 도 12B의 동작 1229의 제5 패킷 또는 도 13A 및 도 13B의 동작 1229의 제 5패킷과 유사하게 구현될 수 있으며, 그 상세한 설명은 생략하기로 한다. Upon receiving the packet indicating that the location of the first external electronic device has been obtained from the second external electronic device, the processor transmits in operation 1817 to the electronic device via a communication circuit that the location of the first external electronic device has been obtained by the second external electronic device. An indicating packet (eg, a fifth packet) may be transmitted. A packet indicating that the location of the first external electronic device is acquired by the second external electronic device may be implemented similarly to the fifth packet of operation 1229 of FIGS. 12A and 12B or the fifth packet of operation 1229 of FIGS. 13A and 13B. may be, and a detailed description thereof will be omitted.

도 19는 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스에 따라 제공되는 UI의 다른 예를 도시한 도면이다. 19 is a diagram illustrating another example of a UI provided according to a location based service in a wireless communication network according to various embodiments.

도 19를 참조하면, 전자 장치(예: 스마트 폰)는 무선 통신 네트워크 내의 다양한 공간들에 존재하는 제1 외부 전자 장치, 적어도 하나의 제2 외부 전자 장치(예: IoT 장치), 및/또는 제3 외부 전자 장치(예: 서버)와 연동하여 위치 기반 서비스(예: 찾기 서비스)를 제공할 수 있다. 예를 들어, 제1 외부 전자 장치는 스마트 태그(예: 삼성 갤럭시 스마트 태그), 스마트 버튼, 및/또는 웨어러블 전자 장치(예: 스마트 와치 또는 이어 버즈)를 포함할 수 있다.Referring to FIG. 19 , an electronic device (eg, a smart phone) includes a first external electronic device, at least one second external electronic device (eg, an IoT device), and/or a first external electronic device existing in various spaces within a wireless communication network. 3 A location-based service (eg, search service) can be provided in conjunction with an external electronic device (eg, server). For example, the first external electronic device may include a smart tag (eg, a Samsung Galaxy smart tag), a smart button, and/or a wearable electronic device (eg, a smart watch or earbuds).

도 19의 참조 번호 1910, 1920, 1930, 1940, 및 1950에 상응하는 동작들은 도 2에서 설명한 참조 번호 210, 220, 230, 240, 및 250에 상응하는 동작들과 유사하게 구현될 수 있으며, 그 상세한 설명은 생략하기로 한다. Operations corresponding to reference numerals 1910, 1920, 1930, 1940, and 1950 in FIG. 19 may be implemented similarly to operations corresponding to reference numerals 210, 220, 230, 240, and 250 described in FIG. A detailed description will be omitted.

UWB 안테나는 일반적으로 지향성 방사 패턴을 가지기 때문에, 전자 장치의 방향과 제1 외부 전자 장치의 방향이 일치하지 않거나, 전자 장치와 제1 외부 전자 장치 간에 장애물이 존재하거나, 및/또는 전자 장치와 제1 외부 전자 장치 간의 거리가 임계 거리 보다 길 경우, 전자 장치는 제1 외부 전자 장치로부터의 UWB 신호를 수신하지 못할 수 있다(1960). 전자 장치는 설정 시간 동안 제1 외부 전자 장치로부터 UWB 신호가 수신되지 않을 경우 제2 외부 전자 장치와 협력하여 제1 외부 전자 장치에 대한 찾기 서비스를 제공할 수 있다(1970). 일 실시 예에서, 전자 장치는 제1 외부 전자 장치와 BLE 연결이 설정되어 있지 않은 상태에서, 제1 외부 전자 장치에 대한 검색 동작을 수행하므로, UI를 통해 제1 외부 전자 장치를 검색하고 있음을 나타내는 정보를 포함하는 메시지(예: Searching nearby ... )를 디스플레이할 수 있다(1970). 전자 장치가 제2 외부 전자 장치와 협력하여 제1 외부 전자 장치에 대한 찾기 서비스를 제공하는 동작은 도 12A 및 도 12B 또는 도 13A 및 도 13B에서 설명한 찾기 서비스와 유사하게 구현될 수 있으며, 그 상세한 설명은 생략하기로 한다. Since a UWB antenna generally has a directional radiation pattern, the direction of the electronic device and the direction of the first external electronic device do not match, or there is an obstacle between the electronic device and the first external electronic device, and/or the electronic device and the first external electronic device. If the distance between 1 external electronic devices is longer than the threshold distance, the electronic device may not receive a UWB signal from the first external electronic device (1960). When a UWB signal is not received from the first external electronic device for a set time, the electronic device may cooperate with the second external electronic device to provide a search service for the first external electronic device (1970). In one embodiment, since the electronic device performs a search operation on the first external electronic device in a state where the BLE connection with the first external electronic device is not established, it is recognized that the first external electronic device is being searched through the UI. It is possible to display a message (eg, Searching nearby ...) including the indicated information (1970). An operation in which the electronic device cooperates with the second external electronic device to provide a search service for the first external electronic device may be implemented similarly to the search service described in FIGS. 12A and 12B or 13A and 13B, and the detailed Description is omitted.

제3 외부 전자 장치로부터 제2 외부 전자 장치에 의해 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷(예: 제5 패킷)을 수신한 전자 장치는 제5 패킷에 포함되어 있는 개시자 장치 정보, 응답자 장치 정보, 및/또는 UWB 레인징 데이터에 기반하여 제1 외부 전자 장치가 찾아졌음을 통지하는 메시지를 BLE 파인더 상에서 UI를 통해 디스플레이 할 수 있다(1981). 일 실시 예에서, 제1 외부 전자 장치가 찾아졌음을 통지하는 메시지는 제2 외부 전자 장치에 의해 제1 외부 전자 장치의 위치가 획득됨을 나타내는 메시지일 수 있다. 도 19에서는, 제1 외부 전자 장치가 찾아졌음을 통지하는 메시지가 일 예로 "거실 TV로부터 TAG가 감지되었습니다"로 도시되어 있으며, 이 경우 거실 TV는 제2 외부 전자 장치가 될 수 있고, TAG는 제1 외부 전자 장치가 될 수 있다.Upon receiving a packet indicating that the location of the first external electronic device is obtained by the second external electronic device from the third external electronic device (eg, a fifth packet), the electronic device includes initiator device information included in the fifth packet; A message notifying that the first external electronic device has been found based on responder device information and/or UWB ranging data may be displayed on the BLE finder through the UI (1981). In an embodiment, the message notifying that the first external electronic device has been found may be a message indicating that the location of the first external electronic device is acquired by the second external electronic device. In FIG. 19 , a message notifying that a first external electronic device has been found is shown as an example, “a TAG has been detected from a TV in the living room.” In this case, the TV in the living room can be a second external electronic device, and the TAG is It may be the first external electronic device.

제1 외부 전자 장치가 찾아졌음을 통지하는 메시지를 디스플레이한 전자 장치는 전자 장치와 제2 외부 전자 장치 간의 거리 및 방향을 획득할 수 있을 경우 (예: UWB 연결이 설정될 수 있을 경우), 전자 장치와 제2 외부 전자 장치 간의 거리 및 방향과 제2 외부 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향에 기반하여 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향을 예측할 수 있다. 예를 들어, 전자 장치는 예측한 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향에 기반하여 제1 외부 전자 장치의 위치를 예측할 수 있고, 예측한 제1 외부 전자 장치의 위치를 AR 파인더 상에서 UI를 통해 디스플레이 할 수 있다(1983). If the electronic device displaying a message notifying that the first external electronic device has been found can acquire the distance and direction between the electronic device and the second external electronic device (eg, if a UWB connection can be established), the electronic device The distance and direction between the electronic device and the first external electronic device may be estimated based on the distance and direction between the device and the second external electronic device and the distance and direction between the second external electronic device and the first external electronic device. For example, the electronic device may predict the location of the first external electronic device based on the predicted distance and direction between the electronic device and the first external electronic device, and display the predicted location of the first external electronic device on the AR finder through a UI. It can be displayed through (1983).

일 실시 예에서, 제3 외부 전자 장치로부터 제2 외부 전자 장치에 의해 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷(예: 제5 패킷)이 수신되지 않을 경우, 전자 장치는 전자 장치와 제2 외부 전자 장치 간의 거리 및 방향을 획득하는 것이 불가능하므로 (예: UWB 연결이 설정되지 않을 경우)(1985), 다른 제2 외부 전자 장치와 협력하여 다시 제1 외부 전자 장치를 검색할 수 있다(1987). In one embodiment, when a packet indicating that the location of the first external electronic device is acquired by the second external electronic device is not received from the third external electronic device (eg, a fifth packet), the electronic device is not connected to the electronic device. Since it is impossible to obtain the distance and direction between the 2 external electronic devices (eg, when a UWB connection is not established) (1985), the first external electronic device may be searched again in cooperation with other second external electronic devices ( 1987).

이후, 제3 외부 전자 장치로부터 다른 제2 외부 전자 장치에 의해 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷(예: 제5 패킷)을 수신한 전자 장치는 제5 패킷에 포함되어 있는 개시자 장치 정보, 응답자 장치 정보, 및/또는 UWB 레인징 데이터에 기반하여 제1 외부 전자 장치가 찾아졌음을 통지하는 메시지를 BLE 파인더 상에서 UI를 통해 디스플레이 할 수 있다(1987). 도 19에서는, 제1 외부 전자 장치가 찾아졌음을 통지하는 메시지가 일 예로 "안방 TV로부터 TAG가 감지되었습니다"로 도시되어 있으며, 이 경우 안방 TV는 다른 제2 외부 전자 장치가 될 수 있고, TAG는 제1 외부 전자 장치가 될 수 있다.Thereafter, the electronic device that receives a packet indicating that the location of the first external electronic device is obtained by another second external electronic device (eg, a fifth packet) from the third external electronic device is an initiator included in the fifth packet. A message notifying that the first external electronic device has been found based on device information, responder device information, and/or UWB ranging data may be displayed on the BLE finder through the UI (1987). In FIG. 19 , a message notifying that a first external electronic device has been found is shown as an example of “TAG detected from the home TV”, and in this case, the home TV may be another second external electronic device, and the TAG may be a first external electronic device.

도 19에서는 전자 장치가 제3 외부 전자 장치를 통해 제2 외부 전자 장치 또는 다른 제2 외부 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향에 대한 정보를 수신하는 경우를 일 예로 하여 설명하였으나, 전자 장치가 제2 외부 전자 장치 또는 다른 제2 외부 전자 장치로부터 직접 릴레이 패킷을 수신하여 제1 외부 전자 장치 간의 거리 및 방향에 대한 정보를 수신할 수도 있다. In FIG. 19, a case where an electronic device receives information on a distance and a direction between a second external electronic device or another second external electronic device and a first external electronic device through a third external electronic device has been described as an example, but the electronic device The device may directly receive a relay packet from the second external electronic device or another second external electronic device to receive information about the distance and direction between the first external electronic devices.

도 20은 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스에 따라 제공되는 UI의 또 다른 예를 도시한 도면이다. 20 is a diagram illustrating another example of a UI provided according to a location based service in a wireless communication network according to various embodiments.

도 20을 참조하면, 전자 장치(예: 스마트 폰)는 무선 통신 네트워크 내의 다양한 공간들에 존재하는 제1 외부 전자 장치, 적어도 하나의 제2 외부 전자 장치(예: IoT 장치), 및/또는 제3 외부 전자 장치(예: 서버)와 연동하여 위치 기반 서비스(예: 찾기 서비스)를 제공할 수 있다. 예를 들어, 제1 외부 전자 장치는 스마트 태그(예: 삼성 갤럭시 스마트 태그), 스마트 버튼, 및/또는 웨어러블 전자 장치(예: 스마트 와치 또는 이어 버즈)를 포함할 수 있다.Referring to FIG. 20 , an electronic device (eg, a smart phone) includes a first external electronic device, at least one second external electronic device (eg, an IoT device), and/or a first external electronic device existing in various spaces within a wireless communication network. 3 A location-based service (eg, search service) can be provided in conjunction with an external electronic device (eg, server). For example, the first external electronic device may include a smart tag (eg, a Samsung Galaxy smart tag), a smart button, and/or a wearable electronic device (eg, a smart watch or earbuds).

도 20의 참조 번호 2010, 2020, 2030, 2040, 2050, 2060, 및 2070에 상응하는 동작들은 도 19에서 설명한 참조 번호 1910, 1920, 1930, 1940, 1950, 1960, 및 1970에 상응하는 동작들과 유사하게 구현될 수 있으며, 그 상세한 설명은 생략하기로 한다. Operations corresponding to reference numerals 2010, 2020, 2030, 2040, 2050, 2060, and 2070 in FIG. It may be implemented similarly, and a detailed description thereof will be omitted.

제3 외부 전자 장치로부터 제2 외부 전자 장치에 의해 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷(예: 제5 패킷)을 수신한 전자 장치는 제5 패킷에 포함되어 있는 개시자 장치 정보, 응답자 장치 정보, 및/또는 UWB 레인징 데이터에 기반하여 제1 외부 전자 장치가 찾아졌음을 통지하는 메시지를 BLE 파인더 상에서 UI를 통해 디스플레이 할 수 있다(2081). 일 실시 예에서, 제1 외부 전자 장치가 찾아졌음을 통지하는 메시지는 제2 외부 전자 장치에 의해 제1 외부 전자 장치의 위치가 획득됨을 나타내는 메시지일 수 있다. 도 20에서는, 제1 외부 전자 장치가 찾아졌음을 통지하는 메시지가 일 예로 "TV로부터 TAG가 감지되었습니다"로 도시되어 있으며, 이 경우 TV는 제2 외부 전자 장치가 될 수 있고, TAG는 제1 외부 전자 장치가 될 수 있다. 제1 외부 전자 장치가 찾아졌음을 통지하는 메시지를 디스플레이한 전자 장치는 제1 외부 전자 장치와 제2 외부 전자 장치 간의 거리 및 방향에 기반하여 제1 외부 전자 장치의 위치에 관련된 정보를 포함하는 메시지를 BLE 파인더 상에서 UI를 통해 디스플레이 할 수 있다(2083). Upon receiving a packet indicating that the location of the first external electronic device is obtained by the second external electronic device from the third external electronic device (eg, a fifth packet), the electronic device includes initiator device information included in the fifth packet; A message notifying that the first external electronic device has been found based on responder device information and/or UWB ranging data may be displayed on the BLE finder through the UI (2081). In an embodiment, the message notifying that the first external electronic device has been found may be a message indicating that the location of the first external electronic device is acquired by the second external electronic device. In FIG. 20 , a message notifying that a first external electronic device has been found is shown as an example of “TAG detected from TV”, in which case the TV may be the second external electronic device, and the TAG may be the first external electronic device. It can be an external electronic device. The electronic device that displays the message notifying that the first external electronic device has been found includes information related to the location of the first external electronic device based on the distance and direction between the first external electronic device and the second external electronic device. can be displayed through the UI on the BLE finder (2083).

일 실시 예에서, 제3 외부 전자 장치로부터 제2 외부 전자 장치에 의해 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷(예: 제5 패킷)이 수신되지 않을 경우, 전자 장치는 전자 장치와 제2 외부 전자 장치 간의 거리 및 방향을 획득하는 것이 불가능하므로 (예: UWB 연결이 설정되지 않을 경우)(2085), 다른 제2 외부 전자 장치와 협력하여 다시 제1 외부 전자 장치를 검색할 수 있다. 이후, 제3 외부 전자 장치로부터 다른 제2 외부 전자 장치에 의해 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷(예: 제5 패킷)을 수신한 전자 장치는 제5 패킷에 포함되어 있는 개시자 장치 정보, 응답자 장치 정보, 및/또는 UWB 레인징 데이터에 기반하여 제1 외부 전자 장치가 찾아졌음을 통지하는 메시지를 BLE 파인더 상에서 UI를 통해 디스플레이 할 수 있다(2087). 도 20에서는, 제1 외부 전자 장치가 찾아졌음을 통지하는 메시지가 일 예로 "갤럭시 탭으로부터 TAG가 감지되었습니다"로 도시되어 있으며, 이 경우 갤럭시 탭은 다른 제2 외부 전자 장치가 될 수 있고, TAG는 제1 외부 전자 장치가 될 수 있다. 제1 외부 전자 장치가 찾아졌음을 통지하는 메시지를 디스플레이한 전자 장치는 제1 외부 전자 장치와 다른 제2 외부 전자 장치 간의 거리 및 방향에 기반하여 제1 외부 전자 장치의 위치에 관련된 정보를 포함하는 메시지를 BLE 파인더 상에서 UI를 통해 디스플레이 할 수 있다(2089).In one embodiment, when a packet indicating that the location of the first external electronic device is acquired by the second external electronic device is not received from the third external electronic device (eg, a fifth packet), the electronic device is not connected to the electronic device. Since it is impossible to obtain the distance and direction between the two external electronic devices (eg, when a UWB connection is not established) (2085), the first external electronic device may be searched again in cooperation with other second external electronic devices. Thereafter, the electronic device that receives a packet indicating that the location of the first external electronic device is obtained by another second external electronic device (eg, a fifth packet) from the third external electronic device is an initiator included in the fifth packet. A message notifying that the first external electronic device has been found based on the device information, responder device information, and/or UWB ranging data may be displayed on the BLE finder through the UI (2087). In FIG. 20 , a message notifying that a first external electronic device has been found is shown as an example, “TAG detected from Galaxy Tab”, and in this case, the Galaxy Tab may be another second external electronic device, and the TAG may be a first external electronic device. The electronic device displaying a message notifying that the first external electronic device has been found includes information related to the location of the first external electronic device based on the distance and direction between the first external electronic device and a second external electronic device. The message can be displayed through the UI on the BLE finder (2089).

도 20에서는 전자 장치가 제3 외부 전자 장치를 통해 제2 외부 전자 장치 또는 다른 제2 외부 전자 장치와 제1 외부 전자 장치 간의 거리 및 방향에 대한 정보를 수신하는 경우를 일 예로 하여 설명하였으나, 전자 장치가 제2 외부 전자 장치 또는 다른 제2 외부 전자 장치로부터 직접 릴레이 패킷을 수신하여 제1 외부 전자 장치 간의 거리 및 방향에 대한 정보를 수신할 수도 있다. In FIG. 20 , a case in which an electronic device receives information on a distance and a direction between a second external electronic device or another second external electronic device and a first external electronic device through a third external electronic device has been described as an example; The device may directly receive a relay packet from the second external electronic device or another second external electronic device to receive information about the distance and direction between the first external electronic devices.

도 21은 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스에 따라 제공되는 UI의 또 다른 예를 도시한 도면이다. 21 is a diagram illustrating another example of a UI provided according to a location based service in a wireless communication network according to various embodiments.

도 21을 참조하면, 전자 장치(예: 스마트 폰)는 무선 통신 네트워크 내의 다양한 공간들에 존재하는 제1 외부 전자 장치, 적어도 하나의 제2 외부 전자 장치(예: IoT 장치), 및/또는 제3 외부 전자 장치(예: 서버)와 연동하여 위치 기반 서비스(예: 찾기 서비스)를 제공할 수 있다. 예를 들어, 제1 외부 전자 장치는 스마트 태그(예: 삼성 갤럭시 스마트 태그), 스마트 버튼, 및/또는 웨어러블 전자 장치(예: 스마트 와치 또는 이어 버즈)를 포함할 수 있다.Referring to FIG. 21 , an electronic device (eg, a smart phone) includes a first external electronic device, at least one second external electronic device (eg, an IoT device), and/or a first external electronic device existing in various spaces within a wireless communication network. 3 A location-based service (eg, search service) can be provided in conjunction with an external electronic device (eg, server). For example, the first external electronic device may include a smart tag (eg, a Samsung Galaxy smart tag), a smart button, and/or a wearable electronic device (eg, a smart watch or earbuds).

도 21에 도시되어 있는 참조 번호 2110및 2120에 상응하는 동작들은 도 19에서 설명한 참조 번호 1981 및 1983에 상응하는 동작들과 유사하게 구현될 수 있다. 다만, 도 19에서는 예측된 제1 외부 전자 장치의 위치만 AR 파인더 상에서 UI를 통해 디스플레이 되는데 반해(도 19의 1983), 도 21에서는 예측된 제1 외부 전자 장치의 위치 뿐만 아니라 제1 외부 전자 장치와 제2 외부 전자 장치 간의 거리 및 방향 역시 AR 파인더 상에서 UI를 통해 디스플레이 될 수 있다 (2120). Operations corresponding to reference numerals 2110 and 2120 shown in FIG. 21 may be implemented similarly to operations corresponding to reference numerals 1981 and 1983 described in FIG. 19 . However, in FIG. 19, only the predicted location of the first external electronic device is displayed on the AR finder through the UI (1983 in FIG. 19), whereas in FIG. 21, not only the predicted location of the first external electronic device but also the first external electronic device The distance and direction between the and the second external electronic device may also be displayed on the AR finder through the UI (2120).

도 22는 다양한 실시 예에 따른 무선 통신 네트워크에서 위치 기반 서비스에 따라 제공되는 UI의 또 다른 예를 도시한 도면이다. 22 is a diagram illustrating another example of a UI provided according to a location based service in a wireless communication network according to various embodiments.

도 22를 참조하면, 전자 장치(예: 스마트 폰)는 무선 통신 네트워크 내의 다양한 공간들에 존재하는 제1 외부 전자 장치, 적어도 하나의 제2 외부 전자 장치(예: IoT 장치), 및/또는 제3 외부 전자 장치(예: 서버)와 연동하여 위치 기반 서비스(예: 찾기 서비스)를 제공할 수 있다. 예를 들어, 제1 외부 전자 장치는 스마트 태그(예: 삼성 갤럭시 스마트 태그), 스마트 버튼, 및/또는 웨어러블 전자 장치(예: 스마트 와치 또는 이어 버즈)를 포함할 수 있다.Referring to FIG. 22 , an electronic device (eg, a smart phone) includes a first external electronic device, at least one second external electronic device (eg, an IoT device), and/or a first external electronic device existing in various spaces within a wireless communication network. 3 A location-based service (eg, search service) can be provided in conjunction with an external electronic device (eg, server). For example, the first external electronic device may include a smart tag (eg, a Samsung Galaxy smart tag), a smart button, and/or a wearable electronic device (eg, a smart watch or earbuds).

전자 장치는 적어도 하나의 제2 외부 전자 장치 및/또는 제3 외부 전자 장치와 함께 제1 외부 전자 장치에 대한 찾기 서비스를 제공할 수 있으며, 따라서 전자 장치가 제1 위치에 존재할 경우의 제1 외부 전자 장치에 대한 찾기 서비스 결과를 나타내는 화면(2210)과 전자 장치가 제1 위치에 존재할 경우의 제1 외부 전자 장치에 대한 찾기 서비스 결과를 나타내는 화면(2220)은 다를 수 있다. 일 실시 예에서, 전자 장치는 제1 외부 전자 장치와 연결(예: UWB 연결)을 설정할 수 없을 지라도 제2 외부 전자 장치 및/또는 제3 외부 전자 장치를 통해 획득되는 정보에 기반하여 제1 외부 전자 장치의 위치에 관련된 정보를 디스플레이 할 수 있다(2210, 2220).The electronic device may provide a search service for the first external electronic device together with at least one second external electronic device and/or a third external electronic device, and thus the first external electronic device when the electronic device exists in the first location. A screen 2210 showing a search service result for an electronic device and a screen 2220 showing a search service result for a first external electronic device when the electronic device is present in the first location may be different. In an embodiment, even if the electronic device cannot establish a connection (eg, UWB connection) with the first external electronic device, the electronic device may establish a connection with the first external electronic device based on information obtained through the second external electronic device and/or the third external electronic device. Information related to the location of the electronic device may be displayed (2210, 2220).

본 개시의 다양한 실시 예들에 따르면, 전자 장치(예: 도 1, 도 3, 또는 도 6의 전자 장치(101))의 동작 방법은, 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))에 대한 위치 기반 서비스를 제공하고 있는 중에, 설정 시간 동안 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))로부터 패킷이 수신되지 않음을 확인할 경우, 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))와 연결을 설정하는동작, 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))로 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))의 위치를 획득하기 위한 릴레이(relay) 장치로 동작할 것을 요청하는 패킷을 송신하는 동작, 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))로부터 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610)) 간의 거리 및 방향을 포함하는 패킷을 수신하는 동작, 및 상기 전자 장치(예: 도 1, 도 3, 또는 도 6의 전자 장치(101))와 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620)) 간의 거리 및 방향, 및 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610)) 간의 거리 및 방향에 기반하여 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))의 위치를 예측하는 동작, 및 상기 예측된 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))의 위치를 나타내는 정보를 디스플레이하는 동작을 포함할 수 있다. According to various embodiments of the present disclosure, an operating method of an electronic device (eg, the electronic device 101 of FIG. 1, 3, or 6) may include a first external electronic device (eg, the electronic device 102 of FIG. 1 ) ) or the first external electronic device 610 of FIG. 6 , while providing the location-based service for the set time, the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIG. 6 ). If it is confirmed that the packet is not received from the first external electronic device 610 of , an operation of establishing a connection with a second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6); The second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6 ) to the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 620 of FIG. 6 ). Transmitting a packet requesting operation as a relay device for acquiring the location of the electronic device 610, the second external electronic device (eg, the second external electronic device of FIG. 4 or 6 ( 620) to the second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6) and the first external electronic device (eg, the electronic device 102 of FIG. 1 or FIG. 6 receiving a packet including the distance and direction between the first external electronic device 610, and the electronic device (eg, the electronic device 101 of FIGS. 1, 3, or 6) and the second Distance and direction between external electronic devices (eg, the second external electronic device 620 of FIG. 4 or 6), and the second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6) ) and the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIG. 6 ) based on the distance and direction An operation of predicting the location of the electronic device 102 of 1 or the first external electronic device 610 of FIG. 6 , and the predicted first external electronic device (eg, the electronic device 102 of FIG. 1 ); Alternatively, an operation of displaying information indicating a location of the first external electronic device 610 of FIG. 6 may be included.

본 개시의 다양한 실시 예에 따르면, 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))의 동작 방법은, 전자 장치(예: 도 1, 도 3, 또는 도 6의 전자 장치(101))와 연결을 설정하는 동작, 상기 전자 장치(예: 도 1, 도 3, 또는 도 6의 전자 장치(101))로부터 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))에 대한 위치 기반 서비스를 위해 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610))의 위치를 획득하기 위한 릴레이(relay) 장치로 동작할 것을 요청하는 패킷을 수신하는 동작, 상기 제1외부 전자 장치와 연결을 설정하는 동작, 및 상기 전자 장치(예: 도 1, 도 3, 또는 도 6의 전자 장치(101))로 상기 제2 외부 전자 장치(예: 도 4 또는 도 6의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 6의 제1 외부 전자 장치(610)) 간의 거리 및 방향을 포함하는 패킷을 송신하는 동작을 포함할 수 있다. According to various embodiments of the present disclosure, a method of operating a second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6 ) includes an electronic device (eg, FIG. 1 , FIG. 3 , or FIG. 6 ). An operation of establishing a connection with the electronic device 101 of FIG. 6), from the electronic device (eg, the electronic device 101 of FIG. 1, 3, or 6) to a first external electronic device (eg, the electronic device of FIG. 1). The first external electronic device (eg, the electronic device 102 in FIG. 1 or the first external electronic device 610 in FIG. 6 ) for the location-based service for the device 102 or the first external electronic device 610 in FIG. 6 . An operation of receiving a packet requesting to operate as a relay device for acquiring the location of the electronic device 610, an operation of establishing a connection with the first external electronic device, and an operation of establishing a connection with the electronic device (eg, FIG. 1, the electronic device 101 of FIG. 3 or 6), the second external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6) and the first external electronic device (eg, the second external electronic device 620 of FIG. 4 or 6) An operation of transmitting a packet including the distance and direction between the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIG. 6 may be included.

본 개시의 다양한 실시 예에 따르면, 전자 장치(예: 도 1, 도 3, 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 전자 장치(101))의 동작 방법은, 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))에 대한 위치 기반 서비스가 실행됨을 확인하면, 제3 외부 전자 장치(예: 도 1의 서버(108) 또는 도 5, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제3 외부 전자 장치(1210))로 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷을 송신하는 동작, 상기 제3 외부 전자 장치(예: 도 1의 서버(108) 또는 도 5, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제3 외부 전자 장치(1210))로부터 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 위치를 획득하기 위한 릴레이(relay) 장치로 동작하는 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))에 의해 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 위치가 획득됨을 나타내는 패킷을 수신하는 동작, 및 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))에 의해 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 위치가 획득됨을 나타내는 정보를 디스플레이하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, a method of operating an electronic device (eg, the electronic device 101 of FIGS. 1, 3, or 12A and 12B, or 13A and 13B) includes a first external electronic device. (Example: When it is confirmed that the location based service for the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIGS. 12A and 12B or 13A and 13B) is executed, the third external electronic device device (e.g. server 108 in FIG. 1 or third external electronic device 1210 in FIGS. 5, 12A and 12B, or 13A and 13B) to the first external electronic device (e.g. Transmitting a packet requesting to perform a location-based service for the electronic device 102 or the first external electronic device 610 of FIGS. 12A and 12B or 13A and 13B, the third external electronic device The first external electronic device (eg, the server 108 in FIG. 1 or the third external electronic device 1210 in FIGS. 5, 12A and 12B, or 13A and 13B) A second external electronic device operating as a relay device for acquiring the location of the electronic device 102 of FIGS. 12A and 12B or the first external electronic device 610 of FIGS. 13A and 13B ( Example: the first external electronic device (eg, the electronic device 102 of FIG. 1, or the second external electronic device 620 of FIG. 13A and 13B) in FIGS. 4, 12A and 12B, or FIG. 13A and 13B, or FIG. and receiving a packet indicating that the location of the first external electronic device 610 of FIG. 12B or FIGS. 13A and 13B) is obtained, and the second external electronic device (eg, FIG. 4, FIG. 12A and FIG. 12B). , or the second external electronic device 620 of FIGS. 13A and 13B), the first external electronic device (eg, the electronic device 102 of FIG. 1 , or the electronic device 102 of FIGS. 12A and 12B, or FIGS. 13A and 13B An operation of displaying information indicating that the location of the first external electronic device 610 is obtained.

본 개시의 다양한 실시 예에 따르면, 상기 방법은, 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))와 연결을 설정하는 동작, 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))로부터 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610)) 간의 거리 및 방향을 포함하는 패킷을 수신하는 동작, 및 상기 전자 장치(예: 도 1, 도 3, 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 전자 장치(101))와 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620)) 간의 거리 및 방향, 및 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610)) 간의 거리 및 방향에 기반하여 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 위치를 예측하는 동작, 및 상기 예측된 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 위치를 나타내는 정보를 디스플레이하는 동작을 더 포함할 수 있다. According to various embodiments of the present disclosure, the method establishes a connection with the second external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B). Setting operation, from the second external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B) to the second external electronic device (eg, FIG. 4 12A and 12B, or the second external electronic device 620 of FIGS. 13A and 13B) and the first external electronic device (eg, the electronic device 102 of FIG. 1, or FIGS. 12A and 12B, or Receiving a packet including the distance and direction between the first external electronic device 610 of FIGS. 13A and 13B, and the electronic device (eg, FIGS. 1, 3, or 12A and 12B, or FIG. The distance and direction between the electronic device 101 of FIGS. 13A and 13B and the second external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B) , and the second external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B) and the first external electronic device (eg, the electronic device of FIG. 1 ). Based on the distance and direction between the device 102 or the first external electronic device 610 of FIGS. 12A and 12B or 13A and 13B , the first external electronic device (eg, the electronic device of FIG. 1 102), an operation of predicting the position of the first external electronic device 610 of FIGS. 12A and 12B, or 13A and 13B), and the predicted first external electronic device (eg, the electronic device of FIG. 1 ) An operation of displaying information indicating a location of the device 102 or the first external electronic device 610 of FIGS. 12A and 12B or 13A and 13B may be further included.

본 개시의 다양한 실시 예에 따르면, 상기 방법은, 상기 제3 외부 전자 장치(예: 도 1의 서버(108) 또는 도 5, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제3 외부 전자 장치(1210))로부터 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610)) 간의 거리 및 방향을 포함하는 패킷을 수신하는 동작, 및 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610)) 간의 거리 및 방향을 포함하는 정보를 출력하는 동작을 더 포함할 수 있다. According to various embodiments of the present disclosure, the method may include the third external electronic device (eg, the server 108 of FIG. 1 or the third external electronic device of FIGS. 5, 12A and 12B, or 13A and 13B). device 1210) to the second external electronic device (eg, second external electronic device 620 in FIGS. 4, 12A and 12B, or 13A and 13B) and the first external electronic device (eg, Receiving a packet including the distance and direction between the electronic device 102 of FIG. 1 or the first external electronic device 610 of FIGS. 12A and 12B or 13A and 13B, and the second external electronic device 610 of FIG. An electronic device (eg, the second external electronic device 620 in FIGS. 4, 12A and 12B, or 13A and 13B) and the first external electronic device (eg, the electronic device 102 in FIG. 1 , or An operation of outputting information including the distance and direction between the first external electronic device 610 of FIGS. 12A and 12B or 13A and 13B may be further included.

본 개시의 다양한 실시 예에 따르면, 제3 외부 전자 장치(예: 도 1의 서버(108) 또는 도 5, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제3 외부 전자 장치(1210))의 동작 방법은, 전자 장치(예: 도 1, 도 3, 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 전자 장치(101))로부터 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷을 수신하는 동작, 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 위치를 획득하기 위한 릴레이(relay) 장치로 동작하는 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))로 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))에 대한 상기 위치 기반 서비스를 수행할 것을 요청하는 패킷을 송신하는 동작, 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))로부터 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 위치가 획득됨을 나타내는 패킷을 수신하는 동작, 및 상기 전자 장치(예: 도 1, 도 3, 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 전자 장치(101))로 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))에 의해 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610))의 위치가 획득됨을 나타내는 패킷을 송신하는 동작을 포함할수 있다. According to various embodiments of the present disclosure, a third external electronic device (eg, the server 108 of FIG. 1 or the third external electronic device 1210 of FIGS. 5, 12A and 12B, or 13A and 13B) The operating method of the first external electronic device (eg, the electronic device 101 of FIGS. 1, 3, or 12A and 12B, or 13A and 13B) from the electronic device (eg, the electronic device of FIG. 1) (102) Receiving a packet requesting to perform a location-based service for the first external electronic device 610 of FIGS. 12A and 12B or 13A and 13B, the first external electronic device (Example: the electronic device 102 of FIG. 1, or the first external electronic device 610 of FIGS. 12A and 12B, or 13A and 13B) operating as a relay device for obtaining a location. 2 to the external electronic device (eg, the second external electronic device 620 in FIGS. 4, 12A and 12B, or 13A and 13B), and the first external electronic device (eg, the electronic device 102 in FIG. 1) 12A and 12B or the first external electronic device 610 of FIGS. 13A and 13B) transmitting a packet requesting to perform the location-based service, the second external electronic device (eg : from the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B) to the first external electronic device (eg, the electronic device 102 of FIG. 1, or FIGS. 12A and 13B) 12B, or an operation of receiving a packet indicating that the location of the first external electronic device 610 of FIGS. 13A and 13B is acquired, and the electronic device (eg, FIG. 1, FIG. 3, or FIG. 12A and 12B, or the electronic device 101 of FIGS. 13A and 13B) by the second external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B) Transmits a packet indicating that the location of the first external electronic device (eg, the electronic device 102 in FIG. 1 or the first external electronic device 610 in FIGS. 12A and 12B or 13A and 13B) is acquired. action may be included.

본 개시의 다양한 실시 예에 따르면, 상기 방법은, 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))로부터 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610)) 간의 거리 및 방향을 포함하는 패킷을 수신하는 동작, 및 상기 전자 장치(예: 도 1, 도 3, 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 전자 장치(101))로 상기 제2 외부 전자 장치(예: 도 4, 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제2 외부 전자 장치(620))와 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 12A 및 도 12B, 또는 도 13A 및 도 13B의 제1 외부 전자 장치(610)) 간의 거리 및 방향을 포함하는 패킷을 송신하는 동작을 더 포함할 수 있다. According to various embodiments of the present disclosure, in the method, the second external electronic device (eg, the second external electronic device 620 of FIGS. 4, 12A and 12B, or 13A and 13B) 2 external electronic devices (eg, the second external electronic device 620 in FIGS. 4, 12A and 12B, or 13A and 13B) and the first external electronic device (eg, the electronic device 102 in FIG. 1) , or an operation of receiving a packet including the distance and direction between the first external electronic device 610 of FIGS. 12A and 12B, or 13A and 13B, and the electronic device (eg, FIGS. 1, 3, or the second external electronic device (e.g., the second external electronic device of FIGS. 4, 12A and 12B, or 13A and 13B) to the electronic device 101 of FIGS. 12A and 12B, or 13A and 13B. device 620) and the first external electronic device (e.g., electronic device 102 of FIG. 1 or first external electronic device 610 of FIGS. 12A and 12B, or 13A and 13B); and An operation of transmitting a packet including the direction may be further included.

Claims (20)

전자 장치에 있어서,
디스플레이;
통신 회로; 및
상기 디스플레이 및 상기 통신 회로와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는,
제1 외부 전자 장치에 대한 위치 기반 서비스를 제공하고 있는 중에, 설정 시간 동안 상기 제1 외부 전자 장치로부터 패킷이 수신되지 않음을 확인할 경우, 상기 통신 회로를 통해, 제2 외부 전자 장치와 연결을 설정하고,
상기 통신 회로를 통해, 상기 제2 외부 전자 장치로, 상기 제1 외부 전자 장치의 위치를 획득하기 위한 릴레이(relay) 장치로 동작할 것을 요청하는 패킷을 송신하고,
상기 통신 회로를 통해, 상기 제2 외부 전자 장치로부터 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향을 포함하는 패킷을 수신하고,
상기 전자 장치와 상기 제2 외부 전자 장치 간의 거리 및 방향, 및 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향에 기반하여 상기 제1 외부 전자 장치의 위치를 예측하고, 및
상기 디스플레이를 통해, 상기 예측된 상기 제1 외부 전자 장치의 위치를 나타내는 정보를 디스플레이하도록 구성되는 전자 장치.
In electronic devices,
display;
communication circuit; and
at least one processor in operative connection with the display and the communication circuitry, the at least one processor comprising:
When it is confirmed that no packet is received from the first external electronic device for a set time while providing the location-based service for the first external electronic device, a connection with the second external electronic device is established through the communication circuit. do,
transmits a packet requesting operation as a relay device for obtaining a location of the first external electronic device to the second external electronic device through the communication circuit;
Receiving a packet including a distance and a direction between the second external electronic device and the first external electronic device from the second external electronic device through the communication circuit;
predicting a position of the first external electronic device based on a distance and direction between the electronic device and the second external electronic device and a distance and direction between the second external electronic device and the first external electronic device; and
The electronic device configured to display information indicating the predicted location of the first external electronic device through the display.
제1항에 있어서,
상기 릴레이 장치로 동작할 것을 요청하는 패킷은, 상기 제1 외부 전자 장치의 장치 정보, 상기 제1 외부 전자 장치에 대한 찾기 서비스를 제공하기 위해 검색 기능을 온(on) 시킬 것을 요청하는 명령, 또는 프로토콜에 관련된 정보 중 적어도 하나를 포함하는 전자 장치.
According to claim 1,
A packet requesting to operate as the relay device includes device information of the first external electronic device, a command requesting to turn on a search function to provide a search service for the first external electronic device, or An electronic device including at least one of information related to a protocol.
제2항에 있어서,
상기 검색 기능은 초광대역(ultra wide band: UWB)을 이용하는 검색 기능이고, 및
상기 프로토콜에 관련된 정보는 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 UWB 레인징(ranging) 동작에 사용될 레인징 프로토콜에 관련된 정보, 또는 제1 외부 전자 장치에서 지원하는 프로토콜 타입에 관련된 정보 중 적어도 하나를 포함하는 전자 장치.
According to claim 2,
The search function is a search function using an ultra wide band (UWB), and
The information related to the protocol is information related to a ranging protocol to be used for a UWB ranging operation between the second external electronic device and the first external electronic device, or information related to a protocol type supported by the first external electronic device. An electronic device including at least one of
제1항에 있어서,
상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향은 초광대역(ultra wide band: UWB) 연결을 통해 획득되며, 및
상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향을 포함하는 패킷은, 상기 제2 외부 전자 장치의 장치 정보, 상기 제1 외부 전자 장치의 장치 정보, 또는 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 UWB 레인징(ranging) 동작에 사용된 레인징 프로토콜에 관련된 정보 중 적어도 하나를 더 포함하는 전자 장치.
According to claim 1,
The distance and direction between the second external electronic device and the first external electronic device are obtained through an ultra wide band (UWB) connection, and
A packet including the distance and direction between the second external electronic device and the first external electronic device may include device information of the second external electronic device, device information of the first external electronic device, or the second external electronic device. and at least one of information related to a ranging protocol used for a UWB ranging operation between the electronic device and the first external electronic device.
제2 외부 전자 장치에 있어서,
통신 회로; 및
상기 통신 회로와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는,
상기 통신 회로를 통해, 전자 장치와 연결을 설정하고,
상기 통신 회로를 통해, 상기 전자 장치로부터 제1 외부 전자 장치에 대한 위치 기반 서비스를 위해 상기 제1 외부 전자 장치의 위치를 획득하기 위한 릴레이(relay) 장치로 동작할 것을 요청하는 패킷을 수신하고,
상기 통신 회로를 통해, 상기 제1외부 전자 장치와 연결을 설정하고, 및
상기 통신 회로를 통해, 상기 전자 장치로, 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향을 포함하는 패킷을 송신하도록 구성되는 제2 외부 전자 장치.
In the second external electronic device,
communication circuit; and
at least one processor in operative connection with the communication circuitry, the at least one processor comprising:
Establishing a connection with an electronic device through the communication circuit,
Through the communication circuit, receive a packet requesting to operate as a relay device for obtaining a location of the first external electronic device for a location-based service for the first external electronic device from the electronic device;
Establishing a connection with the first external electronic device through the communication circuit; and
A second external electronic device configured to transmit a packet including a distance and a direction between the second external electronic device and the first external electronic device to the electronic device through the communication circuit.
제4항에 있어서,
상기 릴레이 장치로 동작할 것을 요청하는 패킷은, 상기 제1 외부 전자 장치의 장치 정보, 상기 제1 외부 전자 장치에 대한 찾기 서비스를 제공하기 위해 검색 기능을 온(on) 시킬 것을 요청하는 명령, 또는 프로토콜에 관련된 정보 중 적어도 하나를 포함하는 제2 외부 전자 장치.
According to claim 4,
A packet requesting to operate as the relay device includes device information of the first external electronic device, a command requesting to turn on a search function to provide a search service for the first external electronic device, or A second external electronic device including at least one of protocol-related information.
제6항에 있어서,
상기 검색 기능은 초광대역(ultra wide band: UWB)을 이용하는 검색 기능이고, 및
상기 프로토콜에 관련된 정보는 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 UWB 레인징(ranging) 동작에 사용될 레인징 프로토콜에 관련된 정보, 또는 제1 외부 전자 장치에서 지원하는 프로토콜 타입에 관련된 정보 중 적어도 하나를 포함하는 제2 외부 전자 장치.
According to claim 6,
The search function is a search function using an ultra wide band (UWB), and
The information related to the protocol is information related to a ranging protocol to be used for a UWB ranging operation between the second external electronic device and the first external electronic device, or information related to a protocol type supported by the first external electronic device. A second external electronic device including at least one of
제5항에 있어서,
상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 연결은 초광대역(ultra wide band: UWB) 연결이며, 및
상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향을 포함하는 패킷은 상기 제2 외부 전자 장치의 장치 정보, 상기 제1 외부 전자 장치의 장치 정보, 또는 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 UWB 레인징(ranging) 동작에 사용된 레인징 프로토콜에 관련된 정보 중 적어도 하나를 더 포함하는 제2 외부 전자 장치.
According to claim 5,
The connection between the second external electronic device and the first external electronic device is an ultra wide band (UWB) connection, and
A packet including the distance and direction between the second external electronic device and the first external electronic device may include device information of the second external electronic device, device information of the first external electronic device, or device information of the second external electronic device. The second external electronic device further comprising at least one of information related to a ranging protocol used for a UWB ranging operation between the first external electronic devices.
전자 장치에 있어서,
디스플레이;
통신 회로; 및
상기 디스플레이 및 상기 통신 회로와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는,
제1 외부 전자 장치에 대한 위치 기반 서비스가 실행됨을 확인하면, 상기 통신 회로를 통해, 제3 외부 전자 장치로 상기 제1 외부 전자 장치에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷을 송신하고,
상기 통신 회로를 통해, 상기 제3 외부 전자 장치로부터 상기 제1 외부 전자 장치의 위치를 획득하기 위한 릴레이(relay) 장치로 동작하는 제2 외부 전자 장치에 의해 상기 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷을 수신하고, 및
상기 디스플레이를 통해, 상기 제2 외부 전자 장치에 의해 상기 제1 외부 전자 장치의 위치가 획득됨을 나타내는 정보를 디스플레이하도록 구성되는 전자 장치.
In electronic devices,
display;
communication circuit; and
at least one processor in operative connection with the display and the communication circuitry, the at least one processor comprising:
When confirming that the location-based service for the first external electronic device is executed, transmit a packet requesting to perform the location-based service for the first external electronic device to a third external electronic device through the communication circuit;
Through the communication circuit, the location of the first external electronic device is acquired by a second external electronic device operating as a relay device for acquiring the location of the first external electronic device from the third external electronic device. receive a packet indicating that it is, and
The electronic device configured to display information indicating that the location of the first external electronic device is obtained by the second external electronic device through the display.
제9항에 있어서,
상기 제1 외부 전자 장치에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷은 상기 제1 외부 전자 장치의 장치 정보를 포함하는 전자 장치.
According to claim 9,
The electronic device of claim 1 , wherein the packet requesting to perform the location-based service for the first external electronic device includes device information of the first external electronic device.
제9항에 있어서,
상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 연결은 초광대역(ultra wide band: UWB) 연결이며, 및
상기 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷은 상기 제2 외부 전자 장치의 장치 정보, 상기 제1 외부 전자 장치의 장치 정보, 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향, 또는 UWB 레인징(ranging) 동작에 사용된 레인징 프로토콜에 관련된 정보 중 적어도 하나를 포함하는 전자 장치.
According to claim 9,
The connection between the second external electronic device and the first external electronic device is an ultra wide band (UWB) connection, and
A packet indicating that the location of the first external electronic device is acquired includes device information of the second external electronic device, device information of the first external electronic device, a distance between the second external electronic device and the first external electronic device, and An electronic device including at least one of information related to a direction or a ranging protocol used for a UWB ranging operation.
제9항에 있어서,
상기 적어도 하나의 프로세서는,
상기 통신 회로를 통해, 상기 제2 외부 전자 장치와 연결을 설정하고,
상기 통신 회로를 통해, 상기 제2 외부 전자 장치로부터 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향을 포함하는 패킷을 수신하고,
상기 전자 장치와 상기 제2 외부 전자 장치 간의 거리 및 방향, 및 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향에 기반하여 상기 제1 외부 전자 장치의 위치를 예측하고, 및
상기 디스플레이를 통해, 상기 예측된 상기 제1 외부 전자 장치의 위치를 나타내는 정보를 디스플레이하도록 더 구성되는 전자 장치.
According to claim 9,
The at least one processor,
Establishing a connection with the second external electronic device through the communication circuit;
Receiving a packet including a distance and a direction between the second external electronic device and the first external electronic device from the second external electronic device through the communication circuit;
predicting a position of the first external electronic device based on a distance and direction between the electronic device and the second external electronic device and a distance and direction between the second external electronic device and the first external electronic device; and
The electronic device further configured to display information indicating the predicted location of the first external electronic device through the display.
제12항에 있어서,
상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 연결은 초광대역(ultra wide band: UWB) 연결이며, 및
상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향을 포함하는 패킷은 상기 제2 외부 전자 장치의 장치 정보, 상기 제1 외부 전자 장치의 장치 정보, 또는 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 UWB 레인징(ranging) 동작에 사용된 레인징 프로토콜에 관련된 정보 중 적어도 하나를 더 포함하는 전자 장치.
According to claim 12,
The connection between the second external electronic device and the first external electronic device is an ultra wide band (UWB) connection, and
A packet including the distance and direction between the second external electronic device and the first external electronic device may include device information of the second external electronic device, device information of the first external electronic device, or device information of the second external electronic device. The electronic device further includes at least one of information related to a ranging protocol used for a UWB ranging operation between the first external electronic devices.
제9항에 있어서,
상기 적어도 하나의 프로세서는,
상기 통신 회로를 통해, 상기 제3 외부 전자 장치로부터 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향을 포함하는 패킷을 수신하고, 및
상기 디스플레이를 통해, 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향을 포함하는 정보를 출력하도록 더 구성되는 전자 장치.
According to claim 9,
The at least one processor,
receiving a packet including a distance and a direction between the second external electronic device and the first external electronic device from the third external electronic device through the communication circuit; and
The electronic device further configured to output information including a distance and a direction between the second external electronic device and the first external electronic device through the display.
제3 외부 전자 장치에 있어서,
통신 회로; 및
상기 통신 회로와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는,
상기 통신 회로를 통해, 전자 장치로부터 제1 외부 전자 장치에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷을 수신하고,
상기 통신 회로를 통해, 상기 제1 외부 전자 장치의 위치를 획득하기 위한 릴레이(relay) 장치로 동작하는 제2 외부 전자 장치로 상기 제1 외부 전자 장치에 대한 상기 위치 기반 서비스를 수행할 것을 요청하는 패킷을 송신하고,
상기 통신 회로를 통해, 상기 제2 외부 전자 장치로부터 상기 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷을 수신하고, 및
상기 통신 회로를 통해, 상기 전자 장치로 상기 제2 외부 전자 장치에 의해 상기 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷을 송신하도록 구성되는 제3 외부 전자 장치.
In the third external electronic device,
communication circuit; and
at least one processor in operative connection with the communication circuitry, the at least one processor comprising:
Receiving a packet requesting to perform a location-based service for a first external electronic device from an electronic device through the communication circuit;
Requesting, through the communication circuit, to perform the location-based service for the first external electronic device to a second external electronic device operating as a relay device for acquiring the location of the first external electronic device. send packets,
receiving a packet indicating that the location of the first external electronic device is obtained from the second external electronic device through the communication circuit; and
A third external electronic device configured to transmit a packet indicating that the location of the first external electronic device is obtained by the second external electronic device to the electronic device through the communication circuit.
제15항에 있어서,
상기 제1 외부 전자 장치에 대한 위치 기반 서비스를 수행할 것을 요청하는 패킷은 상기 제1 외부 전자 장치의 장치 정보를 포함하는 제3 외부 전자 장치.
According to claim 15,
The packet requesting to perform the location-based service for the first external electronic device includes device information of the first external electronic device.
제15항에 있어서,
상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 연결은 초광대역(ultra wide band: UWB) 연결이며, 및
상기 제1 외부 전자 장치의 위치가 획득됨을 나타내는 패킷은 상기 제2 외부 전자 장치의 장치 정보, 상기 제1 외부 전자 장치의 장치 정보, 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향, 또는 UWB 레인징(ranging) 동작에 사용된 레인징 프로토콜에 관련된 정보 중 적어도 하나를 포함하는 제3 외부 전자 장치.
According to claim 15,
The connection between the second external electronic device and the first external electronic device is an ultra wide band (UWB) connection, and
A packet indicating that the location of the first external electronic device is acquired includes device information of the second external electronic device, device information of the first external electronic device, a distance between the second external electronic device and the first external electronic device, and A third external electronic device including at least one of information related to a direction or a ranging protocol used for a UWB ranging operation.
제15항에 있어서,
상기 적어도 하나의 프로세서는,
상기 통신 회로를 통해, 상기 제2 외부 전자 장치로부터 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향을 포함하는 패킷을 수신하고, 및
상기 통신 회로를 통해, 상기 전자 장치로 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향을 포함하는 패킷을 송신하도록 구성되는 제3 외부 전자 장치.
According to claim 15,
The at least one processor,
receiving a packet including a distance and a direction between the second external electronic device and the first external electronic device from the second external electronic device through the communication circuit; and
A third external electronic device configured to transmit a packet including a distance and a direction between the second external electronic device and the first external electronic device to the electronic device through the communication circuit.
제18항에 있어서,
상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 연결은 초광대역(ultra wide band: UWB) 연결이며, 및
상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 거리 및 방향을 포함하는 패킷은 상기 제2 외부 전자 장치의 장치 정보, 상기 제1 외부 전자 장치의 장치 정보, 또는 상기 제2 외부 전자 장치와 상기 제1 외부 전자 장치 간의 UWB 레인징(ranging) 동작에 사용된 레인징 프로토콜에 관련된 정보 중 적어도 하나를 더 포함하는 제3 외부 전자 장치.
According to claim 18,
The connection between the second external electronic device and the first external electronic device is an ultra wide band (UWB) connection, and
A packet including the distance and direction between the second external electronic device and the first external electronic device may include device information of the second external electronic device, device information of the first external electronic device, or device information of the second external electronic device. The third external electronic device further comprising at least one of information related to a ranging protocol used for a UWB ranging operation between the first external electronic devices.
제19항에 있어서,
상기 레인징 프로토콜은 원 웨이(one way) 레인징 프로토콜 또는 투 웨이(two way) 레인징 프로토콜 중 적어도 하나를 포함하는 제3 외부 전자 장치.

According to claim 19,
The third external electronic device of claim 1 , wherein the ranging protocol includes at least one of a one way ranging protocol and a two way ranging protocol.

KR1020210170768A 2021-10-27 2021-12-02 Electronic device for providing location-based service and operating method thereof KR20230060413A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/KR2022/015287 WO2023075207A1 (en) 2021-10-27 2022-10-11 Electronic device for providing location-based service, and operating method therefor
US17/970,062 US20230132299A1 (en) 2021-10-27 2022-10-20 Electronic device for providing location-based service and operating method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20210144604 2021-10-27
KR1020210144604 2021-10-27

Publications (1)

Publication Number Publication Date
KR20230060413A true KR20230060413A (en) 2023-05-04

Family

ID=86379689

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210170768A KR20230060413A (en) 2021-10-27 2021-12-02 Electronic device for providing location-based service and operating method thereof

Country Status (1)

Country Link
KR (1) KR20230060413A (en)

Similar Documents

Publication Publication Date Title
KR20220042770A (en) Positioning method using multi devices and electronic device therefor
KR20220132360A (en) Electronic device for transmitting a data via a ultra wide band communication and method for the same
KR20220017067A (en) Apparatus and method for controlling network for data communication in electronic device
KR20230110941A (en) Electronic device and mehtod for determining location using uwb signal in electronic device
KR20220133583A (en) APPARATUS AND METHOD FOR IdEntifying missing status OF ELECTRONIC DEVICE
KR20230060413A (en) Electronic device for providing location-based service and operating method thereof
KR20230047870A (en) Method for measuring location using wireless communication and electronic device supportion the same
US20230132299A1 (en) Electronic device for providing location-based service and operating method thereof
KR20220106531A (en) Electronic device for establishing communication connection with external electronic device and operating mehtod thereof
KR20220140203A (en) Method of ultra-wideband communication based on sharing of bluetooth communication quality and electronic device therefor
KR20220060230A (en) Electronic device, and method for sharing image in electronic device
US12019139B2 (en) Electronic device and method using UWB signal
EP4373206A1 (en) Method for performing wireless communication and electronic device supporting same
EP4287745A1 (en) Multi-connection method and device based on target wake time
KR20230112272A (en) Electronic device for providing distance based service and operating method thereof
US20230410633A1 (en) Electronic device and loss reporting method therefor
US20240056773A1 (en) Locating method using advertisement and electronic device therefor
US20230164622A1 (en) Electronic device and method for performing communication using same
KR20240029476A (en) Electronic device for providing location-based service and operating method thereof
KR20230057098A (en) Electronic device for providing location-based service and operating method thereof
KR20230112461A (en) Electronic device for providing distance based service and operating method thereof
KR20230048978A (en) Electronic device and method for determining a location of a device
KR20230050862A (en) Electronic device and method for determining a location of a device
KR20230064495A (en) An electronic device and method using a geo-fence
KR20230075319A (en) Electronic device and method for determining location of user