Method and device for scheduling using alternating signals in a wireless communication system

By using ultra-wideband (UWB) communication in a wireless communication system and adjusting the ranging interval by sending and receiving ranging control messages, the problem of low ranging efficiency in D2D communication is solved, achieving more efficient and flexible distance measurement.

CN112913313BActive Publication Date: 2024-10-18SAMSUNG ELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201980070810.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-28
Publication Date
2024-10-18
Estimated Expiration
2039-10-28

AI Technical Summary

Technical Problem

Existing wireless communication systems suffer from inflexible ranging interval adjustment during device-to-device (D2D) communication, especially in ultra-wideband (UWB) communication, resulting in low distance measurement efficiency.

Method used

By using ultra-wideband (UWB) communication in a wireless communication system, the controller and the controlled party send and receive ranging control messages (RCM) to adjust the ranging interval, thereby realizing the dynamic change and update of the ranging interval and optimizing the ranging process.

Benefits of technology

It improves the efficiency and accuracy of distance measurement in device-to-device communication, enhances the flexibility and adaptability of the system, and is suitable for distance measurement between various electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112913313B_ABST
    Figure CN112913313B_ABST
Patent Text Reader

Abstract

Provided are a method for operating a controller, a method for operating a controlled party, a controller, and a controlled party. The method for operating a controller for performing ranging with a controlled party using ultra-wideband (UWB) communication in a wireless communication system comprises: sending a first ranging control message (RCM) to the controlled party, the first RCM including information of a first ranging interval of a second RCM; changing the ranging interval of the second RCM from the first ranging interval to a second ranging interval; sending an interval update message of the second RCM to the controlled party based on the first ranging interval, the interval update message including information of the changed ranging interval; and sending the second RCM to the controlled party based on the changed ranging interval.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to methods and apparatus for scheduling using alternating signals in a wireless communication system. Background Art

[0002] The Internet has evolved from a human-based connection network where humans generate and consume information to the Internet of Things (IoT), in which distributed elements (e.g., things) exchange and process information. The Internet of Everything (IoE) technology has emerged, in which IoT technology is combined with, for example, big data processing technology through connection with a cloud server. Various technical elements such as sensing technology, wired / wireless communication and network architecture, service interface technology and security technology are required to realize IoT, and technologies related to sensor networks, machine-to-machine (M2M) communication, and machine type communication (MTC) for connecting things have been studied recently. In the IoT environment, intelligent Internet technology (IT) services can be provided to create new value for human life by collecting and analyzing data obtained by connected things. As existing information technology (IT) and various industrial applications merge and combine with each other, IoT can be applied to various fields such as smart homes, smart buildings, smart cities, smart cars or connected cars, smart grids, health care, smart home appliances, and advanced medical services.

[0003] As wireless communication systems develop, various services can be provided, so methods that can effectively provide these services will improve the relevant technology. Methods that can effectively send and receive data between multiple electronic devices will also improve the relevant technology. Summary of the invention

[0004] Solution to the problem

[0005] A method and apparatus for performing scheduling using an alternating signal in a wireless communication system are provided.

[0006] Additional aspects will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the presented embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] The above and other aspects, features and advantages of certain embodiments of the present disclosure will become more apparent from the following description in conjunction with the accompanying drawings, in which:

[0008] FIG. 1A is a diagram for describing a general device-to-device (D2D) communication process;

[0009] FIG. 1B illustrates a communication process according to an embodiment;

[0010] FIG2A illustrates an operating method of an electronic device according to an embodiment;

[0011] FIG2B illustrates an operating method of an electronic device according to an embodiment;

[0012] Figure 3 shows the configuration of discovery information according to an embodiment;

[0013] Figure 4 shows the structure of an ultra-wideband (UWB) PHY frame according to an embodiment;

[0014] Figure 5 shows the structure of a UWB superframe according to an embodiment;

[0015] Figure 6 A communication process using UWB according to an embodiment is shown;

[0016] Figure 7 illustrates a communication process without using UWB and a communication process using UWB according to one or more embodiments;

[0017] Figure 8 shows a configuration of checking message information according to an embodiment;

[0018] Fig. 9 shows the configuration of a contention free period (CFP) frequency occupancy rate (CFOO) value according to an embodiment;

[0019] Fig.10 is a flowchart of a method for operating an electronic device according to an embodiment;

[0020] Fig.11 is a diagram for describing a double-sided two-way ranging (DS-TWR) operation of an electronic device;

[0021] Fig.12 is a diagram for describing the DS-TWR ranging operation of an electronic device;

[0022] Fig.13 is a diagram for describing a ranging operation for measuring a distance between electronic devices according to an embodiment;

[0023] Fig.14 is a diagram for describing a distance measurement operation in a case where a distance between electronic devices is greater than a predetermined distance and distance measurement fails according to an embodiment;

[0024] Fig.15 is a diagram for describing a distance measurement operation in another case where the distance between electronic devices is greater than a predetermined distance and the distance measurement fails according to an embodiment;

[0025] Fig.16 illustrates a distance measurement operation in a case where the distance measurement is successful when the distance between the electronic devices is within a predetermined distance according to an embodiment;

[0026] Fig.17 illustrates a distance measurement operation in a case where the distance measurement fails when the distance between the electronic devices is within a predetermined distance according to an embodiment;

[0027] Fig.18 A distance measurement operation is shown in the case where a predetermined event occurs in an electronic device according to an embodiment;

[0028] Fig.19 A distance measurement operation is shown in a case where a predetermined event occurs in an electronic device and distance measurement fails according to an embodiment;

[0029] Fig. 20 is a diagram for describing an operating method of an electronic device according to an embodiment;

[0030] Fig.21 is a diagram for describing a ranging operation for measuring a distance between electronic devices according to an embodiment;

[0031] Fig. 22 illustrates a ranging operation for measuring a distance between electronic devices when a predetermined event occurs in the electronic device according to an embodiment;

[0032] Fig.23 illustrates a distance measurement operation in a case where distance measurement between electronic devices fails when a predetermined event occurs in the electronic device according to an embodiment;

[0033] Fig.24 A method for determining a backoff time when a predetermined event occurs in an electronic device according to an embodiment is shown;

[0034] Fig.25 is a diagram for describing a ranging operation for distance measurement when a distance between electronic devices is within a predetermined distance according to an embodiment;

[0035] Fig.26 An example of a method of determining an estimated entry time into a specific range of an electronic device according to an embodiment is shown;

[0036] Fig. 27 An example of a backoff time related to success or failure of distance measurement when an electronic device enters a specific distance according to an embodiment is shown;

[0037] Fig.28 is a diagram for describing a distance measurement operation performed when the distance between electronic devices is equal to or less than a predetermined distance and the distance measurement fails according to an embodiment;

[0038] Fig.29 A method for determining the NRD_MAX_RANGE value according to an embodiment is shown;

[0039] Fig.30 is a diagram for describing a ranging operation in a case where distance measurement between electronic devices fails but exchange of time data succeeds according to an embodiment;

[0040] Fig.31 is a diagram for describing a ranging operation in a case where distance measurement between electronic devices fails and exchange of time data also fails according to an embodiment;

[0041] Fig.32 A method of determining the value of NORMAL_BACK_OFF according to an embodiment is shown;

[0042] Fig.33 is a diagram for describing a ranging operation performed between an electronic device and an anchor point according to an embodiment;

[0043] Fig.34 is a diagram for describing a ranging operation performed between an electronic device and an anchor point when one of the anchor points fails to receive a ranging control message (RCM) according to an embodiment;

[0044] Fig.35 is a diagram for describing a ranging operation performed between an electronic device and an anchor point when one of the anchor points fails to receive an RCM and a ranging interval update (RIU) according to an embodiment;

[0045] Fig.36 is a diagram for describing a ranging operation performed between an electronic device and an anchor point when one of the anchor points fails to receive a polling (Poll) frame according to an embodiment;

[0046] Fig.37 is a diagram for describing a ranging operation performed between an electronic device and an anchor point when one of the anchor points fails to receive a polling frame and an RIU according to an embodiment;

[0047] Fig.38 is a diagram for describing a ranging operation performed between an electronic device and an anchor point when one of the anchor points fails to receive a response frame according to an embodiment;

[0048] Fig.39 is a diagram for describing a ranging operation performed between an electronic device and an anchor point when the electronic device fails to receive a response frame and one of the anchor points fails to receive an RIU according to an embodiment;

[0049] Fig.40 is a diagram for describing a ranging operation performed between an electronic device and an anchor point when one of the anchor points fails to receive a second polling frame, information related to a timestamp, and an RIU according to an embodiment; and

[0050] Fig.41 A configuration of an electronic device according to an embodiment is shown. DETAILED DESCRIPTION

[0051] According to one aspect of the present disclosure, there is provided an operating method of a controller for performing ranging with a controlled party using ultra-wideband (UWB) communication in a wireless communication system, the method comprising: sending a first ranging control message (RCM) to the controlled party, the first RCM including information of a first ranging interval of a second RCM; changing the ranging interval of the second RCM from the first ranging interval to a second ranging interval; sending an interval update message of the second RCM to the controlled party based on the first ranging interval, the interval update message including information of the changed ranging interval; and sending the second RCM to the controlled party based on the changed ranging interval.

[0052] According to another aspect of the present disclosure, there is provided an operating method for a controlled party that performs ranging with a controller using ultra-wideband (UWB) communication in a wireless communication system, the method comprising: receiving a first ranging control message (RCM) from the controller, the first RCM including information of a first ranging interval of a second RCM; based on the first ranging interval, receiving an interval update message of the second RCM from the controller, the interval update message including information of a second ranging interval, wherein the ranging interval of the second RCM is changed from the first ranging interval to the second ranging interval; and receiving the second RCM from the controller based on the second ranging interval.

[0053] According to another aspect of the present disclosure, a controller is provided for performing ranging with a controlled party using ultra-wideband (UWB) communication in a wireless communication system, the controller comprising: a transceiver; a memory; and a processor, the processor being configured to: send a first ranging control message (RCM) to the controlled party, the first ranging control message including information of a first ranging interval of a second RCM; change the ranging interval of the second RCM from the first ranging interval to the second ranging interval; send an interval update message of the second RCM to the controlled party based on the first ranging interval, the interval update message including information of the changed ranging interval; and send the second RCM to the controlled party based on the changed ranging interval.

[0054] According to another aspect of the present disclosure, a non-transitory computer-readable recording medium has recorded thereon instructions executable by at least one processor to perform the method of the controller.

[0055] According to another aspect of the present disclosure, a non-transitory computer-readable recording medium has instructions recorded thereon, the instructions being executable by at least one processor to perform the method of the controlled party.

[0056] Embodiments will now be described more fully with reference to the accompanying drawings so that those of ordinary skill in the art can perform the present disclosure without difficulty. However, the present disclosure can be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. In addition, throughout the specification, the same reference numerals will represent the same elements.

[0057] All terms used in the present disclosure are general terms selected in consideration of their functions in the present disclosure and are currently widely used. However, these terms may have different meanings according to the intention of a person of ordinary skill in the art, precedents, or the emergence of new technologies. Therefore, the terms used in the present disclosure should not be interpreted based solely on their names, but should be interpreted based on the meaning of the terms and the description throughout the specification.

[0058] Although the terms “first” and “second” may be used to describe various components, it should be understood that the components are not limited to the terms “first” and “second.” The terms “first” and “second” are only used to distinguish each component.

[0059] In addition, all examples and conditional language listed herein should be interpreted as not being limited to such specific examples and conditions. Unless there is a specific description to the contrary, the singular form may include the plural form. Throughout the specification, it will also be understood that when an element is referred to as being "connected to" another element or "coupled" with another element, it may be directly connected to another element or coupled with another element, or it may be electrically connected to another element or coupled with another element by inserting an intermediate element therebetween. Moreover, when a component "includes" or "contains" an element, unless there is a specific description to the contrary, the component may further include other elements without excluding other elements.

[0060] Throughout the specification, the use of the term "the" and similar indicative terms may correspond to both singular and plural forms. Moreover, unless there is a specific description about the order of operations, the order of operations performed by the method according to the present disclosure may be changed. Therefore, the present disclosure is not limited to the order of operations.

[0061] The phrases "some embodiments" or "one embodiment" listed throughout this specification are not necessarily referring to the same embodiment.

[0062] Embodiments of the present disclosure may be described according to functional block components and various processing steps. Some or all of the functional blocks may be implemented by any number of hardware and / or software components configured to perform a specified function. For example, the functional blocks of the present disclosure may be implemented by one or more microprocessors, or may be implemented by circuit components for predetermined functions. In addition, for example, the functional blocks of the present disclosure may be implemented in any programming or various scripting languages. The functional blocks may be implemented by algorithms executed on one or more processors. In addition, the present disclosure may employ various techniques according to the prior art for electronic configuration, signal processing and / or data processing, etc. The terms "mechanism", "element" and "unit" are used extensively and are not limited to mechanical or physical embodiments.

[0063] Furthermore, the connecting lines or connectors shown in the various figures presented are intended to represent exemplary functional relationships and / or physical or logical couplings between the various elements. It should be noted that many alternative or additional functional relationships, physical connections or logical connections may exist in a practical device.

[0064] Throughout the disclosure, expressions such as "at least one of a, b, or c" mean only a; only b; only c; both a and b; both a and c; both b and c; a, b, and c; or variations thereof.

[0065] Generally speaking, according to the difference in coverage, wireless sensor network technology is roughly divided into wireless local area network (WLAN) and wireless personal area network (WPAN). In this regard, WLAN refers to the technology based on the Institute of Electrical and Electronics Engineers (IEEE) 802.11 and capable of accessing the backbone network within a range of 100 meters. In addition, WPAN refers to the technology based on IEEE802.15 and including Bluetooth, ZigBee, ultra-wideband (UWB), etc. The wireless sensor network that has realized the wireless sensor network technology is composed of multiple communication electronic devices. In this regard, the communication electronic device performs communication in the active (ACTIVE) period by using a single channel. That is, the communication electronic device collects packets in real time and sends the collected packets in the active period.

[0066] UWB may refer to a short-range, high-speed wireless communication technology that uses a wide frequency band of at least several GHz, low spectrum density, and a small pulse bandwidth (1 to 4 nanoseconds) in a baseband state. UWB may represent the bandwidth itself to which UWB communication is applied. Hereinafter, a communication method of an electronic device will now be described based on UWB, but this is only an example, and the communication method may be applied to various wireless communication technologies in actual use.

[0067] The electronic devices according to the embodiments may include mobile phones, smart phones, mobile terminals, laptop computers, terminals for digital broadcasting, personal digital assistants (PDAs), portable multimedia players (PMPs), navigation, tablet personal computers (tablet PCs), tablet computers (PCs), super notebooks, telematics terminals, digital televisions (digital TVs), desktop computers, refrigerators, projectors, vehicles, smart cars, printers, etc.

[0068] Embodiments will now be described more fully with reference to the accompanying drawings.

[0069] FIG. 1A is a diagram for describing a general device-to-device (D2D) communication process.

[0070] D2D communication refers to direct communication between geographically adjacent electronic devices without the use of infrastructure such as base stations or access points. D2D communication can use unlicensed frequency bands, such as Wi-Fi Direct or Bluetooth. In addition, D2D communication can use licensed frequency bands, thereby improving the frequency usage efficiency of cellular systems. D2D communication can be used limitedly as a term to represent communication between objects or machine-to-machine (M2M) communication, but in the present disclosure, D2D communication can fully include not only communication between simple devices embedded with communication functions, but also communication between various types of devices, such as communication between smartphones or personal computers with communication functions.

[0071] Peer-Aware Communication (PAC) is a communication scheme for devices and services in a short distance and is one of the technologies for D2D communication. In PAC, a D2D electronic device may be referred to as a Peer-Aware Communication Device (PD).

[0072] As shown in FIG. 1A , in the PAC, there may be a one-to-one communication scheme in which one PD communicates with another PD, a one-to-many communication scheme in which one PD communicates with multiple PDs, and a many-to-many communication scheme in which multiple PDs communicate with multiple PDs.

[0073] In a wireless communication system according to an embodiment, a synchronization header (SHR) preamble may be sent as a header of a frame to obtain synchronization between a transmitter and a receiver. The SHR preamble may be a signal agreed upon between a transmitter and a receiver. In a wireless communication system, the SHR preamble may be determined to allow rapid synchronization between a transmitter and a receiver via the start point of a frame.

[0074] FIG. 1B illustrates a communication process according to an embodiment.

[0075] 1B , the first electronic device 110 and the second electronic device 120 may perform communication with each other via a device search process 130 , a link generation process 140 , and a data communication process 150 .

[0076] In the device search process 130, each of the first electronic device 110 and the second electronic device 120 may search for other electronic devices that can be used for D2D communication from electronic devices around the first electronic device 110 and the second electronic device 120. In the device search process 130, each of the first electronic device 110 and the second electronic device 120 may determine whether to generate a link for D2D communication. For example, the first electronic device 110 may send a search signal to allow the second electronic device 120 to discover the first electronic device 110. In addition, the first electronic device 110 may receive the search signal sent from the second electronic device 120, and thus may identify other electronic devices that can be used for D2D communication that exist in the D2D communication range. The first electronic device 110 may include discovery information that is an identifier of the first electronic device 110 in the search signal, and may send the search signal.

[0077] The search signal may include various parameters, such as channel number, average pulse repetition frequency (PRF), data rate, preamble symbol length, start frame delimiter (SFD) length, UWB version, media access control (MAC) address list / group identifier (ID) / application ID (discovery information), etc.

[0078] In detail, the channel number may indicate the number of the channel through which data is transmitted and received. PRF may determine a possible preamble index. In addition, PRF may be expressed as a value obtained by dividing the total number of pulses within a pulse by the symbol duration. The data rate may refer to a value indicating how many data bits (1 or 0) may be sent in a unit time. The preamble symbol length may refer to the length of the preamble symbol. The SFD length may refer to the length of the bit string configured directly after the preamble near the starting point of the frame. The UWB version may indicate the version information of the UWB. The MAC address list / group ID / application ID may be referred to as discovery information. Reference will be made below to Figure 3 Describes the discovery information.

[0079] In the link generation process 140, each of the first electronic device 110 and the second electronic device 120 may generate a data transmission link for an electronic device to which data is to be transmitted among the electronic devices discovered in the device search process 130. For example, the first electronic device 110 may generate a data transmission link for the second electronic device 120 discovered by the first electronic device 110 in the device search process 130.

[0080] In the data communication process 150, the first electronic device 110 and the second electronic device 120 can transmit and receive data with each device that has generated a link in the link generation process 140. For example, the first electronic device 110 can transmit and receive data with the second electronic communication device 120 via the data transmission link generated in the link generation process 140.

[0081] FIG. 2A illustrates an operating method of an electronic device according to an embodiment.

[0082] 2A , in operation 210 , the electronic device may establish a communication connection with another electronic device by obtaining a parameter for establishing a first communication through a second communication different from the first communication which is UWB.

[0083] In operation 230 , the electronic device may transmit and receive data with another electronic device via the first communication.

[0084] The first communication according to one or more embodiments may implement at least one of IEEE 802.15.4 or IEEE 802.15.8, but other embodiments are not limited thereto.

[0085] When the electronic device exchanges parameters with another electronic device, the electronic devices may exchange mode information. For example, mode=1 indicates a ranging process based on 802.15.8 MAC, and mode=2 indicates a ranging process based on 802.15.4 MAC. Alternatively, in the case where multiple electronic devices know each other's mode information before parameter exchange occurs, the multiple electronic devices do not exchange mode information during the parameter exchange process, but directly use the mode information during the ranging process.

[0086] FIG. 2B illustrates an operating method of an electronic device according to an embodiment.

[0087] 2B , in operation 210 , the electronic device may obtain parameters for the first communication via the second communication in order to establish a communication connection with another electronic device.

[0088] In operation 220, the electronic device may check an SHR preamble available in the first communication and a contention free period (CFP) time slot corresponding to the SHR preamble.

[0089] In operation 235 , the electronic device may transmit and receive data with other electronic devices via the first communication based on the inspection result.

[0090] The parameter may include at least one of a MAC address, a group ID, and an application ID.

[0091] The operating method of the electronic device may further include: checking, via the second communication, an SHR preamble and a CFP slot available in the first communication.

[0092] The sending and receiving of data may include: sending and receiving data with another electronic device via the first communication based on the inspection result.

[0093] The checking of the SHR preamble and the CFP slot may include checking a use state of the CFP slot based on synchronization frames respectively corresponding to some of the plurality of SHR preambles.

[0094] The checking of the SHR preamble and the CFP slot may include transmitting a check message including information on a usage status of the CFP slot to other electronic devices.

[0095] The checking of the SHR preamble and the CFP time slot may further include: when (eg, based on) the existence of the available SHR preamble and the CFP time slot, receiving information about an available SHR preamble and an available CFP time slot from other electronic devices.

[0096] The checking of the SHR preamble and the CFP time slot may further include receiving an unavailability notification message from other electronic devices when (eg, based on) the SHR preamble and the CFP time slot are unavailable.

[0097] The data transceiving with other electronic devices via the first communication may include broadcasting information about available CFP time slots via a synchronization frame.

