KR20210148778A - Electronic device and method for performing ranging through uwb - Google Patents

Electronic device and method for performing ranging through uwb Download PDF

Info

Publication number
KR20210148778A
KR20210148778A KR1020200066112A KR20200066112A KR20210148778A KR 20210148778 A KR20210148778 A KR 20210148778A KR 1020200066112 A KR1020200066112 A KR 1020200066112A KR 20200066112 A KR20200066112 A KR 20200066112A KR 20210148778 A KR20210148778 A KR 20210148778A
Authority
KR
South Korea
Prior art keywords
electronic device
notification message
information
range
ranging
Prior art date
Application number
KR1020200066112A
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 KR1020200066112A priority Critical patent/KR20210148778A/en
Publication of KR20210148778A publication Critical patent/KR20210148778A/en

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • G01S13/0209Systems with very large relative bandwidth, i.e. larger than 10 %, e.g. baseband, pulse, carrier-free, ultrawideband
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • G01S13/06Systems determining position data of a target
    • G01S13/08Systems for measuring distance only
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel

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)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a first electronic device for performing ranging through an ultra wide band (UWB) with a second electronic device. The first electronic device according to an embodiment may include a communication unit and at least one processor. The at least one processor may control the communication unit to transmit a notification message indicating that the first electronic device is within a predetermined range from the second electronic device to the second electronic device based on an advertisement packet received from the second electronic device. The at least one processor receives a UWB ranging recovery signal from the second electronic device in response to the notification message. In response to the UWB ranging recovery signal, the communication unit may be controlled to recover ranging through the UWB with the second electronic device.

Description

UWB(Ultra Wide Band)를 통한 레인징을 수행하기 위한 전자 장치 및 방법 {ELECTRONIC DEVICE AND METHOD FOR PERFORMING RANGING THROUGH UWB}Electronic device and method for performing ranging through Ultra Wide Band (UWB) {ELECTRONIC DEVICE AND METHOD FOR PERFORMING RANGING THROUGH UWB}

본 개시는 UWB 통신 방식을 이용하여 레인징을 수행하는 전자 장치 및 방법에 관한 것이다.The present disclosure relates to an electronic device and method for performing ranging using a UWB communication scheme.

인터넷은 인간이 정보를 생성하고 소비하는 인간 중심의 연결 망에서, 사물 등 분산된 구성 요소들 간에 정보를 주고 받아 처리하는 IoT (Internet of Things, 사물 인터넷) 망으로 진화하고 있다. 클라우드 서버 등과의 연결을 통한 빅데이터 (Big data) 처리 기술 등이 IoT 기술에 결합된 IoE(Internet of Everything) 기술도 대두되고 있다. IoT를 구현하기 위해서는, 센싱 기술, 유무선 통신 및 네트워크 인프라, 서비스 인터페이스 기술, 및 보안 기술과 같은 기술 요소 들이 요구된다. 최근에는 사물간의 연결을 위한 센서 네트워크(sensor network), 사물 통신 (Machine to Machine, M2M), MTC(Machine Type Communication) 등의 기술이 연구되고 있다. The Internet is evolving from a human-centered connection network where humans create and consume information, to an Internet of Things (IoT) network that exchanges and processes information between distributed components such as objects. Internet of Everything (IoE) technology, which combines big data processing technology through connection with cloud servers, etc. with IoT technology, is also emerging. In order to implement the IoT, technology elements such as sensing technology, wired/wireless communication and network infrastructure, service interface technology, and security technology are required. Recently, technologies such as a sensor network, Machine to Machine (M2M), and MTC (Machine Type Communication) for connection between objects are being studied.

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

무선 통신 시스템의 발전에 따라 다양한 서비스를 제공할 수 있게 됨으로써, 이러한 서비스들을 효과적으로 제공하기 위한 방안이 요구되고 있다. 예를 들어, 매체 접근 제어(medium access control, MAC)에 있어서, UWB(Ultra Wide Band)를 이용하여 전자 장치들 간의 거리를 측정하는 레인징(ranging) 기술이 사용될 수 있다. UWB는, 무선 반송파를 사용하지 않고 기저 대역에서 수 GHz이상의 매우 넓은 주파수 대역을 사용하는 무선 통신 기술이다.As various services can be provided with the development of wireless communication systems, a method for effectively providing these services is required. For example, in medium access control (MAC), a ranging technique for measuring a distance between electronic devices using Ultra Wide Band (UWB) may be used. UWB is a wireless communication technology that uses a very wide frequency band of several GHz or more in a baseband without using a wireless carrier.

UWB 레인징으로 인한 전력 소모가 크기 때문에, 전자 장치들 간의 UWB 레인징을 중단(suspend)시킴으로써, 전력 낭비를 방지할 수 있다. 한편, 중단된 UWB 레인징을 효과적으로 회복(recover)할 필요가 있다.Since power consumption due to UWB ranging is large, power consumption may be prevented by suspending UWB ranging between electronic devices. On the other hand, there is a need to effectively recover the stopped UWB ranging.

일 실시예에 의하면, 제2 전자 장치로부터 수신된 광고 패킷에 기초하여 생성된 알림 메시지를 제2 전자 장치에게 전송함으로써, 중단된 UWB 레인징을 회복하는 제1 전자 장치 및 방법이 제공될 수 있다.According to an embodiment, a first electronic device and method for recovering stopped UWB ranging by transmitting a notification message generated based on an advertisement packet received from the second electronic device to the second electronic device may be provided. .

본 개시의 일 실시 예에 따라 제2 전자 장치와의 Ultra Wide Band(UWB)를 통한 레인징을 수행하기 위한 제1 전자 장치는 통신부; 및 적어도 하나의 프로세서를 포함하되, 상기 적어도 하나의 프로세서는 상기 제2 전자 장치로부터 수신된 광고 패킷에 기초하여, 상기 제1 전자 장치가 상기 제2 전자 장치로부터 소정 범위 내에 있음을 나타내는 알림 메시지를 상기 제2 전자 장치에게 전송하고, 상기 알림 메시지에 응답하여, 상기 제2 전자 장치로부터 UWB 레인징 회복 신호를 수신하며, 상기 UWB 레인징 회복 신호에 응답하여, 상기 제2 전자 장치와의 상기 UWB를 통한 레인징을 회복하도록 상기 통신부를 제어하는 제1 전자 장치. According to an embodiment of the present disclosure, a first electronic device for performing ranging with a second electronic device through Ultra Wide Band (UWB) includes: a communication unit; and at least one processor, wherein the at least one processor is configured to generate a notification message indicating that the first electronic device is within a predetermined range from the second electronic device based on the advertisement packet received from the second electronic device. transmits to the second electronic device, receives a UWB ranging recovery signal from the second electronic device in response to the notification message, and receives the UWB ranging recovery signal with the second electronic device in response to the UWB ranging recovery signal A first electronic device for controlling the communication unit to recover ranging through

본 개시의 일 실시 예에 따라 제1 전자 장치가 제2 전자 장치와 Ultra Wide Band(UWB)를 통한 레인징을 수행하는 방법은 상기 제2 전자 장치로부터 수신되는 광고 패킷에 기초하여, 상기 제1 전자 장치가 상기 제2 전자 장치로부터 소정 범위 내에 있음을 나타내는 알림 메시지를 상기 제2 전자 장치에게 전송하는 단계; 상기 알림 메시지에 응답하여, 상기 제2 전자 장치로부터 UWB 레인징 회복 신호를 수신하는 단계; 및 상기 UWB 레인징 회복 신호에 응답하여, 상기 UWB를 통한 레인징을 회복하는 단계를 포함할 수 있다.According to an embodiment of the present disclosure, in a method for a first electronic device to perform ranging with a second electronic device through Ultra Wide Band (UWB), based on an advertisement packet received from the second electronic device, the first transmitting a notification message indicating that the electronic device is within a predetermined range from the second electronic device to the second electronic device; receiving a UWB ranging recovery signal from the second electronic device in response to the notification message; and recovering ranging through the UWB in response to the UWB ranging recovery signal.

도 1은 일반적인 D2D(Device-to-Device) 통신 절차를 설명하는 도면이다.
도 2는 복수의 전자 장치들의 통신 과정을 도시한 도면이다.
도 3은 제2 전자 장치가 제1 전자 장치의 접근을 감지하는 방법을 설명하기 위한 도면이다.
도 4a는 일 실시예에 따른 제1 광고 패킷의 구조를 설명하기 위한 도면이다.
도 4b는 일 실시예에 따른 제2 광고 패킷의 구조를 설명하기 위한 도면이다.
도 5는 일 실시예에 따른 제1 전자 장치의 동작 방법을 나타내는 순서도이다.
도 6은 일 실시예에 따른 알림 메시지의 구조를 설명하기 위한 도면이다.
도 7은 다른 일 실시예에 따른 알림 메시지의 구조를 설명하기 위한 도면이다.
도 8은 UWB 레인징을 위한 세션의 상태를 설명하기 위한 도면이다.
도 9는 장치와 차량 간 UWB 레인징의 중단 요청을 연기하는 과정을 도시한 도면이다.
도 10은 장치와 차량 간 UWB 레인징의 중단 요청을 수락하는 과정을 도시한 도면이다.
도 11은 장치와 차량 간 UWB 레인징을 회복하는 과정을 도시한 도면이다.
도 12는 제1 전자 장치와 제2 전자 장치 간 UWB 레인징을 회복하는 방법을 설명하기 위한 도면이다.
도 13은 일 실시예에 따른 UWB 레인징 시스템의 블록도이다.
도 14는 장치와 차량 간 UWB 레인징을 회복하는 방법을 설명하기 위한 도면이다.
1 is a diagram for explaining a general D2D (Device-to-Device) communication procedure.
2 is a diagram illustrating a communication process of a plurality of electronic devices.
FIG. 3 is a diagram for describing a method in which a second electronic device detects an approach of a first electronic device.
4A is a diagram for explaining the structure of a first advertisement packet according to an embodiment.
4B is a diagram for explaining the structure of a second advertisement packet according to an embodiment.
5 is a flowchart illustrating a method of operating a first electronic device according to an exemplary embodiment.
6 is a diagram for explaining the structure of a notification message according to an embodiment.
7 is a diagram for explaining the structure of a notification message according to another embodiment.
8 is a diagram for explaining a state of a session for UWB ranging.
9 is a diagram illustrating a process of deferring a request to stop UWB ranging between a device and a vehicle.
10 is a diagram illustrating a process of accepting a request to stop UWB ranging between a device and a vehicle.
11 is a diagram illustrating a process of recovering UWB ranging between a device and a vehicle.
12 is a diagram for describing a method of recovering UWB ranging between a first electronic device and a second electronic device.
13 is a block diagram of a UWB ranging system according to an embodiment.
14 is a diagram for explaining a method of recovering UWB ranging between a device and a vehicle.

아래에서는 첨부한 도면을 참조하여 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 본 개시의 실시 예를 상세히 설명한다. 그러나 본 개시는 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시 예에 한정되지 않는다. 또한, 도면에서 본 개시를 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다. Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those of ordinary skill in the art to which the present disclosure pertains can easily implement them. However, the present disclosure may be implemented in several different forms and is not limited to the embodiments described herein. In addition, in order to clearly explain the present disclosure in the drawings, parts irrelevant to the description are omitted, and similar reference numerals are attached to similar parts throughout the specification.

본 개시에서 사용되는 용어는, 본 개시에서 언급되는 기능을 고려하여 현재 사용되는 일반적인 용어로 기재되었으나, 이는 당 분야에 종사하는 기술자의 의도 또는 판례, 새로운 기술의 출현 등에 따라 다양한 다른 용어를 의미할 수 있다. 따라서 본 개시에서 사용되는 용어는 용어의 명칭만으로 해석되어서는 안되며, 용어가 가지는 의미와 본 개시의 전반에 걸친 내용을 토대로 해석되어야 한다.The terms used in the present disclosure have been described as general terms currently used in consideration of the functions mentioned in the present disclosure, but may mean various other terms depending on the intention or precedent of a person skilled in the art, the emergence of new technology, etc. can Therefore, the terms used in the present disclosure should not be construed only as the names of the terms, but should be interpreted based on the meaning of the terms and the contents of the present disclosure.

또한, 제1, 제2 등의 용어는 다양한 구성 요소들을 설명하는데 사용될 수 있지만, 구성 요소들은 이 용어들에 의해 한정되어서는 안 된다. 이 용어들은 하나의 구성 요소를 다른 구성 요소로부터 구별하는 목적으로 사용된다. Also, terms such as first, second, etc. may be used to describe various components, but the components should not be limited by these terms. These terms are used for the purpose of distinguishing one component from another.

또한, 본 개시에서 사용된 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것이며, 본 개시를 한정하려는 의도로 사용되는 것이 아니다. 단수의 표현은 문맥상 명백하게 단수를 뜻하지 않는 한, 복수의 의미를 포함한다. 또한, 명세서 전체에서, 어떤 부분이 다른 부분과 "연결"되어 있다고 할 때, 이는 "직접적으로 연결"되어 있는 경우뿐 아니라, 그 중간에 다른 소자를 사이에 두고 "전기적으로 연결"되어 있는 경우도 포함한다. 또한 어떤 부분이 어떤 구성 요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성 요소를 제외하는 것이 아니라 다른 구성 요소를 더 포함할 수 있는 것을 의미한다. In addition, the terms used in the present disclosure are only used to describe specific embodiments, and are not intended to limit the present disclosure. Expressions in the singular include the plural meaning unless the context clearly implies the singular. In addition, throughout the specification, when a part is "connected" with another part, it is not only "directly connected" but also "electrically connected" with another element interposed therebetween. include Also, when a part "includes" a component, it means that other components may be further included, rather than excluding other components, unless otherwise stated.

본 명세서 전반에 걸쳐 사용된 “상기” 및 이와 유사한 지시어는 단수 및 복수 모두를 지시하는 것일 수 있다. 또한, 본 개시에 따른 방법을 설명하는 단계들의 순서를 명백하게 지정하는 기재가 없다면, 기재된 단계들은 적당한 순서로 행해 질 수 있다. 기재된 단계들의 기재 순서에 따라 본 개시가 한정되는 것은 아니다.As used throughout this specification, “the” and similar referents may refer to both the singular and the plural. In addition, unless there is a description explicitly designating the order of steps describing a method according to the present disclosure, the described steps may be performed in an appropriate order. The present disclosure is not limited according to the description order of the described steps.

본 명세서에서 다양한 곳에 등장하는 "일 실시 예에서" 등의 어구는 반드시 모두 동일한 실시 예를 가리키는 것은 아니다.Phrases such as “in one embodiment” appearing in various places in this specification do not necessarily all refer to the same embodiment.

본 개시의 일 실시 예는 기능적인 블록 구성들 및 다양한 처리 단계들로 나타내어 질 수 있다. 이러한 기능 블록들의 일부 또는 전부는, 특정 기능들을 실행하는 다양한 개수의 하드웨어 및/또는 소프트웨어 구성들로 구현될 수 있다. 예를 들어, 본 개시의 기능 블록들은 하나 이상의 마이크로프로세서들에 의해 구현되거나, 소정의 기능을 위한 회로 구성들에 의해 구현될 수 있다. 또한, 예를 들어, 본 개시의 기능 블록들은 다양한 프로그래밍 또는 스크립팅 언어로 구현될 수 있다. 기능 블록들은 하나 이상의 프로세서들에서 실행되는 알고리즘으로 구현될 수 있다. 또한, 본 개시는 전자적인 환경 설정, 신호 처리, 및/또는 데이터 처리 등을 위하여 종래 기술을 채용할 수 있다.An embodiment of the present disclosure may be represented by functional block configurations and various processing steps. Some or all of these functional blocks may be implemented in various numbers of hardware and/or software configurations that perform specific functions. For example, the functional blocks of the present disclosure may be implemented by one or more microprocessors, or by circuit configurations for a given function. Also, for example, the functional blocks of the present disclosure may be implemented in various programming or scripting languages. The functional blocks may be implemented as an algorithm running on one or more processors. In addition, the present disclosure may employ prior art for electronic configuration, signal processing, and/or data processing, and the like.

또한, 도면에 도시된 구성 요소들 간의 연결 선 또는 연결 부재들은 기능적인 연결 및/또는 물리적 또는 회로적 연결들을 예시적으로 나타낸 것일 뿐이다. 실제 장치에서는 대체 가능하거나 추가된 다양한 기능적인 연결, 물리적인 연결, 또는 회로 연결들에 의해 구성 요소들 간의 연결이 나타내어 질 수 있다.In addition, the connecting lines or connecting members between the components shown in the drawings only exemplify functional connections and/or physical or circuit connections. In an actual device, a connection between components may be represented by various functional connections, physical connections, or circuit connections that are replaceable or added.

일반적으로 무선 센서 네트워크 기술은 인식 거리에 따라 크게 무선랜(WLAN; Wireless Local Area Network; WLAN) 기술과 무선 사설망(Wireless Personal Area Network; WPAN) 기술로 구분된다. 이 때 무선랜은 IEEE 802.11에 기반한 기술로서, 반경 100m 내외에서 기간망(backbone network)에 접속할 수 있는 기술이다. 그리고 무선 사설망은 IEEE 802.15에 기반한 기술로서, 블루투스(Bluetooth), 지그비(ZigBee), 초광대역 통신(ultra wide band, UWB) 등이 있다. 이러한 무선 네트워크 기술이 구현되는 무선 네트워크는 다수 개의 통신 전자 장치들로 이루어질 수 있다. 이 때 다수 개의 통신 전자 장치들은 단일 채널을 이용하여 액티브 구간(ACTIVE period)에서 통신을 수행한다. 즉 통신 전자 장치들은 액티브 구간에서, 패킷을 수집할 수 있고, 수집된 패킷을 전송할 수 있다.In general, wireless sensor network technology is largely divided into a wireless local area network (WLAN) technology and a wireless personal area network (WPAN) technology according to a recognition distance. At this time, the wireless LAN is a technology based on IEEE 802.11, and it is a technology that can connect to a backbone network within a radius of about 100 m. In addition, the wireless private network is a technology based on IEEE 802.15, and includes Bluetooth, ZigBee, and ultra wide band (UWB). A wireless network in which such a wireless network technology is implemented may include a plurality of communication electronic devices. In this case, a plurality of communication electronic devices perform communication in an active period using a single channel. That is, the communication electronic devices may collect packets and transmit the collected packets in the active period.

UWB는 기저 대역 상태에서 수 GHz 이상의 넓은 주파수 대역, 낮은 스펙트럼 밀도 및 짧은 펄스 폭(1~4 nsec)을 이용하는 단거리 고속 무선 통신 기술을 의미할 수 있다. UWB는 UWB 통신이 적용되는 대역 자체를 의미할 수도 있다. 이하에서는 전자 장치들간의 레인징 방법을 UWB 통신 방식에 기초하여 설명하나, 이는 하나의 예시에 불과하고 실제로는 다양한 무선 통신 기술들이 이용될 수 있다.UWB may refer to a short-range, high-speed wireless communication technology using a wide frequency band of several GHz or more, a low spectral density, and a short pulse width (1 to 4 nsec) in a baseband state. UWB may mean a band itself to which UWB communication is applied. Hereinafter, a ranging method between electronic devices will be described based on the UWB communication method, but this is only an example and various wireless communication technologies may be used in practice.

본 개시의 실시 예들에 따른 전자 장치는 컴퓨터 장치로 구현되는 고정형 단말이거나 이동형 단말을 포함할 수 있으며, 무선 또는 유선 통신방식을 이용하여 다른 장치 및/또는 서버와 통신할 수 있다. 예를 들어, 전자 장치는, 스마트 폰(smart phone), 이동 단말기, 노트북 컴퓨터(laptop computer), 디지털 방송용 단말기, PDA(personal digital assistants), PMP(portable multimedia player), 네비게이션, 슬레이트 PC(slate PC), 태블릿PC(tablet PC), 데스크탑 컴퓨터, 디지털 TV, 냉장고, 인공 지능 스피커, 웨어러블 디바이스, 프로젝터, 스마트 키, 스마트 카, 프린터, 자동차 콘솔, 자동차의 적어도 일부 기능을 제어하는 제어 장치 등을 포함할 수 있으며, 이러한 예에 제한되지 않는다.An electronic device according to embodiments of the present disclosure may include a fixed terminal implemented as a computer device or a mobile terminal, and may communicate with other devices and/or servers using a wireless or wired communication method. For example, the electronic device includes a smart phone, a mobile terminal, a laptop computer, a digital broadcasting terminal, personal digital assistants (PDA), a portable multimedia player (PMP), a navigation system, and a slate PC. ), tablet PCs, desktop computers, digital TVs, refrigerators, artificial intelligence speakers, wearable devices, projectors, smart keys, smart cars, printers, car consoles, control devices that control at least some functions of the car, etc. can be, and is not limited to these examples.

이하 첨부된 도면을 참고하여 본 개시를 상세히 설명하기로 한다.Hereinafter, the present disclosure will be described in detail with reference to the accompanying drawings.

도 1은 일반적인 D2D(Device-to-Device) 통신 절차를 설명하는 도면이다.1 is a diagram for explaining a general D2D (Device-to-Device) communication procedure.

D2D 통신이란 기지국과 같은 인프라를 거치지 않고 지리적으로 근접한 전자 장치들이 직접적으로 통신하는 방식을 말한다. 도 1에 도시된 바와 같이, 전자 장치들은 1:1, 1:다(多), 다(多):다(多)로 통신할 수 있다. D2D 통신은 와이파이 다이렉트(Wi-Fi Direct), 블루투스(bluetooth)와 같이 비면허 주파수 대역을 사용할 수 있다. 또는, D2D 통신은 면허 주파수 대역을 활용하여 셀룰러 시스템의 주파수 이용 효율을 향상시킬 수도 있다. D2D 통신은 사물과 사물 간의 통신이나 사물 지능 통신을 지칭하는 용어로 제한적으로 사용되기도 하지만, 본 개시에서의 D2D 통신은 통신 기능이 장착된 단순한 전자 장치는 물론, 스마트 폰이나 개인용 컴퓨터와 같이 통신 기능을 갖춘 다양한 형태의 전자 장치들 간의 통신을 모두 포함할 수 있다.D2D communication refers to a method in which geographically close electronic devices communicate directly without going through an infrastructure such as a base station. As illustrated in FIG. 1 , electronic devices can communicate in 1:1, 1:many, and many:many. D2D communication may use an unlicensed frequency band such as Wi-Fi Direct and Bluetooth. Alternatively, D2D communication may improve frequency use efficiency of a cellular system by utilizing a licensed frequency band. Although D2D communication is limitedly used as a term referring to communication between objects or object intelligent communication, D2D communication in the present disclosure includes not only a simple electronic device equipped with a communication function, but also a communication function such as a smart phone or a personal computer. Communication between various types of electronic devices equipped with

도 2는 복수의 전자 장치들의 통신 과정을 도시한 도면이다.2 is a diagram illustrating a communication process of a plurality of electronic devices.

제1 전자 장치(201)와 제2 전자 장치(202)는, 장치 탐색 과정(203), 링크 생성 과정(204) 및 데이터 통신 과정(205)을 통해 통신을 수행할 수 있다.The first electronic device 201 and the second electronic device 202 may communicate through a device discovery process 203 , a link creation process 204 , and a data communication process 205 .

장치 탐색 과정(203)에서, 제1 전자 장치(201)와 제2 전자 장치(202) 각각은, 자신의 주변에 있는 전자 장치들 중 D2D 통신이 가능한 다른 전자 장치들을 탐색할 수 있다. 이를 통해, 제1 전자 장치(201)와 제2 전자 장치(202) 각각은 D2D 통신을 하기 위한 링크 생성 여부를 결정할 수 있다. 예를 들어, 제1 전자 장치(201)는 제2 전자 장치(202)가 제1 전자 장치(201)를 탐색할 수 있도록 탐색 신호를 송신할 수 있다. 또한, 제1 전자 장치(201)는 제2 전자 장치(202)가 송신하는 탐색 신호를 수신하여 D2D 통신이 가능한 다른 전자 장치들이 D2D 통신 범위 내에 있음을 확인할 수 있다. In the device discovery process 203 , each of the first electronic device 201 and the second electronic device 202 may discover other electronic devices capable of D2D communication among electronic devices in its vicinity. Through this, each of the first electronic device 201 and the second electronic device 202 may determine whether to generate a link for D2D communication. For example, the first electronic device 201 may transmit a discovery signal so that the second electronic device 202 can discover the first electronic device 201 . In addition, the first electronic device 201 may receive the discovery signal transmitted by the second electronic device 202 and confirm that other electronic devices capable of D2D communication are within the D2D communication range.

링크 생성 과정(204)에서, 제1 전자 장치(201)와 제2 전자 장치(202) 각각은 장치 탐색 과정(203)에서 발견한 전자 장치들 중 데이터를 전송하고자 하는 전자 장치와 데이터 전송을 위한 링크를 생성할 수 있다. 예를 들어, 제1 전자 장치(201)는 장치 탐색 과정(203)에서 발견된 제2 전자 장치(202)와 데이터 전송을 위한 링크를 생성할 수 있다.In the link creation process 204 , each of the first electronic device 201 and the second electronic device 202 uses an electronic device to transmit data among the electronic devices discovered in the device discovery process 203 and for data transmission. You can create a link. For example, the first electronic device 201 may create a link for data transmission with the second electronic device 202 discovered in the device discovery process 203 .

데이터 통신 과정(205)에서, 제1 전자 장치(201)와 제2 전자 장치(202) 각각은 링크 생성 과정(204)에서 링크를 생성한 장치들과 데이터를 서로 송수신할 수 있다. 예를 들어, 제1 전자 장치(201)는 링크 생성 과정(204)에서 생성된 링크를 통해 제2 전자 장치(202)와 데이터를 서로 송수신할 수 있다.In the data communication process 205 , each of the first electronic device 201 and the second electronic device 202 may transmit/receive data to and from devices that have created a link in the link creation process 204 . For example, the first electronic device 201 may transmit/receive data to and from the second electronic device 202 through the link generated in the link creation process 204 .

본 개시의 다양한 실시 예들은 상술한 D2D 통신에 기초한 매체 접근 제어(medium access control, MAC)에 관한 것으로서, 매체 접근 제어를 위해서는 전자 장치들 간의 거리가 측정될 필요가 있다. 이때, 전자 장치들 간의 거리를 측정하기 위하여 UWB 레인징(ranging) 기술이 사용될 수 있다. Various embodiments of the present disclosure relate to medium access control (MAC) based on the aforementioned D2D communication. For medium access control, a distance between electronic devices needs to be measured. In this case, a UWB ranging technique may be used to measure the distance between electronic devices.

예를 들어, 차량(vehicle) 문의 개폐를 위해 스마트 폰에 저장된 디지털 키를 이용하는 경우, 차량은 다수의 UWB 통신 모듈들(예를 들어, 6개의 UWB 통신 모듈)을 활용해 스마트폰과 차량과의 거리를 각각 측정한 후, 측정 결과에 기초하여 스마트 폰의 위치를 추정할 수 있다. 차량은, 차량과 스마트 폰이 소정 거리 이하로 가까워지면 자동으로 차량 문을 열어 사용자의 편의를 증가시킬 수 있다. 차량과 스마트 폰은 멀티캐스트 레인징 또는 브로드캐스트 레인징을 이용할 수 있다.For example, when using a digital key stored in a smart phone to open and close a vehicle door, the vehicle utilizes a plurality of UWB communication modules (eg, six UWB communication modules) to communicate with the smartphone and the vehicle. After each distance is measured, the location of the smart phone may be estimated based on the measurement result. The vehicle may increase the user's convenience by automatically opening the vehicle door when the vehicle and the smart phone are close to each other by a predetermined distance or less. The vehicle and the smart phone can use multicast ranging or broadcast ranging.

한편, UWB 레인징으로 인한 파워 소모가 크기 때문에, UWB 레인징은 필요에 따라 중단(suspend)되고, 이후 회복(recover)될 수 있다. 예를 들어, 차량과 스마트 폰 간 거리가 소정 거리보다 짧아질 경우에, 차량과 스마트 폰 간 UWB 레인징에 대한 세션이 시작될 수 있다. 차량은 UWB 레인징을 이용하여, 차량과 스마트 폰 간 거리를 결정할 수 있다. UWB 레인징 세션이 시작된 이후에, 차량과 스마트 폰은 UWB 레인징을 위한 메시지들을 교환할 수 있다. 차량과 스마트 폰 간 거리는 UWB 레인징을 위한 메시지들이 교환됨으로써 결정될 수 있다. 차량은 일정 시간 동안 차량과 스마트 폰 간 거리가 변하지 않을 경우에, 스마트 폰이 한 장소에 머물러 있다고 판단할 수 있다. 이 경우에, 차량과 스마트폰은 UWB 레인징을 중단함으로써, UWB 레인징으로 인한 파워 소모를 방지할 수 있다. Meanwhile, since power consumption due to UWB ranging is large, UWB ranging may be suspended if necessary and then recovered. For example, when the distance between the vehicle and the smart phone becomes shorter than a predetermined distance, a session for UWB ranging between the vehicle and the smart phone may be started. The vehicle may use UWB ranging to determine the distance between the vehicle and the smart phone. After the UWB ranging session is started, the vehicle and the smart phone may exchange messages for UWB ranging. The distance between the vehicle and the smart phone may be determined by exchanging messages for UWB ranging. If the distance between the vehicle and the smart phone does not change for a certain period of time, the vehicle may determine that the smart phone stays in one place. In this case, the vehicle and the smart phone stop UWB ranging, thereby preventing power consumption due to UWB ranging.

UWB 레인징이 중단되면 UWB 레인징을 위한 메시지들이 교환되지 않으므로, 차량은 UWB 레인징을 이용하여 차량과 스마트 폰 간 거리를 결정할 수 없다. 따라서, 차량은 UWB 레인징을 이용하여 수행할 수 있는 다양한 동작들을 수행할 수 없다. 예를 들어, UWB 레인징이 중단된 상태에서, 차량과 스마트 폰이 소정 거리 이하로 가까워지더라도, 차량은 자동으로 차량 문을 열지 못할 수 있다. When UWB ranging is stopped, since messages for UWB ranging are not exchanged, the vehicle cannot determine the distance between the vehicle and the smart phone using UWB ranging. Accordingly, the vehicle cannot perform various operations that can be performed using UWB ranging. For example, in a state in which UWB ranging is stopped, even if a vehicle and a smart phone come close to a predetermined distance or less, the vehicle may not automatically open the vehicle door.

따라서, UWB 레인징을 회복하기 위해서, 차량은 소정 기준에 따라 UWB 레인징의 회복 여부를 결정하고, UWB 레인징의 회복을 트리거할 수 있다. UWB 레인징의 회복이 트리거되면, UWB 레인징 회복 플로우가 수행될 수 있다. Accordingly, in order to recover UWB ranging, the vehicle may determine whether to recover UWB ranging according to a predetermined criterion, and trigger recovery of UWB ranging. When recovery of UWB ranging is triggered, a UWB ranging recovery flow may be performed.

예를 들어, 차량이 사용자가 차량의 문 손잡이를 잡는 것을 감지한 때에 UWB 레인징은 회복될 수 있다. 이 경우, UWB 레인징의 회복이 트리거된 시점과 차량의 문이 자동적으로 열리는 시점 간 시간적 간격이 존재할 수 있다. 만약, 차량이 사용자가 차량의 문 손잡이를 잡는 것을 감지한 때에 비로소 UWB 레인징이 회복되면, 사용자는 차량의 문 손잡이를 잡은 시점부터 일정 시간을 기다린 이후에 비로소 차량의 문이 열리는 것을 확인할 수 있다. 사용자가 차량의 손잡이를 잡자마자 차량의 문이 열리지 않으므로, 사용자 경험(user experience)이 저하되는 문제가 발생할 수 있다. 따라서, UWB 레인징의 회복을 보다 효과적으로 수행하기 위한 방법이 요구된다.For example, UWB ranging may be restored when the vehicle detects that the user grabs the vehicle's door handle. In this case, a time interval may exist between the time when the recovery of UWB ranging is triggered and the time when the vehicle door is automatically opened. If the UWB ranging is restored only when the vehicle detects that the user holds the door handle of the vehicle, the user can confirm that the door of the vehicle is opened only after waiting a certain period of time from the time the user holds the door handle of the vehicle . Since the door of the vehicle is not opened as soon as the user holds the handle of the vehicle, a problem in which user experience is deteriorated may occur. Accordingly, there is a need for a method for more effectively performing recovery of UWB ranging.

본 개시의 일 실시예에 따르면, 제1 전자 장치와 제2 전자 장치 간 UWB 레인징이 중단된 경우에, 제1 전자 장치는 제2 전자 장치로부터 수신된 광고(Advertising) 패킷에 기초하여, 제2 전자 장치에게 알림(Notification) 메시지를 전송할 수 있다. 알림 메시지는 제1 전자 장치가 제2 전자 장치에게 접근하고 있다는 정보를 나타낼 수 있다. 제2 전자 장치는 알림 메시지에 기초하여, UWB 레인징이 중단된 상태에서도, 제1 전자 장치의 이동을 감지할 수 있다. 제2 전자 장치는 제1 전자 장치의 이동을 감지한 결과에 기초하여, UWB 레인징의 회복을 결정할 수 있으므로, 제1 전자 장치 및 제2 전자 장치는 UWB 레인징을 효과적으로 회복할 수 있다.According to an embodiment of the present disclosure, when UWB ranging between the first electronic device and the second electronic device is stopped, the first electronic device performs the second electronic device based on an advertisement packet received from the second electronic device. 2 A notification message may be transmitted to the electronic device. The notification message may indicate information that the first electronic device is approaching the second electronic device. Based on the notification message, the second electronic device may detect the movement of the first electronic device even when UWB ranging is stopped. Since the second electronic device may determine recovery of UWB ranging based on a result of detecting the movement of the first electronic device, the first electronic device and the second electronic device may effectively recover UWB ranging.

도 3은 제2 전자 장치가 제1 전자 장치의 접근을 감지하는 방법을 설명하기 위한 도면이다.FIG. 3 is a diagram for describing a method in which a second electronic device detects an approach of a first electronic device.

일 실시예에 따르면, 제1 전자 장치(302)는 스마트 폰을 포함하고, 제2 전자 장치(304)는 차량을 포함할 수 있다. 제1 전자 장치(302) 및 제2 전자 장치(304)는 각각 앞서 도 2를 참조하여 설명한 제1 전자 장치(201) 및 제2 전자 장치(202)에 대응될 수 있다.According to an embodiment, the first electronic device 302 may include a smart phone, and the second electronic device 304 may include a vehicle. The first electronic device 302 and the second electronic device 304 may correspond to the first electronic device 201 and the second electronic device 202 described above with reference to FIG. 2 , respectively.

일 실시예에 따른 제2 전자 장치(304)는 광고 패킷(Advertising Packet)을 전송할 수 있다. 예를 들어, 저전력 블루투스 기술(Bluetooth Low Energy: BLE)을 지원하는 제2 전자 장치(304)는, 주기적으로 광고 패킷을 브로드캐스팅할 수 있다. 따라서, 제1 전자 장치(302)와 제2 전자 장치(304) 간의 UWB 레인징이 중단되는 경우에도, 제1 전자 장치(302)는 제2 전자 장치(304)로부터 브로드캐스팅된 광고 패킷을 수신할 수 있다.The second electronic device 304 according to an embodiment may transmit an advertisement packet. For example, the second electronic device 304 supporting Bluetooth Low Energy (BLE) may periodically broadcast an advertisement packet. Accordingly, even when UWB ranging between the first electronic device 302 and the second electronic device 304 is stopped, the first electronic device 302 receives the advertisement packet broadcast from the second electronic device 304 . can do.

일 실시예에 따르면, 광고 패킷은 물리 계층에 따라 제1 광고 패킷 및 제2 광고 패킷으로 분류될 수 있다. 예를 들어, 제2 전자 장치(304)는 제1 물리 계층 및 제2 물리 계층을 지원할 수 있으며, 제1 물리 계층 및 제2 물리 계층은 각각 LE Coded PHY 및 LE 1M PHY 일 수 있다. 제2 전자 장치(304)는 제1 물리 계층 및 제2 물리 계층을 사용하여, 제1 전자 장치(302)에게 각각 제1 광고 패킷 및 제2 광고 패킷을 전송할 수 있다. 예를 들어, 제1 광고 패킷 및 제2 광고 패킷은 각각 LE Coded PHY 타입의 광고 패킷 및 LE 1M PHY 타입의 광고 패킷을 포함할 수 있다. 다만, 제1 물리 계층 및 제2 물리 계층의 구체적 타입은 이에 제한되지 않으며, 블루투스 통신 및 다른 무선 통신의 물리 계층의 타입들을 포함할 수 있다.According to an embodiment, the advertisement packet may be classified into a first advertisement packet and a second advertisement packet according to a physical layer. For example, the second electronic device 304 may support a first physical layer and a second physical layer, and the first and second physical layers may be LE Coded PHY and LE 1M PHY, respectively. The second electronic device 304 may transmit the first advertisement packet and the second advertisement packet to the first electronic device 302 using the first physical layer and the second physical layer, respectively. For example, the first advertisement packet and the second advertisement packet may include an LE Coded PHY type advertisement packet and an LE 1M PHY type advertisement packet, respectively. However, specific types of the first physical layer and the second physical layer are not limited thereto, and may include physical layer types of Bluetooth communication and other wireless communication.

제1 전자 장치(320) 및 제2 전자 장치(304)가 제1 물리 계층을 통해 통신하는 경우에, 제1 전자 장치(302)와 제2 전자 장치(304)는 제1 실효 통신 거리를 갖는다. 제1 전자 장치(320) 및 제2 전자 장치(304)가 제2 물리 계층을 통해 통신하는 경우에, 제1 전자 장치(302)와 제2 전자 장치(304)는 제2 실효 통신 거리를 갖는다. 제1 실효 통신 거리는 제2 실효 통신 거리보다 더 길 수 있으며, 예를 들어, 제1 실효 통신 거리 및 제2 실효 통신 거리는 각각 약 60 미터 및 약 30 미터일 수 있다. 다만, 제1 실효 통신 거리 및 제2 실효 통신 거리는 특정 값으로 제한되지 않으며, 제1 전자 장치(302)와 제2 전자 장치(304) 사이에 장애물이 존재하는지 여부에 따라 제1 실효 통신 거리 및 제2 실효 통신 거리의 구체적인 값은 변할 수 있다. When the first electronic device 320 and the second electronic device 304 communicate through the first physical layer, the first electronic device 302 and the second electronic device 304 have a first effective communication distance . When the first electronic device 320 and the second electronic device 304 communicate through the second physical layer, the first electronic device 302 and the second electronic device 304 have a second effective communication distance . The first effective communication distance may be longer than the second effective communication distance, for example, the first effective communication distance and the second effective communication distance may be about 60 meters and about 30 meters, respectively. However, the first effective communication distance and the second effective communication distance are not limited to specific values, and the first effective communication distance and A specific value of the second effective communication distance may vary.

제1 전자 장치(302)와 제2 전자 장치(304) 간의 거리가 제1 실효 통신 거리보다 긴 경우에, 제1 전자 장치(302)는 제2 전자 장치(304)로부터 제1 광고 패킷 및 제2 광고 패킷 모두를 수신할 수 없다. When the distance between the first electronic device 302 and the second electronic device 304 is longer than the first effective communication distance, the first electronic device 302 sends the first advertisement packet and the second electronic device 304 from the second electronic device 304 . 2 Cannot receive all advertisement packets.

제1 전자 장치(302)가 제2 전자 장치(304)에게 접근하여, 제1 전자 장치(302)와 제2 전자 장치(304) 간의 거리가 제1 실효 통신 거리보다는 짧아졌지만, 제2 실효 통신 거리보다는 긴 경우에, 제1 전자 장치(302)는 제1 광고 패킷 및 제2 광고 패킷 중 제1 광고 패킷만 수신할 수 있다. As the first electronic device 302 approaches the second electronic device 304, the distance between the first electronic device 302 and the second electronic device 304 becomes shorter than the first effective communication distance, but the second effective communication When the distance is longer than the distance, the first electronic device 302 may receive only the first advertisement packet among the first advertisement packet and the second advertisement packet.

제1 전자 장치(302)가 제2 전자 장치(304)에게 더 접근하여, 제1 전자 장치(302)와 제2 전자 장치(304) 간의 거리가 제2 실효 통신 거리보다 짧아진 경우에, 제1 전자 장치(302)는 제1 광고 패킷 및 제2 광고 패킷을 모두 수신할 수 있다. When the first electronic device 302 approaches the second electronic device 304 further, and the distance between the first electronic device 302 and the second electronic device 304 becomes shorter than the second effective communication distance, The first electronic device 302 may receive both the first advertisement packet and the second advertisement packet.

예를 들어, 도 3에 도시된 바와 같이, 제2 전자 장치(304)는, LE 1M PHY 및 LE Coded PHY 두 가지 물리 계층을 이용하여 광고 패킷들을 전송할 수 있다. 만약, 제1 전자 장치(302)와 제2 전자 장치(304) 간의 거리가 LE Coded PHY의 실효 통신 거리(예를 들어, 약 60m)보다 긴 경우에, 제1 전자 장치(302)는 제2 전자 장치(304)로부터 광고 패킷을 수신할 수 없다. 제1 전자 장치(302)가 제2 전자 장치(304)에게 접근하여, 제1 전자 장치(302)와 제2 전자 장치(304) 간의 거리가 LE Coded PHY의 실효 통신 거리보다는 짧아졌지만, LE 1M PHY 실효 통신 거리(예를 들어, 약 30m)보다는 긴 경우에, 제1 전자 장치(302)는 LE Coded PHY 타입의 광고 패킷만 수신할 수 있다.For example, as shown in FIG. 3 , the second electronic device 304 may transmit advertisement packets using two physical layers LE 1M PHY and LE Coded PHY. If the distance between the first electronic device 302 and the second electronic device 304 is longer than the effective communication distance (eg, about 60 m) of the LE Coded PHY, the first electronic device 302 sends the second An advertisement packet cannot be received from the electronic device 304 . As the first electronic device 302 approaches the second electronic device 304, the distance between the first electronic device 302 and the second electronic device 304 is shorter than the effective communication distance of the LE Coded PHY, but the LE 1M If it is longer than the PHY effective communication distance (eg, about 30 m), the first electronic device 302 may receive only the LE Coded PHY type advertisement packet.

제1 전자 장치(302)가 제2 전자 장치(304)에게 더 접근하여, 제1 전자 장치(302)와 제2 전자 장치(304) 간의 거리가 LE 1M PHY 실효 통신 거리보다 짧아진 경우에, 제1 전자 장치(302)는 LE Coded PHY 및 LE 1M PHY 타입의 광고 패킷들을 모두 수신할 수 있다. When the first electronic device 302 approaches the second electronic device 304 further, and the distance between the first electronic device 302 and the second electronic device 304 becomes shorter than the LE 1M PHY effective communication distance, The first electronic device 302 may receive both LE Coded PHY and LE 1M PHY type advertisement packets.

이처럼, 제1 전자 장치(302)와 제2 전자 장치(304) 간의 거리에 따라 제1 전자 장치(302)가 제2 전자 장치(304)로부터 수신할 수 있는 광고 패킷의 종류가 결정될 수 있다. As such, the type of advertisement packet that the first electronic device 302 can receive from the second electronic device 304 may be determined according to the distance between the first electronic device 302 and the second electronic device 304 .

또한, 제1 전자 장치(302)와 제2 전자 장치(304) 간의 거리에 따라 제1 전자 장치(302)가 제2 전자 장치(304)로부터 단위 시간당 수신할 수 있는 광고 패킷의 개수가 결정될 수 있다. 예를 들어, 제2 전자 장치(304)는 주기적으로 광고 패킷을 제1 전자 장치(302)에게 전송하므로, 제1 전자 장치(302)와 제2 전자 장치(304) 간의 거리가 가까울수록, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 단위 시간당 수신하는 광고 패킷의 개수는 더 많을 수 있다.Also, the number of advertisement packets that the first electronic device 302 can receive from the second electronic device 304 per unit time may be determined according to the distance between the first electronic device 302 and the second electronic device 304 . have. For example, since the second electronic device 304 periodically transmits an advertisement packet to the first electronic device 302 , the closer the distance between the first electronic device 302 and the second electronic device 304 is, the closer the second electronic device 304 is. The number of advertisement packets that one electronic device 302 receives from the second electronic device 304 per unit time may be greater.

제1 전자 장치(302)는 수신된 광고 패킷의 종류 및 개수에 기초하여, 알림 메시지를 생성할 수 있다. 예를 들어, 알림 메시지는 수신된 광고 패킷의 종류에 대한 정보를 포함할 수 있다. 제1 전자 장치(302)는 알림 메시지를 제2 전자 장치(304)에게 전송할 수 있다. 제1 전자 장치(302)는 수신된 광고 패킷의 개수에 기초하여, 알림 메시지의 전송 주기를 변화시킬 수 있다. 제2 전자 장치(304)는 제1 전자 장치(302)로부터 수신된 알림 메시지에 기초하여, 제1 전자 장치(302)가 제2 전자 장치(304)에게 접근하고 있음을 감지할 수 있다. 또한, 제2 전자 장치(304)는 알림 메시지의 전송 주기에 기초하여, 제1 전자 장치(302)가 제2 전자 장치(304)에게 접근한 정도를 결정할 수 있다.The first electronic device 302 may generate a notification message based on the type and number of received advertisement packets. For example, the notification message may include information on the type of the received advertisement packet. The first electronic device 302 may transmit a notification message to the second electronic device 304 . The first electronic device 302 may change the transmission period of the notification message based on the number of received advertisement packets. The second electronic device 304 may detect that the first electronic device 302 is approaching the second electronic device 304 based on the notification message received from the first electronic device 302 . Also, the second electronic device 304 may determine the degree to which the first electronic device 302 approaches the second electronic device 304 based on the transmission period of the notification message.