[0098] The data transmission and reception with the other electronic device via the first communication may also include: performing pairing with the other electronic device in a contention access period (CAP) using the parameter.

[0099] Furthermore, transceiving data with other electronic devices via the first communication may include transceiving data using an SHR preamble and a CFP time slot available in the first communication.

[0100] Figure 3 A configuration of the discovery information 300 according to an embodiment is shown.

[0101] In the device search process 130 of FIG. 1B , the first electronic device 110 may include the discovery information 300 , which is an identifier of the first electronic device 110 , in a search signal, and may transmit the search signal including the discovery information 300 .

[0102] The discovery information 300 may include a PD MAC address, a group ID, and an application ID. Alternatively, at least one of the PD MAC address, the group ID, or the application ID may be referred to as the discovery information 300. The PD MAC address may also be referred to as a MAC address list.

[0103] The PD MAC address may represent a physical address implemented on hardware for identifying a PD. The group ID may represent information for identifying a group. The application ID may represent information for identifying an application. The PD MAC address may include 48 bits, the group ID may include 16 bits, and the application ID may include 104 bits. However, the number of bits mentioned above is only an example, and thus, the PD MAC address, the group ID, and the application ID may include various numbers of bits.

[0104] Figure 4 The structure of a UWB PHY frame 400 according to an embodiment is shown.

[0105] The UWB PHY frame 400 may include an SHR preamble 410 , a PHY header (PHR) 420 , and a data field 430 .

[0106] The SHR preamble 410 may be used in automatic gain control (AGC), signal acquisition, frequency offset estimation, packet synchronization, channel estimation, ranging, etc. Specifically, the SHR preamble 410 may be added before the PHR 420 for receiver algorithms related to AGC settings, antenna diversity selection, timing acquisition, frequency recovery, packet and frame synchronization, channel estimation, and leading edge signal tracking for ranging. The SHR preamble 410 may be referred to as a preamble code.

[0107] The PHR 420 may include the contents of a physical (PHY) protocol data unit (PPDU) and information about the protocol used to transmit the PPDU.

[0108] Data field 430 may include data being transmitted or received.

[0109] Figure 5 The structure of a UWB superframe 500 according to an embodiment is shown.

[0110] The UWB superframe 500 may include a synchronization period (Sync period) 510 , a CAP 530 , and a CFP 550 .

[0111] The electronic device according to the embodiment may perform communication based on the UWB superframe 500. Figure 5 As shown, the length of UWB superframe 500 is 100 milliseconds and may include synchronization period 510, CAP 530 and CFP 550. Synchronization period 510 may include 8 synchronization slots of the same length. One synchronization slot among the plurality of synchronization slots may be determined to be used for transmitting a synchronization frame.

[0112] The synchronization period 510 may include 8 synchronization time slots, and the duration of one time slot is 0.5 milliseconds in the synchronization period 510. The duration of the synchronization period 510 may be 4 milliseconds.

[0113] In this regard, the first electronic device 110 attempting to communicate in a non-contention situation may notify the second electronic device 120 of information about the time slot of the CFP 550 by broadcasting information through a synchronization frame during the synchronization period 510. The second electronic device 120 may identify, through the received synchronization frame, information about the currently used time slot of the CFP 550. The second electronic device 120 may determine that a time slot of the CFP 550 is not the currently used time slot of the CFP 550, and may notify the first electronic device 110 of the determined time slot through the synchronization frame.

[0114] Alternatively, a plurality of electronic devices may be configured as a group, and at least one electronic device included in the configured group may representatively notify whether to use the time slot of the CFP 550 through a synchronization frame.

[0115] The duration of CAP 530 may be 24 milliseconds. Electronic devices may perform mutual pairing through the time slot of CAP 530. Figure 7 As described, the first electronic device 110 can be paired with the second electronic device 120 through the CAP 530 .

[0116] The CFP 550 may include 32 time slots, and the duration of one time slot is 2.25 milliseconds in the CFP 550. The duration of the CFP 550 may be 72 milliseconds. Electronic devices to which the time slots of the CFP 550 are respectively allocated may perform communication without collision and interference.

[0117] Figure 6 A communication process using UWB according to an embodiment is shown.

[0118] refer to Figure 6 In the wireless communication system shown, it is assumed that there are a first electronic device 110, a second electronic device 120, and a third electronic device 115. In addition, it is assumed that the third electronic device 115 is paired with the first electronic device 110. Each of the first electronic device 110, the second electronic device 120, and the third electronic device 115 may correspond to a single electronic device or may correspond to a plurality of electronic devices.

[0119] According to reference Figure 6 In the described embodiment, the first electronic device 110, the second electronic device 120, and the third electronic device 115 may perform communication using UWB.

[0120] The first electronic device 110 attempts to transmit data to the second electronic device 120 via the CFP 550 .

[0121] In operation 610, the first electronic device 110 may transmit a synchronization frame to the second electronic device 120 and the third electronic device 115 via the synchronization period 510A. The synchronization frame may include the above reference Figure 3 Describes the discovery information.

[0122] In operation 620 , the first electronic device 110 may perform pairing with the second electronic device 120 via the CAP 530 .

[0123] In operation 630, the first electronic device 110 may transmit a synchronization frame to the second electronic device 120 and the third electronic device 115 via the synchronization period 510B. The synchronization frame may include usage information about the CFP time slot. Fig. 9 Describes the usage information of the CFP time slot.

[0124] In operation 640, the first electronic device 110 may perform a ranging operation and data transmission or reception to the second electronic device 120 using the available CFP time slot via the CFP 550. Fig.11 and Fig.12 The principles of the described ranging operation can be applied to the ranging operation.

[0125] refer to Figure 6 Referring to reference numerals 641 and 643 , the second electronic device 120 and the third electronic device 115 may operate their respective receivers.

[0126] Figure 7 A communication process without using UWB and a communication process using UWB according to an embodiment are shown.

[0127] Hereinafter, for convenience of description, communication other than (ie, different from) UWB is referred to as second communication, and UWB is referred to as first communication.

[0128] In reference Figure 7 In the described wireless communication system, it is assumed that there are a first electronic device 110, a second electronic device 120, and a third electronic device 115. It is further assumed that the third electronic device 115 is paired with the first electronic device 110. Each of the first electronic device 110, the second electronic device 120, and the third electronic device 115 may correspond to a single electronic device or may correspond to a plurality of electronic devices.

[0129] The first electronic device 110 attempts to transmit data to the second electronic device 120 using the first communication via the CFP 550 .

[0130] In operation 710, the first electronic device 110 may establish a communication connection to the second electronic device 120 using the second communication. The communication using the second communication may include at least one of the third generation (3G), long term evolution (LTE), fourth generation (4G), fifth generation (5G), wireless fidelity (WiFi), light fidelity (LiFi), wireless gigabit alliance (WiGig), Bluetooth, Bluetooth low energy (BLE), ZigBee, near field communication (NFC), magnetic secure transmission, radio frequency (RF), or body area network (BAN). However, the present disclosure is not limited to the foregoing examples, and all available wireless communication technologies may be used as the communication using the second communication.

[0131] In operation 720, the first electronic device 110 may utilize the second communication to exchange parameters for the first communication with the second electronic device 120. As described above with reference to FIG. 1B , the parameters may include a channel number, a PRF (indicating a possible preamble index), a data rate, a preamble symbol length, a SFD length, UWB version information, a MAC address list / group ID / application ID (discovery information), etc. The parameters may include reference Figure 3 Describes the discovery information.

[0132] In operation 730, for the first communication, each application of the first electronic device 110 and the second electronic device 120 may request to scan the CFP time slot and SHR preamble available in the first communication. However, one or more other embodiments are not limited to the application, for example, the processors respectively included in the first electronic device 110 and the second electronic device 120 may also perform the scan request operation.

[0133] In operation 740, the first electronic device 110 and the second electronic device 120 may check the use status of the CFP time slot through the synchronization frame corresponding to the SHR preamble by performing a scanning / listening operation. Specifically, the first electronic device 110 and the second electronic device 120 may check the use status of the CFP time slot based on the synchronization frames corresponding to one or more SHR preambles available in the plurality of SHR preambles, respectively.

[0134] In operation 750 , the first electronic device 110 may transmit a check message including usage information about the CFP time slot to the second electronic device 120 using the second communication.

[0135] In operation 760, the second electronic device 120 receives the check message, and when (e.g., based on) there is an available SHR preamble and an available CFP time slot, the second electronic device 120 may send information about the SHR preamble and the CFP time slot to the first electronic device 110. The configuration of the check message will be referred to below. Fig. 9 and Fig.10Give a description.

[0136] The second electronic device 120 receives the check message, and when (e.g., based on) there is no available SHR preamble and an available CFP time slot, the second electronic device 120 may send an unavailability notification message to the first electronic device 110, the unavailability notification message indicating that there is no available SHR preamble and an available CFP time slot. Then, returning to operation 740, the first electronic device 110 and the second electronic device 120 may check the use status of the CFP time slot through a synchronization frame corresponding to the SHR preamble by performing a scanning / listening operation, and may stand by until there is an available SHR preamble and an available CFP time slot.

[0137] The foregoing description may be equally applied to a case where the first electronic device 110 receives a check message from the second electronic device 120 .

[0138] In operation 770 , the first electronic device 110 may perform pairing with the second electronic device 120 via the CAP 530 using the first communication.

[0139] In operation 780, the first electronic device 110 may transmit a synchronization frame to the second electronic device 120 and the third electronic device 115 via the synchronization period 510 using the first communication. The synchronization frame may include usage information about the CFP time slot. Fig. 9 Describes the usage information of the CFP time slot.

[0140] In operation 790, the first electronic device 110 may perform a ranging operation and data transmission or reception to the second electronic device 120 using the available CFP time slot in the first communication and CFP 550. Fig.11 and Fig.12 The principles of the described ranging operation can be applied to the ranging operation.

[0141] refer to Figure 7 Referring to reference numeral 791, only the second electronic device 120 but not the third electronic device 115 can operate its receiver.

[0142] Figure 8 A configuration for checking message information according to an embodiment is shown.

[0143] refer to Figure 8 , the octet value of the CFP slot usage (CSU) bitmap is 4, and the octet value 4 can represent 32 bits. Figure 5As described, the CFP 550 may have 32 time slots, and the bits of the CSU bitmap may correspond to the respective time slots of the CFP 550. For example, the 0th bit of the CSU bitmap may correspond to the 0th time slot of the CFP 550, and the 31st bit of the CSU bitmap may correspond to the 31st time slot of the CFP 550. When (e.g., based on) each bit of the CSU bitmap is "1", the time slot of the CFP 550 may represent an available state, and when each bit of the CSU bitmap is "0", the time slot of the CFP 550 may represent an unavailable state. However, it should be understood that one or more other embodiments are not limited to the above examples, and as an example, the representation of "1" and "0" may be switched.

[0144] The CFP Occupancy Frequency (CFOO) field may indicate the number of unused superframes between CFPs. Fig.10 Describes the configuration of the CFOO field.

[0145] The preamble may correspond to the above reference Figure 4 The SHR preamble 410 is described, and the preamble index represents the preamble to be used by each of the plurality of electronic devices in the first communication. According to the preamble index, different preambles between them can be distinguished.

[0146] Fig. 9 A configuration of a CFOO value according to an embodiment is shown.

[0147] The CFOO value can specify the number of superframes that are not used. Figure 5 As described, the length of the UWB superframe 500 may be 100 milliseconds. This may mean that a total of up to 10 superframes 500 may be sent per second.

[0148] When the CFOO value is "0", this may mean that all superframes are used, and because there are 10 superframes per second, the usage frequency is 10 Hz. This can be calculated based on 10 / (0+1)=10. When the CFOO value is "1", this may mean that the number of unused superframes is 1, and therefore the usage frequency is 5 Hz. This can be calculated based on 10 / (1+1)=5. When the CFOO value is "99", this may mean that the number of unused superframes is 99, and therefore the usage frequency is 0.1 Hz. This can be calculated based on 10 / (99+1)=0.1.

[0149] Fig.10 is a flowchart of an operating method of an electronic device according to an embodiment.

[0150] refer to Fig.10In operation 1010, the electronic device may establish a communication connection with another electronic device by obtaining a parameter for a first communication via a second communication different from the first communication which is UWB.

[0151] In operation 1030, the electronic device may transmit and receive a ranging message to / from other electronic devices in order to measure a distance to the other electronic devices.

[0152] The parameter may include at least one of a MAC address, a group ID, and an application ID.

[0153] The transmission and reception of data described with reference to FIG. 2B may include: transmitting and receiving a ranging message to / from other electronic devices in order to measure the distance to the other electronic devices.

[0154] Furthermore, transceiving ranging messages to / from other electronic devices may include: sending a ranging initiation message including ranging duration data to other electronic devices; receiving a ranging response message from other electronic devices; and sending a ranging end message to other electronic devices.

[0155] Furthermore, transmitting and receiving the ranging message to / from other electronic devices may include transmitting the ranging initiation message to other electronic devices when (eg, based on) a predetermined event (eg, door pulling) occurs.

[0156] In addition, sending and receiving a ranging message to / from another electronic device may include: checking whether the other electronic device is located within a preset distance (SECURE_DISTANCE) from the other electronic device.

[0157] When (eg, based on) failure to measure the distance to the other electronic device, transceiving the ranging message to / from the other electronic device may include determining a first backoff that is a time for resending the ranging message to the other electronic device.

[0158] Furthermore, when (eg, based on) measuring the distance to the other electronic device is successful, transmitting and receiving the ranging message to / from the other electronic device may include determining a second backoff that is a time for resending the ranging message to the other electronic device.

[0159] The ranging packet exchange time (RPET) may indicate the time for exchanging ranging packets between the anchor points of the first electronic device and the second electronic device. The default value of RPET may be 20 milliseconds (eg, the ranging packet exchange time between the anchor points of the vehicle and the smartphone defaults to 20 milliseconds).

[0160] SECURE_DISTANCE may indicate the distance at which the door of the first electronic device should be unlocked. SECURE_DISTANCE may indicate the radius length of a circle centered at a specific point of the first electronic device. The default value of SECURE_DISTANCE may be 2 meters (eg, SECURE_DISTANCE: distance at which the door should be unlocked (meters), default is 2 meters).

[0161] The average walking speed of a person (AWSH) may indicate the average walking speed of a person. The person may have a second electronic device, and AWSH may refer to the average moving speed of the second electronic device. The default value of AWSH may be 1.5 m / s (e.g., AWSH: average walking speed of a person (default is 1.5 m / s)).

[0162] PULL_DOOR_BACK_OFF may represent the backoff duration when a predetermined event occurs in the first electronic device. The predetermined event may be that the door of the first electronic device is unlocked. The maximum and minimum values ​​of PULL_DOOR_BACK_OFF may be represented as MAX_PULL_DOOR_BACK_OFF (milliseconds) and MIN_PULL_DOOR_BACK_OFF (milliseconds), respectively (e.g., PULL_DOOR_BACK_OFF: the backoff duration when a "pull door" event occurs, the maximum value is MAX_PULL_DOOR_BACK_OFF (milliseconds), and the minimum value is MIN_PULL_DOOR_BACK_OFF (milliseconds)).

[0163] MAX_PULL_DOOR_BACK_OFF may represent a maximum backoff duration when a predetermined event occurs in the first electronic device. The predetermined event may be that the door of the first electronic device is unlocked. The default value of MAX_PULL_DOOR_BACK_OFF may be 100 milliseconds (e.g., MAX_PULL_DOOR_BACK_OFF: maximum backoff duration when a "pull door" event occurs, defaulting to 100 milliseconds).

[0164] MIN_PULL_DOOR_BACK_OFF may represent a minimum backoff duration when a predetermined event occurs in the first electronic device. The predetermined event may be that the door of the first electronic device is unlocked. The default value of MIN_PULL_DOOR_BACK_OFF may be 0 milliseconds (e.g., MIN_PULL_DOOR_BACK_OFF: minimum backoff duration when a "pull door" event occurs, defaulting to 0 milliseconds).

[0165] PULL_DOOR_BACK_OFF_WINDOW may represent the range of the backoff window of PULL_DOOR_BACK. The backoff window may refer to the unit of the backoff operation. The default value of PULL_DOOR_BACK_OFF_WINDOW may be a random value among real values ​​between 0 and 5 (e.g., PULL_DOOR_BACK_OFF_WINDOW: the backoff window range of PULL_DOOR_BACK_OFF, defaulting to a random number (0 to 5)).

[0166] FIRST_BACK_OFF can be expressed as the first retry backoff time when the location of the second electronic device is within SECURE_DISTANCE from the first electronic device. The maximum value of FIRST_BACK_OFF can be expressed as MAX_FIRST_BACK_OFF, and the minimum value of FIRST_BACK_OFF can be expressed as MIN_FIRST_BACK_OFF (for example, FIRST_BACK_OFF: the first retry backoff duration when the location of the smartphone is within 0 to SECURE_DISTANCE (meters), the maximum value is MAX_FIRST_BACK_OFF (milliseconds), and the minimum value is MIN_FIRST_BACK_OFF (milliseconds)).

[0167] MAX_FIRST_BACK_OFF may represent the maximum value of the first retry backoff time when the second electronic device is located within SECURE_DISTANCE from the first electronic device. The default value of MAX_FIRST_BACK_OFF may be 400 milliseconds (e.g., MAX_FIRST_BACK_OFF: maximum first retry backoff duration when the smartphone is located within 0 to SECURE_DISTANCE (meters), defaulting to 400 milliseconds).

[0168] MIN_FIRST_BACK_OFF may represent the minimum value of the first retry backoff time when the second electronic device is located within SECURE_DISTANCE from the first electronic device. The default value of MIN_FIRST_BACK_OFF may be 100 milliseconds (e.g., MIN_FIRST_BACK_OFF: minimum first retry backoff duration when the smartphone is located within 0 to SECURE_DISTANCE (meters), defaulting to 100 milliseconds).

[0169] FIRST_BACK_OFF_WINDOW may represent the range of the backoff window of FIRST_BACK_OFF. The backoff window may refer to the unit of the backoff operation. The default value of FIRST_BACK_OFF_WINDOW may be a random value among real values ​​between 0 and 15 (e.g., FIRST_BACK_OFF_WINDOW: the backoff window range of FIRST_BACK_OFF, defaulting to a random number (0 to 15)).

[0170] SECOND_BACK_OFF can represent the second retry backoff time when the location of the second electronic device is within SECURE_DISTANCE from the first electronic device. The maximum value of SECOND_BACK_OFF can be represented as MAX_SECOND_BACK_OFF, and the minimum value of SECOND_BACK_OFF can be represented as MAX_SECOND_BACK_OFF (for example, SECOND_BACK_OFF: the second retry backoff duration when the location of the smartphone is within 0 to SECURE_DISTANCE (meters), the maximum value is MAX_SECOND_BACK_OFF (milliseconds), and the minimum value is MIN_SECOND_BACK_OFF (milliseconds)).

[0171] MAX_SECOND_BACK_OFF may represent the maximum value of the second retry backoff time when the second electronic device is located within SECURE_DISTANCE from the first electronic device. The default value of MAX_SECOND_BACK_OFF may be 300 milliseconds (e.g., MAX_SECOND_BACK_OFF: maximum second retry backoff duration when the smartphone is located within 0 to SECURE_DISTANCE (meters), defaulting to 300 milliseconds).

[0172] MIN_SECOND_BACK_OFF may represent the minimum value of the second retry backoff time when the second electronic device is located within SECURE_DISTANCE from the first electronic device. The default value of MIN_SECOND_BACK_OFF may be 100 milliseconds (e.g., MIN_SECOND_BACK_OFF: minimum second retry backoff duration when the location of the smartphone is within 0 to SECURE_DISTANCE (meters), defaulting to 100 milliseconds).

[0173] SECOND_BACK_OFF_WINDOW may represent the range of the backoff window of SECOND_BACK_OFF. The backoff window may refer to the unit of the backoff operation. The default value of SECOND_BACK_OFF_WINDOW may be a random value among real values ​​between 0 and 10 (e.g., SECOND_BACK_OFF_WINDOW: the backoff window range of SECOND_BACK_OFF, defaulting to a random number (0 to 10)).

[0174] LAST_BACK_OFF may represent the retry backoff duration from the third retry to successful ranging when the location of the second electronic device is within SECURE_DISTANCE from the first electronic device. The maximum value of LAST_BACK_OFF may be represented as MAX_LAST_BACK_OFF, and the minimum value of LAST_BACK_OFF may be represented as MIN_LAST_BACK_OFF (e.g., LAST_BACK_OFF: the retry backoff duration from the third retry to successful ranging when the location of the smartphone is within 0 to SECURE_DISTANCE (meters), the maximum value is MAX_LAST_BACK_OFF (milliseconds), and the minimum value is MIN_LAST_BACK_OFF (milliseconds)).