본 개시의 일 실시예에 따르면, 제1 전자 장치(302)는 제2 전자 장치(304)로부터 수신된 제1 광고 패킷 및 제2 광고 패킷 중 적어도 하나에 기초하여, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 소정의 범위 내에 있음을 나타내는 알림 메시지를 제2 전자 장치(304)에게 전송할 수 있다. 예를 들어, 제1 전자 장치(302)는 서로 다른 통신 거리를 갖는 제1 광고 패킷 및 제2 광고 패킷에 기초하여 생성된 알림 메시지를 전자 장치(304)에게 전송할 수 있다. According to an embodiment of the present disclosure, the first electronic device 302 performs the first electronic device 302 based on at least one of the first advertisement packet and the second advertisement packet received from the second electronic device 304 . A notification message indicating that is within a predetermined range from the second electronic device 304 may be transmitted to the second electronic device 304 . For example, the first electronic device 302 may transmit a notification message generated based on the first advertisement packet and the second advertisement packet having different communication distances to the electronic device 304 .

제2 전자 장치(304)는 주기적으로 복수의 제1 광고 패킷들 및 복수의 제2 광고 패킷들을 제1 전자 장치(302)에게 전송할 수 있다. 제1 광고 패킷들 및 제2 광고 패킷들이 제2 전자 장치(304)로부터 전송되는 주기는 서로 상이할 수 있다. 제1 전자 장치(302)는 제2 전자 장치(304)로부터 복수의 제1 광고 패킷들 및 복수의 제2 광고 패킷들을 수신할 수 있다. 제1 전자 장치(302)는 제1 광고 패킷들의 개수 및 제2 광고 패킷들의 개수 중 적어도 하나에 기초하여, 제2 전자 장치(304)에게 알림 메시지를 전송할 수 있다. The second electronic device 304 may periodically transmit a plurality of first advertisement packets and a plurality of second advertisement packets to the first electronic device 302 . Periods in which the first advertisement packets and the second advertisement packets are transmitted from the second electronic device 304 may be different from each other. The first electronic device 302 may receive a plurality of first advertisement packets and a plurality of second advertisement packets from the second electronic device 304 . The first electronic device 302 may transmit a notification message to the second electronic device 304 based on at least one of the number of first advertisement packets and the number of second advertisement packets.

제1 전자 장치(302)는 제1 광고 패킷들의 수신 정보에 기초하여, 제2 전자 장치(304)에게 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제1 범위 내에 있음을 알리는 정보를 포함하는 알림 메시지를 전송할 수 있다. 예를 들어, 제1 전자 장치(302)는 제2 전자 장치(304)로부터 수신된 제1 광고 패킷들의 개수 및 제2 광고 패킷들의 개수를 주기적으로 측정할 수 있다. 제1 전자 장치(302)는 소정 시간 동안 제2 전자 장치(304)로부터 수신된 제1 광고 패킷들의 개수가 제1 임계치 이상인 경우에, 제2 전자 장치(304)에게 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제1 범위 내에 있음을 알리는 정보를 포함하는 알림 메시지를 전송할 수 있다. 선택적으로, 소정 시간은 제1 전자 장치(302)가 제1 광고 패킷들의 개수 및 제2 광고 패킷들의 개수를 측정하는 주기일 수 있다. The first electronic device 302 notifies the second electronic device 304 that the first electronic device 302 is within a first range from the second electronic device 304 based on the reception information of the first advertisement packets. A notification message including information may be transmitted. For example, the first electronic device 302 may periodically measure the number of first advertisement packets and the number of second advertisement packets received from the second electronic device 304 . When the number of first advertisement packets received from the second electronic device 304 for a predetermined time is equal to or greater than the first threshold, the first electronic device 302 sends the first electronic device 302 to the second electronic device 304 A notification message including information notifying that is within the first range may be transmitted from the second electronic device 304 . Optionally, the predetermined time may be a period in which the first electronic device 302 measures the number of first advertisement packets and the number of second advertisement packets.

제1 전자 장치(302)는 제2 광고 패킷들의 수신 정보에 기초하여, 제2 전자 장치(304)에게 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제2 범위 내에 있음을 알리는 정보를 포함하는 알림 메시지를 전송할 수 있다. 예를 들어, 제1 전자 장치(302)는 소정 시간 동안 제2 전자 장치(304)로부터 수신된 제2 광고 패킷들의 개수가 제2 임계치 이상인 경우에, 제2 전자 장치(304)에게 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제2 범위 내에 있음을 알리는 정보를 포함하는 알림 메시지를 전송할 수 있다. The first electronic device 302 notifies the second electronic device 304 that the first electronic device 302 is within a second range from the second electronic device 304 based on the reception information of the second advertisement packets. A notification message including information may be transmitted. For example, when the number of second advertisement packets received from the second electronic device 304 for a predetermined time is equal to or greater than the second threshold, the first electronic device 302 sends the first electronic device to the second electronic device 304 . The device 302 may transmit a notification message including information indicating that the device 302 is within the second range from the second electronic device 304 .

선택적으로, 제1 범위는 제2 범위보다 넓을 수 있다. 제1 전자 장치(302)가 제2 전자 장치(304)로부터 단위 시간당 수신하는 LE Coded PHY 타입의 제1 광고 패킷들의 개수는 제1 임계치 이상이고, LE 1M PHY 타입의 제2 광고 패킷들의 개수는 제2 임계치 미만인 경우에, 제1 전자 장치(302)는 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제1 범위 내에 있음을 나타내는 정보를 포함하는 알림 메시지를 제2 전자 장치(304)에게 전송할 수 있다. Optionally, the first range may be wider than the second range. The number of first advertisement packets of the LE Coded PHY type that the first electronic device 302 receives from the second electronic device 304 per unit time is greater than or equal to the first threshold, and the number of second advertisement packets of the LE 1M PHY type is If it is less than the second threshold, the first electronic device 302 sends a notification message including information indicating that the first electronic device 302 is within a first range from the second electronic device 304 to the second electronic device ( 304) can be transmitted.

제1 전자 장치(302)가 제2 전자 장치(304)로부터 단위 시간당 수신하는 LE 1M PHY 타입의 제2 광고 패킷들의 개수가 제2 임계치 이상인 경우에, 제1 전자 장치(302)는 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제2 범위 내에 있음을 나타내는 정보를 포함하는 알림 메시지를 제2 전자 장치(304)에게 전송할 수 있다.When the number of second advertisement packets of the LE 1M PHY type that the first electronic device 302 receives from the second electronic device 304 per unit time is equal to or greater than the second threshold, the first electronic device 302 transmits the first electronic device A notification message including information indicating that the device 302 is within a second range from the second electronic device 304 may be transmitted to the second electronic device 304 .

일 실시예에 따르면, 제1 전자 장치(302)는 제2 전자 장치(304)로부터 수신된 제1 광고 패킷 및 제2 광고 패킷 중 적어도 하나에 기초하여, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제1 범위 내에 있고, 제2 범위 외에 있음을 나타내는 정보를 포함하는 알림 메시지를 제1 주기로 전송할 수 있다. 또한, 제1 전자 장치(302)는 제2 전자 장치(304)로부터 수신된 제1 광고 패킷 및 제2 광고 패킷 중 적어도 하나에 기초하여, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제2 범위 내에 있음을 나타내는 정보를 포함하는 알림 메시지를 제2 주기로 전송할 수 있다.According to an embodiment, the first electronic device 302 determines that the first electronic device 302 transmits the second advertisement packet based on at least one of the first advertisement packet and the second advertisement packet received from the second electronic device 304 . A notification message including information indicating that the electronic device 304 is within the first range and outside the second range may be transmitted in the first period. Also, based on at least one of the first advertisement packet and the second advertisement packet received from the second electronic device 304 , the first electronic device 302 determines that the first electronic device 302 transmits the second electronic device 304 to the second electronic device 304 . ), a notification message including information indicating that it is within the second range may be transmitted in the second period.

예를 들어, 제1 전자 장치(302)는 소정 시간 동안 수신된 제1 광고 패킷들의 개수가 제1 임계치 이상이고, 수신된 제2 광고 패킷들의 개수가 제2 임계치 미만인 경우에, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제1 범위 내에 있고, 제2 범위 외에 있음을 나타내는 정보를 포함하는 알림 메시지들을 제1 주기로 전송할 수 있다. 또한, 제1 전자 장치(302)는 소정 시간 동안 수신된 제2 광고 패킷들의 개수가 제2 임계치 이상인 경우에, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제2 범위 내에 있음을 나타내는 정보를 포함하는 알림 메시지들을 제2 주기로 전송할 수 있다. For example, when the number of first advertisement packets received for a predetermined time is equal to or greater than the first threshold and the number of received second advertisement packets is less than the second threshold, the first electronic device 302 determines the first electronic device The second electronic device 302 may transmit notification messages including information indicating that it is within the first range and out of the second range from the second electronic device 304 in the first period. In addition, the first electronic device 302 determines that the first electronic device 302 is within a second range from the second electronic device 304 when the number of second advertisement packets received for a predetermined time is equal to or greater than the second threshold. Notification messages including information indicating

선택적으로, 제1 주기는 제2 주기보다 길 수 있다. 제1 전자 장치(302)는 제1 전자 장치(302)가 제2 전자 장치(304)와 가까울수록 알림 메시지들을 보다 빈번히 제2 전자 장치(304)에게 전송할 수 있다. 예를 들어, 제1 전자 장치(302)는 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제2 범위 내에 있다고 판단되는 경우에, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제1 범위 내에 있고, 제2 범위 외에 있다고 판단되는 경우보다 더욱 빈번하게 알림 메시지들을 제2 전자 장치(304)에게 전송할 수 있다. 일 실시예에 따르면, 제1 전자 장치(302)는 제1 전자 장치(302)와 제2 전자 장치(304) 간 거리에 따라, 알림 메시지들을 제2 전자 장치(304)에게 전송하는 주기를 변경함으로써, 제2 전자 장치(304)가 UWB 레인징을 회복할지 여부에 대한 보다 구체적인 기준을 제2 전자 장치(304)에게 제공할 수 있다. Optionally, the first period may be longer than the second period. The first electronic device 302 may transmit notification messages to the second electronic device 304 more frequently as the first electronic device 302 is closer to the second electronic device 304 . For example, when the first electronic device 302 determines that the first electronic device 302 is within a second range from the second electronic device 304 , the first electronic device 302 is the second electronic device Notification messages may be transmitted to the second electronic device 304 more frequently than when it is determined that the user is within the first range from 304 and out of the second range. According to an embodiment, the first electronic device 302 changes the period of transmitting notification messages to the second electronic device 304 according to the distance between the first electronic device 302 and the second electronic device 304 . By doing so, it is possible to provide the second electronic device 304 with a more specific criterion as to whether the second electronic device 304 recovers UWB ranging.

도 4a는 일 실시예에 따른 제1 광고 패킷의 구조를 설명하기 위한 도면이다.4A is a diagram for explaining the structure of a first advertisement packet according to an embodiment.

일 실시예에 따르면, 제1 광고 패킷은 LE Coded PHY 타입 패킷을 포함할 수 있다. LE Coded PHY 타입 패킷은 프리앰블(preamble), 접속 주소(Access Address), Packet Data Unit(PDU) 및 Cyclical Redundancy Check(CRC), 코딩 인디케이터(CI), TERM1 및 TERM2를 포함할 수 있다. LE Coded PHY 타입 패킷에 포함된 프리앰블은 식별 정보를 포함할 수 있다. 예를 들어, 제1 전자 장치(302)는 제2 전자 장치(304)로부터 광고 패킷을 수신하면, 광고 패킷의 프리앰블에 기초하여, 수신된 광고 패킷이 LE Coded PHY 타입 패킷임을 식별할 수 있다.According to an embodiment, the first advertisement packet may include an LE Coded PHY type packet. The LE Coded PHY type packet may include a preamble, an access address, a Packet Data Unit (PDU) and a Cyclical Redundancy Check (CRC), a coding indicator (CI), TERM1 and TERM2. The preamble included in the LE Coded PHY type packet may include identification information. For example, when receiving an advertisement packet from the second electronic device 304 , the first electronic device 302 may identify that the received advertisement packet is an LE Coded PHY type packet based on the preamble of the advertisement packet.

도 4b는 일 실시예에 따른 제2 광고 패킷의 구조를 설명하기 위한 도면이다.4B is a diagram for explaining the structure of a second advertisement packet according to an embodiment.

일 실시예에 따르면, 제2 광고 패킷은 LE 1M PHY 타입 패킷을 포함할 수 있다. LE 1M PHY 타입 패킷은 프리앰블(preamble), 접속 주소(Access Address), Packet Data Unit(PDU) 및 Cyclical Redundancy Check(CRC)를 포함할 수 있다. LE 1M PHY 타입 패킷에 포함된 프리앰블은 식별 정보를 포함할 수 있다. 예를 들어, 제1 전자 장치(302)는 제2 전자 장치(304)로부터 광고 패킷을 수신하면, 광고 패킷의 프리앰블에 기초하여, 수신된 광고 패킷이 LE 1M PHY 타입 패킷임을 식별할 수 있다.According to an embodiment, the second advertisement packet may include an LE 1M PHY type packet. The LE 1M PHY type packet may include a preamble, an access address, a Packet Data Unit (PDU), and a Cyclical Redundancy Check (CRC). The preamble included in the LE 1M PHY type packet may include identification information. For example, when receiving the advertisement packet from the second electronic device 304 , the first electronic device 302 may identify that the received advertisement packet is an LE 1M PHY type packet based on the preamble of the advertisement packet.

도 5는 일 실시예에 따른 제1 전자 장치의 동작 방법을 나타내는 순서도이다.5 is a flowchart illustrating a method of operating a first electronic device according to an exemplary embodiment.

단계 S502에서, 제1 전자 장치(302)는 제2 전자 장치(304)로부터 수신되는 광고 패킷에 기초하여, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 소정 범위 내에 있음을 알리는 메시지를 제2 전자 장치(304)에게 전송할 수 있다. 제1 전자 장치(302)는 제2 전자 장치(304)로부터 수신된 제1 광고 패킷 및 제2 광고 패킷 중 적어도 하나에 기초하여, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 소정 범위 내에 있음을 알리는 메시지를 제2 전자 장치(304)에게 전송할 수 있다. In step S502 , the first electronic device 302 notifies that the first electronic device 302 is within a predetermined range from the second electronic device 304 based on the advertisement packet received from the second electronic device 304 . The message may be transmitted to the second electronic device 304 . The first electronic device 302 transmits the first electronic device 302 from the second electronic device 304 based on at least one of the first advertisement packet and the second advertisement packet received from the second electronic device 304 . A message indicating that it is within a predetermined range may be transmitted to the second electronic device 304 .

예를 들어, 제1 전자 장치(302)는 제2 전자 장치(304)로부터 복수의 제1 광고 패킷들 및 복수의 제2 광고 패킷들을 수신할 수 있다. 제1 전자 장치(302)는 소정 시간 동안 수신된 제1 광고 패킷의 개수가 제1 임계치 이상인 경우에, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제1 범위 내에 있다는 정보를 포함하는 알림 메시지를 제2 전자 장치(304)에게 전송할 수 있다. 또한, 제1 전자 장치(302)는 소정 시간 동안 수신된 제2 광고 패킷의 개수가 제2 임계치 이상인 경우에, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제2 범위 내에 있다는 정보를 포함하는 알림 메시지를 제2 전자 장치(304)에게 전송할 수 있다.For example, the first electronic device 302 may receive a plurality of first advertisement packets and a plurality of second advertisement packets from the second electronic device 304 . The first electronic device 302 receives information that the first electronic device 302 is within a first range from the second electronic device 304 when the number of first advertisement packets received for a predetermined time is equal to or greater than the first threshold. The included notification message may be transmitted to the second electronic device 304 . In addition, the first electronic device 302 determines that the first electronic device 302 is within a second range from the second electronic device 304 when the number of second advertisement packets received for a predetermined time is equal to or greater than the second threshold. A notification message including information may be transmitted to the second electronic device 304 .

일 실시예에 따르면, 제1 전자 장치(302)는 제1 광고 패킷 및 제2 광고 패킷 중 적어도 하나에 기초하여, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제1 범위 내에 포함되고, 제2 범위 외에 포함된다고 판단되면, 제1 주기로 알림 메시지들을 제2 전자 장치(304)에게 전송할 수 있다. 또한, 제1 전자 장치(302)는 제1 광고 패킷 및 제2 광고 패킷 중 적어도 하나에 기초하여, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제2 범위 내에 포함된다고 판단되면, 제2 주기로 알림 메시지들을 제2 전자 장치(304)에게 전송할 수 있다. 일 실시예에 따르면, 제2 주기는 제1 주기보다 짧으므로, 제1 전자 장치(302)는 제2 전자 장치(304)와 가까워질수록 알림 메시지들을 보다 빈번하게 제2 전자 장치(304)에게 전송할 수 있다. 알림 메시지와 관련하여서는, 후에 도 6 및 도 7을 참조하여 구체적으로 설명한다.According to an embodiment, the first electronic device 302 determines that the first electronic device 302 is within a first range from the second electronic device 304 based on at least one of the first advertisement packet and the second advertisement packet. If it is determined to be included in the second range and is out of the second range, notification messages may be transmitted to the second electronic device 304 in a first cycle. In addition, if the first electronic device 302 determines that the first electronic device 302 is within a second range from the second electronic device 304 based on at least one of the first advertisement packet and the second advertisement packet, , the notification messages may be transmitted to the second electronic device 304 in the second cycle. According to an embodiment, since the second period is shorter than the first period, the first electronic device 302 sends notification messages to the second electronic device 304 more frequently as it approaches the second electronic device 304 . can be transmitted The notification message will be described in detail later with reference to FIGS. 6 and 7 .

단계 S504에서, 제1전자 장치(302)는 알림 메시지에 응답하여, 제2 전자 장치(304)로부터 UWB 레인징 회복 신호를 수신할 수 있다. 제2 전자 장치(304)는 제1 전자 장치(302)로부터 수신된 알림 메시지에 응답하여, UWB 레인징을 회복할지 여부를 결정할 수 있다. 제2 전자 장치(304)는 UWB 레인징을 회복하기로 결정하면, 제1 전자 장치(302)에게 UWB 레인지 회복 신호를 전송할 수 있다.In operation S504 , the first electronic device 302 may receive a UWB ranging recovery signal from the second electronic device 304 in response to the notification message. The second electronic device 304 may determine whether to recover UWB ranging in response to the notification message received from the first electronic device 302 . When the second electronic device 304 determines to recover UWB ranging, it may transmit a UWB range recovery signal to the first electronic device 302 .

일 실시예에 따르면, 알림 메시지는 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제1 범위 내에 있는지 여부에 대한 정보, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제2 범위 내에 있는지 여부에 대한 정보 및 알림 메시지의 송신 파워에 대한 정보 중 적어도 하나를 포함할 수 있다. 제2 전자 장치(304)는 알림 메시지에 포함된 정보에 기초하여, UWB 레인징을 회복할지 여부에 대해 결정할 수 있다.According to an embodiment, the notification message includes information about whether the first electronic device 302 is within a first range from the second electronic device 304, and the first electronic device 302 sends the second electronic device 304 to the second electronic device 304. It may include at least one of information about whether or not it is within the second range from , and information about transmission power of a notification message. The second electronic device 304 may determine whether to recover UWB ranging based on information included in the notification message.

예를 들어, 제2 전자 장치(304)는 알림 메시지의 송신 파워에 대한 정보에 따라, 알림 메시지의 신호 세기를 결정할 수 있다. 선택적으로, 제2 전자 장치(304)는 Received Signal Strength Indicator(RSSI) 또는 Signal To Interference plus Noise Ratio(SINR)을 측정하여 신호 세기를 결정할 수 있다. 제2 전자 장치(304)는 UWB 레인징을 회복하기로 결정한 경우에, UWB 레인징 회복 신호를 제1 전자 장치(302)에게 전송할 수 있다. For example, the second electronic device 304 may determine the signal strength of the notification message according to information on the transmission power of the notification message. Optionally, the second electronic device 304 may determine the signal strength by measuring a Received Signal Strength Indicator (RSSI) or a Signal To Interference plus Noise Ratio (SINR). When the second electronic device 304 determines to recover UWB ranging, the second electronic device 304 may transmit a UWB ranging recovery signal to the first electronic device 302 .

다른 일 실시예에 따르면, 알림 메시지는 가장 최근에 수신된 제1 광고 패킷의 수신 파워에 대한 정보 및 가장 최근에 수신된 제2 광고 패킷의 수신 파워에 대한 정보 중 적어도 하나를 더 포함할 수 있다. 선택적으로, 제1 전자 장치(302)는 RSSI를 측정하여, 제1 광고 패킷의 수신 파워 또는 제2 광고 패킷의 수신 파워를 측정할 수 있다. 제2 전자 장치(304)는 제1 광고 패킷의 수신 파워에 대한 정보 및 제2 광고 패킷의 수신 파워에 대한 정보 중 적어도 하나에 기초하여, UWB 레인징을 회복할지 여부를 결정할 수 있다. According to another embodiment, the notification message may further include at least one of information on the reception power of the most recently received first advertisement packet and information on the reception power of the most recently received second advertisement packet. . Optionally, the first electronic device 302 may measure the RSSI to measure the reception power of the first advertisement packet or the reception power of the second advertisement packet. The second electronic device 304 may determine whether to recover UWB ranging based on at least one of information on the reception power of the first advertisement packet and information on the reception power of the second advertisement packet.

예를 들어, 제2 전자 장치(304)는 제1 광고 패킷의 수신 파워와 제1 광고 패킷의 송신 파워 간의 차이에 기초하여, UWB 레인징을 회복할지 여부를 결정할 수 있다. 또한, 제2 전자 장치(304)는 제2 광고 패킷의 수신 파워와 제2 광고 패킷의 송신 파워 간의 차이에 기초하여, UWB 레인징을 회복할지 여부를 결정할 수 있다.For example, the second electronic device 304 may determine whether to recover UWB ranging based on a difference between the reception power of the first advertisement packet and the transmission power of the first advertisement packet. Also, the second electronic device 304 may determine whether to recover UWB ranging based on a difference between the reception power of the second advertisement packet and the transmission power of the second advertisement packet.

다른 일 실시예에 따르면, 제1 전자 장치(302)는 제1 전자 장치의 움직임에 대한 정보를 검출하여, 제1 전자 장치의 움직임에 대한 정보를 알림 메시지에 포함시킬 수 있다. 제2 전자 장치(304)는 제1 전자 장치의 움직임에 대한 정보에 기초하여, UWB 레인징을 회복할지 여부를 결정할 수 있다.According to another embodiment, the first electronic device 302 may detect information on the movement of the first electronic device and include the information on the movement of the first electronic device in the notification message. The second electronic device 304 may determine whether to recover UWB ranging based on the information on the movement of the first electronic device.