[0175] MAX_LAST_BACK_OFF may represent the maximum retry backoff duration from the third retry to successful ranging when the location of the second electronic device is within the SECURE_DISTANCE of the first electronic device. The default value of MAX_LAST_BACK_OFF may be 200 milliseconds (e.g., MAX_LAST_BACK_OFF: the maximum retry backoff duration from the third retry to successful ranging when the location of the smartphone is within the range of 0 to SECURE_DISTANCE (meters), the default value is 200 milliseconds).

[0176] MIN_LAST_BACK_OFF may represent the minimum retry backoff duration from the third retry to successful ranging when the second electronic device is within the SECURE_DISTANCE range from the first electronic device. The default value of MIN_LAST_BACK_OFF may be 100 milliseconds (e.g., MIN_LAST_BACK_OFF: the minimum retry backoff duration from the third retry to successful ranging when the smartphone is within the range of 0 to SECURE_DISTANCE (meters), the default value is 100 milliseconds).

[0177] LAST_BACK_OFF_WINDOW may represent the range of the backoff window of LAST_BACK_OFF. The backoff window may refer to the unit of the backoff operation. The default value of LAST_BACK_OFF_WINDOW may be a random value among real values ​​between 0 and 5 (eg, LAST_BACK_OFF_WINDOW: the backoff window range of LAST_BACK_OFF, defaulting to a random number (0 to 5)).

[0178] SUCCESS_BACK_OFF may indicate the interval of the next ranging session after ranging is successful. The maximum value of SUCCESS_BACK_OFF may be indicated as MAX_SUCCESS_BACK_OFF, and the minimum value of SUCCESS_BACK_OFF may be indicated as MIN_SUCCESS_BACK_OFF (e.g., SUCCESS_BACK_OFF: the interval of the next ranging session after ranging is successful, the maximum value is MAX_SUCCESS_BACK_OFF (milliseconds), and the minimum value is MIN_SUCCESS_BACK_OFF (milliseconds)).

[0179] MAX_SUCCESS_BACK_OFF may indicate the maximum interval of the next ranging session after ranging is successful. The default value of MAX_SUCCESS_BACK_OFF may be 800 milliseconds (eg, MAX_SUCCESS_BACK_OFF: the maximum interval of the next ranging session after ranging is successful, the default value is 800 milliseconds).

[0180] MIN_SUCCESS_BACK_OFF may indicate the minimum interval of the next ranging session after ranging is successful. The default value of MIN_SUCCESS_BACK_OFF may be 400 milliseconds (eg, MIN_SUCCESS_BACK_OFF: the minimum interval of the next ranging session after ranging is successful, the default value is 400 milliseconds).

[0181] SUCCESS_BACK_OFF_WINDOW may represent the range of the backoff window of SUCCESS_BACK_OFF. The backoff window may refer to the unit of the backoff operation. The default value of SUCCESS_BACK_OFF_WINDOW may be a random value among real values ​​between 0 and 20 (eg, SUCCESS_BACK_OFF_WINDOW: the backoff window range of SUCCESS_BACK_OFF, defaulting to a random number (0-20)).

[0182] NORMAL_BACK_OFF can represent the backoff time when the position of the second electronic device exceeds the SECURE_DISTANCE from the first electronic device. The maximum value of NORMAL_BACK_OFF can be represented as MAX_NORMAL_BACK_OFF, and the minimum value of NORMAL_BACK_OFF can be represented as MIN_NORMAL_BACK_OFF (for example, NORMAL_BACK_OFF: the backoff duration when the position of the smartphone exceeds the SECURE_DISTANCE, the maximum value is MAX_NORMAL_BACK_OFF (milliseconds), and the minimum value is MIN_NORMAL_BACK_OFF (milliseconds)).

[0183] MAX_NORMAL_BACK_OFF may represent the maximum backoff time when the location of the second electronic device exceeds SECURE_DISTANCE from the first electronic device. The default value of MAX_NORMAL_BACK_OFF may be 800 milliseconds (eg, MAX_NORMAL_BACK_OFF: maximum backoff duration when the location of the smartphone exceeds SECURE_DISTANCE, default is 800 milliseconds).

[0184] MIN_NORMAL_BACK_OFF may represent a minimum backoff time when the second electronic device is located beyond SECURE_DISTANCE from the first electronic device. A default value of MIN_NORMAL_BACK_OFF may be 400 milliseconds (eg, MIN_NORMAL_BACK_OFF: minimum backoff duration when the smartphone is located beyond SECURE_DISTANCE, default is 400 milliseconds).

[0185] NORMAL_BACK_OFF_WINDOW may represent the backoff window range of NORMAL_BACK_OFF. The default value of NORMAL_BACK_OFF_WINDOW may be a random value among real values ​​between 0 and 20 (eg, NORMAL_BACK_OFF_WINDOW: the backoff window range of NORMAL_BACK_OFF, defaulting to a random number (0-20)).

[0186] NRD_IN_RANGE can represent the next ranging duration when the location of the second electronic device is within SECURE_DISTANCE from the first electronic device and the ranging is successful. The maximum value of NRD_IN_RANGE can be expressed as MAX_NRD_IN_RANGE, and the minimum value of NRD_IN_RANGE can be expressed as MIN_NRD_IN_RANGE (for example, NRD_IN_RANGE: the next ranging duration when the location of the smartphone is within the range of 0 to SECURE_DISTANCE and the ranging is successful, the maximum value is MAX_NRD_IN_RANGE (milliseconds), and the minimum value is MIN_NRD_IN_RANGE (milliseconds)).

[0187] MAX_NRD_IN_RANGE may represent the maximum value of the next ranging duration when the second electronic device is located within SECURE_DISTANCE from the first electronic device and ranging is successful. The default value of MAX_NRD_IN_RANGE may be 400 milliseconds (e.g., MAX_NRD_IN_RANGE: when the smartphone is located within the range of 0 to SECURE_DISTANCE and ranging is successful, the maximum next ranging duration, defaults to 400 milliseconds).

[0188] MIN_NRD_IN_RANGE may represent the minimum value of the next ranging duration when the second electronic device is within the SECURE_DISTANCE from the first electronic device and the ranging is successful. The default value of MIN_NRD_IN_RANGE may be 800 milliseconds (e.g., MIN_NRD_IN_RANGE: the minimum next ranging duration when the smartphone is within the range of 0 to SECURE_DISTANCE and the ranging is successful, the default value is 800 milliseconds).

[0189] NRD_IN_RANGE_WINDOW may represent the range of the backoff window of NRD_IN_RANGE. The backoff window may refer to the unit of the backoff operation. The default value of NRD_IN_RANGE_WINDOW may be a random value among real values ​​between 0 and 20 (eg, NRD_IN_RANGE_WINDOW: the backoff window range of NRD_IN_RANGE, the default value is a random number (0-20)).

[0190] MAX_DISTANCE_VALUE may represent the distance from the first electronic device. MAX_DISTANCE_VALUE may be related to NRD_OUT_RANGE. A default value of MAX_DISTANCE_VALUE may be 5 meters (eg, MAX_DISTANCE_VALUE: distance to vehicle (meters) using NRD_OUT_RANGE, default is 5 meters).

[0191] FORECAST_DISTANCE may represent the estimated distance of the second electronic device in relation to the moving distance and the last measured distance (eg, FORECAST_DISTANCE: the estimated distance (meters) of the smartphone in relation to the moving distance and the last measured distance). FORECAST_DISTANCE may be calculated as follows:

[0192] FORECAST_DISTANCE = last measured distance (meters) - (time elapsed from the last measured time * AWSH (1.5 meters / second)).

[0193] In this regard, “the time elapsed from the last measured time” may represent the next ranging duration.

[0194] NRD_OUT_RANGE may represent the next ranging duration when the position of the second electronic device is within SECURE_DISTANCE to MAX_DISTANCE_VALUE. NRD_OUT_RANGE is a value related to FORECAST_DISTANCE. The maximum value of NRD_OUT_RANGE may be represented as MAX_NRD_OUT_RANGE, and the minimum value of NRD_OUT_RANGE may be represented as MIN_NRD_OUT_RANGE (e.g., NRD_OUT_RANGE: the next ranging duration when the position of the smartphone is within SECURE_DISTANCE to MAX_DISTANCE_VALUE, which is related to FORECAST_DISTANCE, the maximum value is MAX_NRD_OUT_RANGE (milliseconds), and the minimum value is MIN_NRD_OUT_RANGE (milliseconds)).

[0195] MAX_NRD_OUT_RANGE may represent the maximum value of the next ranging duration when the position of the second electronic device is within SECURE_DISTANCE to MAX_DISTANCE_VALUE. The default value of MAX_NRD_OUT_RANGE may be 1000 milliseconds (e.g., MAX_NRD_OUT_RANGE: the maximum next ranging duration when the position of the smartphone is within SECURE_DISTANCE to MAX_DISTANCE_VALUE, which is related to FORECAST_DISTANCE and defaults to 1000 milliseconds).

[0196] MIN_NRD_OUT_RANGE may represent the minimum value of the next ranging duration when the position of the second electronic device is within SECURE_DISTANCE to MAX_DISTANCE_VALUE. The default value of MAX_NRD_OUT_RANGE may be 400 milliseconds (e.g., MIN_NRD_OUT_RANGE: the minimum next ranging duration when the position of the smartphone is within SECURE_DISTANCE to MAX_DISTANCE_VALUE, which is related to FORECAST_DISTANCE and defaults to 400 milliseconds).

[0197] NRD_OUT_RANGE_WINDOW may represent the range of the backoff window of NRD_OUT_RANGE. The backoff window may refer to the unit of the backoff operation. The default value of NRD_OUT_RANGE_WINDOW may be a random value among real values ​​between 0 and 20 (e.g., NRD_OUT_RANGE_WINDOW: the backoff window range of NRD_OUT_RANGE, defaults to a random number (0-20)).

[0198] BASIC_DURATION may represent a value obtained by dividing MAX_FIRST_BACK_OFF by SECURE_DISTANCE. A default value of BASIC_DURATION may be 200 milliseconds (eg, BASIC_DURATION: MAX_FIRST_BACK_OFF (milliseconds) divided by the value (milliseconds) of SECURE_DISTANCE (meters), defaulting to 200 milliseconds).

[0199] NRD_MAX_RANGE can represent the next ranging duration when the position of the second electronic device exceeds MAX_DISTANCE_VALUE and the ranging is successful. The maximum value of NRD_MAX_RANGE can be expressed as MAX_NRD_MAX_RANGE, and the minimum value of NRD_MAX_RANGE can be expressed as MIN_NRD_MAX_RANGE (for example, NRD_MAX_RANGE: the next ranging duration when the position of the smartphone exceeds MAX_DISTANCE_VALUE and the ranging is successful, the maximum value is MAX_NRD_MAX_RANGE (milliseconds), and the minimum value is MIN_NRD_MAX_RANGE (milliseconds).

[0200] MAX_NRD_MAX_RANGE may represent the maximum value of the next ranging duration when the position of the second electronic device exceeds MAX_DISTANCE_VALUE and ranging is successful. The default value of MAX_NRD_MAX_RANGE may be 1400 milliseconds (e.g., MAX_NRD_MAX_RANGE: the maximum next ranging duration when the position of the smartphone exceeds MAX_DISTANCE_VALUE and ranging is successful, the default value is 1400 milliseconds).

[0201] MIN_NRD_MAX_RANGE may represent the minimum value of the next ranging duration when the position of the second electronic device exceeds MAX_DISTANCE_VALUE and ranging is successful. The default value of MIN_NRD_MAX_RANGE may be 1000 milliseconds (e.g., MIN_NRD_MAX_RANGE: the minimum next ranging duration when the position of the smartphone exceeds MAX_DISTANCE_VALUE and ranging is successful, the default value is 1000 milliseconds).

[0202] NRD_MAX_RANGE_WINDOW may represent the range of the backoff window of NRD_MAX_RANGE. The backoff window may refer to the unit of the backoff operation. The default value of NRD_MAX_RANGE_WINDOW may be a random value among real values ​​between 0 and 20 (e.g., NRD_MAX_RANGE_WINDOW: the backoff window range of NRD_MAX_RANGE, defaults to a random number (0-20)).

[0203] SECURE_DISTANCE_TIME_FOR_VEHICLE may indicate the time during which the location of the second electronic device is estimated to be within the SECURE_DISTANCE range relative to the first electronic device (eg, SECURE_DISTANCE_TIME_FOR_VEHICLE: the time (in seconds) during which the location of the smartphone is estimated to be within the SECURE_DISTANCE on the vehicle side). SECURE_DISTANCE_TIME_FOR_VEHICLE may be calculated as follows:

[0204] (Last measured distance (meters) - SECURE_DISTANCE) / AWSH (1.5 meters / second).

[0205] SECURE_DISTANCE_TIME_FOR_SMARTPHONE may indicate the time during which the location of the second electronic device is estimated to be within the SECURE_DISTANCE range relative to the first electronic device (eg, SECURE_DISTANCE_TIME_FOR_SMARTPHONE: the time (in seconds) during which the location of the smartphone is estimated to be within the SECURE_DISTANCE on the smartphone side). SECURE_DISTANCE_TIME_FOR_SMARTPHONE may be calculated as follows:

[0206] (Last measured distance (meters) - SECURE_DISTANCE) / AWSH (1.5 meters / second).

[0207] Fig.11 is a diagram for describing a double-sided two-way ranging (DS-TWR) operation of an electronic device according to an embodiment.

[0208] Fig.11 The RMARKER shown may refer to data in a frame in order to define a reference time point. Based on the RMARKER, the electronic device may measure a time interval.

[0209] The second electronic device 120 may measure the time between 2-1RMARKER 1111 and 2-2RMARKER 1112 as T round1 , where 2-1RMARKER 1111 is included in a frame transmitted (TX) to the first electronic device 110 , and 2-2RMARKER 1112 is included in a frame received (RX) from the first electronic device 110 .

[0210] The first electronic device 110 may measure the time between 1-1RMARKER 1121 and 1-2RMARKER 1122 as T reply1, wherein 1-1RMARKER 1121 is included in a frame received (RX) from the second electronic device 120 , and 1-2RMARKER 1122 is included in a frame transmitted (TX) to the second electronic device 120 .

[0211] The second electronic device 120 may measure the time between 2-2RMARKER 1112 and 2-3RMARKER 1113 as T reply2 , wherein 2-2RMARKER 1112 is included in a frame received (RX) from the first electronic device 110 , and 2-3RMARKER 1113 is included in a frame transmitted (TX) to the second electronic device 120 .

[0212] The first electronic device 110 may measure the time between 1-2RMARKER 1122 and 1-3RMARKER 1123 as T round2 , wherein 1-2RMARKER 1122 is included in a frame transmitted (TX) to the second electronic device 120 , and 1-3RMARKER 1123 is included in a frame received (RX) from the second electronic device 120 .

[0213] Time of Flight (ToF) prop It can be calculated according to the following equation 1. prop It can also be called including the hat operator (^) In the following, for the convenience of description, ToF is referred to as T prop .

[0214] [Equation 1]

[0215]

[0216] Fig.12 is a diagram for describing a DS-TWR ranging operation of an electronic device according to an embodiment.

[0217] refer to Fig.12 In operation 1210, the second electronic device 120 may start a ranging operation (ranging polling) by transmitting a data frame including a Report Control Bilateral Two-Way Ranging Information Element (RCDT(0)IE) to the first electronic device 110. The RCDT(0)IE may indicate that the data frame including the RCDT(0)IE starts a DS-TWR ranging operation and that the transmitter does not need a ranging result.

[0218] In operation 1220, the first electronic device 110 may transmit a data frame (ranging response) including an RCDT(2) IE and a ranging request response time (RRRT) IE to the second electronic device 120. The RCDT(2) IE may indicate that the data frame including the RCDT(2) IE may perform a request for measuring a second transmit-receive (TX-RX) round while continuously performing a DS-TWR ranging operation. The RRRT IE may be used to request a ranging response time from an electronic device performing a ranging operation.

[0219] In this regard, the first electronic device 110 may measure T reply1 As mentioned above, T reply1 The time between the RMARKER included in the data frame received (RX) from the second electronic device 120 and the RMARKER included in the data frame transmitted (TX) to the second electronic device 120 may be represented. Fig.11 The measurement principle described for the time interval also applies to T reply2 、T round1 , and T round2 .

[0220] In operation 1230, the second electronic device 120 may transmit the RRTIIE (Time Stamp Information) including the time stamp information (ranging final) to the second electronic device 120. reply2 ) and RRTM IE(T round1 ) is sent to the first electronic device 110. The RRTM IE may indicate a time interval between a transmission time of the frame and a reception time of the frame, wherein the round time measurement starts at the transmission time and ends at the reception time.

[0221] The first electronic device 110 may measure T round2 The value of , and the ToF time T can be calculated according to the above equation 1 prop .

[0222] By changing T prop Multiply by the speed of light (3*10^8 m / s) to calculate the estimated distance (ranging) between two electronic devices.

[0223] Fig.13 is a diagram for describing a ranging operation for measuring a distance between electronic devices according to an embodiment.

[0224] Fig.13 A vehicle and a smart phone are shown as respective examples of the first electronic device 110 and the second electronic device 120 , but it should be understood that one or more other embodiments are not limited thereto.

[0225] According to an embodiment, the first electronic device 110 and the second electronic device 120 may measure the distance between the first electronic device 110 and the second electronic device 120 by exchanging data via a first communication (eg, UWB).

[0226] The first electronic device 110 and the second electronic device 120 may obtain the parameters of the first communication by using the second communication different from the first communication. The first electronic device 110 and the second electronic device 120 may set a communication environment corresponding to the parameters.

[0227] When (for example, based on) a communication environment in which the first electronic device 110 and the second electronic device 120 can measure the distance via the first communication is established, the first electronic device 110 may send a ranging initiation message 1301 to the second electronic device 120 .

[0228] According to an embodiment, the first electronic device 110 may send a ranging initiation message 1301 to the second electronic device 120 to start measuring the distance to the second electronic device 120. The ranging initiation message 1301 may include next ranging duration data 1303, that is, information about the next ranging duration. The next ranging duration data 1303 may be information about the duration for the first electronic device 110 and the second electronic device 120 to start the next ranging duration. Specifically, the next ranging duration data 1303 may indicate the duration between the ranging initiation message 1301 and the ranging initiation message 1351. Fig.13 As shown, the next ranging duration data 1303 may be 1020 milliseconds.

[0229] The second electronic device 120 may send a ranging polling message 1311 to the first electronic device 110 , where the ranging polling message is a reference message regarding distance measurement.

[0230] The first electronic device 110 may send a ranging response message 1321 and a ranging response message 1323 by receiving the ranging polling message 1311. Fig.13 Two ranging responses are shown, but it will be appreciated that this is merely an example and the number of ranging responses may be greater than two.

[0231] The second electronic device 120 may transmit a ranging final message 1331 indicating the end of the ranging operation to the first electronic device 110. The second electronic device 120 may transmit a final data message 1341 including information about the distance measurement to the first electronic device 110. The transmission of the ranging final message 1331 and the transmission of the final data message 1341 may be integrated into one operation.

[0232] The last measured distance 1313 can be calculated based on the ranging poll message 1311, the ranging response 1321, the ranging response 1323, the ranging final message 1331, and the final data message 1341. In Fig.13 In the example shown, the last measured distance 1313 can be calculated as 7 meters.

[0233] The forecast distance 1353 can be calculated based on the last measured distance 1313, the next ranging duration 1303, and the AWSH as follows:

[0234] FORECAST_DISTANCE = last measured distance (meters) - (time elapsed since the last measurement * AWSH (1.5 meters / second))

[0235] In this regard, the "time elapsed since the last measurement" can represent the next ranging duration.

[0236] In Fig.13 In the example shown, the forecast distance 1353 can be calculated based on the last measured distance 1313 of 7 meters, the next ranging duration 1303 of 1.02 seconds (1020 milliseconds), and the AWSH of 1.5 meters / second. In Fig.13 In the example shown, the forecast distance 1353 can be calculated as 5.47 meters.

[0237] The next ranging duration 1355 can be calculated for the following Case 1 and Case 2. In Case 1, the next ranging duration 1355 can be NRD_OUT_RANGE, and in Case 2, the next ranging duration 1355 can be NRD_MAX_RANGE.

[0238] For Case 1 (where FORECAST_DISTANCE exceeds SECURE_DISTANCE and is equal to or less than MAX_DISTANCE_VALUE), the calculations for BASIC_DURATION, FORECAST_DISTANCE, and NRD_OUT_RANGE are as follows:

[0239] <Case 1: SECURE_DISTANCE (2 meters) < FORECAST_DISTANCE ≤ MAX_DISTANCE_VALUE (5 meters)>

[0240] a. BASIC_DURATION (milliseconds) = MAX_FIRST_BACK_OFF / SECURE_DISTANCE = 200 milliseconds

[0241] b. FORECAST_DISTANCE (m) = the last measured distance (m) - the time elapsed from the last measured time * AWSH (1.5 m / s)

[0242] c.NRD_OUT_RANGE (milliseconds) = BASIC_DURATION (milliseconds) * FORECAST_DISTANCE / / RPET (20 milliseconds) * RPET (20 milliseconds): (MIN_NRD_OUT_RANGE, MAX_NRD_OUT_RANGE)

[0243] For case 2 (in case 2, FORECAST_DISTANCE exceeds MAX_DISTANCE_VALUE), NRD_MAX_RANGE is calculated as follows.

[0244] < Case 2: MAX_DISTANCE_VALUE (5 meters)<FORECAST_DISTANCE>

[0245] NRD_MAX_RANGE = BASIC_DURATION (milliseconds) * MAX_DISTANCE_VALUE (5 meters) + NRD_MAX_RANGE_WINDOW (random number (0-20)) * RPET (20 milliseconds): (MIN_NRD_MAX_RANGE, MAX_NRD_MAX_RANGE)

[0246] exist Fig.13 In the example shown, the FORECAST_DISTANCE between the second electronic device 120 and the first electronic device 110 exceeds 5 meters, so the next ranging duration 1355 is 200 milliseconds*5+random number (4)*20 milliseconds=1080 milliseconds. The next ranging duration 1355 can be included in the ranging initiation message for use in the next distance measurement.

[0247] When the first and second electronic devices 110 and 120 complete distance measurement, they may transition to the UWB sleep state until the next ranging duration time arrives. The UWB sleep state indicates a state in which an operation of measuring a distance by using UWB is temporarily stopped.

[0248] After the next ranging duration, the first electronic device 110 and the second electronic device 120 may transition to the UWB awake state and may perform distance measurement. The UWB awake state refers to a state in which an operation of performing distance measurement by using UWB is resumed.

[0249] Fig.14It is a diagram for describing a ranging operation in the case where the distance between electronic devices according to an embodiment is greater than a predetermined distance and the distance measurement fails.

[0250] Specifically, Fig.14 It shows a case where the first electronic device 110 and the second electronic device 120 have successfully exchanged the next ranging duration 1453 but the distance measurement has failed.

[0251] It is possible to determine whether the exchange of the next ranging duration 1453 of the first electronic device 110 is successful based on whether a ranging poll 1455 is received from the second electronic device 120. It is possible to determine whether the exchange of the next ranging duration 1453 of the second electronic device 120 is successful based on whether a ranging initiation message 1451 is received from the first electronic device 110.

[0252] In Fig.14 In the example shown, the second electronic device 120 has not received a ranging response 1457 from the first electronic device 110, so it can be determined that the distance measurement between the first electronic device 110 and the second electronic device 120 has failed.

[0253] FORECAST_DISTANCE (meters) is calculated as follows:

[0254] FORECAST_DISTANCE (meters) = last measured distance (meters) - time elapsed since the last measurement * AWSH (1.5 meters per second).

[0255] As described above with reference to Fig.13 "last measured distance (meters)" is calculated to be 5.47 meters. Therefore, the predicted distance 1463 can be calculated as 5.47 meters - (1.08 meters * 1.5 meters per second) = 3.85 meters.

[0256] The calculated predicted distance 1463 satisfies the following condition:

[0257] SECURE_DISTANCE (2 meters) < FORECAST_DISTANCE ≤ MAX_DISTANCE_VALUE (5 meters).

[0258] Therefore, NRD_OUT_RANGE (milliseconds) is calculated as follows:

[0259] NRD_OUT_RANGE (milliseconds) = BASIC_DURATION (milliseconds) * FORECAST_DISTANCE / / RPET (20 milliseconds) * RPET (20 milliseconds) : (MIN_NRD_OUT_RANGE, MAX_NRD_OUT_RANGE).

[0260] Based on a BASIC_DURATION (ms) of 200 ms, a FORECAST_DISTANCE of 3.85 meters, and a RPET of 20 ms, the NRD_OUT_RANGE (ms) can be calculated to be 760 ms.

[0261] When the exchange succeeds (e.g., based on) the next ranging duration 1453 but the distance measurement fails, the first electronic device 110 and the second electronic device 120 transition to the UWB sleep state until the next ranging duration 1453 elapses. In other words, until the first electronic device 110 sends a ranging initiation message 1461 to the second electronic device 120, the first electronic device 110 and the second electronic device 120 remain in the UWB sleep state.

[0262] After the next ranging duration 1453 has elapsed, the first electronic device 110 and the second electronic device 120 may transition to the UWB awake state and may resume distance measurement.

[0263] Fig.15 is a diagram for describing a distance measurement operation in another case in which a distance between electronic devices is greater than a predetermined distance and distance measurement fails according to an embodiment.

[0264] Fig.15 It shows a situation where both the first electronic device 110 and the second electronic device 120 fail in the exchange and distance measurement of the next ranging duration 1553 .

[0265] exist Fig.14 In the example of , the exchange of the next ranging duration 1553 succeeds, but the distance measurement fails. Fig.15 In the example of , both the exchange and the distance measurement of the next ranging duration 1553 fail.

[0266] Whether the exchange of the next ranging duration 1553 of the first electronic device 110 is successful can be determined based on whether the ranging poll 1555 is received from the second electronic device 120. When the second electronic device 120 receives the ranging initiation message 1551, the second electronic device 120 can determine that the message of the next ranging duration 1553 is successfully received.

[0267] exist Fig.15 In the example of FIG. 1 , the second electronic device 120 fails to receive the ranging initiation message 1551, and the first electronic device 110 fails to receive the ranging poll 1555, and therefore, the first electronic device 110 and the second electronic device 120 may recognize that the exchange of the next ranging duration 1553 fails.

[0268] The second electronic device 120 remains in the UWB wake-up state until the distance measurement is successful, and the first electronic device 110 retries the distance measurement after NORMAL_BACK_OFF 1557.

[0269] NORMAL_BACK_OFF 1557 is calculated as follows:

[0270] NORMAL_BACK_OFF = MAX_FIRST_BACK_OFF (milliseconds) + NORMAL_BACK_OFF_WINDOW (random number (0 - 20)) * RPET (20 milliseconds) : (MIN_NORMAL_BACK_OFF, MAX_NORMAL_BACK_OFF).

[0271] In Fig.15 the example of, MAX_FIRST_BACK_OFF is 400 milliseconds. Additionally, NORMAL_BACK_OFF_WINDOW can be determined as a value between 0 and 20, and in Fig.15 the example of, NORMAL_BACK_OFF_WINDOW can be 2. Therefore, NORMAL_BACK_OFF 1557 can be calculated as 400 milliseconds + 2 * 20 milliseconds = 440 milliseconds.

[0272] FORECAST_DISTANCE (meters) is calculated as follows:

[0273] FORECAST_DISTANCE (meters) = the last measured distance (meters) - the time elapsed since the last measurement * AWSH (1.5 meters per second).

[0274] In the calculation, "the time elapsed since the last measurement" can be represented as NORMAL_BACK_OFF1557. As described in the above reference Fig.13 as such, the last measured distance (meters) is calculated as 5.47 meters. Therefore, the predicted distance 1463 is calculated as 5.47 meters - (0.44 seconds * 1.5 meters per second) = 4.81 meters.

[0275] The calculated next predicted distance 1565 satisfies the following condition:

[0276] SECURE_DISTANCE (2 meters) < FORECAST_DISTANCE ≤ MAX_DISTANCE_VALUE (5 meters).

[0277] Therefore, NRD_OUT_RANGE (milliseconds) is calculated as follows:

[0278] NRD_OUT_RANGE (milliseconds) = BASIC_DURATION (milliseconds) * FORECAST_DISTANCE / / RPET (20 milliseconds) * RPET (20 milliseconds): (MIN_NRD_OUT_RANGE, MAX_NRD_OUT_RANGE).

[0279] In this example, BASIC_DURATION (milliseconds) is 200 milliseconds, FORECAST_DISTANCE is 4.81 meters, and RPET is 20 milliseconds, so the calculated NRD_OUT_RANGE (milliseconds) is 960 milliseconds.

[0280] Fig.16 A distance measurement operation is shown in the case where the distance measurement is successful when the distance between the electronic devices is within a predetermined distance according to an embodiment.

[0281] exist Fig.16 In the example of , the last measured distance 1613 (ie, the most recently measured distance between the electronic devices) is 1.55 meters and is therefore less than the SECURE_DISTANCE (2 meters).

[0282] The first electronic device 110 and the second electronic device 120 may estimate a situation in which the second electronic device 120 enters the range of SECURE_DISTANCE based on the measured distance or the last received data of the next ranging duration 1603 .

[0283] When it is determined that the second electronic device 120 is located within the SECURE_DISTANCE, the first electronic device 110 and the second electronic device 120 are switched to the UWB wake-up state and can immediately perform distance measurement. When the distance measurement of the electronic device succeeds or fails, the electronic device can retry (1651) to perform distance measurement after a preset backoff time 1605.

[0284] The first electronic device 110 and the second electronic device 120 may estimate a corresponding situation in which the second electronic device 120 enters the SECURE_DISTANCE.

[0285] In the case of the first electronic device 110, the first electronic device 110 may estimate the time at which the second electronic device 120 will enter the SECURE_DISTANCE based on the last measured distance SECURE_DISTANCE and the value of AWSH which is the average walking speed of a person.

[0286] <Time estimated by the first electronic device 110 to enter the SECURE_DISTANCE>

[0287] (Last measured distance (meters) - SECURE_DISTANCE (eg, 2 meters)) / AWSH (1.5 meters / second) = the time estimated by the first electronic device 110 that the second electronic device 120 is located within the SECURE_DISTANCE after the time of the last measured distance.

[0288] <Time estimated by the second electronic device 120 to enter SECURE_DISTANCE>

[0289] {Last received next ranging duration (milliseconds) / BASIC_DURATION (e.g., 200 milliseconds)-SECURE_DISTANCE (e.g., 2 meters)} / AWSH (1.5 meters / second)=the time estimated by the second electronic device 120 that the electronic device 120 is within the SECURE_DISTANCE after receiving the last next ranging duration.

[0290] The foregoing example is one of various methods for estimating the time to enter SECURE_DISTANCE, and the average walking speed of a person may continuously change not only according to the last measured distance but also according to the previously measured distance and the previously measured time. In the case where a person is not approaching the vehicle but is farther away from the vehicle, the average walking speed of a person may be negative.

[0291] When it is estimated that the second electronic device 120 enters the SECURE_DISTANCE, an example of the backoff time related to the success or failure of the distance measurement is as follows.

[0292] When the distance measurement between the first electronic device 110 and the second electronic device 120 is successful, the distance measurement is performed again after the SUCCESS_BACK_OFF time.

[0293] [Backoff time after at least one successful distance measurement]

[0294] SUCCESS_BACK_OFF=FIRST_BACK_OFF+SUCCESS_BACK_OFF_WINDOW (random number (0~20))*RPET (20 milliseconds): (MIN_SUCCESS_BACK_OFF, MAX_SUCCESS_BACK_OFF)

[0295] For example, the minimum value of SUCCESS_BACK_OFF may be 400 milliseconds, its maximum value may be 800 milliseconds, and Fig.16 In the example, the backoff after success 1605 can be calculated to be 480 milliseconds.

[0296] Fig.17 A distance measurement operation is shown in a case where distance measurement fails when the distance between electronic devices is within a predetermined distance according to an embodiment.

[0297] Fig.16 The embodiment corresponds to a case where the distance measurement is successful when the distance between the electronic devices is within a predetermined distance, and Fig.17 The embodiment corresponds to a case where the distance measurement fails when the distance between the electronic devices is within a predetermined distance.

[0298] In the case where it is estimated that the second electronic device 120 enters the SECURE_DISTANCE, when the distance measurement between the first electronic device 110 and the second electronic device 120 fails, the second electronic device 120 may perform a backoff operation.

[0299] When (for example, based on) the distance measurement between the first electronic device 110 and the second electronic device 120 fails, in the first distance remeasurement, the first electronic device 110 and the second electronic device 120 may retry the distance measurement after the FIRST_BACK_OFF time. In the second distance remeasurement, the first electronic device 110 and the second electronic device 120 may retry the distance measurement after the SECOND_BACK_OFF time. In the third distance remeasurement and thereafter, until the distance measurement succeeds once, the first electronic device 110 and the second electronic device 120 may retry the distance measurement after the LAST_BACK_OFF time.

[0300] [Backoff time for first distance remeasurement]

[0301] FIRST_BACK_OFF = PULL_DOOR_BACK_OFF (100 milliseconds) + FIRST_BACK_OFF_WINDOW (random (0-15)) * RPET (20 milliseconds)

[0302] For example, the minimum value of FIRST_BACK_OFF may be 100 milliseconds, and the maximum value thereof may be 400 milliseconds.

[0303] [Backoff time for second distance remeasurement]

[0304] SECOND_BACK_OFF = PULL_DOOR_BACK_OFF + SECOND_BACK_OFF_WINDOW (random number (0-10)) * RPET (20 milliseconds)

[0305] For example, the minimum value of SECOND_BACK_OFF may be 100 milliseconds, and the maximum value thereof may be 300 milliseconds.

[0306] [Backoff time for the third distance remeasurement until the distance measurement succeeds]

[0307] LAST_BACK_OFF=PULL_DOOR_BACK_OFF+LAST_BACK_OFF_WINDOW (random (0~5))*RPET (20 milliseconds): (MIN_LAST_BACK_OFF, MAX_LAST_BACK_OFF)

[0308] For example, the minimum value of LAST_BACK_OFF may be 100 milliseconds, and the maximum value thereof may be 200 milliseconds.

[0309] like Fig.17 As shown, when the first distance measurement between the first electronic device 110 and the second electronic device 120 fails, the first electronic device 110 and the second electronic device 120 may retry the distance measurement after a backoff time 1705 of 360 milliseconds between 100 milliseconds and 400 milliseconds.

[0310] Even when the second distance measurement fails, the first electronic device 110 and the second electronic device 120 may retry the distance measurement after a backoff time 1735 of 240 milliseconds between 100 milliseconds and 300 milliseconds. When it is determined that the second electronic device 120 is located within the SECURE_DISTANCE, the second electronic device 120 must maintain the UWB wake-up state, so the value of the next ranging duration 1753 of the ranging initiation message 1751 sent from the first electronic device 110 is 0 milliseconds.

[0311] Fig.18 A ranging operation in a case where a predetermined event occurs in an electronic device according to an embodiment is illustrated.

[0312] According to an embodiment, when (e.g., based on or in response to) a predetermined event (e.g., an event in which a user pulls a car door) occurs in the first electronic device 110, the first electronic device 110 and the second electronic device 120 can transmit and receive data via a first communication (e.g., UWB), and thus the actual distance can be measured.

[0313] When a predetermined event occurs in the first electronic device 110 , the first electronic device 110 may send a ranging initiation message 1801 to the second electronic device 120 to start distance measurement to the second electronic device 120 .

[0314] The first electronic device 110 and the second electronic device 120 may estimate a situation in which the second electronic device 120 enters the SECURE_DISTANCE based on the measured distance or the last received next ranging duration data.

[0315] In case that the second electronic device 120 enters the SECURE_DISTANCE, the first electronic device 110 and the second electronic device 120 transition to the UWB wake-up state.

[0316] Fig.19 A distance measurement operation in a case where a predetermined event occurs in an electronic device and distance measurement fails according to an embodiment is illustrated.

[0317] When (e.g., based on or in response to) a specific event (e.g., an event in which a user pulls a car door) occurs in the first electronic device 110, the first electronic device 110 and the second electronic device 120 can transmit and receive data via a first communication (e.g., UWB), and thus the actual distance can be measured.

[0318] According to an embodiment, when the distance measurement performed by the first electronic device 110 and the second electronic device 120 fails, the first electronic device 110 may retry the distance measurement after PULL_DOOR_BACK_OFF 1933 .

[0319] PULL_DOOR_BACK_OFF can be calculated as follows:

[0320] PULL_DOOR_BACK_OFF=PULL_DOOR_BACK_OFF_WINDOW (random number (0~5))*RPET (20 milliseconds): (MIN_PULL_DOOR_BACK_OFF, MAX_PULL_DOOR_BACK_OFF)

[0321] For example) PULL_DOOR_BACK_OFF = random number (0-5) * 20 milliseconds: (minimum is 0 milliseconds, maximum is 100 milliseconds)

[0322] When (eg, based on) a door pull event occurs and the distance measurement fails, the backoff window (PULL_DOOR_BACK_OFF_WINDOW) may have a random value between 0 and 5. In this embodiment, it is assumed that the backoff time of PULL_DOOR_BACK_OFF is between 0 milliseconds and 100 milliseconds.

[0323] When (for example, based on) the first distance measurement between the first electronic device 110 and the second electronic device 120 fails, the first electronic device 110 may Fig.19 The distance measurement to the second electronic device 120 is retried after 40 milliseconds in the example of FIG. 1 .

[0324] exist Figures 13 to 19In the aforementioned embodiment, the ranging initiation message including the next ranging duration data is information about the next ranging duration, and the ranging initiation message is sent from the first electronic device 110 (e.g., a vehicle) to the second electronic device 120 (e.g., a smartphone). Figures 20 to 32 In the embodiment described below, a message including information about the ranging interval can be sent from a digital key (DK) device to a vehicle. In the embodiment described below, a process of determining the ranging interval according to the distance between electronic devices based on a change in a sending entity of a message including the ranging interval information is described.

[0325] Fig. 20 is a diagram for describing an operating method of an electronic device according to an embodiment. Fig. 20 In the example, the electronic device may be a DK device or a vehicle. The DK device may include a smartphone. Fig. 20 In the description of FIG. 1 , the electronic device may represent the first electronic device 110, and the other electronic device may represent the second electronic device 120. The vehicle and the DK device as examples of the first electronic device 110 and the second electronic device 120 are respectively Fig. 20 However, it should be understood that this is merely an example and one or more other embodiments are not limited thereto.

[0326] refer to Fig. 20 In operation 2010, the electronic device may obtain the parameters of the second communication by establishing a communication connection with other electronic devices via the first communication. In an embodiment, the first communication may include BLE, Wi-Fi, or UWB. The second communication may include UWB. In an embodiment, the parameters of the second communication may include channel preamble, PRF, and data rate. That is, the electronic device may establish a communication connection with other electronic devices via the first communication. Afterwards, the electronic device may exchange the parameters of the second communication with other electronic devices.

[0327] In operation 2020, the electronic device may transmit and receive data for distance measurement to / from other electronic devices via the second communication based on the obtained parameters and the inspection results. For example, the electronic device may exchange parameters of the second communication with other electronic devices, and then establish a communication environment of the second communication corresponding to the exchanged parameters. After the communication environment of the second communication is established, the electronic device may measure the distance to other electronic devices via the second communication. In an embodiment, the inspection result may indicate the inspection result of the SHR preamble and CFP time slot available in the first communication by using the second communication.

[0328] According to an embodiment, terms used in a process of measuring an actual distance between the first electronic device 110 and the second electronic device 120 by exchanging data between the first electronic device 110 and the second electronic device 120 via the second communication are described below.

[0329] The ranging round length (RRL) may represent the time taken to exchange data for measuring the distance between the first electronic device 110 and the second electronic device 120 and their locations. In an embodiment, the value of RRL may be assumed to be 20 milliseconds (e.g., the ranging round length between a vehicle and a DK device, which defaults to 20 milliseconds).

[0330] SECURE_DISTANCE may indicate a distance at which a predetermined event must occur in the first electronic device 110 when the second electronic device 120 is located within a specific distance and is located at a position from the first electronic device 110. For example, SECURE_DISTANCE may indicate a distance at which a vehicle door must be unlocked. In an embodiment, a default value of SECURE_DISTANCE may be set to 2 meters. In another embodiment, SECURE_DISTANCE may indicate a distance at which a vehicle door will be locked.

[0331] AWSH may represent the average moving speed of a person. In an embodiment, the value of AWSH may be assumed to be 1.5 m / s (eg, the average walking movement of a person is defaulted to 1.5 m / s).

[0332] The ranging control period (RCP) may represent a period for sending a ranging control message (RCM) including a value of a time interval from current ranging to initiation of next ranging. In an embodiment, the value of the time interval may be referred to as a next ranging duration.

[0333] The polling period (PP) may represent a period during which the DK device sends a polling message to the anchor point of the vehicle. In an embodiment, the DK device may be an initiator of sending the polling message, and the anchor point of the vehicle may be a responder of receiving the polling message.

[0334] The ranging response period (RRP) may denote a period during which the anchor point of the vehicle sends a response message to the DK device.

[0335] The measurement report period (MRP) may represent a period during which data related to distance measurement is exchanged between the vehicle and the DK device. During this period, the vehicle may send distance measurement results to the DK device.

[0336] The ranging interval update period (RIUP) may represent a period during which the value of the time interval until the DK device initiates the next ranging may be changed.

[0337] In an embodiment, when the vehicle and the DK device fail to receive a frame during the ranging period, the time to initiate the next ranging (ie, backoff time) may be changed in the MRP period or the RIUP period. In an embodiment, DS-TWR with three messages may be assumed as the ranging method.