다른 일 실시예에 따르면, 제1 전자 장치(302)는 제1 전자 장치(302)의 위치와 관련된 GPS(Global Positioning System) 정보를 검출하여, GPS 측정 값을 알림 메시지에 포함시킬 수 있다. 제2 전자 장치(304)는 GPS에 대한 정보에 기초하여, UWB 레인징을 회복할지 여부를 결정할 수 있다.According to another embodiment, the first electronic device 302 may detect Global Positioning System (GPS) information related to the location of the first electronic device 302 and include the GPS measurement value in the notification message. The second electronic device 304 may determine whether to recover UWB ranging based on GPS information.

단계 S506에서, 제1 전자 장치(302)는 수신된 UWB 레인징 회복 신호에 응답하여, UWB 레인징을 회복할 수 있다. In operation S506 , the first electronic device 302 may recover UWB ranging in response to the received UWB ranging recovery signal.

도 6은 일 실시예에 따른 알림 메시지의 구조를 설명하기 위한 도면이다.6 is a diagram for explaining the structure of a notification message according to an embodiment.

일 실시예에 따른 알림 메시지는 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제1 범위 내에 포함되는지 여부를 나타내는 정보(LE_Coded_PHY_Range), 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제2 범위 내에 포함되는지 여부를 나타내는 정보(LE_1M_PHY_Range) 및 알림 메시지의 송신 파워에 대한 정보(TX_power)를 포함할 수 있다. The notification message according to an embodiment includes information indicating whether the first electronic device 302 is included in the first range from the second electronic device 304 (LE_Coded_PHY_Range), and the first electronic device 302 includes the second electronic device It may include information (LE_1M_PHY_Range) indicating whether it is included in the second range from 304 and information about the transmission power of the notification message (TX_power).

일 예로, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제1 범위 내에 포함되는지 여부를 나타내는 정보(LE_Coded_PHY_Range)는 1비트의 정보로 나타낼 수 있다. 예를 들어, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제1 범위 내에 포함되는 경우에. 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제1 범위 내에 포함되는지 여부를 나타내는 정보(LE_Coded_PHY_Range)의 필드 값은 '1'의 값을 가질 수 있다. 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제1 범위 내에 포함되지 않는 경우에, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제1 범위 내에 포함되는지 여부를 나타내는 정보(LE_Coded_PHY_Range)의 필드 값은 '0'의 값을 가질 수 있다.As an example, the information LE_Coded_PHY_Range indicating whether the first electronic device 302 is included in the first range from the second electronic device 304 may be represented by one bit of information. For example, when the first electronic device 302 is included within a first range from the second electronic device 304 . A field value of the information LE_Coded_PHY_Range indicating whether the first electronic device 302 is included in the first range from the second electronic device 304 may have a value of '1'. When the first electronic device 302 is not included in the first range from the second electronic device 304 , it is determined whether the first electronic device 302 is included in the first range from the second electronic device 304 . A field value of the indicated information (LE_Coded_PHY_Range) may have a value of '0'.

일 예로, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제2 범위 내에 포함되는지 여부를 나타내는 정보(LE_1M_PHY_Range)는 1비트의 정보로 나타낼 수 있다. 예를 들어, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제2 범위 내에 포함되는 경우에, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제2 범위 내에 포함되는지 여부를 나타내는 정보(LE_1M_PHY_Range)의 필드 값은 '1'의 값을 가질 수 있다. 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제2 범위 내에 포함되지 않는 경우 제1 전자 장치(302)가 제2 전자 장치(304)로부터 제2 범위 내에 포함되는지 여부를 나타내는 정보(LE_1M_PHY_Range)의 필드 값은 '0'의 값을 가질 수 있다.As an example, the information LE_1M_PHY_Range indicating whether the first electronic device 302 is included in the second range from the second electronic device 304 may be represented by one bit of information. For example, when the first electronic device 302 is included within the second range from the second electronic device 304 , the first electronic device 302 is included within the second range from the second electronic device 304 . A field value of the information (LE_1M_PHY_Range) indicating whether or not it is '1' may have a value of '1'. Information indicating whether the first electronic device 302 is included within the second range from the second electronic device 304 when the first electronic device 302 is not included within the second range from the second electronic device 304 A field value of (LE_1M_PHY_Range) may have a value of '0'.

일 예로, 알림 메시지의 송신 파워에 대한 정보(TX_power)는 6비트의 정보로 나타낼 수 있다. 제1 전자 장치(302)는 알림 메시지의 송신 파워를 밀리 데시벨(dBm) 단위로 측정할 수 있으며, 송신 파워는 알림 메시지의 RSSI 또는 SINR일 수 있다. 제1 전자 장치(302)는 송신 파워에 대한 정보(TX_power)가 측정된 송신 파워에 20dBm을 더한 값을 포함하도록, 송신 파워에 대한 정보(TX_power)를 생성할 수 있다. As an example, the information (TX_power) on the transmission power of the notification message may be represented by 6-bit information. The first electronic device 302 may measure the transmission power of the notification message in units of millidecibels (dBm), and the transmission power may be the RSSI or SINR of the notification message. The first electronic device 302 may generate the information TX_power on the transmit power so that the information TX_power on the transmit power includes a value obtained by adding 20 dBm to the measured transmit power.

도 7은 다른 일 실시예에 따른 알림 메시지의 구조를 설명하기 위한 도면이다.7 is a diagram for explaining the structure of a notification message according to another embodiment.

다른 일 실시예에 따른 알림 메시지는, 앞서 도 6을 참조하여 설명한 알림 메시지에서 광고 패킷의 수신 파워에 대한 정보(RSSI_device), 제1 전자 장치의 움직임에 대한 정보(Motion_detection), 제1 GPS 정보(GPS_Latitude) 및 제2 GPS 정보(GPS_Longitude) 중 적어도 하나를 더 포함할 수 있다. The notification message according to another embodiment includes information on reception power of an advertisement packet (RSSI_device), information on motion of the first electronic device (Motion_detection), and first GPS information ( GPS_Latitude) and at least one of second GPS information (GPS_Longitude) may be further included.

일 예로, 수신 파워에 대한 정보(RSSI_device)는 8비트의 정보로 나타낼 수 있다. 수신 파워에 대한 정보(RSSI_device)는 제1 전자 장치(302)가 알림 메시지를 제2 전자 장치(304)에게 전송한 시점 이전에, 제2 전자 장치(304)로부터 가장 최근에 수신한 광고 패킷의 수신 파워를 나타낼 수 있다. 선택적으로 광고 패킷은 제1 광고 패킷 및 제2 광고 패킷 중 어느 하나일 수 있다. 제1 전자 장치(302)는 가장 최근에 수신한 광고 패킷의 RSSI를 dBm 단위로 측정하여, 광고 패킷의 수신 파워를 측정할 수 있다. 제1 전자 장치(302)는 수신 파워에 대한 정보(RSSI_device)가 측정된 광고 패킷의 수신 파워에 127dBm을 더한 값을 포함하도록, 수신 파워에 대한 정보(RSSI_device)를 생성할 수 있다. As an example, the information on the received power (RSSI_device) may be represented by 8-bit information. The information on the reception power (RSSI_device) is the information of the advertisement packet most recently received from the second electronic device 304 before the time when the first electronic device 302 transmits the notification message to the second electronic device 304 . It can represent the reception power. Optionally, the advertisement packet may be any one of the first advertisement packet and the second advertisement packet. The first electronic device 302 may measure the reception power of the advertisement packet by measuring the RSSI of the most recently received advertisement packet in units of dBm. The first electronic device 302 may generate the information on the reception power (RSSI_device) so that the information on the reception power (RSSI_device) includes a value obtained by adding 127 dBm to the reception power of the measured advertisement packet.

일 예로, 제1 전자 장치의 움직임에 대한 정보(Motion_detection)는 2비트의 정보로 나타낼 수 있다. 제1 전자 장치의 움직임에 대한 정보(Motion_detection)는 제1 전자 장치가 움직이고 있는지 여부에 대한 정보를 나타낼 수 있다. 예를 들어, 제1 전자 장치(302)는 제1 전자 장치의 움직임을 검출하여, 제1 전자 장치가 움직이고 있는지 여부에 대한 정보를 생성할 수 있다. As an example, the information (Motion_detection) on the motion of the first electronic device may be expressed as 2-bit information. The information on the movement of the first electronic device (Motion_detection) may indicate information on whether the first electronic device is moving. For example, the first electronic device 302 may detect the movement of the first electronic device and generate information on whether the first electronic device is moving.

제1 전자 장치(302)는 제1 전자 장치의 움직임을 검출하지 못한 경우에, 제1 전자 장치의 움직임에 대한 정보(Motion_detection)를 '0'의 값으로 설정할 수 있다. 제1 전자 장치(302)는 제1 전자 장치가 움직이지 않는 것으로 검출한 경우에, 제1 전자 장치의 움직임에 대한 정보(Motion_detection)를 '1'의 값으로 설정할 수 있다. 제1 전자 장치(302)는 제1 전자 장치가 움직이는 것으로 검출한 경우에, 제1 전자 장치의 움직임에 대한 정보(Motion_detection)를 '2'의 값으로 설정할 수 있다.When the first electronic device 302 fails to detect the movement of the first electronic device, the information (Motion_detection) on the movement of the first electronic device may be set to a value of '0'. When the first electronic device 302 detects that the first electronic device is not moving, the first electronic device may set motion_detection information (Motion_detection) to a value of '1'. When the first electronic device 302 detects that the first electronic device is moving, the first electronic device may set motion_detection information (Motion_detection) to a value of '2'.

일 예로, 제1 전자 장치(302)는 제1 전자 장치(302)의 위치와 관련된 GPS 정보를 더 포함하는 알림 메시지를 제2 전자 장치(304)에게 전송할 수 있다. GPS 정보는, 제1 GPS 정보(GPS_Latitude) 및 제2 GPS 정보(GPS_Longitude)를 포함할 수 있다. 제1 GPS 정보(GPS_Latitude) 및 제2 GPS 정보(GPS_Longitude)는 각각 64비트의 정보로 나타낼 수 있다. 제1 GPS 정보(GPS_Latitude) 및 제2 GPS 정보(GPS_Longitude)는, 제1 전자 장치(302)가 GPS를 사용하여 획득한 제1 전자 장치(302)의 위도 값 및 경도 값 각각을 나타낼 수 있다. As an example, the first electronic device 302 may transmit a notification message further including GPS information related to the location of the first electronic device 302 to the second electronic device 304 . The GPS information may include first GPS information (GPS_Latitude) and second GPS information (GPS_Longitude). Each of the first GPS information (GPS_Latitude) and the second GPS information (GPS_Longitude) may be represented by 64-bit information. The first GPS information (GPS_Latitude) and the second GPS information (GPS_Longitude) may indicate a latitude value and a longitude value of the first electronic device 302 obtained by the first electronic device 302 using GPS, respectively.

도 8은 UWB 레인징을 위한 세션의 상태를 설명하기 위한 도면이다.8 is a diagram for explaining a state of a session for UWB ranging.

제1 전자 장치(302)와 제2 전자 장치(304) 간 UWB 레인징을 수행하기 위해서, 먼저 UWB 레인징을 위한 세션이 시작될 수 있다. 예를 들어, 제1 전자 장치(302)가 제2 전자 장치(304)로부터 소정 거리 이내로 접근한 경우에, 제1 전자 장치(302)와 제2 전자 장치(304)는 메시지 교환을 통해 서로를 인식할 수 있다. 선택적으로, 제1 전자 장치(302)와 제2 전자 장치(304)는 인증 절차를 통해 제1 전자 장치(302)와 제2 전자 장치(304)가 서로 매칭됨을 확인하고, UWB 레인징을 위한 세션을 시작할 수 있다. In order to perform UWB ranging between the first electronic device 302 and the second electronic device 304 , a session for UWB ranging may be started first. For example, when the first electronic device 302 approaches the second electronic device 304 within a predetermined distance, the first electronic device 302 and the second electronic device 304 communicate with each other through message exchange. can recognize Optionally, the first electronic device 302 and the second electronic device 304 confirm that the first electronic device 302 and the second electronic device 304 match each other through an authentication procedure, and perform UWB ranging You can start a session.

UWB 레인징을 위한 세션이 시작되면, UWB 레인징을 위한 세션의 초기 상태는 활성화된 상태일 수 있다. UWB 레인징을 위한 세션이 활성화된 경우에, 제1 전자 장치(302)와 제2 전자 장치(304)는 서로 UWB 레인징을 위한 메시지를 교환함으로써, 제1 전자 장치(302)와 제2 전자 장치(304) 간의 거리 측정을 위한 UWB 레인징을 수행할 수 있다. When a session for UWB ranging is started, the initial state of the session for UWB ranging may be an activated state. When the session for UWB ranging is activated, the first electronic device 302 and the second electronic device 304 exchange messages for UWB ranging with each other, and the first electronic device 302 and the second electronic device 302 UWB ranging for measuring the distance between the devices 304 may be performed.

UWB 레인징을 위한 세션의 활성화로 인한 파워 소모가 크기 때문에, UWB 레인징이 필요 없는 경우, UWB 레인징을 위한 세션은 중단될 수 있다. 예를 들어, 제1 전자 장치(302)와 제2 전자 장치(304) 간의 거리가 일정 시간 동안 일정하게 유지될 경우에, UWB 레인징을 위한 세션은 중단될 수 있다. 제1 전자 장치(302)는 제2 전자 장치(304)에게 UWB 레인징의 중단을 요청할 수 있다. 제2 전자 장치(304)가 요청을 수락할 경우에, 제2 전자 장치(304)는 제1 전자 장치(302)에게 중단 수락 응답을 전송할 수 있다. 만약, 제2 전자 장치(304)가 요청을 수락하지 않고 연기할 경우에, UWB 레인징을 위한 세션은 활성화 상태를 유지할 수 있다.Since power consumption due to activation of a session for UWB ranging is large, when UWB ranging is not required, the session for UWB ranging may be stopped. For example, when the distance between the first electronic device 302 and the second electronic device 304 is maintained constant for a predetermined time, the session for UWB ranging may be stopped. The first electronic device 302 may request the second electronic device 304 to stop UWB ranging. When the second electronic device 304 accepts the request, the second electronic device 304 may transmit an interrupt acceptance response to the first electronic device 302 . If the second electronic device 304 postpones the request without accepting the request, the session for UWB ranging may maintain an active state.

제1 전자 장치(302)가 중단 수락 응답을 수신하면, UWB 레인징을 위한 세션은 중단될 수 있다. UWB 레인징을 위한 세션이 중단되면, 제1 전자 장치(302)와 제2 전자 장치(304)는 서로 UWB 레인징을 위한 메시지를 교환하지 않을 수 있다. 따라서, UWB 레인징을 위한 세션이 중단되는 동안에는 제2 전자 장치(304)가 UWB 레인징을 통해 제1 전자 장치(302)가 제2 전자 장치(304)에게 접근하는 정도를 감지할 수 없다. When the first electronic device 302 receives the stop accept response, the session for UWB ranging may be stopped. When the session for UWB ranging is stopped, the first electronic device 302 and the second electronic device 304 may not exchange messages for UWB ranging with each other. Accordingly, while the session for UWB ranging is stopped, the second electronic device 304 cannot detect the degree to which the first electronic device 302 approaches the second electronic device 304 through UWB ranging.

제2 전자 장치(304)는 UWB 레인징을 위한 세션이 회복되어야 한다고 결정한 경우에, 제1 전자 장치(302)에게 회복 요청을 전송할 수 있다. 예를 들어, 제1 전자 장치(302)가 이동하기 시작하여 제2 전자 장치(304)에게 접근하는 경우에, UWB 레인징을 위한 세션은 회복될 수 있다. UWB 레인징을 위한 세션이 회복되면, UWB 레인징 세션은 활성화 상태를 유지할 수 있다.When the second electronic device 304 determines that the session for UWB ranging needs to be restored, the second electronic device 304 may transmit a recovery request to the first electronic device 302 . For example, when the first electronic device 302 starts to move and approaches the second electronic device 304 , the session for UWB ranging may be restored. When the session for UWB ranging is recovered, the UWB ranging session may maintain an active state.

일 실시예에 따르면, 제1 전자 장치(302)는 UWB 레인징을 위한 세션이 중단된 이 후에, 제2 전자 장치(304)로부터 수신된 제1 광고 패킷 및 제2 광고 패킷 중 적어도 하나에 기초하여, 제2 전자 장치(304)에게 알림 메시지를 전송할 수 있다. 제2 전자 장치(304)는 알림 메시지에 기초하여, UWB 레인징을 위한 세션을 회복할지 여부를 결정할 수 있다. 제2 전자 장치(304)는 알림 메시지에 응답하여 제1 전자 장치(302)에게 UWB 레인징 회복 신호를 전송할 수 있다. 제1 전자 장치(302)는 UWB 레인징 회복 신호에 응답하여, UWB 레인징을 위한 세션을 회복할 수 있다. According to an embodiment, after the session for UWB ranging is stopped, the first electronic device 302 performs the UWB ranging based on at least one of the first advertisement packet and the second advertisement packet received from the second electronic device 304 . Thus, a notification message may be transmitted to the second electronic device 304 . The second electronic device 304 may determine whether to recover a session for UWB ranging based on the notification message. The second electronic device 304 may transmit a UWB ranging recovery signal to the first electronic device 302 in response to the notification message. The first electronic device 302 may recover a session for UWB ranging in response to the UWB ranging recovery signal.

일 실시예에 따르면, UWB 레인징을 위한 세션이 중단된 이후로, 제1 전자 장치(302)가 소정의 시간 동안 광고 패킷을 포함하여 어떠한 BLE 패킷도 제2 전자 장치(304)로부터 수신하지 못한 경우에, 제1 전자 장치(302) 및 제2 전자 장치(304)는 UWB 레인징을 위한 세션을 종료할 수 있다. According to an embodiment, after the session for UWB ranging is stopped, the first electronic device 302 does not receive any BLE packets including advertisement packets from the second electronic device 304 for a predetermined time. In this case, the first electronic device 302 and the second electronic device 304 may end the session for UWB ranging.

이하에서는, 도 9 내지 도 12를 참조하여, 일 실시예에 따른 제1 전자 장치(302) 및 제2 전자 장치(304)가 UWB 레인징 세션의 중단 또는 회복을 수행하는 구체적인 과정의 예를 설명한다.Hereinafter, an example of a specific process in which the first electronic device 302 and the second electronic device 304 perform interruption or recovery of the UWB ranging session will be described with reference to FIGS. 9 to 12 . do.

도 9는 장치와 차량 간 UWB 레인징의 중단 요청을 연기하는 과정을 도시한 도면이다.9 is a diagram illustrating a process of deferring a request to stop UWB ranging between a device and a vehicle.

도 9에 도시된 장치(902) 및 차량(904)는 각각 앞서 도 3을 참조하여 설명한 제1 전자 장치(302) 및 제2 전자 장치(304)에 대응될 수 있다. The device 902 and the vehicle 904 illustrated in FIG. 9 may correspond to the first electronic device 302 and the second electronic device 304 described above with reference to FIG. 3 , respectively.

단계 S902에서, 장치(902)는 차량(904)에게 UWB 레인징 중단 요청(Ranging_Suspend_RQ)을 전송할 수 있다. UWB 레인징 중단 요청(Ranging_Suspend_RQ)이 전송되는 시점에 장치(902)와 차량(904) 간의 UWB 레인징을 위한 세션은 활성화 상태일 수 있다. In step S902 , the device 902 may transmit a UWB ranging suspension request (Ranging_Suspend_RQ) to the vehicle 904 . When the UWB ranging stop request (Ranging_Suspend_RQ) is transmitted, the session for UWB ranging between the device 902 and the vehicle 904 may be in an active state.

단계 S904에서, 차량(904)은 UWB 레인징 중단 요청(Ranging_Suspend_RQ)에 응답하여, UWB 레인징의 중단 여부를 결정할 수 있다. 차량(904)은 UWB 레인징 중단 요청(Ranging_Suspend_RQ)에 응답하여, UWB 레인징의 중단을 연기하기로 결정할 수 있다. 예를 들어, 차량(904)은 가용한 파워에 대한 정보에 기초하여, UWB 레인징 중단여부를 결정할 수 있다. 선택적으로 차량(904)은 가용한 파워가 충분할 경우에, UWB 레인징을 중단하지 않고, UWB 레인징의 중단을 연기하기로 결정할 수 있다.In step S904 , the vehicle 904 may determine whether to stop UWB ranging in response to the UWB ranging request (Ranging_Suspend_RQ). The vehicle 904 may decide to postpone the suspension of UWB ranging in response to the UWB ranging suspension request (Ranging_Suspend_RQ). For example, the vehicle 904 may determine whether to stop UWB ranging based on information on available power. Optionally, the vehicle 904 may decide not to stop UWB ranging, but to postpone the cessation of UWB ranging when the available power is sufficient.

단계 S906에서, 차량(904)은 UWB 레인징을 중단을 연기하기로 결정한 이후에, 장치(902)에게 UWB 레인징 중단 응답(Ranging_Suspend_RS(0x01))을 전송할 수 있다. 예를 들어, UWB 레인징 중단 응답은 1비트의 정보를 사용하여, UWB 레인징의 중단 여부에 대한 정보를 나타낼 수 있다. UWB 레인징 중단 응답의 필드 값이 '1'의 값을 갖는 경우에, UWB 레인징 중단 응답은 UWB 레인징의 중단을 연기한다는 정보를 나타낼 수 있다. In step S906 , the vehicle 904 may transmit a UWB ranging suspension response (Ranging_Suspend_RS(0x01)) to the device 902 after determining to postpone the suspension of UWB ranging. For example, the UWB ranging stop response may indicate information on whether to stop UWB ranging using 1-bit information. When the field value of the UWB ranging stop response has a value of '1', the UWB ranging stop response may indicate information indicating that the UWB ranging stop response is postponed.

도 10은 장치와 차량 간 UWB 레인징의 중단 요청을 수락하는 과정을 도시한 도면이다.10 is a diagram illustrating a process of accepting a request to stop UWB ranging between a device and a vehicle.

도 10에 도시된 장치(1002) 및 차량(1004)는 각각 앞서 도 3을 참조하여 설명한 제1 전자 장치(302) 및 제2 전자 장치(304)에 대응될 수 있다. The device 1002 and the vehicle 1004 illustrated in FIG. 10 may correspond to the first electronic device 302 and the second electronic device 304 described above with reference to FIG. 3 , respectively.

단계 S1002에서, 장치(902)는 차량(904)에게 UWB 레인징 중단 요청(Ranging_Suspend_RQ)을 전송할 수 있다. UWB 레인징 중단 요청(Ranging_Suspend_RQ)이 전송되는 시점에 장치(1002)와 차량(1004) 간의 UWB 레인징을 위한 세션은 활성화 상태일 수 있다. In step S1002 , the device 902 may transmit a UWB ranging stop request (Ranging_Suspend_RQ) to the vehicle 904 . When the UWB ranging stop request (Ranging_Suspend_RQ) is transmitted, the session for UWB ranging between the device 1002 and the vehicle 1004 may be in an active state.

단계 S1004에서, 차량(1004)은 UWB 레인징 중단 요청(Ranging_Suspend_RQ)에 응답하여, UWB 레인징의 중단 여부를 결정할 수 있다. 차량(1004)은 UWB 레인징 중단 요청(Ranging_Suspend_RQ)에 응답하여, UWB 레인징을 중단하기로 결정할 수 있다. 예를 들어, 차량(1004)은 가용한 파워에 대한 정보에 기초하여, UWB 레인징 중단여부를 결정할 수 있다. 선택적으로 차량(1004)은 가용한 파워가 충분하지 않을 경우에, UWB 레인징을 중단하기로 결정할 수 있다.In step S1004 , the vehicle 1004 may determine whether to stop UWB ranging in response to the UWB ranging request (Ranging_Suspend_RQ). The vehicle 1004 may decide to suspend UWB ranging in response to the UWB ranging request (Ranging_Suspend_RQ). For example, the vehicle 1004 may determine whether to stop UWB ranging based on information on available power. Optionally, vehicle 1004 may decide to stop UWB ranging if there is insufficient power available.

단계 S1006에서, 차량(1004)은 UWB 레인징을 중단하기로 결정한 이후에, 장치(1002)에게 UWB 레인징 중단 응답(Ranging_Suspend_RS(0x00))을 전송할 수 있다. 예를 들어, UWB 레인징 중단 응답은 1비트의 정보를 사용하여, UWB 레인징의 중단 여부에 대한 정보를 나타낼 수 있다. UWB 레인징 중단 응답의 필드 값이 '0'의 값을 갖는 경우에, UWB 레인징 중단 응답은 UWB 레인징을 중단한다는 정보를 나타낼 수 있다. In step S1006 , the vehicle 1004 may transmit a UWB ranging suspension response (Ranging_Suspend_RS(0x00)) to the device 1002 after determining to suspend UWB ranging. For example, the UWB ranging stop response may indicate information on whether to stop UWB ranging using 1-bit information. When the field value of the UWB ranging stop response has a value of '0', the UWB ranging stop response may indicate information indicating that UWB ranging is stopped.

도 11은 장치와 차량 간 UWB 레인징을 회복하는 과정을 도시한 도면이다.11 is a diagram illustrating a process of recovering UWB ranging between a device and a vehicle.

도 11에 도시된 차량(1102) 및 장치(1104)는 각각 앞서 도 3을 참조하여 설명한 제2 전자 장치(304) 및 제1 전자 장치(302)에 대응될 수 있다. The vehicle 1102 and the device 1104 illustrated in FIG. 11 may correspond to the second electronic device 304 and the first electronic device 302 described above with reference to FIG. 3 , respectively.

단계 S1102에서, 차량(1102)은 UWB 레인징의 중단을 회복하기로 결정할 수 있다. 차량(1102)은 소정의 판단 기준 또는 알고리즘에 기초하여 UWB 레인징의 중단을 회복하기로 결정할 수 있다.In step S1102 , the vehicle 1102 may decide to restore the interruption of UWB ranging. The vehicle 1102 may decide to restore the cessation of UWB ranging based on a predetermined criterion or algorithm.

단계 S1104에서, 차량(1102)은 장치(1104)에게 UWB 레인징 회복 요청(Ranging_Recovery_RQ)을 전송할 수 있다. In step S1104 , the vehicle 1102 may transmit a UWB ranging recovery request (Ranging_Recovery_RQ) to the device 1104 .

단계 S1106에서, 장치(1104)는 UWB 레인징 회복 요청(Ranging_Recovery_RQ)에 응답하여, UWB 레인징을 위한 세션을 셋업하는 동안에 장치(1104)와 차량(1102) 간에 교환된 UWB 레인징을 위한 환경 설정(configuration)을 식별할 수 있다. In step S1106 , the device 1104 responds to the UWB ranging recovery request (Ranging_Recovery_RQ), and configures the environment for UWB ranging exchanged between the device 1104 and the vehicle 1102 while setting up a session for UWB ranging. (configuration) can be identified.

단계 S1108에서, 장치(1104)는 제0 Scrambled Timestamp Sequence(STS) 인덱스(STS_Index0) 및 제0 UWB 시간(UWB_Time0)를 설정할 수 있다. UWB 레인징이 수행될 때, 장치(1104) 및 차량(1102)은 STS를 사용하여 패킷을 수신한 시점을 기록할 수 있다. STS는 난수 값으로 만든 코드일 수 있으며, STS 인덱스는 STS의 생성을 위해 필요한 슬롯들의 인덱스를 나타내는 유니크한 값일 수 있다. 제0 STS 인덱스는 복수의 STS 인덱스들 중 기준이 되는 STS 인덱스일 수 있다. 또한, 레인징 블록은 UWB 레인징을 위한 시간 주기를 의미하며, 장치(1104)는 초기 레인징 블록의 시점을 제0 UWB 시간으로서 설정할 수 있다. In step S1108 , the device 1104 may set a 0th Scrambled Timestamp Sequence (STS) index (STS_Index0) and a 0th UWB time (UWB_Time0). When UWB ranging is performed, the device 1104 and the vehicle 1102 may use the STS to record when the packet was received. The STS may be a code made with a random number value, and the STS index may be a unique value indicating the index of slots required for the generation of the STS. The 0th STS index may be a reference STS index among a plurality of STS indices. In addition, the ranging block means a time period for UWB ranging, and the device 1104 may set the time of the initial ranging block as the 0th UWB time.

단계 S1110에서, 장치(1104)는 차량(1102)에게 UWB 레인징 회복 응답(Ranging_Recovery_RS)을 전송할 수 있다. UWB 레인징 회복 응답(Ranging_Recovery_RS)은 단계 S1108에서 설정된 제0 STS 인덱스(STS_Index0) 및 제0 UWB 시간(UWB_Time0)에 대한 정보를 포함할 수 있다.In step S1110 , the device 1104 may transmit a UWB ranging recovery response (Ranging_Recovery_RS) to the vehicle 1102 . The UWB ranging recovery response (Ranging_Recovery_RS) may include information on the 0th STS index (STS_Index0) and the 0th UWB time (UWB_Time0) set in step S1108.

단계 S1112에서, 차량(1102)은 UWB 레인징 회복 응답(Ranging_Recovery_RS)에 기초하여, 제0 STS 인덱스(STS_Index0) 및 제0 UWB 시간(UWB_Time0)를 설정할 수 있다. 예를 들어, 차량(1102)은 제0 STS 인덱스(STS_Index0) 및 제0 UWB 시간(UWB_Time0)를 단계 S1108에서 설정된 값으로 설정할 수 있다. 또한, 차량(1102)은 UWB 레인징을 위한 세션을 셋업하는 동안에 장치(1104)와 차량(1102) 간에 교환된 UWB 레인징을 위한 환경 설정(configuration)을 식별할 수 있다.In operation S1112 , the vehicle 1102 may set the 0th STS index (STS_Index0) and the 0th UWB time (UWB_Time0) based on the UWB ranging recovery response (Ranging_Recovery_RS). For example, the vehicle 1102 may set the 0th STS index (STS_Index0) and the 0th UWB time (UWB_Time0) to the values set in step S1108. Additionally, vehicle 1102 may identify a configuration for UWB ranging exchanged between device 1104 and vehicle 1102 while setting up a session for UWB ranging.

도 12는 제1 전자 장치와 제2 전자 장치 간 UWB 레인징을 회복하는 방법을 설명하기 위한 도면이다.12 is a diagram for describing a method of recovering UWB ranging between a first electronic device and a second electronic device.

제1 전자 장치(1202) 및 제2 전자 장치(1204)는 각각 도 3을 참조하여 설명한 제1 전자 장치(302) 및 제2 전자 장치(304)에 대응될 수 있다.The first electronic device 1202 and the second electronic device 1204 may correspond to the first electronic device 302 and the second electronic device 304 described with reference to FIG. 3 , respectively.

단계 S1202에서, 제1 전자 장치(1202) 및 제2 전자 장치(1204)는 UWB 레인징 세션을 중단할 수 있다. 제1 전자 장치(1202) 및 제2 전자 장치(1204)는 앞서 도 9 및 도 10을 참조하여 설명한 바와 같이, 제1 전자 장치(1202)의 중단 요청에 의해 UWB 레인징 세션을 중단할 수도 있지만, 제2 전자 장치(1202)의 중단 요청에 의해 UWB 레인징 세션을 중단할 수도 있다.In operation S1202 , the first electronic device 1202 and the second electronic device 1204 may stop the UWB ranging session. As described above with reference to FIGS. 9 and 10 , the first electronic device 1202 and the second electronic device 1204 may stop the UWB ranging session in response to the interruption request of the first electronic device 1202 . , the UWB ranging session may be stopped in response to a stop request from the second electronic device 1202 .

단계 S1204에서, 제2 전자 장치(1204)는 제1 전자 장치(1202)에게 광고 패킷(PACKET_ADVT)를 전송할 수 있다. 광고 패킷(PACKET_ADVT)은 제1 광고 패킷 및 제2 광고 패킷을 포함할 수 있다. 제2 전자 장치(1204)는 주기적으로 제1 광고 패킷 및 제2 광고 패킷을 제1 전자 장치(1202)에게 전송할 수 있다. 제2 전자 장치(1204)는 제1 광고 패킷의 송신 파워 및 제2 광고 패킷의 송신 파워를 별도로 저장할 수 있다. 제2 전자 장치(1204)는 BLE를 활용하여, 제1 광고 패킷 및 제2 광고 패킷을 제1 전자 장치(1202)에게 전송할 수 있다. 제1 광고 패킷 및 제2 광고 패킷은 각각 LE Coded PHY 타입 패킷 및 LE 1M PHY 타입 패킷일 수 있다.In operation S1204 , the second electronic device 1204 may transmit an advertisement packet PACKET_ADVT to the first electronic device 1202 . The advertisement packet PACKET_ADVT may include a first advertisement packet and a second advertisement packet. The second electronic device 1204 may periodically transmit the first advertisement packet and the second advertisement packet to the first electronic device 1202 . The second electronic device 1204 may separately store the transmission power of the first advertisement packet and the transmission power of the second advertisement packet. The second electronic device 1204 may transmit the first advertisement packet and the second advertisement packet to the first electronic device 1202 by using BLE. The first advertisement packet and the second advertisement packet may be LE Coded PHY type packets and LE 1M PHY type packets, respectively.

단계 S1206에서, 제1 전자 장치(1202)는 제2 전자 장치(1204)에게 알림 메시지(MESSAGE_NOTI)를 전송할 수 있다. 제1 전자 장치(1202)는 소정 시간 동안 수신된 제1 광고 패킷의 개수가 제1 임계치 이상인 경우에, 제2 전자 장치(1204)에게 제1 주기로 알림 메시지(MESSAGE_NOTI)를 전송할 수 있다. 제2 전자 장치(1202)는 소정 시간 동안 수신된 제2 광고 패킷의 개수가 제2 임계치 이상인 경우에, 제2 전자 장치(1204)에게 제1 주기보다 짧은 제2 주기로 알림 메시지(MESSAGE_NOTI)를 전송할 수 있다. In operation S1206 , the first electronic device 1202 may transmit a notification message MESSAGE_NOTI to the second electronic device 1204 . When the number of first advertisement packets received for a predetermined time is equal to or greater than the first threshold, the first electronic device 1202 may transmit a notification message MESSAGE_NOTI to the second electronic device 1204 in a first cycle. The second electronic device 1202 transmits a notification message MESSAGE_NOTI to the second electronic device 1204 at a second cycle shorter than the first cycle when the number of second advertisement packets received for a predetermined time is equal to or greater than the second threshold. can

일 실시예에 따르면, 알림 메시지(MESSAGE_NOTI)는 제1 전자 장치(1202)가 제2 전자 장치(1204)로부터 제1 범위 내에 포함되는지 여부를 나타내는 정보, 제1 전자 장치(1202)가 제2 전자 장치(1204)로부터 제2 범위 내에 포함되는지 여부를 나타내는 정보 및 알림 메시지의 송신 파워에 대한 정보 중 적어도 하나를 포함할 수 있다.According to an embodiment, the notification message MESSAGE_NOTI includes information indicating whether the first electronic device 1202 is included in the first range from the second electronic device 1204 , and the first electronic device 1202 sends the second electronic device 1202 to the second electronic device 1202 . It may include at least one of information indicating whether the device 1204 is included in the second range and information on transmission power of the notification message.

다른 일 실시예에 따르면, 알림 메시지(MESSAGE_NOTI)는 가장 최근에 수신된 광고 패킷의 수신 파워에 대한 정보, 제1 전자 장치(1202)의 움직임에 대한 정보 및 GPS 정보 중 적어도 하나를 더 포함할 수 있다.According to another embodiment, the notification message MESSAGE_NOTI may further include at least one of information on the reception power of the most recently received advertisement packet, information on the movement of the first electronic device 1202, and GPS information. have.

단계 S1208에서, 제2 전자 장치(1204)는 알림 메시지(MESSAGE_NOTI)에 포함된 정보에 기초하여 UWB 레인징의 회복을 결정할 수 있다. 일 실시예에 따르면 제2 전자 장치(1204)는, 제1 전자 장치(1202)가 제2 전자 장치(1204)로부터 제1 범위 내에 포함되는지 여부를 나타내는 정보 및 제1 전자 장치(1202)가 제2 전자 장치(1204)로부터 제2 범위 내에 포함되는지 여부를 나타내는 정보 중 적어도 하나에 기초하여 UWB 레인징의 회복을 결정할 수 있다. In operation S1208, the second electronic device 1204 may determine recovery of UWB ranging based on information included in the notification message MESSAGE_NOTI. According to an embodiment, the second electronic device 1204 provides information indicating whether the first electronic device 1202 is included in the first range from the second electronic device 1204 and the first electronic device 1202 The recovery of UWB ranging may be determined based on at least one of information indicating whether the second electronic device 1204 is within the second range.

일 실시예에 따르면, 제2 전자 장치(1204)는, 알림 메시지(MESSAGE_NOTI)의 송신 파워에 대한 정보를 더 고려하여, UWB 레인징의 회복을 결정할 수 있다. 다른 일 실시예에 따르면, 제2 전자 장치(1204)는 단계 S1204에서 저장한 광고 패킷(PACKET_ADVT)의 송신 파워에 대한 정보 및 알림 메시지(MESSAGE_NOTI)에 포함된 광고 패킷(PACKET_ADVT)의 수신 파워에 대한 정보를 더 고려하여, UWB 레인징의 회복을 결정할 수 있다. According to an embodiment, the second electronic device 1204 may determine recovery of UWB ranging by further considering information on transmission power of the notification message MESSAGE_NOTI. According to another embodiment, the second electronic device 1204 provides information on the transmission power of the advertisement packet (PACKET_ADVT) stored in step S1204 and the reception power of the advertisement packet (PACKET_ADVT) included in the notification message (MESSAGE_NOTI). By further considering the information, it is possible to determine recovery of UWB ranging.

예를 들어, 제2 전자 장치(1204)는, 제1 전자 장치(1202)가 제2 전자 장치(1204)로부터 제2 범위 내에 포함되고, 광고 패킷(PACKET_ADVT)의 송신 파워와 광고 패킷(PACKET_ADVT)의 수신 파워의 차이가 작을수록 제1 전자 장치(1202)가 제2 전자 장치(1204)로부터 가깝다고 결정할 수 있다. 제2 전자 장치(1204)는, 제1 전자 장치(1202)가 제2 전자 장치(1204)로부터 충분히 가깝다고 결정되는 경우, UWB 레인징의 회복을 결정할 수 있다.For example, in the second electronic device 1204 , when the first electronic device 1202 is included within a second range from the second electronic device 1204 , the transmission power of the advertisement packet (PACKET_ADVT) and the advertisement packet (PACKET_ADVT) It may be determined that the first electronic device 1202 is closer to the second electronic device 1204 as the difference in the reception power of . When it is determined that the first electronic device 1202 is sufficiently close to the second electronic device 1204 , the second electronic device 1204 may determine recovery of UWB ranging.

단계 S1210에서, 제2 전자 장치(1204)는 제1 전자 장치(1202)에게 회복 요청(RQ_RECOVER)을 전송할 수 있다. In operation S1210 , the second electronic device 1204 may transmit a recovery request RQ_RECOVER to the first electronic device 1202 .

단계 S1212에서, 제1 전자 장치(1202) 및 제2 전자 장치(1204)는 앞서 도 11을 참조하여 설명한 바와 같이 UWB 레인징을 회복할 수 있다.In operation S1212 , the first electronic device 1202 and the second electronic device 1204 may recover UWB ranging as described above with reference to FIG. 11 .

도 13은 일 실시예에 따른 UWB 레인징 시스템의 블록도이다.13 is a block diagram of a UWB ranging system according to an embodiment.

UWB 레인징 시스템(1300)은 전자 장치(1302) 및 차량(1310)을 포함할 수 있다. 전자 장치(1302) 및 차량(1310)은 각각 도 3을 참조하여 설명한 제1 전자 장치(302) 및 제2 전자 장치(304)에 대응될 수 있다. 도 13에는, 전자 장치(1302)가 차량(1310)과 통신하는 것으로 도시되었으나, 본 개시는 이에 제한되지 않으며, 전자 장치(1302)는 다양한 다른 전자 장치들과 통신할 수 있다.The UWB ranging system 1300 may include an electronic device 1302 and a vehicle 1310 . The electronic device 1302 and the vehicle 1310 may correspond to the first electronic device 302 and the second electronic device 304 described with reference to FIG. 3 , respectively. In FIG. 13 , the electronic device 1302 is illustrated to communicate with the vehicle 1310 , but the present disclosure is not limited thereto, and the electronic device 1302 may communicate with various other electronic devices.

전자 장치(1302)는 프로세서(1304), 통신부(1306) 및 메모리(1308)을 포함할 수 있다. 그러나, 도 13에 도시된 구성 요소보다 많거나 적은 구성 요소에 의해 전자 장치(1302)가 구현될 수 있다.The electronic device 1302 may include a processor 1304 , a communication unit 1306 , and a memory 1308 . However, the electronic device 1302 may be implemented with more or fewer components than those shown in FIG. 13 .

도 13에서는 전자 장치(1300)가 하나의 프로세서를 포함하는 것으로 도시되었으나, 실시 예는 이에 제한되지 않으며, 전자 장치(1300)는 복수의 프로세서들을 포함할 수 있다. 이하, 서술되는 프로세서(1304)의 동작 및 기능들의 적어도 일부는 복수의 프로세서들에 의해 수행될 수 있다. 도 13에 도시된 전자 장치(1300)는, 본 개시의 다양한 실시 예들에 따른 동작 방법을 수행할 수 있으며, 도 1 내지 도 12에 대한 설명들이 적용될 수 있다. Although the electronic device 1300 is illustrated as including one processor in FIG. 13 , the embodiment is not limited thereto, and the electronic device 1300 may include a plurality of processors. At least some of the operations and functions of the processor 1304 described below may be performed by a plurality of processors. The electronic device 1300 illustrated in FIG. 13 may perform an operation method according to various embodiments of the present disclosure, and the descriptions of FIGS. 1 to 12 may be applied.

본 개시의 일 실시 예에 따른 통신부(1306)는, 다른 디바이스 또는 네트워크와 유무선 통신을 수행할 수 있다. 이를 위해, 통신부(1306)는 다양한 유무선 통신 방법 중 적어도 하나를 지원하는 통신 모듈을 포함할 수 있다. 예를 들어, 통신 모듈은 칩셋(chipset)의 형태일 수도 있고, 또는 통신에 필요한 정보를 포함하는 스티커/바코드(e.g. NFC tag를 포함하는 스티커)등일 수도 있다.The communication unit 1306 according to an embodiment of the present disclosure may perform wired/wireless communication with other devices or networks. To this end, the communication unit 1306 may include a communication module supporting at least one of various wired and wireless communication methods. For example, the communication module may be in the form of a chipset, or may be a sticker/barcode (eg, a sticker including an NFC tag) including information necessary for communication.

무선 통신은, 예를 들어, 셀룰러 통신, Wi-Fi(Wireless Fidelity), Wi-Fi Direct, 블루투스(Bluetooth), UWB(Ultra Wide Band) 또는 NFC(Near Field Communication) 중 적어도 하나를 포함할 수 있다. 유선 통신은, 예를 들어, USB 또는 HDMI(High Definition Multimedia Interface) 중 적어도 하나를 포함할 수 있다.Wireless communication may include, for example, at least one of cellular communication, Wireless Fidelity (Wi-Fi), Wi-Fi Direct, Bluetooth, Ultra Wide Band (UWB), or Near Field Communication (NFC). . Wired communication may include, for example, at least one of USB and High Definition Multimedia Interface (HDMI).