[0338] PULL_DOOR_BACK_OFF may represent a backoff period when a predetermined event occurs in the first electronic device 110. The predetermined event may be an operation of pulling the door of the first electronic device 110. The maximum value and minimum value of PULL_DOOR_BACK_OFF may be represented as MAX_PULL_DOOR_BACK_OFF (milliseconds) and MIN_PULL_DOOR_BACK_OFF (milliseconds), respectively (e.g., PULL_DOOR_BACK_OFF: backoff duration when a "pull door" event occurs, the maximum value is MAX_PULL_DOOR_BACK_OFF (milliseconds), and the minimum value is MIN_PULL_DOOR_BACK_OFF (milliseconds).

[0339] MAX_PULL_DOOR_BACK_OFF may represent a maximum backoff period when a predetermined event occurs in the first electronic device 110. The predetermined event may be an operation of pulling a door of the first electronic device 110. A default value of MAX_PULL_DOOR_BACK_OFF may be 100 milliseconds (e.g., MAX_PULL_DOOR_BACK_OFF: maximum backoff duration when a "pull door" event occurs, default is 100 milliseconds).

[0340] MIN_PULL_DOOR_BACK_OFF may represent a minimum backoff duration when a predetermined event occurs in the first electronic device 110. The predetermined event may be an operation of pulling a door of the first electronic device 110. A default value of MIN_PULL_DOOR_BACK_OFF may be 0 milliseconds (e.g., MIN_PULL_DOOR_BACK_OFF: minimum backoff duration when a "pull door" event occurs, defaulting to 0 milliseconds).

[0341] PULL_DOOR_BACK_OFF_WINDOW may represent the range of the backoff window of PULL_DOOR_BACK. The backoff window may refer to the unit of the backoff operation. The default value of PULL_DOOR_BACK_OFF_WINDOW may be a random value among real values ​​between 0 and 5 (e.g., PULL_DOOR_BACK_OFF_WINDOW: the backoff window range of PULL_DOOR_BACK_OFF, defaulting to a random number (0 to 5)).

[0342] FIRST_BACK_OFF may represent a first retry backoff time when the location of the second electronic device 120 is within SECURE_DISTANCE from the first electronic device 110. The maximum value of FIRST_BACK_OFF may be represented as MAX_FIRST_BACK_OFF, and the minimum value of FIRST_BACK_OFF may be represented as MIN_FIRST_BACK_OFF (e.g., FIRST_BACK_OFF: first retry backoff duration when the location of the smartphone is within 0 to SECURE_DISTANCE (meters), the maximum value is MAX_FIRST_BACK_OFF (milliseconds), and the minimum value is MIN_FIRST_BACK_OFF (milliseconds)).

[0343] MAX_FIRST_BACK_OFF may represent a maximum value of the first retry backoff time when the location of the second electronic device 120 is within SECURE_DISTANCE from the first electronic device 110. The default value of MAX_FIRST_BACK_OFF may be 400 milliseconds (e.g., MAX_FIRST_BACK_OFF: maximum first retry backoff duration when the location of the smartphone is within 0 to SECURE_DISTANCE (meters), default is 400 milliseconds).

[0344] MIN_FIRST_BACK_OFF may represent a minimum value of the first retry backoff time when the location of the second electronic device 120 is within SECURE_DISTANCE from the first electronic device 110. The default value of MIN_FIRST_BACK_OFF may be 100 milliseconds (e.g., MIN_FIRST_BACK_OFF: minimum first retry backoff duration when the location of the smartphone is within 0 to SECURE_DISTANCE (meters), defaulting to 100 milliseconds).

[0345] FIRST_BACK_OFF_WINDOW may represent the backoff window range of FIRST_BACK_OFF. The backoff window may refer to the unit of the backoff operation. The default value of FIRST_BACK_OFF_WINDOW may be a random value among real values ​​between 0 and 15 (eg, FIRST_BACK_OFF_WINDOW: the backoff window range of FIRST_BACK_OFF, defaulting to a random number (0-15)).

[0346] SECOND_BACK_OFF may represent a second retry backoff time when the location of the second electronic device 120 is within SECURE_DISTANCE from the first electronic device 110. The maximum value of SECOND_BACK_OFF may be represented as MAX_SECOND_BACK_OFF, and the minimum value of SECOND_BACK_OFF may be represented as MAX_SECOND_BACK_OFF (e.g., SECOND_BACK_OFF: the second retry backoff duration when the location of the smartphone is within 0 to SECURE_DISTANCE (meters), the maximum value is MAX_SECOND_BACK_OFF (milliseconds), and the minimum value is MIN_SECOND_BACK_OFF (milliseconds)).

[0347] MAX_SECOND_BACK_OFF may represent a maximum value of the second retry backoff time when the location of the second electronic device 120 is within SECURE_DISTANCE from the first electronic device 110. The default value of MAX_SECOND_BACK_OFF may be 300 milliseconds (e.g., MAX_SECOND_BACK_OFF: maximum second retry backoff duration when the location of the smartphone is within 0 to SECURE_DISTANCE (meters), default is 300 milliseconds).

[0348] MIN_SECOND_BACK_OFF may represent a minimum value of the second retry backoff time when the location of the second electronic device 120 is within SECURE_DISTANCE from the first electronic device 110. A default value of MIN_SECOND_BACK_OFF may be 100 milliseconds (e.g., MIN_SECOND_BACK_OFF: minimum second retry backoff duration when the location of the smartphone is within 0 to SECURE_DISTANCE (meters), default is 100 milliseconds).

[0349] SECOND_BACK_OFF_WINDOW may represent the range of the backoff window of SECOND_BACK_OFF. The backoff window may refer to the unit of the backoff operation. The default value of SECOND_BACK_OFF_WINDOW may be a random value among real values ​​between 0 and 10 (e.g., SECOND_BACK_OFF_WINDOW: the backoff window range of SECOND_BACK_OFF, defaulting to a random number (0 to 10)).

[0350] LAST_BACK_OFF may represent a retry backoff duration from the third retry to successful ranging when the location of the second electronic device 120 is within SECURE_DISTANCE from the first electronic device 110. The maximum value of LAST_BACK_OFF may be represented as MAX_LAST_BACK_OFF, and the minimum value of LAST_BACK_OFF may be represented as MIN_LAST_BACK_OFF (e.g., LAST_BACK_OFF: the retry backoff time from the third retry to successful ranging when the location of the smartphone is within 0 to SECURE_DISTANCE (meters), the maximum value is MAX_LAST_BACK_OFF (milliseconds), and the minimum value is MIN_LAST_BACK_OFF (milliseconds)).

[0351] MAX_LAST_BACK_OFF may represent a maximum retry backoff duration from the third retry to a successful ranging when the second electronic device 120 is located within SECURE_DISTANCE from the first electronic device 110. The default value of MAX_LAST_BACK_OFF may be 200 milliseconds (e.g., MAX_LAST_BACK_OFF: the maximum backoff duration from the third retry to a successful ranging when the location of the smartphone is within 0 to SECURE_DISTANCE (meters), the default value is 200 milliseconds).

[0352] MIN_LAST_BACK_OFF may represent the minimum retry backoff duration from the third retry to the ranging success when the location of the second electronic device 120 is within SECURE_DISTANCE from the first electronic device 110. The default value of MIN_LAST_BACK_OFF may be 100 milliseconds (e.g., MIN_LAST_BACK_OFF: the minimum backoff duration from the third retry to the ranging success when the location of the smartphone is within 0 to SECURE_DISTANCE (meters), the default value is 100 milliseconds).

[0353] LAST_BACK_OFF_WINDOW may represent the range of the backoff window of LAST_BACK_OFF. The backoff window may refer to the unit of the backoff operation. The default value of LAST_BACK_OFF_WINDOW may be a random value among real values ​​between 0 and 5 (eg, LAST_BACK_OFF_WINDOW: the backoff window range of LAST_BACK_OFF, defaulting to a random number (0 to 5)).

[0354] SUCCESS_BACK_OFF may indicate the interval of the next ranging session after ranging is successful. The maximum value of SUCCESS_BACK_OFF may be indicated as MAX_SUCCESS_BACK_OFF, and the minimum value of SUCCESS_BACK_OFF may be indicated as MIN_SUCCESS_BACK_OFF (e.g., SUCCESS_BACK_OFF: the interval of the next ranging session after ranging is successful, the maximum value is MAX_SUCCESS_BACK_OFF (milliseconds), and the minimum value is MIN_SUCCESS_BACK_OFF (milliseconds)).

[0355] MAX_SUCCESS_BACK_OFF may indicate the maximum interval of the next ranging session after ranging is successful. The default value of MAX_SUCCESS_BACK_OFF may be 800 milliseconds (eg, MAX_SUCCESS_BACK_OFF: the maximum interval of the next ranging session after ranging is successful, the default value is 800 milliseconds).

[0356] MIN_SUCCESS_BACK_OFF may indicate the minimum interval of the next ranging session after ranging is successful. The default value of MIN_SUCCESS_BACK_OFF may be 400 milliseconds (eg, MIN_SUCCESS_BACK_OFF: the minimum interval of the next ranging session after ranging is successful, the default value is 400 milliseconds).

[0357] SUCCESS_BACK_OFF_WINDOW may represent the range of the backoff window of SUCCESS_BACK_OFF. The backoff window may refer to the unit of the backoff operation. The default value of SUCCESS_BACK_OFF_WINDOW may be a random value among real values ​​between 0 and 20 (eg, SUCCESS_BACK_OFF_WINDOW: the backoff window range of SUCCESS_BACK_OFF, defaulting to a random number (0-20)).

[0358] NORMAL_BACK_OFF can represent the backoff time when the position of the second electronic device exceeds the SECURE_DISTANCE of the first electronic device. The maximum value of NORMAL_BACK_OFF can be represented as MAX_NORMAL_BACK_OFF, and the minimum value of NORMAL_BACK_OFF can be represented as MIN_NORMAL_BACK_OFF (for example, NORMAL_BACK_OFF: the backoff duration when the position of the smartphone exceeds SECURE_DISTANCE, the maximum value is MAX_NORMAL_BACK_OFF (milliseconds), and the minimum value is MIN_NORMAL_BACK_OFF (milliseconds)).

[0359] MAX_NORMAL_BACK_OFF may represent a maximum backoff time when the location of the second electronic device exceeds the SECURE_DISTANCE of the first electronic device. The default value of MAX_NORMAL_BACK_OFF may be 800 milliseconds (eg, MAX_NORMAL_BACK_OFF: maximum backoff duration when the location of the smartphone exceeds the SECURE_DISTANCE, default is 800 milliseconds).

[0360] MIN_NORMAL_BACK_OFF may represent a minimum backoff time when the location of the second electronic device 120 exceeds the SECURE_DISTANCE of the first electronic device 110. The default value of MIN_NORMAL_BACK_OFF may be 400 milliseconds (eg, MIN_NORMAL_BACK_OFF: minimum backoff duration when the location of the smartphone exceeds SECURE_DISTANCE, default is 400 milliseconds).

[0361] NORMAL_BACK_OFF_WINDOW may represent the backoff window range of NORMAL_BACK_OFF. The default value of NORMAL_BACK_OFF_WINDOW may be a random value among real values ​​between 0 and 20 (eg, NORMAL_BACK_OFF_WINDOW: the backoff window range of NORMAL_BACK_OFF, defaulting to a random number (0-20)).

[0362] NRD_IN_RANGE may represent the next ranging duration when the location of the second electronic device 120 is within the SECURE_DISTANCE from the first electronic device 110 and the ranging is successful. The maximum value of NRD_IN_RANGE may be represented as MAX_NRD_IN_RANGE, and the minimum value of NRD_IN_RANGE may be represented as MIN_NRD_IN_RANGE (e.g., NRD_IN_RANGE: the next ranging duration when the location of the smartphone is within the range of 0 to SECURE_DISTANCE and the ranging is successful, the maximum value is MAX_NRD_IN_RANGE (milliseconds), and the minimum value is MIN_NRD_IN_RANGE (milliseconds)).

[0363] MAX_NRD_IN_RANGE may represent the maximum value of the next ranging duration when the second electronic device 120 is located within the SECURE_DISTANCE from the first electronic device 110 and the ranging is successful. The default value of MAX_NRD_IN_RANGE may be 400 milliseconds (e.g., MAX_NRD_IN_RANGE: the maximum next ranging duration when the smartphone is located within the range of 0 to SECURE_DISTANCE and the ranging is successful, the default value is 400 milliseconds).

[0364] MIN_NRD_IN_RANGE may represent the minimum value of the next ranging duration when the second electronic device 120 is located within the SECURE_DISTANCE from the first electronic device 110 and the ranging is successful. The default value of MIN_NRD_IN_RANGE may be 800 milliseconds (e.g., MIN_NRD_IN_RANGE: the minimum next ranging duration when the smartphone is located within the range of 0 to SECURE_DISTANCE and the ranging is successful, the default value is 800 milliseconds).

[0365] NRD_IN_RANGE_WINDOW may represent the range of the backoff window of NRD_IN_RANGE. The backoff window may refer to the unit of the backoff operation. The default value of NRD_IN_RANGE_WINDOW may be a random value among real values ​​between 0 and 20 (e.g., NRD_IN_RANGE_WINDOW: the backoff window range of NRD_IN_RANGE, defaults to a random number (0-20)).

[0366] MAX_DISTANCE_VALUE may represent the distance from the first electronic device 110. MAX_DISTANCE_VALUE may be related to NRD_OUT_RANGE. A default value of MAX_DISTANCE_VALUE may be 5 meters (eg, MAX_DISTANCE_VALUE: distance to vehicle using NRD_OUT_RANGE (meters), default is 5 meters).

[0367] FORECAST_DISTANCE may represent an estimated distance of the second electronic device 120 in relation to the moving distance and the last measured distance (eg, FORECAST_DISTANCE: estimated distance (meters) of the smartphone in relation to the moving distance and the last measured distance). FORECAST_DISTANCE is calculated as follows:

[0368] FORECAST_DISTANCE = last measured distance (meters) - (time elapsed from the last measured time * AWSH (1.5 meters / second)).

[0369] In this regard, “the time elapsed from the last measured time” may represent the next ranging duration.

[0370] NRD_OUT_RANGE may represent the next ranging duration when the position of the second electronic device 120 is within the range from SECURE_DISTANCE to MAX_DISTANCE_VALUE. NRD_OUT_RANGE is a value related to FORECAST_DISTANCE. The maximum value of NRD_OUT_RANGE may be represented as MAX_NRD_OUT_RANGE, and the minimum value of NRD_OUT_RANGE may be represented as MIN_NRD_OUT_RANGE (e.g., NRD_OUT_RANGE: the next ranging duration when the position of the smartphone is within SECURE_DISTANCE to MAX_DISTANCE_VALUE, which is related to FORECAST_DISTANCE, the maximum value is MAX_NRD_OUT_RANGE (milliseconds), and the minimum value is MIN_NRD_OUT_RANGE (milliseconds)).

[0371] MAX_NRD_OUT_RANGE may represent the maximum value of the next ranging duration when the position of the second electronic device 120 is within SECURE_DISTANCE to MAX_DISTANCE_VALUE. The default value of MAX_NRD_OUT_RANGE may be 1000 milliseconds (e.g., MAX_NRD_OUT_RANGE: the maximum next ranging duration when the position of the smartphone is within SECURE_DISTANCE to MAX_DISTANCE_VALUE, which is related to FORECAST_DISTANCE and defaults to 1000 milliseconds).

[0372] MIN_NRD_OUT_RANGE may represent the minimum value of the next ranging duration when the position of the second electronic device 120 is within SECURE_DISTANCE to MAX_DISTANCE_VALUE. The default value of MAX_NRD_OUT_RANGE may be 400 milliseconds (e.g., MIN_NRD_OUT_RANGE: the minimum next ranging duration when the position of the smartphone is within SECURE_DISTANCE to MAX_DISTANCE_VALUE, which is related to FORECAST_DISTANCE and defaults to 400 milliseconds).

[0373] NRD_OUT_RANGE_WINDOW may represent the range of the backoff window of NRD_OUT_RANGE. The backoff window may refer to the unit of the backoff operation. The default value of NRD_OUT_RANGE_WINDOW may be a random value among real values ​​between 0 and 20 (e.g., NRD_OUT_RANGE_WINDOW: the backoff window range of NRD_OUT_RANGE, defaults to a random number (0-20)).

[0374] BASIC_DURATION may represent a value obtained by dividing MAX_FIRST_BACK_OFF by SECURE_DISTANCE. A default value of BASIC_DURATION may be 200 milliseconds (eg, BASIC_DURATION: MAX_FIRST_BACK_OFF (milliseconds) divided by the value (milliseconds) of SECURE_DISTANCE (meters), defaulting to 200 milliseconds).

[0375] NRD_MAX_RANGE may represent the next ranging duration when the position of the second electronic device 120 exceeds MAX_DISTANCE_VALUE and the ranging is successful. The maximum value of NRD_MAX_RANGE may be represented as MAX_NRD_MAX_RANGE, and the minimum value of NRD_MAX_RANGE may be represented as MIN_NRD_MAX_RANGE (e.g., NRD_MAX_RANGE: the next ranging duration when the position of the smartphone exceeds MAX_DISTANCE_VALUE and the ranging is successful, the maximum value is MAX_NRD_MAX_RANGE (milliseconds), and the minimum value is MIN_NRD_MAX_RANGE (milliseconds).

[0376] MAX_NRD_MAX_RANGE may represent the maximum value of the next ranging duration when the position of the second electronic device 120 exceeds MAX_DISTANCE_VALUE and ranging is successful. The default value of MAX_NRD_MAX_RANGE may be 1400 milliseconds (e.g., MAX_NRD_MAX_RANGE: when the position of the smartphone exceeds MAX_DISTANCE_VALUE and ranging is successful, the maximum next ranging duration, default is 1400 milliseconds).

[0377] MIN_NRD_MAX_RANGE may represent the minimum value of the next ranging duration when the position of the second electronic device 120 exceeds MAX_DISTANCE_VALUE and ranging is successful. The default value of MIN_NRD_MAX_RANGE may be 1000 milliseconds (e.g., MIN_NRD_MAX_RANGE: the minimum next ranging duration when the position of the smartphone exceeds MAX_DISTANCE_VALUE and ranging is successful, defaulting to 1000 milliseconds).

[0378] NRD_MAX_RANGE_WINDOW may represent the range of the backoff window of NRD_MAX_RANGE. The backoff window may refer to the unit of the backoff operation. The default value of NRD_MAX_RANGE_WINDOW may be a random value among real values ​​between 0 and 20 (e.g., NRD_MAX_RANGE_WINDOW: the backoff window range of NRD_MAX_RANGE, defaults to a random number (0-20)).

[0379] SECURE_DISTANCE_TIME_FOR_VEHICLE may indicate a time during which the location of the second electronic device 120 is estimated to be within the SECURE_DISTANCE range relative to the first electronic device 110 (eg, SECURE_DISTANCE_TIME_FOR_VEHICLE: time (seconds) during which the location of the smartphone is estimated to be within the SECURE_DISTANCE on the vehicle side).

[0380] SECURE_DISTANCE_TIME_FOR_VEHICLE can be calculated as follows:

[0381] (Last measured distance (meters) - SECURE_DISTANCE) / AWSH (1.5 meters / second).

[0382] SECURE_DISTANCE_TIME_FOR_SMARTPHONE may indicate a time when the location of the second electronic device 120 is estimated to be within the SECURE_DISTANCE range relative to the second electronic device 120 (eg, SECURE_DISTANCE_TIME_FOR_SMARTPHONE: a time when the location of the smartphone is estimated to be within the SECURE_DISTANCE on the smartphone side).

[0383] SECURE_DISTANCE_TIME_FOR_SMARTPHONE can be calculated as follows:

[0384] (Last measured distance (meters) - SECURE_DISTANCE) / AWSH (1.5 meters / second).

[0385] Fig.21 is a diagram for describing a ranging operation for measuring a distance between electronic devices according to an embodiment. Fig.21 A vehicle and a DK device are shown as respective examples of the first electronic device 110 and the second electronic device 120 , but it should be understood that this is merely an example and one or more other embodiments are not limited thereto.

[0386] refer to Fig.21, the second electronic device 120 may send an RCM 2105 to initiate a distance measurement process for the first electronic device 110. In an embodiment, the RCM 2105 may include next ranging duration data 2145 as information about the next ranging duration. The next ranging duration data 2145 may include information about a period during which the second electronic device 120 initiates the next distance measurement operation. Specifically, the next ranging duration data 2145 may indicate an interval between one RCM 2105 and the next RCM 2105. Fig.21 As shown, for example, the next ranging duration data 2145 may be 1020 milliseconds.

[0387] In the first PP, the second electronic device 120 may transmit a polling message 2110 to the first electronic device 110, the polling message being a reference message regarding distance measurement.

[0388] In the RRP, the first electronic device 110 may send a response 2115 and a response 2120 in response to the received polling message 2110. Fig.21 In the example of , two responses are shown, but the number of responses may be greater than two.

[0389] In the second PP, the second electronic device 120 may send a final message 2125 indicating the end of the ranging operation to the first electronic device 110 .

[0390] The first electronic device 110 and the second electronic device 120 may exchange ranging-related data 2130 in the MRP. For example, the first electronic device 110 may send the ranging result to the second electronic device 120. In an embodiment, the sending of the final message 2125 and the exchange of data 2130 may be integrated into one operation.

[0391] In an embodiment, a last measured distance 2140 indicating a most recently measured distance may be calculated based on the polling message 2110, the response 2115, the response 2120, the final message 2125, and the data 2130. Fig.21 In the example, it can be calculated that the last measured distance 2140 is 7 meters.

[0392] In an embodiment, a predicted distance 2150 indicating an estimated distance may be calculated based on the last measured distance 2140 , the next ranging duration 2145 , and the AWSH as follows.

[0393] Predicted distance 2150 = last measured distance 2140 - next ranging duration 2145 * AWSH For example, when the last measured distance 2140 is 7 meters, the next ranging duration 2145 is 1020 milliseconds, and AWSH is 1.5 meters / second, the predicted distance 2150 can be calculated to be 5.47 meters.

[0394] In an embodiment, in order to further accurately calculate the predicted distance 2150, the time between the time point when the second electronic device 120 sends a frame in the MRP and the time point when the second electronic device 120 sends the next RCM can be considered. In this regard, the formula of next ranging duration-time slot length*(N+3) can be used. N can represent the number of anchor points.

[0395] In an embodiment, the next ranging duration 2155 representing the next ranging duration can be calculated as 200 milliseconds*5+4*20 milliseconds=1080 milliseconds. For further calculation instructions, please refer to the above reference Fig.13 Describe the method.

[0396] When the first electronic device 110 and the second electronic device 120 complete the distance measurement, the first electronic device 110 and the second electronic device 120 may transition to the UWB sleep state until the next ranging duration. In the UWB sleep state, the operation of measuring the distance by using UWB is temporarily stopped.

[0397] After the next ranging duration, the first electronic device 110 and the second electronic device 120 may be converted to the UWB wake-up state, so that the distance measurement may be performed. In the UWB wake-up state, the operation of performing distance measurement by using UWB is resumed. As described above, the first electronic device 110 and the second electronic device 120 may measure the actual distance between the first electronic device 110 and the second electronic device 120 by transceiving data via the second communication (e.g., UWB).

[0398] Fig. 22 A ranging operation for measuring a distance between electronic devices when (eg, based on) a predetermined event occurs in the electronic devices according to an embodiment is shown. Fig. 22 A vehicle and a DK device are shown as respective examples of the first electronic device 110 and the second electronic device 120 , but it should be understood that this is merely an example and one or more other embodiments are not limited thereto.

[0399] refer to Fig. 22, the occurrence of a predetermined event in the first electronic device 110 may refer to an event in which a user pulls a car door. In an embodiment, when a predetermined event occurs, the first electronic device 110 and the second electronic device 120 may measure the actual distance between the first electronic device 110 and the second electronic device 120 by transceiving data via the second communication. In an embodiment, the first electronic device 110 and the second electronic device 120 may estimate that the second electronic device 120 is to enter within a SECURE_DISTANCE (e.g., 2 meters) from the first electronic device 110 based on the last measured distance or the last received data related to the next ranging duration. In an embodiment, when the second electronic device 120 enters the SECURE_DISTANCE from the first electronic device 110, the first electronic device 110 and the second electronic device 120 may be converted to a UWB wake-up state. In addition, when a predetermined event occurs in the first electronic device 110, the second electronic device 120 may send data represented as RCM to the first electronic device 110 to initiate distance measurement of the first electronic device 110. By doing so, the second electronic device 120 may initiate distance measurement. When the distance measurement fails, the first electronic device 110 may retry the distance measurement after a certain backoff time. Fig.23 An embodiment is described in which distance measurement is retried after a certain backoff time.

[0400] In an embodiment, the RCM sent from the second electronic device 120 to the first electronic device 110 may include a ranging interval value, which is information about the duration of the next ranging. In addition, the ranging interval value included in the RCM may be changed according to an interval calculation formula of a vehicle original equipment manufacturer (OEM). Fig. 22 In the example of FIG. 1 , the ranging interval value can be set to 0 milliseconds. Fig. 22 The operations of the first electronic device 110 and the second electronic device 120 are shown.

[0401] The predetermined event may occur in the first electronic device 110. For example, the predetermined event may be represented as a door-pulling event 2200 in which a door of a vehicle is pulled.

[0402] When a predetermined event occurs, the second electronic device 120 may transmit an RCM 2205 to the first electronic device 110. In an embodiment, a ranging interval value included in the RCM 2205 may be 0 milliseconds.

[0403] In the first PP, the second electronic device 120 may send a ranging polling message 2210 to the first electronic device 110, where the ranging polling message is a reference message regarding distance measurement.

[0404] In the RRP, the first electronic device 110 may send a ranging response 2215 and a ranging response 2220 in response to the received ranging polling message 2210. Fig. 22 In the example of , two ranging responses are shown, but the number of ranging responses can be greater than two.

[0405] In the second PP, the second electronic device 120 may send a ranging final message 2225 indicating the end of the ranging operation to the first electronic device 110.

[0406] The first electronic device 110 and the second electronic device 120 may exchange ranging-related data 2230 in the MRP. For example, the first electronic device 110 may send the ranging result to the second electronic device 120. In an embodiment, the transmission of the ranging final message 2225 and the exchange of the data 2230 may be integrated into one operation.

[0407] In an embodiment, the last measured distance 2235 indicating the most recently measured distance may be calculated based on the ranging polling message 2210, the ranging response 2215, the ranging response 2220, the ranging final message 2225, and the data 2230. Fig. 22 In the example, it can be calculated that the last measured distance 2235 is 0.5 meters.

[0408] Fig.23 A ranging operation is illustrated in a case where distance measurement between electronic devices fails when a predetermined event occurs in the electronic device according to an embodiment. Fig.23 A vehicle and a DK device are shown as respective examples of the first electronic device 110 and the second electronic device 120 , but it should be understood that this is merely an example and one or more other embodiments are not limited thereto.

[0409] refer to Fig.23 , the occurrence of a predetermined event in the first electronic device 110 may represent an event in which a user pulls a car door. In an embodiment, when (for example, based on) a predetermined event occurs, the first electronic device 110 and the second electronic device 120 may measure the actual distance between the first electronic device 110 and the second electronic device 120 by transceiving data via the second communication. Fig.23 Operations of the first electronic device 110 and the second electronic device 120 are shown when the first electronic device 110 and the second electronic device 120 fail to measure the distance in the above-mentioned process of measuring the distance.

[0410] The predetermined event may occur in the first electronic device 110. For example, the predetermined event may represent a door-pulling event 2300 in which a vehicle door is pulled.

[0411] When a predetermined event occurs, the second electronic device 120 may transmit the RCM 2305 to the first electronic device 110. In an embodiment, the ranging interval value included in the RCM 2305 may be 0 milliseconds.

[0412] In the first PP, the second electronic device 120 may send a ranging polling message 2310 to the first electronic device 110, where the ranging polling message is a reference message regarding distance measurement.

[0413] In the RRP, the first electronic device 110 may send a ranging response 2315 in response to the received ranging polling message 2310 .

[0414] In an embodiment, the first electronic device 110 and the second electronic device 120 may fail to measure the distance (2320). After the first distance measurement fails, the first electronic device 110 may retry the distance measurement for the second electronic device 120 after PULL_DOOR_BACK_OFF. In an embodiment, the value of PULL_DOOR_BACK_OFF may be Fig.23 The value of backoff 2325 in the example is 40 milliseconds.

[0415] Fig.24 A method of determining a backoff time when a predetermined event occurs in an electronic device according to an embodiment is illustrated.

[0416] refer to Fig.24 When a predetermined event occurs, that is, when an event of a door being pulled occurs, the first electronic device 110 and the second electronic device 120 fail to perform distance measurement. When the first electronic device 110 and the second electronic device 120 fail to perform distance measurement, the value of the range of the backoff window indicating PULL_DOOR_BACK may be a random value between 0 and 5. The backoff time may vary according to the selected value indicating the backoff window range. Fig.24 In the illustrated embodiment, the backoff time may have a value between 0 milliseconds and 100 milliseconds.

[0417] After the backoff time 2325 , the first electronic device 110 may send an RCM 2330 to the second electronic device 120 .

[0418] In the first PP, the second electronic device 120 may send a ranging polling message 2335 to the first electronic device 110, where the ranging polling message is a reference message regarding distance measurement.

[0419] In the RRP, the first electronic device 110 may send a ranging response 2340 and a ranging response 2345 in response to the received ranging polling message 2335. Fig.23In the example of , two ranging responses are shown, but the number of ranging responses can be greater than two.

[0420] In the second PP, the second electronic device 120 may transmit a ranging final message 2350 indicating the end of the ranging operation to the first electronic device 110.

[0421] The first electronic device 110 and the second electronic device 120 may exchange ranging-related data 2355 in the MRP. For example, the first electronic device 110 may send the ranging result to the second electronic device 120. In an embodiment, the transmission of the ranging final message 2350 and the exchange of the data 2355 may be integrated into one operation.

[0422] In an embodiment, the last measured distance 2360 indicating the most recently measured distance may be calculated based on the ranging polling message 2335, the ranging response 2340, the ranging response 2345, the ranging final message 2350, and the data 2355. Fig.23 In the example, it can be calculated that the last measured distance 2360 is 0.5 meters.

[0423] Fig.25 is a diagram for describing a ranging operation for distance measurement when a distance between electronic devices is within a predetermined distance according to an embodiment. Fig.25 A vehicle and a DK device are shown as respective examples of the first electronic device 110 and the second electronic device 120 , but it should be understood that this is merely an example and one or more other embodiments are not limited thereto.

[0424] refer to Fig.25 , the first electronic device 110 and the second electronic device 120 can estimate that the second electronic device 120 is about to enter the SECURE_DISTANCE (for example, 2 meters) from the first electronic device 110 based on the last measured distance or the last received data related to the next ranging duration. Fig.26 Describe the estimation method according to the embodiment. In the embodiment, when (for example, based on) the second electronic device 120 enters the SECURE_DISTANCE of the first electronic device 110, the first electronic device 110 and the second electronic device 120 can be converted to the UWB wake-up state and can perform distance measurement. In addition, when the distance measurement performed by the first electronic device 110 and the second electronic device 120 succeeds or fails, the first electronic device 110 and the second electronic device 120 can retry the distance measurement after a preset backoff time.

[0425] In an embodiment, the RCM sent from the second electronic device 120 to the first electronic device 110 may include a ranging interval value, which is information about the duration of the next ranging. The ranging interval value included in the RCM may be changed according to the interval calculation formula of the vehicle OEM. Fig.25 In the example of , the ranging interval value can be set to 0 milliseconds. Fig.25 The operations of the first electronic device 110 and the second electronic device 120 are shown.

[0426] The first electronic device 110 and the second electronic device 120 may estimate that the second electronic device 120 is about to enter a range represented as a SECURE_DISTANCE from the first electronic device 110. For example, the first electronic device 110 may estimate that the second electronic device 120 is about to enter a range of 2 meters (see Fig.25 2500 in the figure).

[0427] When the entry of the second electronic device 120 is estimated, the second electronic device 120 may transmit the RCM 2505 to the first electronic device 110. In an embodiment, the ranging interval value included in the RCM 2505 may be 0 milliseconds.

[0428] In the first PP, the second electronic device 120 may send a ranging polling message 2510 to the first electronic device 110, where the ranging polling message is a reference message regarding distance measurement.

[0429] In the RRP, the first electronic device 110 may send a ranging response 2515 and a ranging response 2520 in response to the received ranging polling message 2510. Fig.25 In the example of , two ranging responses are shown, but the number of ranging responses can be greater than two.

[0430] In the second PP, the second electronic device 120 may send a ranging final message 2525 indicating the end of the ranging operation to the first electronic device 110.

[0431] The first electronic device 110 and the second electronic device 120 may exchange ranging-related data 2530 in the MRP. For example, the first electronic device 110 may send the ranging result to the second electronic device 120. In an embodiment, the transmission of the ranging final message 2525 and the exchange of data 2530 may be integrated into one operation.

[0432] In an embodiment, a last measured distance 2540 indicating a most recently measured distance may be calculated based on the ranging polling message 2510, the ranging response 2515, the ranging response 2520, the ranging final message 2525, and the data 2530. Fig.25In the example, it can be calculated that the last measured distance 2540 is 1.55 meters.

[0433] In an embodiment, after the distance measurement is successful, the first electronic device 110 and the second electronic device 120 may retry the distance measurement after a backoff time. Fig.25 After the distance measurement is successful, the first electronic device 110 and the second electronic device 120 may retry the distance measurement after a backoff time 2535 of 480 milliseconds. After the backoff time, the second electronic device 120 may send an RCM 2545 to the first electronic device 110. In this regard, the ranging interval value included in the RCM 2545 may be 420 milliseconds. In the first PP, the second electronic device 120 may send a ranging polling message 2550 to the first electronic device 110, which is a reference message about the distance measurement. The operations performed after the ranging polling message 2550 is sent may be similar to the operations performed by the first electronic device 110 and the second electronic device 120, and the above operations refer to Fig.25 Described.

[0434] Fig.26 An example of a method of determining an estimated entry time into a specific range from an electronic device according to an embodiment is shown.

[0435] refer to Fig.26 , the first electronic device 110 or the second electronic device 120 can estimate the time when the second electronic device 120 enters the SECURE_DISTANCE relative to the first electronic device 110 based on the value of the distance last measured by the first electronic device 110 and the second electronic device 120, SECURE_DISTANCE, and the value of AWSH which is the average walking speed of a person.

[0436] refer to Fig.26 , describes the value of the distance last measured by the first electronic device 110 and the second electronic device 120, but it should be understood that one or more other embodiments are not limited thereto. For example, AWSH can be changed based on the distance and time measured before the last time. In an embodiment, the speed and acceleration of the person can be estimated. The speed of the person can be a negative value. The scenario where the speed is a negative value can correspond to a situation where the person does not approach the vehicle but becomes farther away from the vehicle.

[0437] Fig. 27 An example of backoff related to success or failure of distance measurement when an electronic device enters a specific distance according to an embodiment is shown.

[0438] Fig. 27An example of a backoff time is shown, and when it is estimated that the second electronic device 120 is about to enter the range (e.g., 2 meters) represented as the SECURE_DISTANCE from the first electronic device 110, the backoff time can be determined according to the success or failure of the distance measurement performed by the first electronic device 110 or the second electronic device 120. For example, when the distance measurement performed between the first electronic device 110 or the second electronic device 120 is successful, the distance measurement can be performed again after the SUCCESS_BACK_OFF time. When the distance measurement performed between the first electronic device 110 or the second electronic device 120 fails, the first distance measurement can be performed after the FIRST_BACK_OFF time. The second distance measurement can be performed after the SECOND_BACK_OFF time. The backoff time from the third distance measurement to the successful distance measurement can be defined as the LAST_BACK_OFF time. The first electronic device 110 and the second electronic device 120 can perform distance measurement from the LAST_BACK_OFF time from the third distance measurement (e.g., repeatedly and periodically) until the first electronic device 110 and the second electronic device 120 successfully perform the distance measurement.

[0439] Fig.28 is a diagram for describing a distance measurement operation performed when a distance between electronic devices is equal to or less than a predetermined distance and distance measurement fails according to an embodiment. Fig.28 A vehicle and a DK device are shown as respective examples of the first electronic device 110 and the second electronic device 120 , but it should be understood that this is merely an example and one or more other embodiments are not limited thereto.

[0440] refer to Fig.28 When it is estimated that the second electronic device 120 is about to enter the range represented as SECURE_DISTANCE from the first electronic device 110 (e.g., 2 meters), and the first electronic device 110 and the second electronic device 120 fail to perform distance measurement, the first electronic device 110 and the second electronic device 120 may perform a backoff operation. The backoff operation performed when the distance measurement fails will now be described in detail.

[0441] The first electronic device 110 and the second electronic device 120 may estimate that the second electronic device 120 is about to enter a range indicated as SECURE_DISTANCE from the first electronic device 110. For example, the first electronic device 110 may estimate that the second electronic device 120 is about to enter a range of 2 meters (see reference numeral 2800).

[0442] When the entry of the second electronic device 120 is estimated, the second electronic device 120 may transmit the RCM 2805 to the first electronic device 110. In an embodiment, the ranging interval value included in the RCM 2805 may be 0 milliseconds.

[0443] In the first PP, the second electronic device 120 may send a ranging polling message 2810 to the first electronic device 110, where the ranging polling message is a reference message regarding distance measurement.

[0444] In an embodiment, the first distance measurement of the first electronic device 110 and the second electronic device 120 may fail (see reference numeral 2815). When the first distance measurement of the first electronic device 110 and the second electronic device 120 fails, the first electronic device 110 and the second electronic device 120 may retry the distance measurement after a backoff time. For example, the first electronic device 110 and the second electronic device 120 may retry the distance measurement after a backoff time 2820 of 360 milliseconds between 100 milliseconds and 400 milliseconds.

[0445] After the backoff time 2820 of 360 milliseconds, the second electronic device 120 may transmit an RCM 2825 to the first electronic device 110. In an embodiment, the ranging interval value included in the RCM 2825 may be 0 milliseconds.

[0446] In the first PP, the second electronic device 120 may transmit a ranging polling message 2830 , which is a reference message regarding distance measurement, to the first electronic device 110 .

[0447] In an embodiment, the second distance measurement of the first electronic device 110 and the second electronic device 120 may fail (see reference numeral 2835). When the second distance measurement of the first electronic device 110 and the second electronic device 120 fails, the first electronic device 110 and the second electronic device 120 may retry the distance measurement after the backoff time. For example, the first electronic device 110 and the second electronic device 120 may retry the distance measurement after the backoff time 2840 of 240 milliseconds between 100 milliseconds and 300 milliseconds.

[0448] In an embodiment, the ranging interval value included in RCM 2805 or RCM 2825 may be modified according to the vehicle OEM's interval calculation formula. Fig.28 In the example shown in FIG. 1 , the ranging interval value can be set to 0 milliseconds.

[0449] After the backoff time 2840 of 240 milliseconds, the first electronic device 110 may transmit an RCM 2845 to the second electronic device 120. In an embodiment, the ranging interval value included in the RCM 2845 may be 0 milliseconds.

[0450] The first electronic device 110 and the second electronic device 120 may obtain parameters of the second communication by using the first communication. The first electronic device 110 and the second electronic device 120 may establish a communication environment for the second communication based on the obtained parameters and the inspection results, and the communication environment corresponds to the exchanged parameters. For example, the first communication may indicate BLE, and the second communication may indicate UWB. When a communication environment is set in which the first electronic device 110 and the second electronic device 120 are able to measure distance via the second communication, the second electronic device 120 may send RCM information to the first electronic device 110. The RCM information initially sent from the second electronic device 120 to the first electronic device 110 may include a next ranging duration value indicating the next ranging period. Described below Fig.29 An example of determining the NRD_MAX_RANGE value when the second electronic device 120 transmits the NRD_MAX_RANGE value as the next ranging duration value is shown.

[0451] Fig.29 A method of determining the NRD_MAX_RANGE value according to an embodiment is shown.

[0452] refer to Fig.29 When the second electronic device 120 sends the NRD_MAX_RANGE value as the next ranging duration value, the NRD_MAX_RANGE value may be a value between 1000 milliseconds and 1400 milliseconds. For example, the NRD_MAX_RANGE value may be 1020 milliseconds.

[0453] The first electronic device 110 and the second electronic device 120 may perform distance measurement, and after 1020 milliseconds, the first electronic device 110 and the second electronic device 120 may retry distance measurement. The first electronic device 110 and the second electronic device 120 may transition to the UWB sleep state and remain in the UWB sleep state until 1020 milliseconds have passed for the next distance measurement.

[0454] According to an embodiment, after 1020 milliseconds, the second electronic device 120 may calculate FORECAST_DISTANCE as the distance to the first electronic device 110 based on the measured distance to the first electronic device 110 (e.g., 7 meters). For example, FORECAST_DISTANCE may be calculated by using an AWSH value indicating an average moving speed of a person (e.g., 1.5 meters / second) and a time from the time of the last distance measurement to the time of the next distance measurement (e.g., 1020 milliseconds). Fig.29In the example, the value of FORECAST_DISTANCE can be calculated to be 5.47 m. When the value of FORECAST_DISTANCE is equal to or greater than 5 meters, the next ranging duration value for the next distance measurement included in the RCM can be calculated to be 200 milliseconds*5+random number (4)*20 milliseconds=1080 milliseconds.

[0455] Fig.30 and Fig.31 A possible scenario is shown in which the distance measurement between the first electronic device 110 and the second electronic device 120 fails.

[0456] Fig.30 is a diagram for describing a ranging operation in a case where distance measurement between electronic devices fails but exchange of time data succeeds according to an embodiment. Fig.30 A vehicle and a DK device are shown as respective examples of the first electronic device 110 and the second electronic device 120 , but it should be understood that this is merely an example and one or more other embodiments are not limited thereto.

[0457] refer to Fig.30 , when the exchange of the next ranging duration between the first electronic device 110 and the second electronic device 120 succeeds but the distance measurement of the first electronic device 110 and the second electronic device 120 fails, the operations of the first electronic device 110 and the second electronic device 120 may now be described as follows.

[0458] In an embodiment, whether the exchange of the next ranging duration between the first electronic device 110 and the second electronic device 120 is successful may be determined in different ways with respect to the first electronic device 110 and the second electronic device 120. For example, for the first electronic device 110, whether the exchange is successful may be determined based on whether the first electronic device 110 receives RCM information from the second electronic device 120. The second electronic device 120 may determine whether the exchange of the next ranging duration is successful when (for example, based on) receiving a response frame or an acknowledgment (ACK) from the first electronic device 110.

[0459] According to another embodiment, when the second electronic device 120 receives a response frame or a negative acknowledgement (NACK) from the first electronic device 110, the second electronic device 120 may determine that the exchange of the next ranging duration is successful.

[0460] In an embodiment, when the exchange of the next ranging duration between the first electronic device 110 and the second electronic device 120 is successful but the distance measurement of the first electronic device 110 and the second electronic device 120 fails, the first electronic device 110 and the second electronic device 120 may be converted to the UWB sleep state until the next ranging duration. After the next ranging duration, the first electronic device 110 and the second electronic device 120 may be converted to the UWB wake-up state and may perform distance measurement. The following describes Fig.30 The operations of the first electronic device 110 and the second electronic device 120 are shown.

[0461] The second electronic device 120 may transmit the RCM 3000 to start a distance measurement process for the first electronic device 110. In an embodiment of the present disclosure, the ranging interval value included in the RCM 3000 may be 1020 milliseconds.

[0462] In the first PP, the second electronic device 120 may send a ranging polling message 3005 to the first electronic device 110, where the ranging polling message is a reference message regarding distance measurement.

[0463] In the RRP, the first electronic device 110 may send a ranging response 3010 and a ranging response 3015 in response to the received ranging polling message 3005. Fig.30 In the example of , two ranging responses are shown, but it will be appreciated that in one or more other embodiments, the number of ranging responses may be greater than two.

[0464] In the second PP, the second electronic device 120 may send a ranging final message 3020 indicating the end of the ranging operation to the first electronic device 110.

[0465] The first electronic device 110 and the second electronic device 120 may exchange ranging-related data 3025 in the MRP. For example, the first electronic device 110 may send the ranging result to the second electronic device 120. In an embodiment, the transmission of the ranging final message 3020 and the exchange of the data 3025 may be integrated into one operation.

[0466] In an embodiment, the last measured distance 3030 indicating the most recently measured distance may be calculated based on the ranging polling message 3005, the ranging response 3010, the ranging response 3015, the ranging final message 3020, and the data 3025. Fig.30 In the example, it can be calculated that the last measured distance 3030 is 7 meters.

[0467] In an embodiment, after the distance measurement is successful, the first electronic device 110 and the second electronic device 120 may retry the distance measurement after 1020 milliseconds (ie, the next ranging duration 3035).

[0468] After the next ranging duration 3035, the second electronic device 120 may transmit the RCM 3040 to the first electronic device 110. In this regard, the ranging interval value included in the RCM 3040 may be 1080 milliseconds.

[0469] In the first PP, the second electronic device 120 may send a ranging polling message 3045 to the first electronic device 110, where the ranging polling message is a reference message regarding distance measurement.

[0470] In the RRP, the first electronic device 110 may send a ranging response 3050 in response to the received ranging polling message 3045. The distance measurement process thereafter may be the same as that described above with reference to Fig.30 The processes described are similar, identical, or substantially identical.

[0471] In an embodiment, the first electronic device 110 and the second electronic device 120 may retry the distance measurement after 1080 milliseconds (i.e., the next ranging duration 3060). For example, after the next ranging duration 3060, the second electronic device 120 may send an RCM 3055 to the first electronic device 110. In this regard, the ranging interval value included in the RCM 3055 may be 760 milliseconds. In an embodiment, the predicted distance 3065 representing the estimated distance may be calculated to be 3.85 meters. In an embodiment, the next ranging duration may be calculated to be 760 milliseconds.

[0472] Fig.31 is a diagram for describing a ranging operation in a case where distance measurement between electronic devices fails and exchange of time data also fails according to an embodiment. Fig.31 Respective examples of a vehicle and a DK device as the first electronic device 110 and the second electronic device 120 are shown, but it should be understood that this is merely an example and one or more other embodiments are not limited thereto.

[0473] refer to Fig.31 , when the exchange of the next ranging duration between the first electronic device 110 and the second electronic device 120 fails and the distance measurement of the first electronic device 110 and the second electronic device 120 also fails, the operations of the first electronic device 110 and the second electronic device 120 may now be described as follows.

[0474] In an embodiment, when the exchange of the next ranging duration between the first electronic device 110 and the second electronic device 120 fails and the distance measurement of the first electronic device 110 and the second electronic device 120 also fails, the first electronic device 110 and the second electronic device 120 may remain in the UWB wake-up state until the distance measurement succeeds. Fig.32 As shown, the second electronic device 120 may determine the value of NORMAL_BACK_OFF, and after NORMAL_BACK_OFF, the second electronic device 120 may re-perform distance measurement. For example, the value of NORMAL_BACK_OFF may be determined to be a value between 400 milliseconds and 800 milliseconds. Fig.31 The operations of the first electronic device 110 and the second electronic device 120 are shown.

[0475] The second electronic device 120 may transmit the RCM 3100 to start a process of distance measurement with respect to the first electronic device 110. In an embodiment, the ranging interval value included in the RCM 3100 may be 1020 milliseconds.

[0476] In the first PP, the second electronic device 120 may send a ranging polling message 3105 to the first electronic device 110, where the ranging polling message is a reference message regarding distance measurement.

[0477] In the RRP, the first electronic device 110 may send a ranging response 3110 and a ranging response 3115 in response to the received ranging polling message 3105. Fig.30 In the example of , two ranging responses are shown, but the number of ranging responses can be greater than two.

[0478] In the second PP, the second electronic device 120 may send a ranging final message 3020 indicating the end of the ranging operation to the first electronic device 110.

[0479] The first electronic device 110 and the second electronic device 120 may exchange ranging-related data 3025 in the MRP. For example, the first electronic device 110 may send the ranging result to the second electronic device 120. In an embodiment, the transmission of the ranging final message 3020 and the exchange of the data 3025 may be integrated into one operation.

[0480] In an embodiment, the last measured distance 3030 indicating the most recently measured distance may be calculated based on the ranging polling message 3005, the ranging response 3010, the ranging response 3015, the ranging final message 3020, and the data 3025. Fig.30 In the example, it can be calculated that the last measured distance 3030 is 7 meters.

[0481] In an embodiment, the first electronic device 110 and the second electronic device 120 may retry the distance measurement after 1020 milliseconds (ie, the next ranging duration 3135). For example, the first electronic device 110 may send an RCM 3140 to the second electronic device 120. In this regard, the ranging interval value included in the RCM 3140 may be 1080 milliseconds.

[0482] In an embodiment, the second electronic device 120 may send an RCM 3150 to the first electronic device 110 after a backoff time 3145 of 440 milliseconds. In this regard, the ranging interval value included in the RCM 3150 may be 960 milliseconds. In an embodiment, the predicted distance 3155 may be calculated to be 5.47 meters. In addition, the backoff value 3160 may be calculated to be 440 milliseconds + 2*20 milliseconds = 440 milliseconds, and the value of the next predicted distance 3165 may be calculated to be 5.47-0.44*1.5 = 4.81 meters. In addition, the value of the next ranging duration 3170 may be calculated to be 960 milliseconds.

[0483] Figures 33 to 40 It is a diagram for describing a method of recovering a ranging operation when reception of a frame fails within a ranging duration. For example, when reception of a frame fails within a ranging duration, the DK device cannot obtain a ranging result, and therefore, a ranging interval in an RCM included in a next ranging block may be defined based on a vehicle OEM policy.

[0484] According to an embodiment, the electronic device performing ranging can establish a communication connection via a first communication (e.g., BLE, WiFi, UWB, etc.), and can exchange parameters required for a second communication (e.g., UWB) (e.g., channel, preamble, PRF, data rate, etc.). The electronic device can exchange the parameters of the second communication, and can set the communication environment of the second communication according to the exchanged parameters. After establishing the communication environment, the electronic device can measure the distance between the electronic devices via the second communication.

[0485] In the embodiments described below, as an example of an electronic device, N UWB anchor points and a DK device (e.g., a smartphone) attached to a vehicle can be considered. The DK device can be used as an initiator to send a polling frame, and each of the N UWB anchor points can receive the polling frame as a responder. In an embodiment, it is assumed that during the ranging round duration indicating the time taken to perform ranging, the N UWB anchor points as responders among the electronic devices performing ranging turn on their receivers. The time from the start of the current frame to the start of the next ranging round (i.e., the time from the current frame to the transmission of the next RCM) can be referred to as a block interval or a round interval. Fig.33The ranging process between the DK device and the anchor point is shown. In this regard, the reference may be defined according to IEEE 802.14.4z. Fig.33 Describes the information element (IE).

[0486] Fig.33 is a diagram for describing a ranging operation performed between an electronic device and an anchor point according to an embodiment. Fig.33 In the example, the DK device 3300 may be the second electronic device 120, and the first anchor point 3310 or the Nth anchor point 3320 may be included in the first electronic device 110. Fig.33 In the figure, the DK device 3300, the first anchor point 3310, and the Nth anchor point 3320 are shown as examples, and it should be understood that one or more other embodiments are not limited thereto.

[0487] refer to Fig.33 In the RCP, the DK device 3300 may send an IE 3330 to the first anchor point 3310 or the Nth anchor point 3320, wherein the IE 3330 includes an advanced ranging control (ARC) IE, a ranging interval update (RIU) IE, and a ranging scheduling (RS) IE, wherein the ARC IE includes ranging configuration parameters, the RIU IE includes ranging interval information indicating when the next ranging starts, and the RS IE includes information indicating which ranging slot is used for communication of each anchor point.

[0488] In the first PP, the DK device 3300 may send an RCDT(0) IE 3335 indicating that the DK device 3300 initiates a DS-TWR requesting a ranging result to the first anchor point 3310 or the Nth anchor point 3320 .

[0489] In the RRP, the first anchor point 3310 or the Nth anchor point 3320 may send a ranging report control bilateral two-way ranging (RRCDT) IE indicating the start of the second round trip of the anchor point's DS-TWR and a ranging request response time (RRRT) IE to the DK device 3300. For example, the first anchor point 3310 may send an RFRAME 3340 (response) having the RRCDT IE and the RRRT IE to the DK device 3300. The Nth anchor point 3320 may send an RFRAME 3345 (response) having the RRDCT IE and the RRRT IE to the DK device 3300.

[0490] In the second PP, the DK device 3300 may send a ranging final frame 3350 to the first anchor point 3310 or the Nth anchor point 3320 .

[0491] In the MRP, the DK device 3300 may send an IE 1355 to the first anchor point 3310 or the Nth anchor point 3320, wherein the IE 3355 includes a ranging response time deferral (RRTD) IE and a ranging round trip time measurement (RRTM) IE, wherein the RRTD IE includes information about the response time of the DK device 3300, and the RRTM IE includes information about the round trip.

[0492] The first anchor point 3310 or the Nth anchor point 3320 may determine the ranging result based on the received RRTD IE and the RRTM IE 3355. The first anchor point 3310 or the Nth anchor point 3320 may send a ranging time of flight (RTOF) IE 3360 including the determined ranging result to the DK device 3300. In an embodiment of the present disclosure, when the first anchor point 3310 or the Nth anchor point 3320 attempts to change the ranging interval received in the RCP, the first anchor point 3310 or the Nth anchor point 3320 may send the ranging interval value to be updated by using a ranging change request (RCR) IE and a ranging interval update (RIU) IE.

[0493] When the DK device 3300 attempts to change the ranging interval in the RIUP, the DK device 3300 may send the ranging interval value to be updated by using the RIU IE 3365 .

[0494] Fig.34 is a diagram for describing a ranging operation performed between an electronic device and an anchor point when one of the anchor points fails to receive an RCM according to an embodiment. Fig.34 In the example, the DK device 3300 may be the second electronic device 120, and the first anchor point 3310 or the Nth anchor point 3320 may be included in the first electronic device 110. Fig.34 , the DK device 3300, the first anchor point 3310, and the Nth anchor point 3320 are shown as examples, but it should be understood that one or more other embodiments are not limited thereto.

[0495] refer to Fig.34, the DK device 3300 sends an RCM 3400 including ranging interval information about a block interval or a round interval to the first anchor point 3310 or the Nth anchor point 3320, but the first anchor point 3310 or the Nth anchor point 3320 may not receive the RCM 3400. The DK device 3300 may send a poll 3405 to the first anchor point 3310 or the Nth anchor point 3320. When the first anchor point 3310 or the Nth anchor point 3320 fails to receive the RCM 3400, the DK device 3300 may change the ranging interval (see reference numeral 3410) in the RIU message during the RIUP. The DK device 3300 may send an RIU message 3415 to the first anchor point 3310 or the Nth anchor point 3320. When the DK device 3300 changes the ranging interval, the receiver of the anchor point remains turned on during the ranging round, so that the first anchor point 3310 or the Nth anchor point 3320 can perform the next ranging based on the updated block interval or round interval information received from the DK device 3300 in the RIUP.

[0496] Fig.35 is a diagram for describing a ranging operation performed between an electronic device and an anchor point when one of the anchor points fails to receive an RCM and an RIU message according to an embodiment. Fig.35 In the example, the DK device 3300 may be the second electronic device 120, and the first anchor point 3310 or the Nth anchor point 3320 may be included in the first electronic device 110. Fig.35 , the DK device 3300, the first anchor point 3310, and the Nth anchor point 3320 are shown as examples, and it should be understood that one or more other embodiments are not limited thereto.

[0497] refer to Fig.35 , the DK device 3300 sends an RCM 3500 including ranging interval information about a block interval or a round interval to the first anchor point 3310 or the Nth anchor point 3320, but the first anchor point 3310 or the Nth anchor point 3320 may fail to receive the RCM 3500. The DK device 3300 may send a poll 3505 to the first anchor point 3310 or the Nth anchor point 3320. When (e.g., based on) the first anchor point 3310 or the Nth anchor point 3320 fails to receive the RCM 3500, the DK device 3300 may change the ranging interval in the RIU message during the RIUP (see reference numeral 3510). In RIUP, when the first anchor point 3310 or the Nth anchor point 3320 fails to receive the RIU message 3515 including the ranging interval updated by the DK device 3300, the first anchor point 3310 or the Nth anchor point 3320 may allow its receiver to remain in an enabled state in order to receive the next RCM.

[0498] Fig.36is a diagram for describing a ranging operation performed between an electronic device and an anchor point when one of the anchor points fails to receive a polling frame according to an embodiment. Fig.36 In the example, the DK device 3300 may be the second electronic device 120, and the first anchor point 3310 or the Nth anchor point 3320 may be included in the first electronic device 110. Fig.36 , the DK device 3300, the first anchor point 3310, and the Nth anchor point 3320 are shown as examples, and it should be understood that one or more other embodiments are not limited thereto.

[0499] refer to Fig.36 , the DK device 3300 may send an RCM 3600 to the first anchor point 3310 or the Nth anchor point 3320, and the first anchor point 3310 or the Nth anchor point 3320 may receive the RCM 3600. In an embodiment, the DK device 3300 may send a poll 3605 to the first anchor point 3310 or the Nth anchor point 3320. The first anchor point 3310 or the Nth anchor point 3320 may not receive the poll 3605. Since the anchor point cannot receive the poll 3605, the anchor point may send a NAK to the DK device 3300. For example, the first anchor point 3310 may send a NAK 3610 to the DK device 3300. The Nth anchor point 3320 may send a NAK 3615 to the DK device 3300. The DK device 3300 may change the ranging interval in the RIU message (see reference numeral 3620). The DK device 3300 may send the RIU message 3625 to the first anchor point 3310 or the Nth anchor point 3320. However, when the DK device 3300 does not change the ranging interval in the RIUP, the first anchor point 3310 and the Nth anchor point 3320 may transition to the sleep state based on the ranging interval information about the block interval or the round interval included in the received RCM, and may transition to the awake state at a later time. Fig.36 The illustrated embodiment corresponds to the case where the DK device 3300 changes the ranging interval in the RIUP. In this case, the anchor point can start the receiver in the ranging round and can perform the next ranging based on the updated block interval or round interval information received from the DK device 3300 in the RIUP.

[0500] Fig.37 is a diagram for describing a ranging operation performed between an electronic device and an anchor point when (eg, based on) one of the anchor points fails to receive a polling frame and an RIU message according to an embodiment. Fig.37 In the example, the DK device 3300 may be the second electronic device 120, and the first anchor point 3310 or the Nth anchor point 3320 may be included in the first electronic device 110. Fig.37, the DK device 3300, the first anchor point 3310, and the Nth anchor point 3320 are shown as examples, and it should be understood that one or more other embodiments are not limited thereto.

[0501] refer to Fig.37 , the first anchor point 3310 and the Nth anchor point 3320 may receive the RCM 3700 transmitted by the DK device 3300, and may not receive the poll 3705. Because the first anchor point 3310 and the Nth anchor point 3320 fail to receive the poll 3705, the first anchor point 3310 and the Nth anchor point 3320 may send a NAK to the DK device 3300. For example, the first anchor point 3310 may send a NAK 3710 to the DK device 3300, and the Nth anchor point 3320 may send a NAK 3715 to the DK device 3300. The DK device 3300 may change the ranging interval in the RIU message during the RIUP (see reference numeral 3720). The DK device 3300 may send a RIU message 3725 including information about the changed ranging interval to the first anchor point 3310 and the Nth anchor point 3320. In an embodiment, the first anchor point 3310 and the Nth anchor point 3320 may not receive the RIU message 3725 from the DK device 3300. Because the first anchor point 3310 and the Nth anchor point 3320 do not know the updated ranging interval information, the first anchor point 3310 and the Nth anchor point 3320 may transition to a dormant state based on the ranging interval information about the block interval or the round interval. The ranging interval information is received via the previous RCM 3700. Afterwards, the first anchor point 3310 and the Nth anchor point 3320 may transition to an awake state. In an embodiment, the first anchor point 3310 and the Nth anchor point 3320 may not receive the RCM 3730 sent by the DK device 3300. In addition, the first anchor point 3310 and the Nth anchor point 3320 may transition to a dormant state, and after the ranging interval included in the RCM 3700, the first anchor point 3310 and the Nth anchor point 3320 may transition to an awake state. The first anchor point 3310 and the Nth anchor point 3320 transitioning to the awake state may receive the RIU message 3735 from the DK device 3300 .

[0502] Fig.38 is a diagram for describing a ranging operation performed between an electronic device and an anchor point when (eg, based on) one of the anchor points fails to receive a response frame according to an embodiment. Fig.38 In the example, the DK device 3300 may be the second electronic device 120, and the first anchor point 3310 or the Nth anchor point 3320 may be included in the first electronic device 110. Fig.38 , the DK device 3300, the first anchor point 3310, and the Nth anchor point 3320 are shown as examples, and it should be understood that one or more other embodiments are not limited thereto.

[0503] refer to Fig.38 , the DK device 3300 may send the RCM 3800 to the first anchor point 3310 or the Nth anchor point 3320, and the first anchor point 3310 or the Nth anchor point 3320 may receive the RCM 3800. In an embodiment, the DK device 3300 sends a poll 3805 to the first anchor point 3310 or the Nth anchor point 3320. The first anchor point 3310 or the Nth anchor point 3320 may receive the poll 3805. In the RRP, the DK device 3300 may not receive a response frame regarding the poll 3805 from the first anchor point 3310 or the Nth anchor point 3320. For example, the DK device 3300 may not receive the response 3810 from the first anchor point 3310. Also, the DK device 3300 may not receive the response 3815 from the Nth anchor point 3320.

[0504] In an embodiment, the DK device 3300 may change the ranging interval in the RIU message during the RIUP (see reference numeral 3820). The DK device 3300 may send an RIU message 3825 including information about the changed ranging interval to the first anchor point 3310 or the Nth anchor point 3320. Since the receiver of the anchor point remains turned on during the ranging round, the first anchor point 3310 or the Nth anchor point 3320 may perform the next ranging based on the updated block interval or round interval information received from the DK device 3300 in the RIUP.

[0505] Fig.39 is a diagram for describing a ranging operation performed between an electronic device and an anchor point when the electronic device fails to receive a response frame and one of the anchor points fails to receive an RIU message according to an embodiment. Fig.39 In the example, the DK device 3300 may be the second electronic device 120, and the first anchor point 3310 or the Nth anchor point 3320 may be included in the first electronic device 110. Fig.39 , the DK device 3300, the first anchor point 3310, and the Nth anchor point 3320 are shown as examples, and it should be understood that one or more other embodiments are not limited thereto.

[0506] refer to Fig.39, the DK device 3300 may send the RCM 3900 to the first anchor point 3310 or the Nth anchor point 3320, and the first anchor point 3310 or the Nth anchor point 3320 may receive the RCM 3900. In an embodiment, the DK device 3300 may send a poll 3905 to the first anchor point 3310 or the Nth anchor point 3320. The first anchor point 3310 or the Nth anchor point 3320 may receive the poll 3905. In the RRP, the DK device 3300 may not receive a response frame regarding the poll 3905 from the first anchor point 3310 or the Nth anchor point 3320. For example, the DK device 3300 may not receive the response 3910 from the first anchor point 3310. Also, the DK device 3300 may not receive the response 3915 from the Nth anchor point 3320.

[0507] In an embodiment, the DK device 3300 may change the ranging interval in the RIU message during the RIUP (see reference numeral 3920). The DK device 3300 may send an RIU message 3925 including information about the changed ranging interval to the first anchor point 3310 or the Nth anchor point 3320. However, the first anchor point 3310 and the Nth anchor point 3320 may not receive the RIU message 3925 including information about the updated ranging interval. Because the RIU message 3925 is not received, the first anchor point 3310 and the Nth anchor point 3320 may not know the information about the ranging interval updated by the DK device 3300. The first anchor point 3310 and the Nth anchor point 3320 may transition to a sleep state based on the ranging interval information (e.g., a block interval or a round interval) received via a previous RCM 3900, and may transition to an awake state at a later time. In an embodiment, the first anchor point 3310 and the Nth anchor point 3320 may not receive the RCM 3930 from the DK device 3300. In addition, the first anchor point 3310 and the Nth anchor point 3320 may receive the RIU message 3935 from the DK device 3300.

[0508] Fig.40 is a diagram for describing a ranging operation performed between an electronic device and an anchor point when one of the anchor points fails to receive a second polling frame, information related to a timestamp, and an RIU message according to an embodiment. Fig.40 In the example, the DK device 3300 may be the second electronic device 120, and the first anchor point 3310 or the Nth anchor point 3320 may be included in the first electronic device 110. Fig.40 , a DK device 3300, a first anchor point 3310, and an Nth anchor point 3320 are exemplarily shown, and it should be understood that one or more other embodiments are not limited thereto.

[0509] refer to Fig.40, the DK device 3300 may send the RCM 4000 to the first anchor point 3310 or the Nth anchor point 3320, and the first anchor point 3310 or the Nth anchor point 3320 may receive the RCM 4000. The DK device 3300 may send a poll 4005 to the first anchor point 3310 or the Nth anchor point 3320. The first anchor point 3310 or the Nth anchor point 3320 may receive the poll 4005. In the RRP, the DK device 3300 may not receive a response frame regarding the poll 4005 from the first anchor point 3310 or the Nth anchor point 3320. For example, the DK device 3300 may not receive the response 4010 from the first anchor point 3310. In addition, the DK device 3300 may not receive the response 4015 from the Nth anchor point 3320.

[0510] In addition, the anchor point may not be able to receive the second polling frame from the DK device 3300. For example, the first anchor point 3310 and the Nth anchor point 3320 may not receive the final 4020 as the second polling frame from the DK device 3300.

[0511] In addition, the anchor point may not receive information related to the timestamp in the MRP. For example, the first anchor point 3310 or the Nth anchor point 3320 may not receive IE 4025 including an RRTD IE including information about the response time of the DK device 3300 and an RRTM IE including information about the round trip, wherein the IE 4025 is sent by the DK device 3300 in the MRP.

[0512] Also, the anchor point may not receive the ranging interval information updated by the DK device 3300 in the RIU. For example, the first anchor point 3310 and the Nth anchor point 3320 may not receive the RIU message 4035 including the ranging interval information updated by the DK device 3300 in the RIU.

[0513] The DK device 3300 may not receive the ranging result transmitted by the anchor point in the MRP. For example, the DK device 3300 may not receive the RTOF IE 4030 indicating the ranging results received from the first anchor point 3310 and the Nth anchor point 3320 in the MRP.

[0514] When the anchor point fails to receive the second polling frame and the information related to the timestamp in the MRP, the anchor point may not be able to send the information related to the ranging result to the DK device 3300 in the MRP. When (for example, based on) the anchor point not sending the ranging result, the DK device 3300 may determine that the reception has failed. When the DK device 3300 determines that the reception has failed, the DK device 3300 may change the ranging interval in the RIU message during the RIUP. In the following, the anchor point may represent the first anchor point 3310 or the Nth anchor point 3320.

[0515] According to an embodiment, the receiver of the anchor point remains turned on during the ranging round so that the anchor point can perform the next ranging based on the updated block interval or round interval information received from the DK device 3300 in the RIUP.

[0516] When the anchor point fails to receive updated block interval or round interval information from the DK device 3300 in RIUP, the anchor point may transition to the sleep state based on the ranging interval information (e.g., block interval or round interval) received via the previous PCM. The anchor point may transition to the awake state at a later time.

[0517] When the DK device 3300 fails to receive the ranging result sent by the anchor point in the MRP, the DK device 3300 cannot determine the ranging interval to be included in the RCM in the next ranging block, so the ranging interval can be defined based on the vehicle OEM policy, for example.

[0518] The DK device 3300 may send an RIU message 4040 and an RCM 4045 to the first anchor point 3310 or the Nth anchor point 3320. In this regard, the RCM 4045 may include information related to the ranging interval used in the previous ranging block. Figures 33 to 40 The described method can resume the ranging operation when the reception of a frame fails within the ranging duration.

[0519] Fig.41 A configuration of an electronic device according to an embodiment is shown.

[0520] The electronic device according to the embodiment may include a processor 4101, a transceiver 4102, and a memory 4103. The processor 4101 may be represented as one processor or multiple processors, the transceiver 4102 may be represented as one transceiver or multiple transceivers, and the memory 4103 may be represented as one memory or multiple memories.

[0521] The processor 4101 may be defined or implemented as an integrated circuit or at least one processor dedicated to a circuit or an application.

[0522] The processor 4101 can control all operations of the electronic device. For example, the processor 4101 can control the signal flow between blocks to allow operations to be performed according to the above-mentioned flowchart. Moreover, the processor 4101 can write data to the memory 4103 and read data from the memory 4103. In addition, the processor 4101 can perform the functions of the protocol stack required by the communication standard. To this end, the processor 4101 may include at least one processor or microprocessor, or may be a part of another processor. Moreover, a part of the transceiver 4102 and the processor 4101 may be referred to as a communication processor (CP).

[0523] According to an embodiment, the processor 4101 may control the operation of the electronic device as described above.

[0524] The processor 4101 may be configured to execute a program stored in at least one memory 4103 to establish a communication connection with another electronic device by obtaining parameters of a first communication using a second communication different from the first communication, and to transmit and receive data with the other electronic device via the first communication.

[0525] The parameter may include at least one of a MAC address, a group ID, and an application ID.

[0526] The at least one processor may transmit and receive ranging messages to / from other electronic devices so as to measure the distance to the other electronic devices.

[0527] The at least one processor may send a ranging initiation message including ranging duration data to the other electronic devices, may receive a ranging response message from the other electronic devices, and may send a ranging end message to the other electronic devices.

[0528] The at least one processor may send a ranging initiation message to other electronic devices when a predetermined event (eg, a door pulling event) occurs in the electronic device.

[0529] At least one processor may check whether the other electronic device is located within a preset distance (ie, SECURE_DISTANCE) from the other electronic device.

[0530] The at least one processor may determine a first backoff time when distance measurement with respect to other electronic devices fails, the first backoff time being a time for resending a ranging message to the other electronic devices.

[0531] The at least one processor may determine a second backoff time when the distance measurement with respect to the other electronic device is successful, the second backoff time being a time for resending the ranging message to the other electronic device.

[0532] The at least one processor checks the SHR preamble and the CFP slot corresponding to the SHR preamble available in the first communication via the second communication, and can transceive data with the other electronic device via the first communication based on the checking result.

[0533] The at least one processor may check a usage status of the CFP slot based on synchronization frames respectively corresponding to some of the plurality of SHR preambles.

[0534] The at least one processor may transmit a check message including information on a usage status of the CFP time slot to the other electronic devices.

[0535] The at least one processor may receive information about an available SHR preamble and an available CFP time slot from other electronic devices when there are available SHR preambles and CFP time slots.

[0536] The at least one processor may receive an unavailability notification message from other electronic devices when the SHR preamble and the CFP time slot are unavailable.

[0537] At least one processor may broadcast information regarding available CFP time slots via a synchronization frame.

[0538] The at least one processor may perform pairing with other electronic devices in the CAP by using the parameters.

[0539] The at least one processor may transceive data by using the SHR preamble and the CFP time slot available in the first communication.

[0540] The transceiver 4102 according to the embodiment can perform a function for receiving and transmitting signals via a wireless channel. For example, the transceiver 4102 can perform conversion between a baseband signal and a bit stream based on the physical layer specification of the system. For example, for data transmission, the transceiver 4102 can generate complex symbols by encoding and modulating a bit string. For data reception, the transceiver 4102 can reconstruct the received bit stream by demodulating and decoding the baseband signal. Moreover, the transceiver 4102 can up-convert the baseband signal to an RF band signal, which can then be transmitted through an antenna, and the RF band signal received by the antenna can be down-converted to a baseband signal. For example, the transceiver 4102 may include a transmit filter, a receive filter, an amplifier, a mixer, an oscillator, a digital-to-analog converter (DAC), an analog-to-digital converter (ADC), etc. Moreover, the transceiver 4102 may include multiple transceiver paths. In addition, the transceiver 4102 may include at least one antenna array consisting of multiple antenna elements. In terms of hardware, the transceiver 4102 may be configured as a digital circuit and an analog circuit (e.g., a radio frequency integrated circuit (RFIC)). In this regard, the digital circuit and the analog circuit may be implemented as one package. Moreover, the transceiver 4102 may include multiple RF chains. The transceiver 4102 may include a first transceiver and a second transceiver. The first transceiver may support the second communication, and the second transceiver may support the first communication.

[0541] although Fig.41 One transceiver 4102 is shown, but the first transceiver supporting the second communication and the second transceiver supporting the first communication may exist as separate transceivers.

[0542] The memory 4103 according to the embodiment may store basic programs, applications, configuration information, instructions, etc. for the operation of the electronic device. The memory 4103 may be implemented as a volatile memory, a non-volatile memory, or a combination of a volatile memory and a non-volatile memory. In response to a request from the processor 4101, the memory 4103 may provide stored data. The memory 4103 may store at least one of the information received and transmitted by the transceiver 4102 or the information generated by the processor 4101.

[0543] According to an embodiment, the processor 4101 can schedule the SHR preamble and CFP time slot to be communicated between multiple electronic devices by performing signaling via communication other than UWB. By doing so, the number of electronic devices that unnecessarily operate UWB receivers in multiple electronic devices is reduced, thereby improving power consumption in multiple electronic devices and reducing unnecessary delays in multiple electronic devices.

[0544] According to one aspect of the present disclosure, a method for operating a controller for performing ranging with a controlled party using ultra-wideband (UWB) communication in a wireless communication system, the method comprising: sending a first ranging control message (RCM) to the controlled party, the first RCM including information of a first ranging interval of a second RCM; changing the ranging interval of the second RCM from the first ranging interval to the second ranging interval; sending an interval update message of the second RCM to the controlled party based on the first ranging interval, the interval update message including information of the changed ranging interval; and sending a second RCM to the controlled party based on the changed ranging interval.

[0545] The method further includes: in a case where the controlled party receives the interval update message from the controller, receiving a response message to the interval update message from the controlled party.

[0546] The method further includes: if the controller receives the response message, stopping sending the update message.

[0547] The method further includes: repeatedly sending the interval update message to the controlled party until the controller receives the response message.

[0548] In the method, in a case where the controlled party fails to receive the first RCM and the interval update message, the controlled party monitors a channel for receiving the second RCM.

[0549] According to another aspect of the present disclosure, a method for operating a controlled party that uses ultra-wideband (UWB) communication in a wireless communication system to perform ranging with a controller, the method comprising: receiving a first ranging control message (RCM) from the controller, the first RCM including information of a first ranging interval of a second RCM; based on the first ranging interval, receiving an interval update message of the second RCM from the controller, the interval update message including information of a second ranging interval, wherein the ranging interval of the second RCM is changed from the first ranging interval to the second ranging interval; and receiving the second RCM from the controller based on the second ranging interval.

[0550] The method further includes: in a case where the controlled party receives the interval update message from the controller, sending a response message to the controller for the interval update message.

[0551] In the method, when the controller receives the response message, the controller stops sending the update message.

[0552] The method also includes repeatedly receiving the interval update message from the controller until the controller receives the response message.

[0553] The method further includes: in a case where the first RCM and the interval update message cannot be received, the controlled party monitoring a channel for receiving the second RCM.

[0554] According to another aspect of the present disclosure, a controller is provided for performing ranging with a controlled party using ultra-wideband (UWB) communication in a wireless communication system, the controller comprising: a transceiver; a memory; and a processor, the processor being configured to: send a first ranging control message (RCM) to the controlled party, the first ranging control message comprising information of a first ranging interval of a second RCM; change the ranging interval of the second RCM from the first ranging interval to a second ranging interval; send an interval update message of the second RCM to the controlled party based on the first ranging interval, the interval update message comprising information of the changed ranging interval; and send a second RCM to the controlled party based on the changed ranging interval.

[0555] The processor is further configured to: receive a response message to the interval update message from the controlled party, if the controlled party receives the interval update message from the controller.

[0556] The processor is further configured to: stop sending the update message if the controller receives the response message.

[0557] The processor is further configured to repeatedly send the interval update message to the controlled party until the controller receives the response message.

[0558] Wherein, in a case where the controlled party fails to receive the first RCM and the interval update message, the controlled party monitors a channel for receiving the second RCM.

[0559] According to another aspect of the present disclosure, a non-transitory computer-readable recording medium has recorded thereon instructions executable by at least one processor to perform a method of a controller.

[0560] According to another aspect of the present disclosure, a non-transitory computer-readable recording medium has recorded thereon instructions executable by at least one processor to perform a method of a controlled party.

[0561] The methods according to the embodiments described above or in the appended claims may be implemented as hardware, software, or a combination of hardware and software.

[0562] When implemented as software, a computer-readable storage medium storing one or more programs (e.g., software modules) may be provided. One or more programs stored in the computer-readable storage medium are configured to be executed by one or more processors in an electronic device. The one or more programs include instructions that instruct the electronic device to perform the method according to the embodiment of the present disclosure as described in the specification or the appended claims.

[0563] The program (e.g., software module or software) may be stored in a non-volatile memory including random access memory (RAM) or flash memory, read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic disk storage device, compact disc (CD)-ROM, digital versatile disc (DVD), other optical storage device, or cassette tape. Alternatively, the program may be stored in a memory including a combination of some or all of the above storage media. A plurality of such memories may be included.

[0564] In addition, the program may be stored in a connectable storage device accessible via any one or combination of a communication network (e.g., the Internet, an intranet, a local area network (LAN), a wide area network (WLAN), and a storage area network (SAN)). Such a storage device may access the electronic device executing the embodiments of the present disclosure via an external port. In addition, a separate storage device on a communication network may access the electronic device executing the embodiments of the present disclosure.

[0565] Specific embodiments have been described above, but it should be understood that various modifications can be made without departing from the scope of the present disclosure. Therefore, it is apparent to those skilled in the art that the scope of the present disclosure is not limited to the embodiments described herein, and should be defined by the appended claims and their equivalents.

[0566] The block diagram as described in the present disclosure may be interpreted by one of ordinary skill in the art as a conceptual representation of a circuit for implementing the principles of the present disclosure. Similarly, it should also be understood by one of ordinary skill in the art that any flowchart, flow chart, state transition, pseudocode, etc., as various processes that can be executed by a computer or processor, regardless of whether the computer or processor is explicitly shown, can be substantially embodied in a computer-readable medium. Therefore, the foregoing embodiments of the present disclosure can be written into a program that can be executed by a computer, and can be implemented in a general-purpose digital computer to execute the program by using a computer-readable recording medium. Computer-readable recording media include storage media, such as magnetic storage media (e.g., ROM, floppy disk, hard disk, etc.), optical media (e.g., CD-ROM, DVD, etc.), etc.

[0567] The functions of the various elements shown in the drawings may be associated with appropriate software and may therefore be provided using dedicated hardware as well as hardware capable of executing the software. When provided by a processor, the functions may be provided by a single dedicated processor, a single shared processor, or multiple separate processors in which some functions may be shared. In addition, explicit use of the term "processor" or "controller" should not be interpreted as referring exclusively to hardware capable of executing software, but rather may be interpreted as implicitly including, but not limited to, digital signal processor (DSP) hardware, ROM, RAM, and non-volatile storage devices for storing software.

[0568] In the appended claims, an element represented as a means for performing a specific function includes any method of performing the specific function, and the element is intended to include a combination of circuit elements that perform the specific function, or any form of software including firmware, microcode, and circuits suitable for executing the software to perform the specific function.

[0569] Throughout the specification, reference to an "embodiment" of the principles of the present disclosure and its various modifications is intended to include a particular characteristic, structure, feature, etc. in at least one embodiment of the principles of the present disclosure. Therefore, the term "embodiment" and any other modifications provided in the specification do not necessarily refer to the same embodiment of the present disclosure.

[0570] The disclosure has been described with reference to one or more embodiments thereof.

[0571] It should be understood that the embodiments and conditional examples disclosed in the specification are intended to help those of ordinary skill in the art understand the principles and concepts of the present disclosure, and therefore, those of ordinary skill in the art can understand that the embodiments can be modified without departing from the essential features of the present disclosure. Therefore, the above embodiments should be considered illustrative rather than restrictive. The scope of the present disclosure is limited only by the appended claims, and all equivalent forms of the embodiments may also be interpreted as being within the scope of the present disclosure.

Claims

1. A method for performing ranging by a controller using ultra-wideband (UWB) communication in a wireless communication system, the method include: Sending a first ranging control message RCM to the controlled party, wherein the first RCM includes information of a block interval, information of a round interval, and information of an interval for a ranging interval update message RIUM; changing the block interval or the round interval of the first RCM; sending the RIUM including information for a changed interval to the controlled party based on the information for the interval of the RIUM; as well as Based on the modified interval, a second RCM is sent to the controlled party.

2. The method according to claim 1, further comprising: include: A response message to the RIUM is received from the controlled party.

3. The method according to claim 1, further comprising: include: repeatedly sending the RIUM to the controlled party until the controller receives a response message to the RIUM; as well as When the controller receives the response message, it stops sending the RIUM.

4. The method according to claim 1, in, In case that the first RCM and the RIUM are not received by the controlled party, a channel for receiving the second RCM is monitored by the controlled party.

5. A method for performing ranging by a controlled party using ultra-wideband (UWB) communication in a wireless communication system, the method include: receiving a first ranging control message RCM from the controller, the first RCM including information of a block interval, information of a round interval, and information of an interval for a ranging interval update message RIUM; receiving, from the controller, the RIUM including information for a changed interval based on the information for the interval of the RIUM, wherein the block interval or the round interval of the first RCM is changed to the changed interval; and A second RCM is received from the controller based on the modified interval.

6. The method according to claim 5, further comprising: include: A response message to the RIUM is sent to the controller.

7. The method according to claim 5, The RIUM is repeatedly received from the controller until a response message to the RIUM is received by the controller.

8. The method according to claim 5, further comprising: include: In case that the controlled party fails to receive the first RCM and the RIUM, the controlled party monitors a channel for receiving the second RCM.

9. A controller for performing ranging using ultra-wideband (UWB) communication in a wireless communication system, the controller include: Transceiver; Memory; as well as A processor, the processor being configured to: Sending a first ranging control message RCM to the controlled party, wherein the first RCM includes information of a block interval, information of a round interval, and information of an interval for a ranging interval update message RIUM; changing the block interval or the round interval of the first RCM; sending the RIUM including information for a changed interval to the controlled party based on the information for the interval of the RIUM; as well as Based on the modified interval, a second RCM is sent to the controlled party.

10. The controller according to claim 9, in, The processor is further configured to: A response message to the RIUM is received from the controlled party.

11. The controller according to claim 9, in, The processor is further configured to: repeatedly sending the RIUM to the controlled party until the controller receives a response message to the RIUM; as well as When the controller receives the response message, it stops sending the RIUM.

12. The controller according to claim 9, in, In case that the first RCM and the RIUM are not received by the controlled party, a channel for receiving the second RCM is monitored by the controlled party.

13. A controlled party that performs ranging using ultra-wideband (UWB) communication in a wireless communication system, wherein the controlled party include: Transceiver; Memory; as well as A processor, the processor being configured to: receiving a first ranging control message RCM from the controller, the first RCM including information of a block interval, information of a round interval, and information of an interval for a ranging interval update message RIUM; receiving, from the controller, the RIUM including information for a changed interval based on the information for the interval of the RIUM, wherein the block interval or the round interval of the first RCM is changed to the changed interval; as well as A second RCM is received from the controller based on the modified interval.

14. The controlled party according to claim 13, wherein the processor is further configured to: A response message to the RIUM is sent to the controller.

15. The controlled party according to claim 13, wherein the processor is further configured to: The RIUM is repeatedly received from the controller until a response message to the RIUM is received by the controller.

Citation Information

Patent Citations

  • Method of transmitting and receiving information of allocating uplink region in broadband wireless access system

    US20110122848A1