일 실시 예에서 통신부(1306)는 근거리 통신(short range communication)을 위한 통신 모듈을 포함할 수 있다. 예를 들어, 통신부(1306)는 위에서 설명한 UWB, Wi-Fi, Wi-Fi Direct, 블루투스, NFC 외에 적외선 통신, MST(Magnetic Secure Transmission, 마그네틱 보안 통신과 같은 다양한 근거리 통신을 수행하기 위한 통신 모듈을 포함할 수 있다.In an embodiment, the communication unit 1306 may include a communication module for short range communication. For example, the communication unit 1306 is a communication module for performing various short-distance communication such as infrared communication, MST (Magnetic Secure Transmission, magnetic secure communication) in addition to UWB, Wi-Fi, Wi-Fi Direct, Bluetooth, and NFC described above. may include

본 개시의 일 실시 예에 따른 통신부(1306)는 제1 통신 방식 또는 제2 통신 방식을 이용하여, 차량(1310)과 통신할 수 있다. 예를 들어, 제2 통신 방식은 UWB 통신 방식이고, 제1 통신 방식은 제2 통신 방식과 상이한 통신 방식일 수 있다. 예를 들어, 제1 통신 방식은 블루투스 통신 방식일 수 있으나, 이에 제한되지 않는다. The communication unit 1306 according to an embodiment of the present disclosure may communicate with the vehicle 1310 using the first communication method or the second communication method. For example, the second communication method may be a UWB communication method, and the first communication method may be a communication method different from the second communication method. For example, the first communication method may be a Bluetooth communication method, but is not limited thereto.

본 개시의 일 실시 예에 따른 프로세서(1304)는, 메모리(1308)에 저장된 프로그램을 실행함으로써 전자 장치(1302)의 전체적인 동작을 제어하며, CPU, GPU 등과 같은 프로세서를 적어도 하나 이상 포함할 수 있다. 프로세서(1304)는 UWB 레인징을 수행하기 위하여 전자 장치(1302)에 포함된 다른 구성들을 제어할 수 있다. The processor 1304 according to an embodiment of the present disclosure controls the overall operation of the electronic device 1302 by executing a program stored in the memory 1308, and may include at least one processor such as a CPU or GPU. . The processor 1304 may control other components included in the electronic device 1302 to perform UWB ranging.

차량(1310)은 광고 패킷(PACKET_ADVT)를 전송할 수 있다. 광고 패킷(PACKET_ADVT)은 제1 광고 패킷 및 제2 광고 패킷을 포함할 수 있다. 차량(1310)은 주기적으로 제1 광고 패킷 및 제2 광고 패킷을 브로드캐스팅하고, 통신부(1306)는 제1 광고 패킷 및 제2 광고 패킷 중 적어도 하나를 수신할 수 있다. 차량(1310)은 제1 광고 패킷의 송신 파워 및 제2 광고 패킷의 송신 파워를 별도로 저장할 수 있다. 차량(1310)은 BLE를 활용하여, 제1 광고 패킷 및 제2 광고 패킷을 전송할 수 있다. 제1 광고 패킷 및 제2 광고 패킷은 각각 LE Coded PHY 타입 패킷 및 LE 1M PHY 타입 패킷일 수 있다.The vehicle 1310 may transmit an advertisement packet (PACKET_ADVT). The advertisement packet PACKET_ADVT may include a first advertisement packet and a second advertisement packet. The vehicle 1310 may periodically broadcast the first advertisement packet and the second advertisement packet, and the communication unit 1306 may receive at least one of the first advertisement packet and the second advertisement packet. The vehicle 1310 may separately store the transmission power of the first advertisement packet and the transmission power of the second advertisement packet. The vehicle 1310 may transmit the first advertisement packet and the second advertisement packet by using BLE. The first advertisement packet and the second advertisement packet may be LE Coded PHY type packets and LE 1M PHY type packets, respectively.

프로세서(1304)는 수신된 제1 광고 패킷 및 제2 광고 패킷에 기초하여, 알림 메시지(MESSAGE_NOTI)를 생성할 수 있다. 일 실시예에 따르면, 알림 메시지(MESSAGE_NOTI)는 전자 장치(1302)가 차량(1310)으로부터 제1 범위 내에 포함되는지 여부를 나타내는 정보, 전자 장치(1302)가 차량(1310)으로부터 제2 범위 내에 포함되는지 여부를 나타내는 정보 및 알림 메시지의 송신 파워에 대한 정보 중 적어도 하나를 포함할 수 있다.The processor 1304 may generate a notification message MESSAGE_NOTI based on the received first advertisement packet and the second advertisement packet. According to an embodiment, the notification message MESSAGE_NOTI includes information indicating whether the electronic device 1302 is included in a first range from the vehicle 1310 , and the electronic device 1302 is included in a second range from the vehicle 1310 . It may include at least one of information indicating whether or not and information on transmission power of a notification message.

다른 일 실시예에 따르면, 알림 메시지(MESSAGE_NOTI)는 가장 최근에 수신된 광고 패킷의 수신 파워에 대한 정보, 차량의 움직임에 대한 정보 및 GPS 정보 중 적어도 하나를 더 포함할 수 있다.According to another embodiment, the notification message MESSAGE_NOTI may further include at least one of information on reception power of the most recently received advertisement packet, information on vehicle movement, and GPS information.

통신부(1306)는 차량(1310)에게 알림 메시지(MESSAGE_NOTI)를 전송할 수 있다. 통신부(1306)는 소정 시간 동안 수신된 제1 광고 패킷의 개수가 제1 임계치 이상인 경우에, 차량(1310)에게 제1 주기로 알림 메시지(MESSAGE_NOTI)를 전송할 수 있다. 통신부(1306)는 소정 시간 동안 수신된 제2 광고 패킷의 개수가 제2 임계치 이상인 경우에, 차량(1310)에게 제1 주기보다 짧은 제2 주기로 알림 메시지(MESSAGE_NOTI)를 전송할 수 있다. The communication unit 1306 may transmit a notification message MESSAGE_NOTI to the vehicle 1310 . When the number of first advertisement packets received for a predetermined time is equal to or greater than the first threshold, the communication unit 1306 may transmit a notification message MESSAGE_NOTI to the vehicle 1310 in a first cycle. When the number of second advertisement packets received for a predetermined time is equal to or greater than the second threshold, the communication unit 1306 may transmit the notification message MESSAGE_NOTI to the vehicle 1310 in a second period shorter than the first period.

차량(1310)은 UWB 레인징의 회복을 결정할 수 있다. 일 실시예에 따르면, 차량(1310)은 알림 메시지(MESSAGE_NOTI)의 송신 파워에 대한 정보에 기초하여, UWB 레인징의 회복을 결정할 수 있다. 다른 일 실시예에 따르면, 차량(1310)은 저장된 광고 패킷(PACKET_ADVT)의 송신 파워에 대한 정보 및 알림 메시지(MESSAGE_NOTI)에 포함된 광고 패킷(PACKET_ADVT)의 수신 파워에 대한 정보에 기초하여, UWB 레인징의 회복을 결정할 수 있다. 예를 들어, 차량(1310)은 패킷(PACKET_ADVT)의 송신 파워와 광고 패킷(PACKET_ADVT)의 수신 파워의 차이가 작을수록 전자 장치(1302)가 차량으로부터 가깝다고 결정할 수 있다. The vehicle 1310 may determine recovery of UWB ranging. According to an embodiment, the vehicle 1310 may determine recovery of UWB ranging based on information about the transmission power of the notification message MESSAGE_NOTI. According to another embodiment, the vehicle 1310 transmits information on the transmission power of the stored advertisement packet (PACKET_ADVT) and the information on the reception power of the advertisement packet (PACKET_ADVT) included in the notification message (MESSAGE_NOTI), the UWB lane You can decide on the recovery of Jing. For example, the vehicle 1310 may determine that the electronic device 1302 is closer to the vehicle as the difference between the transmission power of the packet PACKET_ADVT and the reception power of the advertisement packet PACKET_ADVT is smaller.

차량(1310)은 전자 장치(1302)에게 회복 요청(RQ_RECOVER)을 전송할 수 있으며, 프로세서(1304) 및 차량(1310)은 UWB 레인징을 회복할 수 있다.The vehicle 1310 may transmit a recovery request RQ_RECOVER to the electronic device 1302 , and the processor 1304 and the vehicle 1310 may recover UWB ranging.

도 14는 장치와 차량 간 UWB 레인징을 회복하는 방법을 설명하기 위한 도면이다.14 is a diagram for explaining a method of recovering UWB ranging between a device and a vehicle.

장치(1402) 및 차량(1404)는 각각 앞서 도 3을 참조하여 설명한 제1 전자 장치(302) 및 제2 전자 장치(304)에 대응될 수 있다.The device 1402 and the vehicle 1404 may correspond to the first electronic device 302 and the second electronic device 304 described above with reference to FIG. 3 , respectively.

단계 S1402에서, 장치(1402)는 차량에게(1404) 이벤트 알림 메시지를 전송할 수 있다. 일 실시예에 따르면, 이벤트 알림 메시지의 서브-이벤트 카테고리는 디바이스 BLE 레인지 상태 서브-이벤트 (Device BLE Range Status SubEvent)를 포함할 수 있다.In step S1402 , the device 1402 may transmit an event notification message to the vehicle 1404 ( 1404 ). According to an embodiment, the sub-event category of the event notification message may include a device BLE range status sub-event (Device BLE Range Status SubEvent).

이하에서는, 본 개시의 다양한 실시예들에 따라 장치들 간에 교환될 수 있는 이벤트 알림 메시지에 대해서 구체적으로 설명한다. Hereinafter, an event notification message that can be exchanged between devices according to various embodiments of the present disclosure will be described in detail.

[표 1][Table 1]

Figure pat00001
Figure pat00001

표 1은 이벤트 알림 메시지(DCK Event Notification) 및 이벤트 알림 메시지(DCK Event Notification)의 파라미터를 나타낸다.Table 1 shows parameters of an event notification message (DCK Event Notification) and an event notification message (DCK Event Notification).

이벤트 알림 메시지(DCK Event Notification)의 파라미터는 서브-이벤트의 카테고리(Subevent_Category) 및 서브-이벤트의 코드(Subevent_Code)를 포함할 수 있다. 이벤트 알림 메시지(DCK Event Notification)에 고유의 ID가 부여될 수 있다. 예를 들어, 이벤트 알림 메시지(DCK Event Notification)의 ID는 '17'의 값을 가질 수 있다. 이벤트 알림 메시지(DCK Event Notification)는 레인징 교환에 참여한 앤드포인트들(endpoints)에 의해 생성된 이벤트들을 요약하기 위해 사용될 수 있다. 예를 들어, 앤드포인트는 애플릿(applet) 내의 디지털 키 객체를 지칭할 수 있다. A parameter of the event notification message (DCK Event Notification) may include a sub-event category (Subevent_Category) and a sub-event code (Subevent_Code). A unique ID may be assigned to an event notification message (DCK Event Notification). For example, the ID of the event notification message (DCK Event Notification) may have a value of '17'. The event notification message (DCK Event Notification) may be used to summarize events generated by endpoints participating in the ranging exchange. For example, an endpoint may refer to a digital key object within an applet.

[표 2][Table 2]

Figure pat00002
Figure pat00002

표 2는 이벤트 알림 메시지(DCK Event Notification)에 대한 파라미터의 정의를 나타낸다.Table 2 shows the definition of parameters for the event notification message (DCK Event Notification).

일 실시예에 따르면, 이벤트 알림 메시지(DCK Event Notification)의 파라미터는 서브-이벤트의 카테고리(Subevent_Category), 서브-이벤트에 대한 코드의 길이(SubEvent_Code_length) 및 서브-이벤트의 코드(Subevent_Code)를 포함할 수 있다.According to an embodiment, the parameters of the event notification message (DCK Event Notification) may include a sub-event category (Subevent_Category), a code length for a sub-event (SubEvent_Code_length), and a sub-event code (Subevent_Code). have.

서브-이벤트의 카테고리(Subevent_Category)는 1 옥텟(octet)의 크기를 갖고, 1 옥텟은 8 비트를 나타낼 수 있다. 서브-이벤트의 카테고리(Subevent_Category)에 대해서는 표 3을 참조하여 후술한다.A sub-event category (Subevent_Category) has a size of 1 octet, and 1 octet may represent 8 bits. A sub-event category (Subevent_Category) will be described later with reference to Table 3.

서브-이벤트에 대한 코드의 길이(SubEvent_Code_length)는 1 옥텟(octet)의 크기를 가질 수 있다. 서브-이벤트에 대한 코드의 길이(SubEvent_Code_length)는 서브-이벤트의 코드(Subevent_Code)의 길이를 나타낼 수 있다.The length of the code for the sub-event (SubEvent_Code_length) may have a size of 1 octet. The length of the code for the sub-event (SubEvent_Code_length) may indicate the length of the code (Subevent_Code) of the sub-event.

서브-이벤트의 코드(Subevent_Code)의 사이즈는 가변적일 수 있다. 서브-이벤트의 코드(Subevent_Code)는 후술하는 바와 같이, 카테고리 별로 정의될 수 있다.The size of the code (Subevent_Code) of the sub-event may be variable. The sub-event code (Subevent_Code) may be defined for each category, as will be described later.

[표 3][Table 3]

Figure pat00003
Figure pat00003

표 3은 서브-이벤트의 카테고리(DCK Subevent_Category) 및 서브-이벤트들의 카테고리들(DCK Subevent_Category)의 파라미터들을 나타낸다.Table 3 shows parameters of a category of a sub-event (DCK Subevent_Category) and categories of sub-events (DCK Subevent_Category).

서브-이벤트의 카테고리(DCK Subevent_Category)는 제1 서브-이벤트(Command Complete SubEvent) 내지 제7 서브-이벤트(Device BLE Range Status SubEvent)를 포함할 수 있다. The sub-event category (DCK Subevent_Category) may include a first sub-event (Command Complete SubEvent) to a seventh sub-event (Device BLE Range Status SubEvent).

제1 서브-이벤트(Command Complete SubEvent)에 대한 서브-이벤트의 카테고리(DCK Subevent_Category)는 '1'의 값을 가질 수 있다. 제1 서브-이벤트(Command Complete SubEvent)의 파라미터는 커맨드의 상태(Command_Status)를 포함할 수 있다. 제1 서브-이벤트(Command Complete SubEvent)는 마지막 메시지가 처리되자마자 알맞은 코드를 전송하는데 사용될 수 있다.The category (DCK Subevent_Category) of the sub-event for the first sub-event (Command Complete SubEvent) may have a value of '1'. A parameter of the first sub-event (Command Complete SubEvent) may include a command status (Command_Status). The first sub-event (Command Complete SubEvent) can be used to send the appropriate code as soon as the last message is processed.

제2 서브-이벤트(Ranging Session Status Changed SubEvent)에 대한 서브-이벤트의 카테고리(DCK Subevent_Category)는 '2'의 값을 가질 수 있다. 제2 서브-이벤트(Ranging Session Status Changed SubEvent)의 파라미터는 세션의 상태(Session_Status)를 포함할 수 있다. 제2 서브-이벤트(Ranging Session Status Changed SubEvent)는 UWB 관련 행동의 시작, 진전(progress) 및 완료를 나타낼 수 있다. 제2 서브-이벤트(Ranging Session Status Changed SubEvent)는 장치(1402) 및 차량(1404) 모두에 의해 생성될 수 있다.The category (DCK Subevent_Category) of the sub-event for the second sub-event (Ranging Session Status Changed SubEvent) may have a value of '2'. A parameter of the second sub-event (Ranging Session Status Changed SubEvent) may include a session status (Session_Status). A second sub-event (Ranging Session Status Changed SubEvent) may indicate the start, progress, and completion of a UWB-related action. A second sub-event (Ranging Session Status Changed SubEvent) may be generated by both the device 1402 and the vehicle 1404 .

제3 서브-이벤트(Device Status Changed SubEvent)에 대한 서브-이벤트의 카테고리(DCK Subevent_Category)는 '3'의 값을 가질 수 있다. 제3 서브-이벤트(Device Status Changed SubEvent)의 파라미터는 장치의 상태(Device_Status)를 포함할 수 있다. 제3 서브-이벤트(Device Status Changed SubEvent)는 장치(1402)의 상태에 대한 변화에 응답하여 생성될 수 있다. 장치의 상태(Device_Status)는 개시자의 새로운 지위(status)를 나타낼 수 있다.A category (DCK Subevent_Category) of a sub-event for the third sub-event (Device Status Changed SubEvent) may have a value of '3'. A parameter of the third sub-event (Device Status Changed SubEvent) may include a device status (Device_Status). A third sub-event (Device Status Changed SubEvent) may be generated in response to a change to the status of the device 1402 . The device status (Device_Status) may indicate a new status of the initiator.

제4 서브-이벤트(Vehicle Status Change SubEvent)에 대한 서브-이벤트의 카테고리(DCK Subevent_Category)는 '4'의 값을 가질 수 있다. 제4 서브-이벤트(Vehicle Status Change SubEvent)의 파라미터는 차량의 상태(Vehicle_Status)를 포함할 수 있다. 제4 서브-이벤트(Vehicle Status Change SubEvent)는 차량(1404)이 차량 상태 변화의 적격한 장치들을 알리기 위한 상태를 변경하면 생성될 수 있다. 차량의 상태(Vehicle_Status)는 차량(1404)의 새로운 지위를 나타내며, 표 11을 참조하여 후술하는 바와 같이, 차량의 상태(Vehicle_Status)는 Tag Length Value(TLV)로서 인코딩될 수 있다.The category (DCK Subevent_Category) of the sub-event for the fourth sub-event (Vehicle Status Change SubEvent) may have a value of '4'. A parameter of the fourth sub-event (Vehicle Status Change SubEvent) may include a vehicle status (Vehicle_Status). A fourth sub-event (Vehicle Status Change SubEvent) may be generated when the vehicle 1404 changes status to notify eligible devices of a vehicle status change. The vehicle status (Vehicle_Status) indicates a new status of the vehicle 1404 , and as will be described later with reference to Table 11, the vehicle status (Vehicle_Status) may be encoded as a Tag Length Value (TLV).

제5 서브-이벤트(RKE Request Subevent)에 대한 서브-이벤트의 카테고리(DCK Subevent_Category)는 '5'의 값을 가질 수 있다. 제5 서브-이벤트(RKE Request Subevent)의 파라미터는 요청된 행동(Requested_Action)을 포함할 수 있다. 제5 서브-이벤트(RKE Request Subevent)는 표 13에 정의된 제1 요청 행동(Requested_action_lock) 내지 제3 요청 행동(Requested_action_alarm) 중 어느 하나를 수행할 것에 대한 사용자의 요청에 응답하여 생성될 수 있다. 요청된 행동(Requested_Action)은 개시자에 의해 요청된 제1 요청 행동(Requested_action_lock) 내지 제3 요청 행동(Requested_action_alarm)를 나타낼 수 있다.The category (DCK Subevent_Category) of the sub-event for the fifth sub-event (RKE Request Subevent) may have a value of '5'. A parameter of the fifth sub-event (RKE Request Subevent) may include a requested action (Requested_Action). The fifth sub-event (RKE Request Subevent) may be generated in response to a user's request for performing any one of the first requested action (Requested_action_lock) to the third requested action (Requested_action_alarm) defined in Table 13. The requested action (Requested_Action) may indicate a first requested action (Requested_action_lock) to a third requested action (Requested_action_alarm) requested by the initiator.

제6 서브-이벤트(Control Flow SubEvent)에 대한 서브-이벤트의 카테고리(DCK Subevent_Category)는 '6'의 값을 가질 수 있다. 제6 서브-이벤트(Control Flow SubEvent)의 파라미터는 트렌젝션 상태(Transaction Status)를 포함할 수 있다. 제6 서브-이벤트(Control Flow SubEvent)는 트렌젝션의 최종 성공 또는 실패를 나타내거나 장치(1402)에게 특수 용도의(application-specific) 코드들을 전송하기 위해 생성될 수 있다. The category (DCK Subevent_Category) of the sub-event for the sixth sub-event (Control Flow SubEvent) may have a value of '6'. A parameter of the sixth sub-event (Control Flow SubEvent) may include a transaction status. A sixth sub-event (Control Flow SubEvent) may be generated to indicate the final success or failure of a transaction or to send application-specific codes to the device 1402 .

제7 서브-이벤트(Device BLE Range Status SubEvent)에 대한 서브-이벤트의 카테고리(DCK Subevent_Category)는 '7'의 값을 가질 수 있다. 제7 서브-이벤트(Device BLE Range Status SubEvent)의 파라미터는 장치의 BLE 레인지 상태(DBR_Status)를 포함할 수 있다. 제7 서브-이벤트(Device BLE Range Status SubEvent)는 장치(1402)가 차량(1404)으로부터 LE 1M PHY 통신 레인지 내에 포함되는지 여부를 나타내기 위해 생성될 수 있다.The category (DCK Subevent_Category) of the sub-event for the seventh sub-event (Device BLE Range Status SubEvent) may have a value of '7'. The parameter of the seventh sub-event (Device BLE Range Status SubEvent) may include the BLE range status (DBR_Status) of the device. A seventh sub-event (Device BLE Range Status SubEvent) may be generated to indicate whether the device 1402 is included within the LE 1M PHY communication range from the vehicle 1404 .

[표 4][Table 4]

Figure pat00004
Figure pat00004

표 4는 커맨드의 상태(Command_Status)에 대한 정의를 나타낸다.Table 4 shows the definition of the command status (Command_Status).

커맨드의 상태(Command_Status)는 1 옥텟의 크기를 가질 수 있다. 커맨드의 상태(Command_Status)에 대한 코드들에 대해서는 표 5를 참조하여 후술한다.The command status (Command_Status) may have a size of 1 octet. Codes for the command status (Command_Status) will be described later with reference to Table 5.

[표 5][Table 5]

Figure pat00005
Figure pat00005

표 5는 제1 서브-이벤트(Command Complete SubEvent)에 대한 커맨드의 상태(Command_Status)를 나타내는 리스트이다.Table 5 is a list indicating the command status (Command_Status) for the first sub-event (Command Complete SubEvent).

커맨드의 상태(Command_Status)는 제1 커맨드 상태(Deselect_SE) 내지 제6 커맨드 상태(Deselect_SE)를 포함할 수 있다.The command status Command_Status may include a first command status Deselect_SE to a sixth command status Deselect_SE.

제1 커맨드 상태(Deselect_SE)는 '0x00'의 코드 값을 가질 수 있다. 차량(1404)은 장치(1402)에게 선택 해제 커맨드들(DESELECT commands) 대신에 제1 커맨드 상태(Deselect_SE)를 갖는 서브-이벤트를 전송할 수 있다.The first command state Deselect_SE may have a code value of '0x00'. Vehicle 1404 may send a sub-event with a first command state (Deselect_SE) to device 1402 instead of DESELECT commands.

제2 커맨드 상태(Device_SE_busy)는 '0x01'의 코드 값을 가질 수 있다. 제2 커맨드 상태(Device_SE_busy)는 장치(1402)가 현재 비지 상태이므로, 소정의 시간 이내에 다시 시도할 것을 나타낼 수 있다. 선택적으로, 소정의 시간은 밀리 세컨드(ms) 단위를 가질 수 있다.The second command state Device_SE_busy may have a code value of '0x01'. The second command state (Device_SE_busy) may indicate that the device 1402 is currently in a busy state, so that it will try again within a predetermined time. Optionally, the predetermined time may have units of milliseconds (ms).

제3 커맨드 상태(Device_timeout)는 '0x02'의 코드 값을 가질 수 있다. 제3 커맨드 상태(Device_timeout)는 장치(1402)가 시간 초과로 인해, 차량(1404)에게 시간 초과된 메시지를 다시 전송해줄 것에 대한 요청을 나타낸다.The third command state Device_timeout may have a code value of '0x02'. A third command state (Device_timeout) indicates a request for the device 1402 to resend the timed out message to the vehicle 1404 due to a timeout.

제4 커맨드 상태(Restart_standard_transaction)는 '0x03'의 코드 값을 가질 수 있다. 제4 커맨드 상태(Restart_standard_transaction)는 표준 트렌젝션이 시간 초과 되었으므로, Application Protocol Data Unit(APDU) 커맨드로부터 표준 트렌젝션을 다시 시작할 것을 나타낼 수 있다. The fourth command state (Restart_standard_transaction) may have a code value of '0x03'. The fourth command state (Restart_standard_transaction) may indicate that the standard transaction is restarted from the Application Protocol Data Unit (APDU) command because the standard transaction has timed out.

제5 커맨드 상태(Require_capability_exchange)는 '0x04'의 코드 값을 가질 수 있다. 제5 커맨드 상태(Require_capability_exchange)는 프로토콜 이나 UWB 환경 설정이 잘못 매칭된 경우에, 능력 교환(capability exchange)를 시작할 것을 나타낼 수 있다.The fifth command state Require_capability_exchange may have a code value of '0x04'. The fifth command state (Require_capability_exchange) may indicate to start capability exchange when a protocol or UWB environment setting is mismatched.

제6 커맨드 상태(BLE_pairing_ready)는 '0x05'의 코드 값을 가질 수 있다. 차량(1404)은 제1 접근 플로우가 수행되는 동안 BLE 페어링을 위한 준비가 완료되면 제6 커맨드 상태(BLE_pairing_ready)를 갖는 서브-이벤트를 장치(1402)에게 전송할 수 있다. The sixth command state BLE_pairing_ready may have a code value of '0x05'. The vehicle 1404 may transmit a sub-event having a sixth command state (BLE_pairing_ready) to the device 1402 when preparation for BLE pairing is completed while the first access flow is performed.

[표 6][Table 6]

Figure pat00006
Figure pat00006

표 6은 세션의 상태(Session_Status)에 대한 정의를 나타낸다. Table 6 shows the definition of the session status (Session_Status).

세션의 상태(Session_Status)는 1 옥텟의 사이즈를 가질 수 있다. 세션의 상태(Session_Status)에 대한 코드들에 대해서는 표 7을 참조하여 후술한다.The session status (Session_Status) may have a size of 1 octet. Codes for the session status (Session_Status) will be described later with reference to Table 7.

[표 7][Table 7]

Figure pat00007
Figure pat00007

표 7는 제2 서브-이벤트(Ranging Session Status Changed SubEvent)에 대한 세션의 상태(Session_Status)를 나타내는 리스트이다.Table 7 is a list indicating the status (Session_Status) of the session for the second sub-event (Ranging Session Status Changed SubEvent).

세션의 상태(Session_Status)는 제1 세션 상태(Ranging_session_URSK_refresh_subevent) 내지 제8 세션 상태(Ranging_session_vehicle_state_request_subevent)를 포함할 수 있다.The session state (Session_Status) may include a first session state (Ranging_session_URSK_refresh_subevent) to an eighth session state (Ranging_session_vehicle_state_request_subevent).

제1 세션 상태(Ranging_session_URSK_refresh_subevent)는 '0x00'의 코드 값을 가질 수 있다. 개시자(initiator)는 미리 얻어진 URSK라는 정보를 제거(clean-up)할 수 있다. The first session state (Ranging_session_URSK_refresh_subevent) may have a code value of '0x00'. The initiator can clean-up the previously obtained URSK information.

제2 세션 상태(Ranging_session_URSK_not_found_subevent)는 '0x01'의 코드 값을 가질 수 있다. 제2 세션 상태(Ranging_session_URSK_not_found_subevent)는 장치(1402)가 UWB 세션의 아이디(UWB_Session_Id)를 위한 URSK라는 정보를 찾지 못한 경우를 나타낼 수 있다.The second session state (Ranging_session_URSK_not_found_subevent) may have a code value of '0x01'. The second session state (Ranging_session_URSK_not_found_subevent) may indicate a case in which the device 1402 does not find information URSK for the ID (UWB_Session_Id) of the UWB session.

제3 세션 상태(Ranging_session_SR_established_subevent)는 '0x02'의 코드 값을 가질 수 있다. 제3 세션 상태(Ranging_session_SR_established_subevent)는 차량(1404)이 보안 레인징을 성공적으로 설정(establish)한 경우를 나타낼 수 있다. The third session state (Ranging_session_SR_established_subevent) may have a code value of '0x02'. The third session state (Ranging_session_SR_established_subevent) may indicate a case in which the vehicle 1404 successfully establishes security ranging.

제4 세션 상태(Ranging_session_SR_failed_subevent)는 '0x03'의 코드 값을 가질 수 있다. 제4 세션 상태(Ranging_session_SR_failed_subevent)는 차량(1404)이 보안 레인징(SR)의 설정(establish)을 실패한 경우를 나타낼 수 있다.The fourth session state (Ranging_session_SR_failed_subevent) may have a code value of '0x03'. The fourth session state (Ranging_session_SR_failed_subevent) may indicate a case in which the vehicle 1404 fails to establish a security ranging (SR).

제5 세션 상태(Ranging_session_timed_out_subevent)는 '0x04'의 코드 값을 가질 수 있다. 제5 세션 상태(Ranging_session_timed_out_subevent)는 시간 초과로 인해 개시자가 레인징을 정지시킨(stop) 경우를 나타낼 수 있다. The fifth session state (Ranging_session_timed_out_subevent) may have a code value of '0x04'. The fifth session state (Ranging_session_timed_out_subevent) may indicate a case in which the initiator stops ranging due to timeout.

제6 세션 상태(Ranging_session_device_detected_inside_subevent)는 '0x05'의 코드 값을 가질 수 있다. 제6 세션 상태(Ranging_session_device_detected_inside_subevent)는 장치(1402)가 내부에서 검출된 경우를 나타낼 수 있다.The sixth session state (Ranging_session_device_detected_inside_subevent) may have a code value of '0x05'. The sixth session state (Ranging_session_device_detected_inside_subevent) may indicate a case in which the device 1402 is detected inside.

제7 세션 상태(Ranging_session_recovery_failed_subevent)는 '0x06'의 코드 값을 가질 수 있다. 제7 세션 상태(Ranging_session_recovery_failed_subevent)는 UWB 세션의 아이디(UWB_Session_Id)에 대한 레인징의 회복을 실패한 경우를 나타낼 수 있다. The seventh session state (Ranging_session_recovery_failed_subevent) may have a code value of '0x06'. The seventh session state (Ranging_session_recovery_failed_subevent) may indicate a case in which the recovery of ranging for the ID (UWB_Session_Id) of the UWB session has failed.

제8 세션 상태(Ranging_session_vehicle_state_request_subevent)는 '0x07'의 코드 값을 가질 수 있다. 제8 세션 상태(Ranging_session_vehicle_state_request_subevent)는 장치(1402)가 차량(1404)의 현재 상태에 대해 요청하는 경우를 나타낼 수 있다.The eighth session state (Ranging_session_vehicle_state_request_subevent) may have a code value of '0x07'. The eighth session state (Ranging_session_vehicle_state_request_subevent) may indicate a case where the device 1402 makes a request for a current state of the vehicle 1404 .

[표 8][Table 8]

Figure pat00008
Figure pat00008

표 8은 장치의 상태(Device_Status)에 대한 정의를 나타낸다. Table 8 shows the definition of the device status (Device_Status).

장치의 상태(Device_Satatus)는 1 옥텟의 사이즈를 가질 수 있다. 장치의 상태(Device_Satatus)에 대한 코드들에 대해서는 표 9을 참조하여 후술한다.The device status (Device_Status) may have a size of 1 octet. Codes for the device status (Device_Status) will be described later with reference to Table 9.

[표 9][Table 9]

Figure pat00009
Figure pat00009

표 9는 제3 서브-이벤트(Device Status Changed SubEvent)에 대한 장치의 상태(Device_Status)를 나타내는 리스트이다.Table 9 is a list indicating the device status (Device_Status) for the third sub-event (Device Status Changed SubEvent).

장치의 상태(Device_Status)는 제1 장치 상태(Device_authenticated) 및 제2 장치 상태(Device_authentication_failed)를 포함할 수 있다.The device status (Device_Status) may include a first device status (Device_authenticated) and a second device status (Device_authentication_failed).

제1 장치 상태(Device_authenticated)는 '0x00'의 코드 값을 가질 수 있다. 제1 장치 상태(Device_authenticated)는 차량(1404)이 장치(1402)에게 장치(1402)의 로컬 인증을 완료했다는 정보를 알리기 위해 사용될 수 있다. The first device state (Device_authenticated) may have a code value of '0x00'. The first device state (Device_authenticated) may be used to inform the vehicle 1404 of the information that the device 1402 has completed local authentication of the device 1402 .

제2 장치 상태(Device_authentication_failed)는 '0x01'의 코드 값을 가질 수 있다. 제2 장치 상태(Device_authentication_failed)는 차량(1404)이 장치(1402)에게 장치(1402)의 로컬 인증을 실패했다는 정보를 알리기 위해 사용될 수 있다. 예를 들어, 차량(1404)은 Secure Element(SE) 인증(authentication)을 실패하면, 접근하는 장치(1402)에게 제3 서브-이벤트(Device Status Changed SubEvent)를 전송할 수 있다. 이후, 차량(1404)은 장치(1402)와의 연결을 끊고, 연관된 키들을 삭제하기 위해 데이터 베이스를 제거(clean-up)할 수 있다. The second device state (Device_authentication_failed) may have a code value of '0x01'. The second device status (Device_authentication_failed) may be used to inform the vehicle 1404 that the local authentication of the device 1402 has failed to the device 1402 . For example, when the Secure Element (SE) authentication fails, the vehicle 1404 may transmit a third sub-event (Device Status Changed SubEvent) to the accessing device 1402 . Vehicle 1404 may then disconnect from device 1402 and clean-up the database to delete associated keys.

[표 10][Table 10]

Figure pat00010
Figure pat00010

표 10은 차량의 상태(Vehicle_Status)에 대한 정의를 나타낸다. Table 10 shows the definition of the vehicle status (Vehicle_Status).

차량의 상태(Vehicle_Status)는 가변적인 사이즈를 가질 수 있다. 차량의 상태(Vehicle_Status)에 대한 코드들에 대해서는 표 11을 참조하여 후술한다.The vehicle status (Vehicle_Status) may have a variable size. Codes for the vehicle status (Vehicle_Status) will be described later with reference to Table 11.

[표 11][Table 11]

Figure pat00011
Figure pat00011

표 11은 제4 서브-이벤트(Vehicle Status Change SubEvent)에 대한 차량의 상태(Vehicle_Status)를 나타내는 리스트이다.Table 11 is a list indicating the vehicle status (Vehicle_Status) for the fourth sub-event (Vehicle Status Change SubEvent).

차량의 상태(Vehicle_Status)는 제1 태그(TBD0) 내지 제4 태그(TBDXX)를 포함할 수 있다. The vehicle status (Vehicle_Status) may include a first tag (TBD0) to a fourth tag (TBDXX).

제1 태그(TBD0)는 1 옥텟의 사이즈를 가질 수 있다. 제1 태그(TBD0)는 마지막으로 요청된 행동 실행 상태(action execution status)를 나타낼 수 있다. 제1 태그(TBD0)는 제1 차량 상태 및 제2 차량 상태를 포함할 수 있다. 제1 차량 상태는 '0x00'의 코드 값을 가질 수 있다. 제1 차량 상태는 행동이 성공적으로 실행되었다는 정보를 나타낼 수 있다. 제2 차량 상태는 '0x01'의 코드 값을 가질 수 있다. 제2 차량 상태는 행동이 실행되지 못했다는 정보를 나타낼 수 있다. 제1 태그(TBD0)는 어떠한 행동도 요청되지 않으면, 존재(present)하지 아니할 수 있다. The first tag TBD0 may have a size of 1 octet. The first tag TBD0 may indicate the last requested action execution status. The first tag TBD0 may include a first vehicle state and a second vehicle state. The first vehicle state may have a code value of '0x00'. The first vehicle state may indicate information that the action was successfully executed. The second vehicle state may have a code value of '0x01'. The second vehicle state may indicate information that the action was not executed. The first tag TBD0 may not exist if no action is requested.

제2 태그(TBD1)는 1 옥텟의 사이즈를 가질 수 있다. 제2 태그(TBD1)는 차량(1404)의 잠금 상태를 나타낼 수 있다. 제2 태그(TBD1)는 제3 차량 상태 및 제4 차량 상태를 포함할 수 있다. 제3 차량 상태는 '0x00'의 코드 값을 가질 수 있다. 제3 차량 상태는 차량(1404)이 잠겨 있다는 정보를 나타낼 수 있다. 제4 차량 상태는 '0x01'의 코드 값을 가질 수 있다. 제4 차량 상태는 차량이 잠겨 있지 않다는 정보를 나타낼 수 있다. 제2 태그(TBD1)는 장치(1402)에 의해 트리거된 마지막 행동이 잠금 상태 변화(locking state change)인 경우에 존재할 수 있다. The second tag TBD1 may have a size of 1 octet. The second tag TBD1 may indicate a locked state of the vehicle 1404 . The second tag TBD1 may include a third vehicle state and a fourth vehicle state. The third vehicle state may have a code value of '0x00'. The third vehicle state may indicate information that the vehicle 1404 is locked. The fourth vehicle state may have a code value of '0x01'. The fourth vehicle state may indicate information that the vehicle is not locked. The second tag TBD1 may be present when the last action triggered by the device 1402 is a locking state change.

제3 태그(TBD2)는 1 옥텟의 사이즈를 가질 수 있다. 제3 태그(TBD2)는 차량(1404)의 점화 상태를 나타낼 수 있다. 제3 태그(TBD2)는 제5 차량 상태 및 제6 차량 상태를 포함할 수 있다. 제5 차량 상태는 '0x00'의 코드 값을 가질 수 있다. 제5 차량 상태는 차량(1404)이 점화되어 있지 않다는 정보를 나타낼 수 있다. 제6 차량 상태는 '0x01'의 코드 값을 가질 수 있다. 제6 차량 상태는 차량이 점화되어 있다는 정보를 나타낼 수 있다. 제3 태그(TBD2)는 장치(1402)에 의해 트리거된 마지막 행동이 점화 상태 변화(locking state change)인 경우에 존재할 수 있다. The third tag TBD2 may have a size of 1 octet. The third tag TBD2 may indicate an ignition state of the vehicle 1404 . The third tag TBD2 may include a fifth vehicle state and a sixth vehicle state. The fifth vehicle state may have a code value of '0x00'. The fifth vehicle state may indicate information that the vehicle 1404 is not ignited. The sixth vehicle state may have a code value of '0x01'. The sixth vehicle state may indicate information that the vehicle is ignited. Third tag TBD2 may be present if the last action triggered by device 1402 is a locking state change.

제4 태그(TBDXX)는 가변적인 사이즈를 가질 수 있다. 제4 태그(TBDXX)는 차량의 Original Equipment Manufacturer(OEM)의 적절성(propriety) 상태를 나타낼 수 있다. 제4 태그(TBDXX)는 선택사항(optional)이며, 차량의 OEM 적절성 상태는 차량의 OEM 애플리케이션 인터페이스에게 전달될 수 있다. The fourth tag TBDXX may have a variable size. The fourth tag TBDXX may indicate a property status of an Original Equipment Manufacturer (OEM) of the vehicle. The fourth tag TBDXX is optional, and the OEM conformance status of the vehicle may be communicated to the OEM application interface of the vehicle.

[표 12] [Table 12]

Figure pat00012
Figure pat00012

표 12는 요청된 행동(Requested_Action)에 대한 정의를 나타낸다. Table 12 shows the definition of the requested action (Requested_Action).

요청된 행동(Requested_Action)은 1 옥텟의 사이즈를 가질 수 있다. 요청된 행동(Requested_Action)에 대한 코드들에 대해서는 표 13을 참조하여 후술한다.The requested action (Requested_Action) may have a size of 1 octet. Codes for the requested action (Requested_Action) will be described later with reference to Table 13.

[표 13][Table 13]

Figure pat00013
Figure pat00013

표 13은 제5 서브-이벤트(RKE Request Subevent)에 대한 요청된 행동(Requested_Action)을 나타내는 리스트이다.Table 13 is a list indicating the requested action (Requested_Action) for the fifth sub-event (RKE Request Subevent).

요청된 행동(Requested_Action)은 제1 요청 행동(Requested_action_lock) 내지 제3 요청 행동(Requested_action_alarm)을 포함할 수 있다.The requested action (Requested_Action) may include a first requested action (Requested_action_lock) to a third requested action (Requested_action_alarm).

제1 요청 행동(Requested_action_lock)은 '0x00'의 코드 값을 가질 수 있다. 제1 요청 행동(Requested_action_lock)은 개시자가 원격 잠금을 요청하는 경우를 나타낼 수 있다. 차량(1404)은 장치(1402)로부터 제1 요청 행동(Requested_action_lock)을 포함하는 제5 서브-이벤트(RKE Request Subevent)를 수신하면, "Sign"이라는 플로우를 실행시킬 수 있다.The first requested action (Requested_action_lock) may have a code value of '0x00'. The first requested action (Requested_action_lock) may indicate a case in which the initiator requests a remote lock. When the vehicle 1404 receives a fifth sub-event (RKE Request Subevent) including the first requested action (Requested_action_lock) from the device 1402 , it may execute a flow called “Sign”.

제2 요청 행동(Requested_action_unlock)은 '0x01'의 코드 값을 가질 수 있다. 제2 요청 행동(Requested_action_unlock)은 개시자가 원격 잠금 해제를 요청하는 경우를 나타낼 수 있다. 차량(1404)은 장치(1402)로부터 제2 요청 행동(Requested_action_unlock)을 포함하는 제5 서브-이벤트(RKE Request Subevent)를 수신하면, "Sign"이라는 플로우를 실행시킬 수 있다.The second requested action (Requested_action_unlock) may have a code value of '0x01'. The second requested action (Requested_action_unlock) may indicate a case in which the initiator requests remote unlocking. When the vehicle 1404 receives a fifth sub-event (RKE Request Subevent) including the second requested action (Requested_action_unlock) from the device 1402 , it may execute a flow called “Sign”.

제3 요청 행동(Requested_action_alarm)은 '0x02'의 코드 값을 가질 수 있다. 제3 요청 행동(Requested_action_alarm)은 개시자가 원격 알림을 요청하는 경우를 나타낼 수 있다. 차량(1404)은 장치(1402)로부터 제3 요청 행동(Requested_action_alarm)을 포함하는 제5 서브-이벤트(RKE Request Subevent)를 수신하면, "Sign"이라는 플로우를 실행시킬 수 있다.The third requested action (Requested_action_alarm) may have a code value of '0x02'. The third requested action (Requested_action_alarm) may indicate a case in which the initiator requests a remote notification. When the vehicle 1404 receives a fifth sub-event (RKE Request Subevent) including the third requested action (Requested_action_alarm) from the device 1402 , it may execute a flow called “Sign”.

[표 14] [Table 14]

Figure pat00014
Figure pat00014

표 14는 제6 서브-이벤트(Control Flow SubEvent)의 파라미터들을 나타낸다. Table 14 shows parameters of the sixth sub-event (Control Flow SubEvent).

제6 서브-이벤트(Control Flow SubEvent)는 제1 파라미터(P1) 및 제2 파라미터(P2)를 포함할 수 있다. 제1 파라미터(P1) 및 제2 파라미터(P2)는 각각 1 옥텟의 사이즈를 가질 수 있다. 제1 파라미터(P1)는 커맨드에 의해 트리거된 주된 행동을 나타낼 수 있으며, 제2 파라미터(P2)는 리즌 코드(reason code)를 제공할 수 있다. A sixth sub-event (Control Flow SubEvent) may include a first parameter P1 and a second parameter P2. The first parameter P1 and the second parameter P2 may each have a size of 1 octet. The first parameter P1 may indicate a main action triggered by the command, and the second parameter P2 may provide a reason code.

[표 15] [Table 15]

Figure pat00015
Figure pat00015

표 15는 제7 서브-이벤트(Device BLE Range Status SubEvent)의 파라미터들을 나타낸다. Table 15 shows parameters of the seventh sub-event (Device BLE Range Status SubEvent).

제7 서브-이벤트(Device BLE Range Status SubEvent)는 앞서 도 3 내지 도 13을 참조하여 설명한 알림 메시지와 대응될 수 있다. 제7 서브-이벤트(Device BLE Range Status SubEvent)는 제1 레인지 상태(LE_1M_PHY_Range) 및 제2 레인지 상태(TX_Power)를 포함할 수 있다.The seventh sub-event (Device BLE Range Status SubEvent) may correspond to the notification message described above with reference to FIGS. 3 to 13 . The seventh sub-event (Device BLE Range Status SubEvent) may include a first range state (LE_1M_PHY_Range) and a second range state (TX_Power).

제1 레인지 상태(LE_1M_PHY_Range)는 장치(1402)가 차량(1404)으로부터 제1 범위 내에 포함되는지 여부에 대한 정보를 나타낼 수 있다. 선택적으로, 제1 범위는 LE 1M PHY의 범위를 포함할 수 있다. 제1 레인지 상태(LE_1M_PHY_Range)는 1 옥텟의 사이즈를 가질 수 있다. The first range state LE_1M_PHY_Range may indicate information regarding whether the device 1402 is included in the first range from the vehicle 1404 . Optionally, the first range may include a range of the LE 1M PHY. The first range state LE_1M_PHY_Range may have a size of 1 octet.

제1 레인지 상태(LE_1M_PHY_Range)에 대한 코드 값이 '0x00'인 경우에, 제1 레인지 상태(LE_1M_PHY_Range)는 장치(1402)가 LE 1M PHY 레인지 외에 포함되어 있는 경우를 나타낼 수 있다. 제1 레인지 상태(LE_1M_PHY_Range)에 대한 코드 값이 '0x01'인 경우에, 제1 레인지 상태(LE_1M_PHY_Range)는 장치(1402)가 LE 1M PHY 레인지 내에 포함되어 있는 경우를 나타낼 수 있다.When the code value for the first range state (LE_1M_PHY_Range) is '0x00', the first range state (LE_1M_PHY_Range) may indicate a case in which the device 1402 is included outside the LE 1M PHY range. When the code value for the first range state (LE_1M_PHY_Range) is '0x01', the first range state (LE_1M_PHY_Range) may indicate a case in which the device 1402 is included in the LE 1M PHY range.

제2 레인지 상태(TX_Power)는 제7 서브-이벤트의 송신 파워에 대한 정보를 나타낼 수 있다. 제2 레인지 상태(TX_Power)는 1 옥텟의 사이즈를 가질 수 있다. 제7 서브-이벤트(Device BLE Range Status SubEvent)의 송신 파워는 밀리 데시벨(dBm) 단위일 수 있으며, 제2 레인지 상태(TX_Power)의 값은 제7 서브-이벤트(Device BLE Range Status SubEvent)의 송신 파워에 20dBm의 값을 더한 값일 수 있다. The second range state TX_Power may indicate information about the transmission power of the seventh sub-event. The second range state TX_Power may have a size of 1 octet. The transmission power of the seventh sub-event (Device BLE Range Status SubEvent) may be in millidecibel (dBm) units, and the value of the second range state (TX_Power) is the transmission power of the seventh sub-event (Device BLE Range Status SubEvent). It may be a value obtained by adding a value of 20 dBm to power.

일 실시예에 따르면, 제7 서브-이벤트(Device BLE Range Status SubEvent)는 장치(1402)가 차량(1404)으로부터 LE 1M PHY 통신 레인지에 포함되어 있는지 여부를 나타내기 위해 생성될 수 있다. 차량(1404)는 표 15에 기재된 파라미터들을 사용하여, UWB 레인지의 중단으로부터 언제 회복할지 여부를 결정할 수 있다.According to one embodiment, a seventh sub-event (Device BLE Range Status SubEvent) may be generated to indicate whether the device 1402 is included in the LE 1M PHY communication range from the vehicle 1404 . The vehicle 1404 may use the parameters listed in Table 15 to determine when to recover from an interruption of UWB range.

일 실시예에 따르면, 장치(1402)는 차량(1404)으로부터 수신된 LE 1M PHY 타입의 광고 패킷에 기초하여 제7 서브-이벤트(Device BLE Range Status SubEvent)를 차량(1404)에게 전송할 수 있다. 차량(1404)은 주기적으로 LE 1M PHY 타입의 광고 패킷들을 장치(1402)로 전송할 수 있다. According to one embodiment, the device 1402 may transmit a seventh sub-event (Device BLE Range Status SubEvent) to the vehicle 1404 based on the advertisement packet of the LE 1M PHY type received from the vehicle 1404 . Vehicle 1404 may periodically send advertisement packets of type LE 1M PHY to device 1402 .

장치(1402)는 수신된 LE 1M PHY 타입의 광고 패킷에 기초하여, 장치(1402)가 차량(1402)으로부터 LE 1M PHY 레인지 내에 포함되어 있는지 여부를 결정할 수 있다. 일 실시예에 따르면, 장치(1402)는 수신된 LE 1M PHY 타입의 광고 패킷들의 개수가 제1 임계치 이상인 경우에, 장치(1402)가 차량(1402)으로부터 LE 1M PHY 레인지 내에 포함되어 있다고 결정할 수 있다.The device 1402 may determine whether the device 1402 is included within the LE 1M PHY range from the vehicle 1402 based on the received advertisement packet of the LE 1M PHY type. According to an embodiment, the device 1402 may determine that the device 1402 is within the LE 1M PHY range from the vehicle 1402 when the number of received LE 1M PHY type advertisement packets is equal to or greater than a first threshold. have.

장치(1402)는 장치(1402)가 차량(1402)으로부터 LE 1M PHY 레인지 내에 포함되어 있다고 결정한 경우에, 차량(1404)에게 제7 서브-이벤트(Device BLE Range Status SubEvent)를 전송할 수 있다. 예를 들어, 장치(1402)는 주기적으로 제7 서브-이벤트들(Device BLE Range Status SubEvent)을 차량(1404)에게 전송할 수 있다. 또한, 장치(1402)는 제1 레인지 상태(LE_1M_PHY_Range)의 값이 변한 경우에만 제7 서브-이벤트(Device BLE Range Status SubEvent)를 차량(1404)에게 전송할 수도 있다.When the device 1402 determines that the device 1402 is within the LE 1M PHY range from the vehicle 1402 , the device 1402 may send a Device BLE Range Status SubEvent to the vehicle 1404 . For example, the device 1402 may periodically transmit seventh sub-events (Device BLE Range Status SubEvent) to the vehicle 1404 . Also, the device 1402 may transmit a seventh sub-event (Device BLE Range Status SubEvent) to the vehicle 1404 only when the value of the first range state (LE_1M_PHY_Range) is changed.

단계 S1404에서, 차량(1404)은 UWB 레인징의 중단으로부터 회복할지 여부를 결정할 수 있다. 차량(1404)은 단계 S1402에서 수신된 제7 서브-이벤트(Device BLE Range Status SubEvent) 메시지에 기초하여, UWB 레인징의 중단으로부터 회복할지 여부를 결정할 수 있다. 차량(1404)은 차량(1404)에서 측정된 제7 서브-이벤트(Device BLE Range Status SubEvent)의 수신 신호 세기와 제7 서브-이벤트(Device BLE Range Status SubEvent)의 제2 레인지 상태(TX_Power)에 포함된 제7 서브-이벤트(Device BLE Range Status SubEvent)의 송신 파워를 비교함으로써, 장치(1402)와 차량(1404) 간의 거리를 결정할 수 있다. 차량(1404)은 결정된 장치(1402)와 차량(1404) 간의 거리에 기초하여, UWB 레인징 회복 플로우를 시작할지 여부를 결정할 수 있다. In step S1404, the vehicle 1404 may determine whether to recover from the cessation of UWB ranging. The vehicle 1404 may determine whether to recover from the cessation of UWB ranging based on the seventh sub-event (Device BLE Range Status SubEvent) message received in step S1402. The vehicle 1404 determines the received signal strength of the seventh sub-event (Device BLE Range Status SubEvent) measured in the vehicle 1404 and the second range state (TX_Power) of the seventh sub-event (Device BLE Range Status SubEvent). By comparing the transmit power of the included seventh sub-event (Device BLE Range Status SubEvent), the distance between the device 1402 and the vehicle 1404 may be determined. The vehicle 1404 may determine whether to initiate a UWB ranging recovery flow based on the determined distance between the device 1402 and the vehicle 1404 .

단계 S1406에서, 장치(1402)와 차량(1404)는 UWB 레인징 회복 플로우를 선택하고 수행할 수 있다. UWB 레인징 회복 플로우를 수행하는 구체적인 과정은 도 11을 참조하여 전술하였으므로, 중복되는 설명은 생략한다.In step S1406 , the device 1402 and the vehicle 1404 may select and perform a UWB ranging recovery flow. Since the detailed process of performing the UWB ranging recovery flow has been described above with reference to FIG. 11 , a redundant description will be omitted.

본 개시의 다양한 실시예들이 전술되었다. 전술한 본 개시의 설명은 예시를 위한 것이며, 본 개시의 실시예들은 개시된 실시예들에 한정되는 것은 아니다. 본 개시가 속하는 기술분야의 통상의 지식을 가진 자는 본 개시의 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 쉽게 변형이 가능하다는 것을 이해할 수 있을 것이다. 본 개시의 범위는 상기 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구범위의 의미 및 범위 그리고 그 균등 개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 개시의 범위에 포함되는 것으로 해석되어야 한다.Various embodiments of the present disclosure have been described above. The foregoing description of the present disclosure is for illustrative purposes only, and embodiments of the present disclosure are not limited to the disclosed embodiments. Those of ordinary skill in the art to which the present disclosure pertains will understand that it can be easily modified into other specific forms without changing the technical spirit or essential features of the present disclosure. The scope of the present disclosure is indicated by the following claims rather than the above detailed description, and all changes or modifications derived from the meaning and scope of the claims and their equivalent concepts should be interpreted as being included in the scope of the present disclosure. do.

Claims (20)

제2 전자 장치와의 Ultra Wide Band(UWB)를 통한 레인징을 수행하는 제1 전자 장치에 있어서,
통신부; 및
적어도 하나의 프로세서
를 포함하되,
상기 적어도 하나의 프로세서는
상기 제2 전자 장치로부터 수신된 광고 패킷에 기초하여, 상기 제1 전자 장치가 상기 제2 전자 장치로부터 소정 범위 내에 있음을 나타내는 알림 메시지를 상기 제2 전자 장치에게 전송하고,
상기 알림 메시지에 응답하여, 상기 제2 전자 장치로부터 UWB 레인징 회복 신호를 수신하며,
상기 UWB 레인징 회복 신호에 응답하여, 상기 제2 전자 장치와의 상기 UWB를 통한 레인징을 회복하도록 상기 통신부를 제어하는
제1 전자 장치.
In the first electronic device for performing ranging through Ultra Wide Band (UWB) with the second electronic device,
communication department; and
at least one processor
including,
the at least one processor
transmitting a notification message indicating that the first electronic device is within a predetermined range from the second electronic device to the second electronic device based on the advertisement packet received from the second electronic device;
receiving a UWB ranging recovery signal from the second electronic device in response to the notification message;
controlling the communication unit to recover ranging through the UWB with the second electronic device in response to the UWB ranging recovery signal
A first electronic device.
제1 항에 있어서,
상기 광고 패킷은 LE Coded PHY 타입의 제1 광고 패킷 및 LE 1M PHY 타입의 제2 광고 패킷 중 적어도 하나를 포함하는
제1 전자 장치.
According to claim 1,
The advertisement packet includes at least one of a first advertisement packet of the LE Coded PHY type and a second advertisement packet of the LE 1M PHY type.
A first electronic device.
제2 항에 있어서,
상기 적어도 하나의 프로세서는
복수의 제1 광고 패킷들을 수신하고, 소정 시간 동안 수신된 상기 제1 광고 패킷들의 개수가 제1 임계치 이상인 경우에, 상기 제1 전자 장치가 상기 제2 전자 장치로부터 제1 범위 내에 있다는 정보를 포함하는 상기 알림 메시지를 상기 제2 전자 장치에게 전송하도록 상기 통신부를 제어하는
제1 전자 장치.
3. The method of claim 2,
the at least one processor
Receive a plurality of first advertisement packets, and include information that the first electronic device is within a first range from the second electronic device when the number of the first advertisement packets received for a predetermined time is equal to or greater than a first threshold controlling the communication unit to transmit the notification message to the second electronic device
A first electronic device.
제3 항에 있어서,
상기 적어도 하나의 프로세서는
복수의 제2 광고 패킷들을 수신하고, 상기 소정 시간 동안 수신된 상기 제2 광고 패킷들의 개수가 제2 임계치 이상인 경우에, 상기 제1 전자 장치가 상기 제2 전자 장치로부터 제2 범위 내에 있다는 정보를 포함하는 상기 알림 메시지를 상기 제2 전자 장치에게 전송하도록 상기 통신부를 제어하되,
상기 제1 범위는 상기 제2 범위보다 더 넓은 것을 특징으로 하는
제1 전자 장치.
4. The method of claim 3,
the at least one processor
When receiving a plurality of second advertisement packets, and when the number of the second advertisement packets received during the predetermined time is equal to or greater than a second threshold, information that the first electronic device is within a second range from the second electronic device but controlling the communication unit to transmit the notification message including
wherein the first range is wider than the second range
A first electronic device.
제2 항에 있어서,
상기 제1 광고 패킷 및 상기 제2 광고 패킷 중 적어도 하나에 기초하여, 상기 제1 전자 장치가 상기 제2 전자 장치로부터 제1 범위 내에 포함되고, 제2 범위 외에 포함된다고 판단되면, 제1 주기로 알림 메시지들을 상기 제2 전자 장치에게 전송하는
제1 전자 장치.
3. The method of claim 2,
If it is determined based on at least one of the first advertisement packet and the second advertisement packet that the first electronic device is included in the first range from the second electronic device and is outside the second range, a notification is made in a first period sending messages to the second electronic device
A first electronic device.
제5 항에 있어서,
상기 제1 광고 패킷 및 상기 제2 광고 패킷 중 적어도 하나에 기초하여, 상기 제1 전자 장치가 상기 제2 전자 장치로부터 상기 제2 범위 내에 포함된다고 판단되면, 제2 주기로 상기 제2 전자 장치에게 상기 알림 메시지들을 전송하되,
상기 제2 주기는 상기 제1 주기보다 짧은 것을 특징으로 하는
제1 전자 장치.
6. The method of claim 5,
If it is determined based on at least one of the first advertisement packet and the second advertisement packet that the first electronic device is within the second range from the second electronic device, the second electronic device is sent to the second electronic device in a second cycle. Send notification messages,
wherein the second period is shorter than the first period
A first electronic device.
제1 항에 있어서,
상기 알림 메시지는
상기 제1 전자 장치가 상기 제2 전자 장치로부터 상기 소정 범위 내에 있는지 여부에 대한 정보 및 상기 알림 메시지의 송신 파워에 대한 정보 중 적어도 하나를 포함하는
제1 전자 장치.
According to claim 1,
The notification message is
and at least one of information on whether the first electronic device is within the predetermined range from the second electronic device and information on transmission power of the notification message.
A first electronic device.
제2 항에 있어서,
상기 알림 메시지는
가장 최근에 수신된 제1 광고 패킷의 수신 파워에 대한 정보 및 가장 최근에 수신된 제2 광고 패킷의 수신 파워에 대한 정보 중 적어도 하나를
포함하는 제1 전자 장치.
3. The method of claim 2,
The notification message is
at least one of information on the reception power of the most recently received first advertisement packet and information on the reception power of the most recently received second advertisement packet;
A first electronic device comprising:
제1 항에 있어서,
상기 적어도 하나의 프로세서는
상기 제1 전자 장치의 움직임에 대한 정보를 검출하고,
상기 알림 메시지는
상기 제1 전자 장치의 상기 움직임에 대한 상기 정보를
포함하는 제1 전자 장치.
According to claim 1,
the at least one processor
detecting information on the movement of the first electronic device,
The notification message is
the information on the movement of the first electronic device
A first electronic device comprising:
제1 항에 있어서,
상기 알림 메시지는
상기 제1 전자 장치의 위치와 관련된 Global Positioning System(GPS) 측정값에 대한 정보를
포함하는 제1 전자 장치.
According to claim 1,
The notification message is
information on Global Positioning System (GPS) measurement values related to the location of the first electronic device
A first electronic device comprising:
제1 전자 장치가 제2 전자 장치와 Ultra Wide Band(UWB)를 통한 레인징을 수행하는 방법에 있어서,
상기 제2 전자 장치로부터 수신되는 광고 패킷에 기초하여, 상기 제1 전자 장치가 상기 제2 전자 장치로부터 소정 범위 내에 있음을 나타내는 알림 메시지를 상기 제2 전자 장치에게 전송하는 단계;
상기 알림 메시지에 응답하여, 상기 제2 전자 장치로부터 UWB 레인징 회복 신호를 수신하는 단계; 및
상기 UWB 레인징 회복 신호에 응답하여, 상기 UWB를 통한 레인징을 회복하는 단계
를 포함하는 방법.
A method for a first electronic device to perform ranging with a second electronic device through Ultra Wide Band (UWB), the method comprising:
transmitting, to the second electronic device, a notification message indicating that the first electronic device is within a predetermined range from the second electronic device, based on the advertisement packet received from the second electronic device;
receiving a UWB ranging recovery signal from the second electronic device in response to the notification message; and
recovering ranging through the UWB in response to the UWB ranging recovery signal
How to include.
제11 항에 있어서,
상기 광고 패킷은 LE Coded PHY 타입의 제1 광고 패킷 및 LE 1M PHY 타입의 제2 광고 패킷 중 적어도 하나를 포함하는
방법.
12. The method of claim 11,
The advertisement packet includes at least one of a first advertisement packet of the LE Coded PHY type and a second advertisement packet of the LE 1M PHY type.
Way.
제12 항에 있어서,
상기 알림 메시지를 전송하는 단계는,
복수의 제1 광고 패킷들을 수신하는 단계; 및
소정 시간 동안 수신된 상기 제1 광고 패킷들의 개수가 제1 임계치 이상인 경우에, 상기 제1 전자 장치가 상기 제2 전자 장치로부터 제1 범위 내에 있다는 정보를 포함하는 상기 알림 메시지를 전송하는 단계를 포함하는, 방법.
13. The method of claim 12,
The step of sending the notification message is,
receiving a plurality of first advertisement packets; and
transmitting the notification message including information that the first electronic device is within a first range from the second electronic device when the number of the first advertisement packets received for a predetermined time is equal to or greater than a first threshold; How to.
제13 항에 있어서,
상기 알림 메시지를 전송하는 단계는,
복수의 제2 광고 패킷들을 수신하는 단계; 및
상기 소정 시간 동안 수신된 상기 제2 광고 패킷들의 개수가 제2 임계치 이상인 경우에, 상기 제1 전자 장치가 상기 제2 전자 장치로부터 제2 범위 내에 있다는 정보를 포함하는 상기 알림 메시지를 전송하는 단계를 더 포함하고,
상기 제1 범위는 상기 제2 범위보다 더 넓은 것을 특징으로 하는, 방법.
14. The method of claim 13,
The step of sending the notification message is,
receiving a plurality of second advertisement packets; and
transmitting the notification message including information that the first electronic device is within a second range from the second electronic device when the number of the second advertisement packets received during the predetermined time is equal to or greater than a second threshold; including more,
wherein the first range is wider than the second range.
제12 항에 있어서,
상기 알림 메시지를 전송하는 단계는
상기 제1 광고 패킷 및 상기 제2 광고 패킷 중 적어도 하나에 기초하여, 상기 제1 전자 장치가 상기 제2 전자 장치로부터 제1 범위 내에 포함되고, 제2 범위 외에 포함된다고 판단되면, 제1 주기로 알림 메시지들을 전송하는 단계
를 포함하는 방법.
13. The method of claim 12,
The step of sending the notification message is
If it is determined based on at least one of the first advertisement packet and the second advertisement packet that the first electronic device is included in the first range from the second electronic device and is outside the second range, a notification is made in a first period sending messages
How to include.
제15 항에 있어서,
상기 알림 메시지를 전송하는 단계는
상기 제1 광고 패킷 및 상기 제2 광고 패킷 중 적어도 하나에 기초하여, 상기 제1 전자 장치가 상기 제2 전자 장치로부터 상기 제2 범위 내에 포함된다고 판단되면, 제2 주기로 상기 알림 메시지들을 전송하는 단계
를 더 포함하되,
상기 제2 주기는 상기 제1 주기보다 짧은 것을 특징으로 하는, 방법.
16. The method of claim 15,
The step of sending the notification message is
transmitting the notification messages at a second period when it is determined based on at least one of the first advertisement packet and the second advertisement packet that the first electronic device is within the second range from the second electronic device;
further comprising,
and the second period is shorter than the first period.
제11 항에 있어서,
상기 알림 메시지는
상기 제1 전자 장치가 상기 제2 전자 장치로부터 상기 소정 범위 내에 있는지 여부에 대한 정보 및 상기 알림 메시지의 송신 파워에 대한 정보 중 적어도 하나를 포함하는, 방법.
12. The method of claim 11,
The notification message is
and at least one of information on whether the first electronic device is within the predetermined range from the second electronic device and information on transmission power of the notification message.
제12 항에 있어서,
상기 알림 메시지는
가장 최근에 수신된 제1 광고 패킷의 수신 파워에 대한 정보 및 가장 최근에 수신된 제2 광고 패킷의 수신 파워에 대한 정보 중 적어도 하나를 포함하는, 방법.
13. The method of claim 12,
The notification message is
A method comprising at least one of information on the reception power of the most recently received first advertisement packet and information on the reception power of the most recently received second advertisement packet.
제11 항에 있어서,
상기 제1 전자 장치의 움직임에 대한 정보를 검출하는 단계를 더 포함하고,
상기 알림 메시지는,
상기 제1 전자 장치의 상기 움직임에 대한 상기 정보를 포함하는 방법.
12. The method of claim 11,
Further comprising the step of detecting information about the movement of the first electronic device,
The notification message is
A method including the information about the movement of the first electronic device.
제11 항에 있어서,
상기 알림 메시지는
상기 제1 전자 장치의 위치와 관련된 Global Positioning System(GPS) 측정 값에 대한 정보를
를 포함하는, 방법.
12. The method of claim 11,
The notification message is
information on Global Positioning System (GPS) measurement values related to the location of the first electronic device
A method comprising
KR1020200066112A 2020-06-01 2020-06-01 Electronic device and method for performing ranging through uwb KR20210148778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200066112A KR20210148778A (en) 2020-06-01 2020-06-01 Electronic device and method for performing ranging through uwb

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200066112A KR20210148778A (en) 2020-06-01 2020-06-01 Electronic device and method for performing ranging through uwb

Publications (1)

Publication Number Publication Date
KR20210148778A true KR20210148778A (en) 2021-12-08

Family

ID=78867694

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200066112A KR20210148778A (en) 2020-06-01 2020-06-01 Electronic device and method for performing ranging through uwb

Country Status (1)

Country Link
KR (1) KR20210148778A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114302335A (en) * 2021-12-28 2022-04-08 深圳市蜻蜓互联智慧科技有限公司 Electric vehicle management system and method based on UWB
CN116234008A (en) * 2023-03-07 2023-06-06 青岛柯锐思德电子科技有限公司 Low-power consumption UWB positioning system and implementation method thereof
KR102670043B1 (en) * 2023-10-27 2024-05-29 아주대학교산학협력단 Method of estimating of the number of bluetooth low energy in basic neighbor discovery process and apparatus thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114302335A (en) * 2021-12-28 2022-04-08 深圳市蜻蜓互联智慧科技有限公司 Electric vehicle management system and method based on UWB
CN116234008A (en) * 2023-03-07 2023-06-06 青岛柯锐思德电子科技有限公司 Low-power consumption UWB positioning system and implementation method thereof
CN116234008B (en) * 2023-03-07 2023-09-29 青岛柯锐思德电子科技有限公司 Low-power consumption UWB positioning system and implementation method thereof
KR102670043B1 (en) * 2023-10-27 2024-05-29 아주대학교산학협력단 Method of estimating of the number of bluetooth low energy in basic neighbor discovery process and apparatus thereof

Similar Documents

Publication Publication Date Title
KR20210148778A (en) Electronic device and method for performing ranging through uwb
CN107846674B (en) Outdoor communication method based on Bluetooth grid protocol, mobile terminal and storage medium
CN106454996B (en) Method and apparatus for low power consumption data transfer
US9438332B2 (en) Low cost proximity pairing mechanism in wireless personal area networks
CN105210417B (en) The system and method communicated for controlling network external equipment to equipment
US10045181B2 (en) Method and apparatus for Bluetooth connection
JP5944453B2 (en) WLAN peer-to-peer group owner negotiation
US9565633B2 (en) Opportunistic information forwarding using wireless terminals in the internet-of-things
US8521893B2 (en) Multi-rate proximity based peer discovery methods and apparatus
EP2672764B1 (en) Method, apparatus, and computer program product for wireless short-range communication disconnection
US9042829B2 (en) Method, apparatus, and computer program product for wireless short-range communication
KR20210155385A (en) An electronic device performing ranging through UWB and an operating method of the electronic device
KR20210071540A (en) Electronic device and method for performing ranging through uwb
JP2010258619A (en) Radio communication device, radio communication system, radio communication method, and program
CN103503556A (en) Method for connecting peer-to-peer applications over wireless LAN, and method for maintaining connection between peer-to-peer applications over wireless LAN, and wireless LAN-based peer terminal
KR102424142B1 (en) Method and apparatus for certificating information related payment in a mobile communication system
JP2009290804A (en) Wireless communication system, wireless communication apparatus and method for disconnection process thereof
JP2010245975A (en) Wireless communication device, system, method, and program
KR20120075477A (en) Group owner selection with crossing requests
CN104704447A (en) Using Bluetooth low energy
WO2015139451A1 (en) Wireless terminal monitoring method, apparatus and system and computer storage medium
KR20240019137A (en) Method and apparatus for performing ultra-wideband communication
JP5509802B2 (en) Wireless communication system, wireless communication apparatus, wireless communication method, and program
KR20130058573A (en) A method for alarming using mobile terminal and wireless tag and an alarm system using it
JP6222314B2 (en) Wireless communication device

Legal Events

Date Code Title Description
A201 Request for examination