Electronic device for performing ranging via UWB (ultra wide band) in wireless communication system and method for operating said electronic device
The method enhances UWB ranging security and accuracy by comparing multiple ranging values using preambles and STS sequences, effectively preventing unauthorized access and interference-based attacks.
Patent Information
- Application Number
- JP2021578111
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-08-05
- Filing Date
- 2020-07-09
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-07-09
AI Technical Summary
Existing UWB ranging methods lack security against unauthorized access and suffer from accuracy issues due to potential attacks such as relay attacks and interference, which compromise the integrity of distance measurements.
Implementing a method that includes transmitting and receiving frames for ranging, obtaining multiple ranging values, and performing an integrity test by comparing these values using both preambles and scrambled timestamp sequences (STS) to ensure secure and accurate distance measurement.
Enhances security by preventing unauthorized access and improving ranging accuracy through integrity checks, reducing the likelihood of successful attacks and ensuring reliable distance measurements.
Smart Images

Figure 0007558991000006 
Figure 0007558991000007 
Figure 0007558991000008
Abstract
Description
[Technical field]
[0001] The present invention relates to an electronic device that uses ultra wide band (UWB) in a wireless communication system and performs safe and accurate ranging, and a method of operating the electronic device. [Background technology]
[0002] The Internet is a human-centered network where humans generate and consume information, and is evolving into an Internet of Things (IoT) network that exchanges and processes information between distributed components such as things. IoE (Internet of Everything) technology has also been proposed, which combines big data processing technology through connections with cloud servers with IoT technology. To realize IoT, technological elements such as sensing technology, wired and wireless communication and network infrastructure, service interface technology, and security technology are required. Recently, technologies such as sensor networks for connecting things, machine to machine (M2M) and machine type communication (MTC) are being researched.
[0003] In the IoT environment, intelligent IT (internet technology) services can be provided that collect and analyze data generated by connected things to create new value in human life. The IoT can also be applied to fields such as smart homes, smart buildings, smart cities, smart cars or connected cars, smart grids, healthcare, smart home appliances, and advanced medical services through the fusion and integration of existing IT (information technology) with various industries.
[0004] As the development of wireless communication systems makes it possible to provide a variety of services, there is a demand for methods for providing such services effectively. For example, in medium access control (MAC), a ranging technology may be used that measures the distance between electronic devices using ultra wide band (UWB). The UWB is a wireless communication technology that does not use a radio carrier wave but uses an extremely wide frequency band of several GHz or more in the baseband. Summary of the Invention [Problem to be solved by the invention]
[0005] The problem to be solved by the present invention is that, in performing ranging using UWB, a secure ranging method capable of preventing an attack by an unauthorized user and preventing access by an unauthorized user is required, and a method capable of improving the accuracy of ranging is also required. [Means for solving the problem]
[0006] According to one embodiment of the present disclosure, an operating method of an electronic device performing ranging via UWB in a wireless communication system also includes a step of transmitting and receiving at least one frame for ranging with at least one other electronic device, a step of obtaining a first ranging value and a second ranging value based on the at least one frame, and a step of performing an integrity check based on a result of comparing the first ranging value and the second ranging value. [Brief description of the drawings]
[0007] [Figure 1] FIG. 1 is a diagram illustrating a typical D2D (device-to-device) communication procedure. [Diagram 2] FIG. 2 illustrates a communication process between multiple electronic devices. [Diagram 3]This is a diagram illustrating a UWB (ultra wide band) PHY (physical layer) frame structure. [Figure 4] 1 is a diagram illustrating the structure of a physical layer protocol data unit (PPDU) of a high rate pulse repetition frequency-enhanced ranging device (HRP-ERDEV). [Diagram 5] 1 is a diagram illustrating a method of determining the time when a frame is received using a scrambled timestamp sequence (STS). [Figure 6] FIG. 1 is a diagram for explaining a schematic of single-sided two-way (SS-TWR) ranging operation of an electronic device. [Figure 7] FIG. 1 is a diagram for explaining a schematic double-sided two-way (DS-TWR) ranging operation of an electronic device. [Figure 8] FIG. 1 illustrates a scenario in which an attacker gains access to an electronic device through a relay attack. [Figure 9A] 4 is a flowchart of a method for an electronic device to perform ranging via UWB, according to one embodiment of the present disclosure. [Figure 9B] 4 is a flowchart of a method for an electronic device to perform ranging via UWB, according to one embodiment of the present disclosure. [Figure 10A] 4 is a detailed flowchart of a method for an electronic device to perform ranging and integrity checking using an STS and a preamble according to an embodiment of the present disclosure. [Figure 10B] 4 is a specific flowchart of a method for an electronic device to perform ranging calibration using an STS and a preamble according to one embodiment of the present disclosure. [Figure 11]FIG. 1 is a diagram for explaining a method in which an electronic device performs ranging and integrity testing using the DS-TWR method according to one embodiment of the present disclosure. [Figure 12] 1 is a detailed flowchart of a method for an electronic device to perform ranging and integrity testing using the DS-TWR method according to an embodiment of the present disclosure; [Figure 13A] FIG. 13 is a diagram for explaining a scenario in which an electronic device may be attacked by an attacker when performing ranging using the DS-TWR method according to one embodiment of the present disclosure. [Figure 13B] FIG. 13 is a diagram for explaining a scenario in which an electronic device may be attacked by an attacker when performing ranging using the DS-TWR method according to one embodiment of the present disclosure. [Figure 13C] FIG. 1 is a diagram for explaining a method of performing ranging using the DS-TWR method applied to make electronic devices more secure against attacks according to one embodiment of the present disclosure. [Figure 14] 1 is a specific flowchart of a method for an electronic device to perform ranging calibration using the DS-TWR method according to an embodiment of the present disclosure. [Figure 15] 1 is a diagram for explaining an STS segment defined in the PHY of HRP (high rate pulse) UWB. [Figure 16A] 1 is a specific flowchart of a method for an electronic device to perform ranging and integrity checking using multiple STS segments according to one embodiment of the present disclosure. [Figure 16B] 1 is a specific flowchart of a method for an electronic device to perform ranging calibration using multiple STS segments according to one embodiment of the present disclosure. [Figure 16C] FIG. 13 is a diagram for explaining clustering for ranging calibration. [Figure 17] 1 is a diagram illustrating a process in which multiple electronic devices change ranging parameters. [Figure 18A]FIG. 1 is a block diagram of an electronic device according to various embodiments of the present disclosure. [Figure 18B] FIG. 1 is a block diagram of an electronic device according to various embodiments of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] According to one embodiment of the present disclosure, an operating method of an electronic device performing ranging via ultra wide band (UWB) communication in a wireless communication system also includes a step of transmitting and receiving at least one frame for ranging with at least one other electronic device, a step of acquiring a first ranging value and a second ranging value based on the at least one frame, and a step of performing an integrity test based on a result of comparing the first ranging value and the second ranging value.
[0009] According to one embodiment of the present disclosure, in a wireless communication system, an electronic device performing ranging via UWB also includes a communication unit that transmits and receives at least one frame for ranging with at least one other electronic device, and at least one processor that obtains a first ranging value and a second ranging value based on the at least one frame, and performs an integrity check based on a result of comparing the first ranging value with the second ranging value.
[0010] According to one embodiment of the present disclosure, in a computer-readable recording medium storing a program for performing an operating method of an electronic device that performs ranging via UWB in a wireless communication system, the method also includes a step of transmitting and receiving at least one frame for ranging with at least one other electronic device, a step of acquiring a first ranging value and a second ranging value based on the at least one frame, and a step of performing an integrity check based on a result of comparing the first ranging value and the second ranging value.
[0011] According to one embodiment of the present disclosure, an operating method of an electronic device performing ranging via UWB in a wireless communication system also includes a step of transmitting and receiving at least one frame for ranging with at least one other electronic device, a step of obtaining a first ranging value and a second ranging value based on the at least one frame, and a step of determining a third ranging value based on the first ranging value and the second ranging value.
[0012] According to one embodiment of the present disclosure, in a wireless communication system, an electronic device performing ranging via UWB also includes a communication unit that transmits and receives at least one frame for ranging with at least one other electronic device, and at least one processor that obtains a first ranging value and a second ranging value based on the at least one frame, and determines a third ranging value based on the first ranging value and the second ranging value.
[0013] According to one embodiment of the present disclosure, in a computer-readable recording medium storing a program for performing an operating method of an electronic device that performs ranging via UWB in a wireless communication system, the method also includes a step of transmitting and receiving at least one frame for ranging with at least one other electronic device, a step of obtaining a first ranging value and a second ranging value based on the at least one frame, and a step of determining a third ranging value based on the first ranging value and the second ranging value.
[0014] Hereinafter, with reference to the accompanying drawings, an embodiment of the present disclosure will be described in detail so that a person skilled in the art can easily carry out the present disclosure. However, the present disclosure may be embodied in various different forms and is not limited to the embodiments described herein. In addition, in the drawings, in order to clearly explain the present disclosure, parts that are not related to the description are omitted, and similar parts are designated by similar reference numerals throughout the specification.
[0015] The terms used in this disclosure are described in terms of currently used common terms, taking into consideration the functions referred to in this disclosure, but may mean various other terms depending on the intentions or precedents of engineers in the field, the emergence of new technologies, etc. Therefore, the terms used in this disclosure should not be interpreted only based on the names of the terms, but should be interpreted based on the meanings of the terms and the overall content of this disclosure.
[0016] Furthermore, terms such as "first" and "second" may be used to describe various components, but the components are not limited by the terms. The terms are used to distinguish one component from another.
[0017] In addition, the terms used in this disclosure are merely used to describe a particular embodiment and are not intended to limit the disclosure. The singular expression includes the plural meaning unless the context clearly indicates the singular. In addition, in the entire specification, when a part is "connected" to another part, this includes not only the case where it is "directly connected" but also the case where it is "electrically connected" with another element sandwiched therebetween. In addition, when a part is described as "including" a certain component, it does not mean that it excludes other components, but that it may further include other components, unless otherwise specified to the contrary.
[0018] As used throughout this specification, the terms "said" and similar directives refer to both the singular and the plural. Also, unless a description explicitly dictates an order of steps described in a method according to the present disclosure, the recited steps may be performed in any suitable order. The recited order of steps is not intended to limit the present disclosure.
[0019] The appearances of phrases such as "in one embodiment" in various places in the specification do not necessarily refer to the same embodiment.
[0020] An embodiment of the present disclosure is also shown by functional block configurations and various processing steps. Some or all of such functional blocks may be embodied by various numbers of hardware configurations and / or software configurations performing specific functions. For example, the functional blocks of the present disclosure may be embodied by one or more microprocessors or by circuit configurations for a given function. For example, the functional blocks of the present disclosure may be embodied by various programming or scripting languages. The functional blocks may be embodied by algorithms executed by one or more processors. The present disclosure may also employ conventional techniques for electronic configuration, signal processing, and / or data processing.
[0021] Furthermore, the connecting lines or connecting members between components shown in the drawings are merely illustrative of functional connections and / or physical or circuit connections, and in an actual device, connections between components may be represented by various alternative or additional functional connections, physical connections, or circuit connections.
[0022] Generally, wireless sensor network technology is broadly divided into wireless local area network (WLAN) technology and wireless personal area network (WPAN) technology according to the recognition distance. At this time, the wireless LAN is a technology based on IEEE 802.11, and is a technology that can connect to a backbone network within a radius of about 100 m. And the wireless private network is a technology based on IEEE 802.15, and includes Bluetooth, ZigBee, UWB, etc. A wireless sensor network in which such wireless sensor network technology is realized is also made up of a plurality of communication electronic devices. At this time, the plurality of communication electronic devices communicate in an active period using a single channel. That is, the communication electronic device can collect packets in the active period and transmit the collected packets.
[0023] The UWB may refer to a short-distance, high-speed wireless communication technology that uses a wide frequency band of several GHz or more, low spectral density, and a short pulse width (1 to 4 nsec) in a baseband state. The UWB may also refer to the band itself to which the UWB communication is applied. In the following, the communication method of the electronic device will be described based on UWB, but this is merely one example, and in reality, it is also applicable to various wireless communication technologies.
[0024] Electronic devices according to embodiments of the present disclosure may include mobile phones, smartphones, mobile terminals, laptop computers, digital broadcasting terminals, personal digital assistants (PDAs), portable multimedia players (PMPs), navigation systems, personal computers (slate PCs), tablet PCs, digital televisions, desktop computers, refrigerators, projectors, automobiles, smart cars, printers, and the like.
[0025] The present disclosure will now be described in detail with reference to the accompanying drawings.
[0026] FIG. 1 is a diagram illustrating a typical D2D (device-to-device) communication procedure.
[0027] D2D communication refers to a method in which geographically close electronic devices communicate directly without using infrastructure such as a base station. As shown in FIG. 1, the electronic devices can communicate in a 1:1, 1:multiple, or multiple:multiple manner. The D2D communication can use unlicensed frequency bands such as Wi-Fi (wireless fidelity) direct and Bluetooth. Alternatively, the D2D communication can improve the frequency utilization efficiency of a cellular system by utilizing licensed frequency bands. Although the D2D communication is sometimes used restrictively as a term referring to communication between things or intelligent communication between things, the D2D communication in the present disclosure includes not only simple electronic devices equipped with communication functions, but also communication between various types of electronic devices equipped with communication functions such as smartphones and personal computers.
[0028] FIG. 2 is a diagram illustrating a communication process between multiple electronic devices.
[0029] The first electronic device 210 and the second electronic device 220 can communicate with each other through a device discovery process (230), a link creation process (240), and a data communication process (250).
[0030] In the device search process (230), each of the first electronic device 210 and the second electronic device 220 can search for other electronic devices capable of D2D communication among electronic devices in the vicinity of the first electronic device 210 and the second electronic device 220. Through the search, each of the first electronic device 210 and the second electronic device 220 can determine whether to create a link for performing D2D communication. For example, the first electronic device 210 can transmit a search signal so that the second electronic device 220 searches for the first electronic device 210. In addition, the first electronic device 210 can receive the search signal transmitted by the second electronic device 220 and confirm that other electronic devices capable of D2D communication are within the D2D communication range.
[0031] In the link creation process 240, each of the first electronic device 210 and the second electronic device 220 may create a link for data transmission with an electronic device to transmit data among the electronic devices discovered in the device discovery process 230. For example, the first electronic device 210 may create a link for data transmission with the second electronic device 220 discovered in the device discovery process 230.
[0032] In the data communication process (250), each of the first electronic device 210 and the second electronic device 220 can transmit and receive data to and from the device with which the link was generated in the link generation process (240). For example, the first electronic device 210 can transmit and receive data to and from the second electronic device 220 via the link generated in the link generation process (240). Hereinafter, the first electronic device 210 is also referred to as an initiator, and the second electronic device 220 is also referred to as a responder.
[0033] FIG. 3 is a diagram illustrating a UWB PHY (physical layer) frame structure.
[0034] The UWB PHY frame 300 also includes a synchronization header preamble 310, a PHY header (PHR) 320, and a data field 330.
[0035] The SHR preamble 310 is used for automatic gain control (AGC), signal acquisition, frequency offset estimation, packet synchronization, and channel estimation, and is also used for ranging. Specifically, the SHR preamble 310 is added before the PHR 320 for receiver algorithms related to AGC setting, antenna diversity selection, timing acquisition, frequency recovery, packet and frame synchronization, channel estimation, and leading-edge signal tracking for ranging. The SHR preamble 310 is also called a preamble code.
[0036] The PHR 320 also contains information regarding the contents of a physical layer protocol data unit (PPDU) and the protocol used to transmit the PPDU.
[0037] The data field 330 may contain the data to be sent or received.
[0038] In UWB communication, an SHR preamble may be transmitted at the front of a frame to obtain synchronization between a transmitter and a receiver. The SHR preamble is also a signal promised between the transmitter and the receiver. In a wireless communication system, the SHR preamble may be determined so that the transmitter and the receiver can be quickly synchronized through the start point of a frame. Although a UWB PHY frame structure is illustrated in FIG. 3, the UWB PHY frame structure according to various embodiments of the present disclosure is not limited to the content illustrated in FIG. 3.
[0039] Various embodiments of the present disclosure relate to medium access control (MAC), and for medium access control in UWB, the distance between electronic devices needs to be measured. In this case, ranging techniques can be used to measure the distance between the electronic devices.
[0040] The UWB ranging technology can provide higher accuracy than distance measurement technologies based on Wi-Fi, Bluetooth, BLE (Bluetooth low energy), and ultrasound because it can utilize a wider bandwidth. For example, the UWB ranging technology can provide an error accuracy of about ±10 cm. On the other hand, the Wi-Fi distance measurement technology can provide an error accuracy of about ±1 m.
[0041] For example, in a door opening / closing scenario using UWB ranging, when a user approaches a door when going out or after going out, the distance between the mobile device and an electronic device installed in the door can be measured without the user's intervention. At this time, if the measured distance between the electronic devices satisfies a threshold value, the locking device installed in the door is locked or unlocked.
[0042] Meanwhile, IEEE 802.15.4z is a PHY / MAC standard that supports enhanced UWB ranging compared to the legacy specification (IEEE 802.15.4) in terms of security. The high rate pulse repetition frequency (HRP) UWB PHY of IEEE 802.15.4z is a method that compensates for the vulnerability of the existing legacy specification to relay attacks or mafia attacks / brute force attacks when performing preamble-based first path detection. The HRP UWB PHY is a security measure against vulnerable attacks, and is a method that considers improving the integrity and accuracy of ranging measurement timestamps by using a ciphered sequence or a scrambled timestamp sequence (STS) that is known only to two ranging devices. In the following, a UWB ranging device supporting the HRP UWB PHY mode is named an HRP-ERDEV (enhanced ranging device).
[0043] FIG. 4 is a diagram illustrating the structure of the PPDU of the HRP-ERDEV.
[0044] FIG. 4 illustrates a PPDU format of an HRP-ERDEV in which a ranging marker (RMARKER) is indicated. The RMARKER may mean information within a frame for defining a reference time point. In FIG. 4, the RMARKER is indicated by an arrow. The HRP-ERDEV is a device capable of transmitting and receiving a packet including an STS, and may perform a first route detection for ranging using the STS. In order for the HRP-ERDEV to perform ranging, a ranging frame (RFRAME) in which a ranging field bit of a PHR is set may generally be used. As illustrated in FIG. 4, a timing for ranging may be measured based on the RMARKER, which is the peak position of a UWB pulse of the first chip / symbol generated after a start-of-frame delimiter (SFD). HRP-ERDEV utilizes STS when measuring time of arrival and can measure for the RMARKER time point.
[0045] FIG. 5 is a diagram illustrating a process in which the HRP-ERDEV according to an embodiment of the present disclosure performs first path detection through correlation analysis using an STS. The STS is an encryption sequence known only to two electronic devices participating in ranging. The two electronic devices can each calculate the STS using a deterministic random bit generator (DRBG). If the ERDEV acting as a transmitter transmits an RFRAME including an STS, the ERDEV acting as a receiver can verify whether the received STS and the directly calculated STS are the same value. If it is verified that the received STS and the directly calculated STS are the same value, the ERDEV acting as a receiver can trust the received information and use it for ranging. The ERDEV acting as a receiver can find the time when the STS is received based on the peak value of the cross correlation between the received STS and the directly calculated STS, and perform first path detection. Based on the time measured with respect to this first path, the distance between the two ERDEVs can be measured via single-sided two-way (SS-TWR) ranging and / or double-sided two-way (DS-TWR) ranging.
[0046] 6 is a diagram for explaining a single-sided two-way (SS-TWR) ranging operation of an electronic device. In FIG. 6, a first electronic device 210 is also called an initiator device, and a second electronic device 220 is also called a responder device.
[0047] 6, when the first electronic device 210 transmits a first RFRAME 601 to the second electronic device 220, the second electronic device 220 can measure the reception time of the first RFRAME 601 through STS-based first route detection. The second electronic device 220 transmits a second RFRAME 602 to the first electronic device 210 and determines the ranging response time T reply The first electronic device 210 that has received the second RFRAME 602 measures the reception time of the second RFRAME 602 through STS-based first path detection and determines the ranging round time T round can be measured.
[0048] Specifically, the first electronic device 210 defines the time between the first-1 RMARKER 611 included in the first RFRAME 601 transmitted to the second electronic device 220 and the first-2 RMARKER 612 included in the second RFRAME 602 received from the second electronic device 220 as T round The second electronic device 220 may measure the time between the second-1 RMARKER 621 included in the first RFRAME 601 received from the first electronic device 210 and the second-2 RMARKER 622 included in the second RFRAME 602 transmitted to the first electronic device 210 as T reply It can be measured as:
[0049] The second electronic device 220 is reply The first electronic device 210 transmits the ToF (time of flight) time T prop The first electronic device 210 can calculate T prop to the speed of light (e.g., 3×10 8 By multiplying the distance (m / s) between the first electronic device 210 and the second electronic device 220, a ranging can be performed.
number
[0050] 7 is a diagram for explaining a double-sided and two-way (DS-TWR) ranging operation of an electronic device. In FIG. 7, a first electronic device 210 is also called an initiator device, and a second electronic device 220 is also called a responder device.
[0051] The DS-TWR is performed using a method similar to the above-mentioned SS-TWR, also through three RFRAME transmissions.
[0052] 7, when the first electronic device 210 transmits a first RFRAME 701 to the second electronic device 220, the second electronic device 220 can measure the reception time of the first RFRAME 701 through STS-based first route detection. The second electronic device 220 can transmit a second RFRAME 702 to the first electronic device 210. The second electronic device 220 can receive a ranging response time T reply1 The first electronic device 210 that has received the second RFRAME 702 measures the reception time of the second RFRAME 702 through STS-based first path detection and determines the ranging round time T round1 can be measured.
[0053] If the first electronic device 210 that has received the second RFRAME 702 transmits a third RFRAME 703 to the second electronic device 220, the second electronic device 220 can measure the reception time of the third RFRAME 703 through STS-based first route detection. reply2 The second electronic device 220 that has received the third RFRAME 703 measures the reception time of the third RFRAME 703 through STS-based first route detection and determines the ranging round time T round2 can be measured.
[0054] Specifically, the first electronic device 210 defines the time between the first-1 RMARKER 711 included in the first RFRAME 701 transmitted to the second electronic device 220 and the first-2 RMARKER 712 included in the second RFRAME 702 received from the second electronic device 220 as T round1 The second electronic device 220 may measure the time between the second-1 RMARKER 721 included in the first RFRAME 701 received from the first electronic device 210 and the second-2 RMARKER 722 included in the second RFRAME 702 transmitted to the first electronic device 210 as T reply1 It can be measured as:
[0055] The second electronic device 220 defines the time between the second-2 RMARKER 722 included in the second RFRAME 702 sent to the first electronic device 210 and the second-3 RMARKER 723 included in the third RFRAME 703 received from the first electronic device 210 as T round2 The first electronic device 210 may measure the time between the first-second RMARKER 712 included in the second RFRAME 702 received from the second electronic device 220 and the first-third RMARKER 713 included in the third RFRAME 703 sent to the second electronic device 220 as T reply2 It can be measured as:
[0056] The second electronic device 220 receives the T round1 and T reply2 The second electronic device 220 can transmit T by using a data frame. prop Calculate T prop to the speed of light (e.g. 3×10 6 By multiplying this by m / s, the distance between the first electronic device 210 and the second electronic device 220 can be measured.
number
[0057] Meanwhile, parameters related to ranging are determined by an ERDEV called a controller and notified to an ERDEV called a controllee. During a ranging measurement period, the controllee may request the controller to change parameters related to ranging through a ranging change request IE (information element), and the controller ultimately decides whether to accept the request of the controllee. Parameters related to ranging include at least one of a ranging scheme indicating whether to use the SS-TWR scheme or the DS-TWR scheme, a ranging period, the number of frames used for ranging, and the number of STS segments included in one frame. In FIG. 6 and FIG. 7, one of the first electronic device 210 and the second electronic device 220 may act as a controller, and the other may act as a controller.
[0058] As described above, the first route detection using STS allows relatively secure ranging to be performed, but there is still a problem that a security attack by an attacker using an early path insertion strategy may still exist.
[0059] According to the early route insertion strategy, if the signal-to-noise ratio (SNR) of the signal transmitted by the attacker is higher than the SNR of the signal transmitted by the devices participating in the ranging, the attack is more likely to succeed. For example, if the attacker is located closer to the receiving device or transmits a signal with higher power, the security attack may be more likely to succeed.
[0060] An attacker can know the PPDU format and preamble structure of the HRP UWB PHY through the published standard document IEEE 802.15.4z. The attacker can know the time when the STS is transmitted by performing synchronization based on the preamble. The attacker can use random noise during the period when the STS is transmitted to generate an early peak when the ERDEV, which acts as a receiver, performs first path detection.
[0061] Therefore, the ERDEV acting as a receiver may estimate a shorter distance than the actual distance as a ranging result due to jamming by an attacker. Therefore, in use cases where authentication is guaranteed by the ranging result value, such as a scenario in which a user with a digital key is determining whether or not to approach a car, or a scenario in which other physical access is determined, a security hole may occur in which a relay attack or a mafia attack may occur.
[0062] In the following, a relay attack will be described more specifically with reference to FIG.
[0063] Figure 8 illustrates an example in which a TA, a device acting as a transmitter, obtains distance measurement-based access authority through UWB ranging with an RA, a device acting as a receiver. As illustrated in Figure 8, an attacker TB can obtain access authority to the RA by using an RB, a relay attack device, to trick the RA into thinking that the TA is within the range to which access authority is granted.
[0064] A scenario in which there is a risk of a security attack against the HRP-ERDEV using the early route insertion strategy, based on a principle similar to the relay attack illustrated in Figure 8, is also conceivable. By using the early route insertion strategy, an attacker can trick the HRP-ERDEV into thinking that a user with access privileges is present within the range to which the access privileges are granted, thereby obtaining the access privileges.
[0065] On the other hand, even in the absence of deliberate attacks by an attacker, the ranging accuracy may be reduced due to persistent or temporary interference. Such a reduction in ranging accuracy is more likely to occur when the SNR of an interfering signal is higher than the SNR of a signal transmitted by a device participating in ranging. For example, when multiple HRP-ERDEVs simultaneously perform ranging via the same channel, signal collisions may occur.
[0066] Generally, as the number of HRP-ERDEVs increases or the ranging period shortens, the possibility of signal collision increases and the accuracy of ranging may decrease. Therefore, if the ranging period is lengthened to increase the accuracy of ranging, the possibility of signal collision decreases, but there is a problem that a longer time must be waited to attempt new ranging.
[0067] The present disclosure presents various embodiments that utilize STS based on HRP UWB PHY to prevent relay attacks or mafia attacks by an attacker using an early route insertion strategy in electronic devices that calculate distances between devices.
[0068] According to an embodiment of the present disclosure, an integrity check using a preamble is performed to prevent an early path insertion attack, thereby improving the ranging security level of the ERDEV. According to another embodiment of the present disclosure, an integrity check using a DS-TWR is performed to prevent an early path insertion attack, thereby improving the ranging security level of the ERDEV. According to yet another embodiment of the present disclosure, an integrity check using an STS segment is performed to prevent an early path insertion attack, thereby improving the ranging security level of the ERDEV.
[0069] Furthermore, according to an embodiment of the present disclosure, a method is proposed that can improve not only the security level but also the ranging accuracy.
[0070] A transmitting electronic device according to an embodiment of the present disclosure may be connected to an external electronic device using UWB communication technology. The electronic device according to an embodiment of the present disclosure may perform ranging via a UWB RFRAME. When performing ranging with an external electronic device via a UWB RFRAME, the electronic device according to an embodiment of the present disclosure may perform integrity check by performing ranging using a preamble and an STS. When performing ranging with an external electronic device via a UWB RFRAME, the electronic device according to an embodiment of the present disclosure may perform ranging calibration by performing ranging using a preamble and an STS.
[0071] In addition, when the electronic device according to the embodiment of the present disclosure performs DS-TWR with an external electronic device, the electronic device can perform an integrity check by performing two SS-TWRs in two round-trip measurements included in the DS-TWR. When the electronic device according to the embodiment of the present disclosure performs DS-TWR with an external electronic device, the electronic device can perform ranging calibration by performing two SS-TWRs in two round-trip measurements included in the DS-TWR.
[0072] In addition, when the electronic device according to the embodiment of the present disclosure performs ranging with an external electronic device via a UWB RFRAME, the electronic device can perform integrity checking by performing ranging using several STS segments. When the electronic device according to the embodiment of the present disclosure performs ranging with an external electronic device via a UWB RFRAME, the electronic device can perform ranging calibration by performing ranging obtained using several STS segments.
[0073] According to an embodiment of the present disclosure, the receiving electronic device may be connected to an external electronic device using UWB communication technology. The electronic device according to an embodiment of the present disclosure may perform ranging via a UWB RFRAME. When performing ranging with an external electronic device via a UWB RFRAME, the electronic device according to an embodiment of the present disclosure may perform integrity check by performing ranging using a preamble and an STS. When performing ranging with an external electronic device via a UWB RFRAME, the electronic device according to an embodiment of the present disclosure may perform ranging calibration by performing ranging using a preamble and an STS.
[0074] In addition, when the electronic device according to the embodiment of the present disclosure performs DS-TWR with an external electronic device, the electronic device can perform SS-TWR twice in two round-trip measurements included in the DS-TWR and perform DS-TWR ranging to perform integrity inspection. When the electronic device according to the embodiment of the present disclosure performs DS-TWR with an external electronic device, the electronic device can perform ranging calibration by performing SS-TWR twice in two round-trip measurements included in the DS-TWR.
[0075] When an electronic device according to an embodiment of the present disclosure performs ranging with an external electronic device via a UWB RFRAME, the electronic device can perform integrity checking by performing ranging using a plurality of STS segments. When an electronic device according to an embodiment of the present disclosure performs ranging with an external electronic device via a UWB RFRAME, the electronic device can perform ranging calibration by performing ranging obtained using several STS segments.
[0076] According to an embodiment of the present disclosure, an electronic device acting as a controller may determine the number of frames used for DS-TWR or the number of STS segments included in one frame when performing ranging with an external electronic device via UWB RFRAME, and may notify the controller of the determined result. According to an embodiment of the present disclosure, an electronic device acting as a controller may be requested by the controller to change the number of frames used for DS-TWR or the number of STS segments included in one frame when performing ranging with an external electronic device via UWB RFRAME.
[0077] According to an embodiment of the present disclosure, an electronic device acting as a controller may receive the number of frames used for DS-TWR or the number of STS segments included in one frame from the controller when performing ranging with an external electronic device through UWB RFRAME. According to an embodiment of the present disclosure, an electronic device acting as a controller may transmit the number of frames used for DS-TWR or the number of STS segments desired by the controller to the controller when performing ranging with an external electronic device through UWB RFRAME.
[0078] 9A illustrates a flowchart of a method for an electronic device to perform ranging via UWB in a wireless communication system according to one embodiment of the present disclosure. The method illustrated in FIG. 9A may be performed by an electronic device performing an initiator role or an electronic device performing a responder role. Alternatively, the method illustrated in FIG. 9A may be performed by an electronic device performing a receiver role or an electronic device performing a transmitter role.
[0079] In step S910, the electronic device according to an embodiment can transmit and receive at least one frame for ranging with at least one other electronic device. The electronic device according to an embodiment can exchange a ranging frame, RFRAME, for ranging with the other electronic device.
[0080] In step S920, an electronic device according to an embodiment may obtain a first ranging value and a second ranging value based on at least one frame.
[0081] According to an embodiment, an electronic device can perform ranging using an STS. When an electronic device transmits a first frame to another electronic device, responds to the first frame, and receives a second frame from the other electronic device, the electronic device can determine a reception time of the received second frame based on a peak value of cross-correlation between an STS included in the received second frame and a pre-calculated STS. The electronic device can calculate a ranging value based on the determined time.
[0082] For example, in one embodiment, an electronic device may calculate a first time T from the time a first frame is transmitted to the time a second frame is received. round The electronic device can calculate a second time T from when the other electronic device receives the first frame to when it transmits the second frame. reply from another electronic device, which receives the calculated first time T round , and the received second time T reply A third time T required to transmit a frame to the electronic device based on prop The electronic device can calculate a third time T prop Based on the above, a ranging value can be calculated as a predicted distance between the electronic device and the other electronic device. The specific method for calculating the ranging value by the SS-TWR method or the DS-TWR method has been described with reference to Figures 5 to 7, so that the duplicated description will be omitted.
[0083] In one embodiment, an electronic device can calculate a first ranging value based on a time determined using an STS included in at least one frame, and calculate a second ranging value based on a time included in a preamble included in at least one frame.
[0084] For example, when an electronic device according to an embodiment is an initiator device of SS-TWR, the electronic device may transmit a first frame, respond to the first frame, and receive a second frame in step S910. The electronic device may calculate a first ranging value based on a time determined using the STS included in the first frame and the second frame, and may calculate a second ranging value based on a time included in the preamble included in the first frame and the second frame.
[0085] As another example, when an electronic device according to an embodiment is a responder device of a DS-TWR, the electronic device may receive a first frame, respond to the first frame, transmit a second frame, respond to the second frame, and receive a third frame in step S910. The electronic device may calculate a first ranging value based on a time determined using the STS included in the first frame, the second frame, and the third frame. The electronic device may calculate a second ranging value based on a time included in a preamble included in the first frame, the second frame, and the third frame.
[0086] An embodiment for secure and accurate ranging using an STS and a preamble will be described in further detail below with reference to Figures 10A and 10B.
[0087] In addition, according to another embodiment, an electronic device may obtain a first ranging value and a second ranging value by performing two SS-TWRs in performing a DS-TWR.
[0088] As an example, when an electronic device according to an embodiment is an initiator device of a DS-TWR, the electronic device may transmit a first frame, respond to the first frame, receive a second frame, respond to the second frame, and transmit a third frame in step S910. The electronic device may calculate a first ranging value based on a time point determined based on the first frame and the second frame. The electronic device may receive a second ranging value calculated based on the second frame and the third frame from a responder device.
[0089] As another example, when an electronic device according to an embodiment is a responder device of DS-TWR, the electronic device may receive a first frame, respond to the first frame, transmit a second frame, respond to the second frame, and receive a third frame in step S910. The electronic device may receive a first ranging value calculated based on a time point determined based on the first frame and the second frame from the initiator device. The electronic device may calculate a second ranging value based on the second frame and the third frame.
[0090] An embodiment for performing secure and accurate ranging using DS-TWR will be described in further detail below with reference to FIGS.
[0091] According to an embodiment, the electronic device may continuously obtain a plurality of ranging values including a first ranging value and a second ranging value. The obtained plurality of ranging values are also used for the integrity check in step S930. The time interval between successive rangings is set to an interval equal to or less than a coherence time, thereby preventing channel changes due to the movement of the electronic device.
[0092] According to an embodiment of the electronic device performing the integrity check based on a plurality of consecutive rangings, in step S920, a first frame set including a plurality of frames for the first ranging may be transmitted to and received from at least one other electronic device, and a second frame set including a plurality of frames for the second ranging may be transmitted to and received from at least one other electronic device. In this case, the time interval between the time when the consecutive first rangings are performed and the time when the second rangings are performed may be equal to or less than a preset time interval. For example, the preset time interval may include a coherence time.
[0093] In one embodiment, an electronic device can calculate a first ranging value based on a time determined using a plurality of frames included in a first frame set, and calculate a second ranging value based on a time determined using a plurality of frames included in a second frame set.
[0094] In addition, according to another embodiment, the electronic device can obtain the first ranging value and the second ranging value using multiple STS segments.
[0095] As an example, an electronic device according to an embodiment may calculate a first ranging value based on a time determined using a first STS segment included in at least one frame. An electronic device according to an embodiment may calculate a second ranging value based on a time determined using a second STS segment included in at least one frame. An embodiment using multiple STS segments to perform secure and accurate ranging is described in further detail below with reference to Figures 15 and 16C.
[0096] In operation S930, the electronic device according to an embodiment may perform an integrity check based on a result of comparing the first ranging value and the second ranging value.
[0097] According to an embodiment, the electronic device may determine that ranging has been correctly performed by the authorized device when the difference between the first ranging value and the second ranging value is within a critical range, and may grant access to another electronic device by continuing an authorization process when the difference between the first ranging value and the second ranging value is less than the critical value.
[0098] According to an embodiment of the present disclosure, the electronic device may determine a third ranging value as a calibrated ranging value based on the first ranging value and the second ranging value when the difference between the first ranging value and the second ranging value is less than a critical value, and may grant access authority to other electronic devices based on the third ranging value, where the third ranging value is also a weighted sum of the first ranging value and the second ranging value.
[0099] Meanwhile, the electronic device according to an embodiment may determine that an attack by a device that is not granted access authority has occurred when the difference between the first ranging value and the second ranging value is not within a critical range, and may abort the authorization process when the difference between the first ranging value and the second ranging value is equal to or greater than a critical value.
[0100] The electronic device according to an embodiment of the present disclosure may determine changes to the ranging parameters based on the result of the integrity check performed in step S930.
[0101] The ranging parameters may include at least one of a ranging scheme, a ranging period, the number of frames used for ranging, and the number of STS segments included in the frames. For example, when the electronic device determines that the ranging security level and / or ranging accuracy needs to be improved, the electronic device may increase the number of frames used for ranging or the number of STS segments included in the frames.
[0102] As an example, the electronic device performing the controller role may determine that the reliability of the ranging value is low or that a higher security level and / or accuracy is required based on the integrity test result. If the controller device determines that the reliability of the ranging value is low or that a higher security level and / or accuracy is required, it may decide to change the ranging parameters. The controller device may notify the controlled device of the change in the ranging parameters.
[0103] As another example, an electronic device performing a controller role may receive a request for changing ranging parameters from an electronic device performing a controllee role. The controller device may determine whether the request of the controllee device is acceptable based on the integrity check result. If the controller device determines that the request of the controllee device is acceptable, it may decide to change the ranging parameters. The controller device may notify the controllee device of the change in ranging parameters.
[0104] As another example, an electronic device performing a controllee role may determine that a ranging parameter needs to be changed based on the integrity test result. The controllee device may transmit a request for changing the ranging parameter to the controller device. The controller device may determine whether the request of the controllee device is acceptable and may respond with the determination result to the controllee device.
[0105] 9B illustrates a flowchart of a method for an electronic device to perform ranging via UWB in a wireless communication system according to one embodiment of the present disclosure. Steps S910 and S920 in FIG. 9B correspond to steps S910 and S920 in FIG. 9A, respectively. Therefore, repeated description will be omitted.
[0106] In step S910, the electronic device according to an embodiment can transmit and receive at least one frame for ranging with at least one other electronic device. The electronic device according to an embodiment can exchange a ranging frame, RFRAME, for ranging with the other electronic device.
[0107] In step S920, an electronic device according to an embodiment may obtain a first ranging value and a second ranging value based on at least one frame.
[0108] As an example, an electronic device according to an embodiment may acquire a first ranging value and a second ranging value by using an STS and a preamble. As another example, an electronic device according to an embodiment may acquire a first ranging value and a second ranging value by performing two SS-TWRs in performing a DS-TWR. As another example, an electronic device according to an embodiment may acquire a first ranging value and a second ranging value by using a plurality of STS segments. As another example, an electronic device according to an embodiment may acquire a first ranging value and a second ranging value by using a plurality of consecutive rangings.
[0109] In step S970, the electronic device according to an embodiment may perform ranging calibration based on the first ranging value and the second ranging value, and may determine a third ranging value based on the first ranging value and the second ranging value.
[0110] According to an embodiment, the electronic device may determine that ranging has been correctly performed by a device granted access authority when a difference between the first ranging value and the second ranging value is within a critical range. According to an embodiment, the electronic device may perform ranging calibration to derive a third ranging value as a final ranging result value when a difference between the first ranging value and the second ranging value is less than a critical value. The third ranging value may also be expressed as a weighted sum of the first ranging value and the second ranging value. The electronic device may grant access authority to other electronic devices based on the third ranging value.
[0111] Meanwhile, the electronic device according to an embodiment may determine that at least one of the first ranging value and the second ranging value is significantly affected by interference when the difference between the first ranging value and the second ranging value is not within a critical range, and may abort the ranging calibration process when the difference between the first ranging value and the second ranging value is equal to or greater than a critical value.
[0112] The electronic device according to an embodiment of the present disclosure may determine a change in the ranging parameters based on the ranging calibration result performed in step S970.
[0113] The ranging parameters may include at least one of a ranging scheme, a ranging period, the number of frames used for ranging, and the number of STS segments included in a frame. For example, when the electronic device determines that the ranging security level and / or ranging accuracy needs to be improved, the electronic device may increase the number of frames used for ranging or the number of STS segments included in a frame.
[0114] For example, the electronic device performing the controller role may determine that the reliability of the ranging values is low or that a higher ranging accuracy is required. If the controller device determines that the reliability of the ranging values is low or that a higher accuracy is required, the controller device may decide to change the ranging parameters. The controller device may inform the controllee device of the change in the ranging parameters.
[0115] As another example, an electronic device performing a controller role may receive a request for changing ranging parameters from an electronic device performing a controllee role. The controller device may determine whether the request of the controllee device is acceptable based on a ranging calibration result. If the controller device determines that the request of the controllee device is acceptable, it may decide to change the ranging parameters. The controller device may notify the controllee device of the change in ranging parameters.
[0116] As yet another example, an electronic device performing a controllee role may determine that a ranging parameter needs to be changed based on a ranging calibration result. The controllee device may transmit a request for changing the ranging parameter to the controller device. The controller device may determine whether the request of the controllee device is acceptable and may respond with a determination result to the controllee device.
[0117] In the following, specific operation methods of an electronic device performing ranging according to various embodiments of the present disclosure will be described with reference to FIGS. 10A to 17. FIG.
[0118] First, an electronic device according to an embodiment of the present disclosure may use a method of performing ranging using both a preamble and an STS as a countermeasure against an attack using an early path insertion strategy. The electronic device according to an embodiment of the present disclosure may determine whether an attack has occurred by comparing a ranging value calculated using a preamble with a ranging value calculated using an STS and performing an integrity check. According to an embodiment of the present disclosure, the security level of the HRP-ERDEV may be improved through the integrity check.
[0119] FIG. 10A illustrates a specific flowchart of a method for an electronic device to perform ranging and integrity checking using an STS and a preamble according to one embodiment of the present disclosure.
[0120] In step S1010, an electronic device according to an embodiment of the present disclosure can set up a communication link with another HRP-ERDEV via UWB communication and transmit and receive an RFRAME for distance measurement.
[0121] In step S1020, an electronic device according to an embodiment of the present disclosure can determine a ranging method and transmit or receive an RFRAME according to the ranging method.
[0122] If the SS-TWR is performed, in step S1040, the electronic device according to an embodiment of the present disclosure calculates a preamble-based ranging result value T p and the STS-based ranging result value T sts After measuring T p and T sts In step S1040, the electronic device according to an embodiment of the present disclosure is also the initiator ERDEV that first transmitted the RFRAME.
[0123] When the DS-TWR is performed, in step S1030, the electronic device according to an embodiment of the present disclosure calculates a preamble-based ranging result value T p and the STS-based ranging result value T sts After measuring T p and T sts In step S1040, the electronic device according to an embodiment of the present disclosure is also the responder ERDEV that initially received the RFRAME.
[0124] In step S1050, the electronic device according to an embodiment of the present disclosure p and T sts It can be determined whether the difference between the values is equal to or greater than a critical value.
[0125] For example, the critical value V for integrity testing th Given |T p -T sts |≧V th If |T is satisfied, the electronic device according to an embodiment of the present disclosure can determine that the relative ERDEV is an attacker. If the electronic device according to an embodiment of the present disclosure determines that the relative device is an attacker, in step S1060, the electronic device stops the authorization process and does not grant access rights to the relative device. p -T sts |≧V thIf the condition is not satisfied, the electronic device according to an embodiment of the present disclosure determines that the relative ERDEV is a target ERDEV that is not an attacker, and can continue the authorization process and grant access rights to the relative ERDEV in step S1070.
[0126] Compared with the existing method of using only STS for ranging, the method of using both preamble and STS for ranging according to an embodiment of the present disclosure has an advantage of being able to reduce the possibility of an attacker succeeding in an attack. In order to successfully attack the ranging using preamble and STS according to an embodiment of the present disclosure, the attacker must perform an attack in which the same early route insertion occurs once in the preamble section and once in the STS section.
[0127] For example, the probability of a successful attack using early route insertion against a ranging method that uses only STS is p sts (p sts ≦1), and let p be the probability that an attack using early route insertion will succeed against a ranging method that uses only preambles. p (p p ≦1), |T p -T sts |≦V th The probability of satisfying the condition is p th (p th In this case, in an existing environment where only STS is used for ranging, the probability of an attacker succeeding is p sts However, according to one embodiment of the present disclosure, when both the preamble and the STS are used for ranging, the attacker's chance of success is p sts p p p th This reduces the chances of a successful attack.
[0128] According to an embodiment of the present disclosure, the entity that calculates the ToF, which is a ranging result value, differs depending on the ranging method used by the electronic device. For example, when the SS-TWR method is used, the initiator device can calculate the ToF, and when the DS-TWR method is used, the responder device can calculate the ToF. Therefore, the entity that performs the integrity check may differ depending on the ranging method used. However, if two devices participating in ranging exchange ranging result values, the integrity check can be performed by either device. The operation of exchanging the ranging result value can be either in-band or out-of-band.
[0129] According to an embodiment of the present disclosure, an electronic device performs ranging using both a preamble and an STS as a method for ranging calibration, and performs ranging calibration based on two ranging values, thereby improving the ranging accuracy of HRP-ERDEV.
[0130] Steps S1010, S1020, S1030, S1040, and S1050 in FIG. 10B correspond to steps S1010, S1020, S1030, S1040, and S1050 in FIG. 10A, respectively, and therefore a duplicated description will be omitted.
[0131] In step S1050, the electronic device according to an embodiment of the present disclosure p and T sts It can be determined whether the difference between the values is equal to or greater than a critical value.
[0132] For example, the critical value for ranging calibration is V th It is assumed that the preamble-based ranging result value T p and the STS-based ranging result value T sts After measuring |T p -T sts |≧V thIf the condition is satisfied, it is determined that at least one of the two ranging values is significantly affected by interference, and the calibration process can be stopped (S1080). p -T sts |≧V th If the condition is not satisfied, the electronic device is p and T sts Based on this, ranging calibration can be performed (S1090).
[0133] According to an embodiment of the present disclosure, the electronic device performs ranging calibration using Equation 3 below, and obtains a final ranging result value, T result In Equation 3, a is a parameter closely related to the ranging channel and noise, and is determined as an optimized value based on a utility function targeted in implementing the electronic device.
number
[0134] Meanwhile, according to another embodiment of the present disclosure, FIGS. 11 and 12 illustrate a method for an electronic device to perform ranging and integrity checking using DS-TWR.
[0135] According to an embodiment of the present disclosure, as a countermeasure against an attack using an early path insertion strategy, a method of performing an integrity check by performing two SS-TWRs, which is also considered in a DS-TWR using three frames, may be used. According to an embodiment of the present disclosure, an attack may be determined by performing an integrity check by comparing two ranging values calculated by performing two SS-TWRs. According to an embodiment of the present disclosure, the security level of the HRP-ERDEV may be improved through the integrity check.
[0136] FIG. 11 illustrates a schematic diagram of the integrity inspection method for DS-TWR.
[0137] As shown in FIG. 11, in the case of DS-TWR using three frames, two round-trip measurements can be considered. First, an initiator device I receives T reply1 To obtain the value, the initiator device I calculates the following using the formula T r1 =(T round1 -T reply1 ) / 2, the ranging result value T r1 Also, through the second round-trip measurement, the responder device R can calculate T reply2 If the responder device R has a value, the responder device R r2 =(T round2 -T reply2 ) / 2, the ranging result value T r2 can be calculated.
[0138] Critical value V for integrity testing th Given |T r1 -T r2 |≧V th If the condition is satisfied, the electronic device according to an embodiment of the present disclosure can determine that the relative ERDEV is an attacker. If the electronic device according to an embodiment of the present disclosure determines that the relative device is an attacker, it stops the authorization process and does not grant access to the relative device. If |T r1 -T r2 |≧V th If the condition is not satisfied, the electronic device according to an embodiment of the present disclosure may determine that the relative ERDEV is a target ERDEV that is not an attacker, and continue the authorization process to grant access to the relative ERDEV.
[0139] FIG. 12 illustrates a flow chart of a method for an electronic device to perform ranging and integrity checking using DS-TWR according to one embodiment of the present disclosure.
[0140] In step S1210, an electronic device according to an embodiment of the present disclosure can set up a communication link with another HRP-ERDEV via UWB communication and transmit and receive an RFRAME for distance measurement.
[0141] In step S1220, the electronic device according to an embodiment of the present disclosure first obtains a ranging result value T r1 You can get the value.
[0142] As an example, when the electronic device is an initiator device, the electronic device may directly calculate T round1 value, and the T received from the responder device reply1 Using T r1 The value can be calculated.
[0143] As another example, when the electronic device is a responder device, the electronic device receives a T r1 The value can be received.
[0144] In step S1230, the electronic device according to an embodiment of the present disclosure obtains a ranging result value T through a second round trip measurement. r2 You can get the value.
[0145] As an example, when the electronic device is an initiator device, the electronic device receives a T r2 The value can be received.
[0146] As another example, when the electronic device is a responder device, the electronic device may directly calculate T round2 value, and the T received from the initiator device reply2 Using T r2 The value can be calculated.
[0147] In step S1240, the electronic device according to an embodiment of the present disclosure p and T stsIt can be determined whether the difference between the SS-TWR and the SS-TWR is equal to or greater than a critical value. The SS-TWR ranging results calculated by the two devices are exchanged with each other, so that the integrity check can be performed on either of the two devices.
[0148] For example, when the integrity check is performed by the initiator device, the responder device transmits a second SS-TWR ranging result value T r2 The initiator device may transmit the first SS-TWR ranging result value T calculated by the initiator device via in-band or out-of-band. r1 , and the second SS-TWR ranging result value T received from the responder device. r2 Based on this, it is possible to judge whether an attack has occurred.
[0149] As another example, when the integrity check is performed on the responder device, the initiator device first transmits the SS-TWR ranging result value T r1 The responder device may transmit the first SS-TWR ranging result value received from the initiator device, T r1 , and the second SS-TWR ranging result value T r2 Based on this, it is possible to judge whether an attack has occurred.
[0150] According to one embodiment of the present disclosure, an electronic device is r1 and T r2 The difference between them is the critical value V th If so, it is determined that an attack has been detected, and the authorization process may be interrupted in step S1250. p and T sts If the difference is less than the critical value, the electronic device according to an embodiment of the present disclosure determines that no attack has been detected and can continue the authorization process and grant access to the counterpart device in step S1260.
[0151] Both preamble-based ranging and STS-based ranging may be applied to the ranging method according to the embodiment shown in Figures 11 and 12. Also, the embodiment shown in Figures 11 and 12 may be used together with the embodiment shown in Figure 10A in which an integrity check is performed using a preamble. That is, according to one embodiment of the present disclosure, in calculating two ranging values through two SS-TWRs included in a DS-TWR, STS-based ranging, preamble-based ranging, or both STS-based ranging and preamble-based ranging may be performed.
[0152] According to an embodiment of the present disclosure, the method of performing ranging integrity check using two round-trip measurements included in DS-TWR has an advantage of being able to reduce the possibility of a successful attack. For an attacker to be successful in an attack on two SS-TWRs that can be considered in a DS-TWR according to an embodiment of the present disclosure, the attacker must perform an attack in which the same early route insertion occurs once in the first round-trip measurement and once in the second round-trip measurement.
[0153] For example, in the existing DS-TWR, the probability of an attack succeeding by early route insertion is p r (p r ≦1), and in the first round-trip measurement, the probability that an attack will succeed due to early route insertion is p r1 (p r1 ≦1), and in the second round-trip measurement, the probability that an attack succeeds due to early route insertion is p r2 (p r2 ≦1), |T r1 -T r2 |≦V th The probability of satisfying the condition is p th (p th In this case, in an environment that uses existing DS-TWR, the probability of an attacker succeeding is p rHowever, in accordance with one embodiment of the present disclosure, when two round-trip measurements are used to perform integrity checking, the attacker's chances of success are p r1 p r2 p th is significantly reduced to
[0154] However, when an electronic device performs ranging using the DS-TWR method according to one embodiment of the present disclosure, an attacker may be able to attack the electronic device using the scenario illustrated in FIGS. 13A and 13B.
[0155] Referring to FIG. 13A, when a normal DS-TWR is performed, the initiator device I and the responder device R can perform ranging by transmitting and receiving a first frame 1301, a second frame 1303, and a third frame 1305.
[0156] However, as shown in FIG. 13A, if an attacker device A round1 If an attack using early route insertion were to be carried out against T round2 For this reason, it is possible to provide an early route insertion effect and avoid integrity checks.
[0157] Specifically, the initiator device I transmits a first frame 1301 to the responder device R, and also receives an attack frame 1302 from the attacker device A prior to receiving a second frame 1303 from the responder device R. In response to the attack frame 1302, the initiator device I also transmits a fourth frame 1304 to the responder device R.
[0158] The initiator device I determines T based on the transmission time of the first frame 1301 and the reception time of the attack frame 1302. round1 1307 is calculated based on the reception time of the attack frame 1302 and the transmission time of the fourth frame 1304. reply2The responder device R can calculate T 1308 based on the reception time of the first frame 1301 and the transmission time of the second frame 1303. reply1 1306 is calculated based on the transmission time of the second frame 1303 and the reception time of the fourth frame 1304. round2 The responder device R can calculate T round1 1307 and T reply2 The responder device R can receive the T reply1 1306, T round1 1307, T reply2 1308 and T round2 Based on 1309, the distance between the responder device R and the initiator device I can be estimated.
[0159] Therefore, the responder device R estimates a distance that is shorter than the actual distance due to the jamming by the attacker I. However, even though the jamming by the attacker I occurred, the ranging result value T r1 and the ranging result value T calculated based on the second round trip r2 Although ToF is shorter than the actual distance, it is estimated to be the same value. Therefore, the attack according to the scenario illustrated in Fig. 13A can pass the integrity check according to an embodiment of the present disclosure illustrated in Figs. 11 and 12.
[0160] Unlike the attack scenario illustrated in Fig. 13A, the possibility of an attack according to the scenario illustrated in Fig. 13B may be mitigated by an integrity check according to an embodiment of the present disclosure. Referring to Fig. 13B, when a normal DS-TWR is performed, the initiator device I and the responder device R also perform ranging by transmitting and receiving a first frame 1311, a second frame 1313, and a third frame 1317.
[0161] However, as shown in FIG. 13B, when the attacker device A round2An attack using early route insertion can be performed against the T reply1 1314, T round1 1316, T reply2 1319 and T round2 Based on 1318, the distance between the responder device R and the initiator device I is also estimated.
[0162] Therefore, the responder device R estimates a distance that is shorter than the actual distance due to the jamming of the attacker I. Also, the ranging result value T r1 and the ranging result value T calculated based on the second round trip r2 Since the attack scenario illustrated in Fig. 13A is different from the attack scenario illustrated in Fig. 13B, the responder device R can determine that an attack has been detected and interrupt the authentication process. Unlike the attack scenario illustrated in Fig. 13A, the attack scenario illustrated in Fig. 13B is unlikely to pass the integrity test according to an embodiment of the present disclosure illustrated in Figs. 11 and 12.
[0163] An electronic device according to an embodiment of the present disclosure may use a method of performing DS-TWR using four frames as a countermeasure against the possible attack scenario illustrated in Fig. 13A. An electronic device according to an embodiment of the present disclosure may strengthen the integrity check by performing DS-TWR using four frames 1410, 1421, 1422, and 1430 as illustrated in Fig. 13C. The DS-TWR method using four frames proposed by an embodiment of the present disclosure may be performed in consideration of various cases depending on the entity performing the integrity check.
[0164] As an example, when the integrity check is performed in the initiator device I, the responder device R transmits the second SS-TWR ranging result value T r2 The initiator device I can transmit the first SS-TWR ranging result value Tr1 , and the second SS-TWR ranging result value T received from the responder device R. r2 Based on this, it is possible to judge whether an attack has occurred.
[0165] As another example, when performing an integrity check on a responder device R, an initiator device I first transmits an SS-TWR ranging result value T r1 The responder device R transmits the first SS-TWR ranging result value received from the initiator device I, T r1 , and the second SS-TWR ranging result value T r2 Based on this, it is possible to judge whether an attack has occurred.
[0166] The ranging method according to the embodiment shown in Fig. 13C can be applied to both preamble-based ranging and STS-based ranging, and can be used together with the embodiment shown in Fig. 10A that performs integrity checking using a preamble.
[0167] In addition, the electronic device according to the embodiment of the present disclosure may perform a ranging calibration method that can improve the ranging accuracy of the HRP-ERDEV by performing ranging calibration based on two SS-TWR ranging result values that can be obtained by the DS-TWR and the DS-TWR ranging result value. Referring to FIG. 11, the electronic device according to the embodiment of the present disclosure may perform a ranging calibration method that can improve the ranging accuracy of the HRP-ERDEV by performing ranging calibration based on two SS-TWR ranging result values T r1 and T r2 and the DS-TWR ranging result value T r3 Using both, the ranging is performed, and the three ranging values T r1 ,T r2 ,T r3 Based on this, ranging calibration can be performed based on the ranging values.
[0168] FIG. 14 illustrates a flowchart of a method for an electronic device to perform ranging and ranging calibration using DS-TWR according to one embodiment of the present disclosure.
[0169] 14 correspond to steps S1210, S1220, S1230 and S1240 in FIG. 12, respectively, and therefore a duplicated description will be omitted.
[0170] In step S1240, the electronic device according to an embodiment of the present disclosure r1 and T r2 It can be determined whether the difference between the values is equal to or greater than a critical value.
[0171] For example, the critical value for ranging calibration is V th It is assumed that the SS-TWR ranging result value T r1 and the second SS-TWR ranging result value T r2 After measuring |T r1 -T r2 |≧V th If the condition is satisfied, it is determined that at least one of the two ranging values is significantly affected by interference, and the calibration process can be stopped (S1480). r1 -T r2 |≧V th If the condition is not satisfied, the electronic device is r1 and T r2 Based on this, ranging calibration can be performed (S1490).
[0172] According to an embodiment of the present disclosure, the electronic device performs ranging calibration using Equation 4 below, and obtains a final ranging result value, T result In Equation 4, a and b are parameters closely related to the ranging channel and noise, and are determined as optimized values based on a utility function targeted in the implementation of an electronic device.
number
[0173] Both preamble-based ranging and STS-based ranging may be applied to the ranging method according to the embodiment shown in Fig. 14. Also, the embodiment shown in Fig. 14 may be used together with the embodiment of performing ranging calibration using a preamble shown in Fig. 10B. That is, according to one embodiment of the present disclosure, in calculating two ranging values through two SS-TWRs included in a DS-TWR, STS-based ranging, preamble-based ranging, or both STS-based ranging and preamble-based ranging may be performed.
[0174] It should be noted that, according to one embodiment of the present disclosure, Figures 15, 16A, 16B, and 16C illustrate a method in which an electronic device performs ranging using multiple STS segments. According to one embodiment of the present disclosure utilizing multiple STS segments, attacks utilizing an early route insertion strategy can be prevented and ranging accuracy can be improved.
[0175] The concept of STS segment is defined in the HRP UWB PHY of IEEE 802.15.4z. One to four STS pulse sequence blocks are included in one data unit, together with a gap representing a silent interval of about 1 μs (512 chips). An example 1510 of FIG. 15 is a diagram in which two STS segments are considered. The table of FIG. 15 clearly shows information related to STS segments supported by a base pulse repetition frequency (BPRF) mode and a higher pulse repetition frequency (HPRF) mode supported by the HRP UWB PHY of IEEE 802.15.4z. Referring to the second column 1520 of the table of FIG. 15, the number of STS segments supported by the HPRF mode supported by the HRP UWB PHY of IEEE 802.15.4z can be one to four.
[0176] According to an embodiment of the present disclosure, a method for performing an integrity check by using a plurality of STS segments, measuring a ranging result value for each segment, and comparing the measured values with each other is proposed. Figure 16A illustrates a specific flowchart of a method for an electronic device to perform an integrity check by performing ranging using a plurality of STS segments according to an embodiment of the present disclosure.
[0177] In step S1610, the electronic device according to the embodiment of the present disclosure may set up a communication connection with another HRP-ERDEV through UWB communication and transmit / receive an RFRAME for distance measurement. In addition, the electronic device according to the embodiment of the present disclosure may set up a number N of STS segments included in a frame. STS can be confirmed.
[0178] In step S1621, an electronic device according to an embodiment STS If it is determined that T = 2, in step S1623, the electronic device first uses the STS segment to obtain the ranging result value T r1 , and the second STS segment is used to obtain the ranging result value T r2 can be measured.
[0179] In step S1631, an electronic device according to an embodiment STS If it is determined that T = 3, in step S1633, the electronic device first uses the STS segment to obtain the ranging result value T r1 , and the second STS segment is used to obtain the ranging result value T r2 Measure the ranging result value T r3 can be measured.
[0180] In step S1641, an electronic device according to an embodiment STS If it is determined that T=4, then in step S1643, the electronic device first uses the STS segment and r1Measure the second STS segment and T r2 Measure the third STS segment and T r3 Measure the fourth STS segment and T r4 can be measured.
[0181] In operation S1650, the electronic device according to an embodiment may determine whether a difference between the measured ranging result values is greater than or equal to a threshold value.
[0182] If there is a case where the difference between the measured ranging result values is equal to or greater than the threshold value, the electronic device according to an embodiment of the present disclosure may determine that an attack has been detected and may suspend the authorization process in step S1660. If there is no case where the difference between the measured ranging result values is equal to or greater than the threshold value, the electronic device according to an embodiment of the present disclosure may determine that an attack has not been detected and may continue the authorization process and grant access privileges to the relative device in step S1670.
[0183] The method of performing ranging integrity checking using the embodiment shown in FIG. 16A has the advantage of reducing the possibility of a successful attack.
[0184] For example, if i is one of the values {1, 2, 3, 4}, the probability that the STS segment with index i is attacked by an attacker's early route insertion is p ri Assume that in an environment where only one STS segment is currently used for ranging, the probability of an attacker succeeding is p r1 However, when performing an integrity check on the ranging value measured using two STS segments according to an embodiment of the present disclosure, the probability of an attacker succeeding in an attack is p r1 p r2 p th It is also reduced to p th (p th ≦1) is the ranging value T measured using the first STS segment r1and the ranging value T measured using the second STS segment. r2 The difference between these is the critical value V th Assume that the probability satisfies the following condition:
[0185] In addition, when performing an integrity check on the ranging value measured using three STS segments according to an embodiment of the present disclosure, the probability of an attacker succeeding in an attack is p r1 p r2 p r3 p th According to an embodiment of the present disclosure, when performing an integrity check on the ranging value measured using four STS segments, the probability of an attacker succeeding in an attack is reduced to p r1 p r2 p r3 p r4 p th That is, the more the number of STS segments used for ranging is increased, the higher the ranging security level of the STS is.
[0186] According to an embodiment of the present disclosure, the reliability of the ranging result value may vary depending on the STS segment, taking into account the processing speed of the devices participating in the ranging. Therefore, in step S1650 of FIG. 16A, the V th For may be applied different values depending on the STS segment. An electronic device according to an embodiment of the present disclosure may use multiple STS segments for ranging accuracy to improve ranging security by performing the method illustrated in FIG. 16A.
[0187] Also, according to an embodiment of the present disclosure, in order to obtain a plurality of ranging values, not only a method using a plurality of STS segments but also a method of performing a plurality of consecutive ranging processes may be used. An electronic device according to an embodiment may perform an integrity check as performed in step S1670 of Fig. 16B based on a plurality of ranging values obtained through a plurality of consecutive ranging processes. An interval between consecutive ranging processes is set to an interval equal to or less than a coherence time, thereby preventing channel changes due to movement of the electronic device.
[0188] In addition, the electronic device according to the embodiment of the present disclosure may perform a ranging calibration method using the STS segments. Referring to FIG. 16B, the electronic device according to the embodiment of the present disclosure may perform a ranging result value T ri (i is in {1,…,K} and N sts =K, where K is in the range {2,3,4}), the electronic device according to an embodiment of the present disclosure can improve the ranging accuracy of the HRP-ERDEV by performing ranging calibration based on the K ranging values.
[0189] Steps S1610, S1621, S1623, S1631, S1633, S1641, S1643 and S1650 in Figure 16B correspond to steps S1610, S1621, S1623, S1631, S1633, S1641, S1643 and S1650 in Figure 16A, respectively, so duplicated explanations will be omitted.
[0190] In operation S1650, the electronic device according to an embodiment may determine whether a difference between the measured ranging result values is greater than or equal to a threshold value.
[0191] If there is a case where the difference between the measured ranging result values is equal to or greater than the critical value, the electronic device according to an embodiment of the present disclosure may determine that the ranging result values are significantly affected by interference and may discontinue the ranging calibration process in step S1680. If there is no case where the difference between the measured ranging result values is equal to or greater than the critical value, the electronic device according to an embodiment of the present disclosure may determine that the ranging result values are not significantly affected by interference and may perform the ranging calibration process in step S1690.
[0192] In performing the ranging calibration process, in step S1690, the electronic device according to an embodiment calculates a ranging result value T r1 ,…,T rK (K is {2, 3, 4}), it can be determined whether some of the measured ranging result values show a large difference from other values through a k-means clustering technique, etc. If some of the ranging result values show a large difference from other values, the electronic device can determine that the ranging result value is significantly affected by interference and can exclude the ranging result value from the calibration process.
[0193] For example, as shown in FIG. STS = 4, and T r3 is another value T r1 ,T r2 ,T r4 If the difference is large, the electronic device is T r3 It can be determined that the value is greatly affected by interference. r3 may also be excluded from use in the ranging calibration process.
[0194] According to an embodiment, the electronic device performs ranging calibration using M ranging values that are not excluded from the K ranging values according to Equation 5 below, and obtains a final ranging result value T result can be used.
[0195] a in Equation 5 i(i is included in {1, . . . , M}) is a parameter closely related to the ranging channel and noise, and is determined as an optimized value based on a utility function targeted in the electronic device implementation.
number
[0196] In the ranging method according to the embodiment shown in Fig. 16B, both preamble-based ranging and STS-based ranging can be applied. Also, the embodiment shown in Fig. 16B can be used together with the embodiment shown in Fig. 10B or the embodiment shown in Fig. 14. That is, according to one embodiment of the present disclosure, in calculating two ranging values through two SS-TWRs included in a DS-TWR, STS-based ranging, preamble-based ranging, or both STS-based ranging and preamble-based ranging can be performed.
[0197] According to one embodiment of the present disclosure, an electronic device can dynamically use the ranging methods illustrated in Figures 9A, 10A, 12, and 16A. Also, according to one embodiment of the present disclosure, an electronic device can dynamically use the ranging methods illustrated in Figures 9B, 10B, 14, and 16B. According to one embodiment of the present disclosure, an electronic device can variably use the number of frames used in the DS-TWR method and the number of STS segments used in ranging using STS segments.
[0198] According to one embodiment of the present disclosure, when performing DS-TWR, if four frames are used instead of three frames, or two or more STS segments are used, the ranging security level and ranging accuracy are increased, but time efficiency and energy efficiency are reduced because more resources must be used for one ranging.
[0199] Therefore, it is preferable that parameters related to ranging, including the number of frames used for DS-TWR, the number of STS segments, and the ranging period, be variably determined as needed.
[0200] 17 is a diagram illustrating a process in which a plurality of electronic devices determine ranging parameters. A controller device 1701 and a controllee device 1702 can perform ranging by communicating with each other.
[0201] In step S1710, the controller device 1701 and the controlley device 1702 according to an embodiment of the present disclosure may perform ranging. The controller device 1701 and the controlley device 1702 may perform ranging based on predetermined ranging parameters. The ranging parameters may include at least one of a ranging method, a ranging period, the number of frames used for ranging, and the number of STS segments included in the frames. For example, the controller device 1701 and the controlley device 1702 may perform ranging using the DS-TWR method or the STS segment.
[0202] In step S1720, the controller device 1701 according to an embodiment of the present disclosure may determine a change in the ranging parameters.
[0203] For example, if the controller device 1701 determines that the ranging security level or ranging accuracy needs to be improved, it may increase the number of frames used for ranging or the number of STS segments contained in the frames.
[0204] As an example, the controller device 1701 according to an embodiment of the present disclosure may determine a change in the number of frames for DS-TWR. In the controller device 1701 using the DS-TWR consisting of transmission and reception of three frames, the controller device 1701 may increase the number of frames for DS-TWR to increase the ranging security level and ranging accuracy.
[0205] According to an embodiment of the present disclosure, the controller device 1701 may determine that the reliability of the ranging result value is low, or that a higher ranging security level and a higher ranging accuracy are required, even though the controller device 1701 derives the ranging result value using two SS-TWR result values using three frames. If a higher ranging security level and a higher ranging accuracy are required, the controller device 1701 may directly determine and increase the number of frames. Alternatively, the controller device 1701 may increase the number of frames upon request from the controllee device 1702. The controllee device 1702 may request the controller device 1701 to increase the number of frames for performing DS-TWR.
[0206] As another example, the controller device 1701 according to an embodiment of the present disclosure may determine a change in the number of STS segments. The controller device 1701 may determine that the reliability of the ranging result value is low despite the use of N STS segments in order to increase the ranging security level and ranging accuracy, or may determine that a higher ranging security level and a higher ranging accuracy are required. If a higher ranging security level and a higher ranging accuracy are required, the controller device 1701 may directly determine and increase the number of STS segments. Alternatively, the controller device 1701 may increase the number of STS segments upon request from the controllee device 1702. The controllee device 1702 may request the controller device 1701 to increase the number of STS segments.
[0207] In step S1730, the controller device 1701 according to one embodiment of the present disclosure may inform the controllee device 1702 of the change in the ranging parameters.
[0208] In step S1740, the controller device 1701 and the controllee device 1702 can further perform ranging using the modified ranging parameters.
[0209] 18A and 18B illustrate block diagrams of electronic devices according to various embodiments of the present disclosure. The electronic devices illustrated in Fig. 18A and 18B may be electronic devices that perform the role of an initiator or electronic devices that perform the role of a responder in various embodiments described above. Alternatively, the electronic devices illustrated in Fig. 18A and 18B may be electronic devices that perform the role of a receiver or electronic devices that perform the role of a transmitter in various embodiments described above. Alternatively, the electronic devices illustrated in Fig. 18A and 18B may be electronic devices that perform the role of a controller or electronic devices that perform the role of a controlleree in various embodiments described above.
[0210] 18A, an electronic device 100 performing UWB ranging according to various embodiments of the present disclosure may include a communication unit 110 and a processor 140. However, the electronic device 100 may be embodied with more components than any of the components illustrated in FIG.
[0211] In Fig. 18A, the electronic device 100 is illustrated as including one processor, but the present embodiment is not limited thereto, and the electronic device 100 may include multiple processors. At least a part of the operations and functions of the processor 140 described below may also be performed by multiple processors. The electronic device 300 illustrated in Fig. 18A may perform the UWB ranging method according to various embodiments of the present disclosure, and the descriptions related to Figs. 9A to 17 may be applied. Therefore, the above-mentioned overlapping contents will be omitted.
[0212] The communication unit 110 according to an embodiment of the present disclosure may perform wired or wireless communication with other devices or networks. To this end, the communication unit 110 may include a communication module that supports at least one of various wired and wireless communication methods. For example, the communication module may be in the form of a chipset, or a sticker / barcode (e.g., a sticker including an NFC (near field communication) tag) that includes information required for communication.
[0213] The wireless communication may include, for example, at least one of cellular communication, Wi-Fi, Wi-Fi direct, Bluetooth, UWB, or NFC. The wired communication may include, for example, at least one of USB or high definition multimedia interface (HDMI).
[0214] In one embodiment, the communication unit 110 may include a communication module for short range communication. For example, the communication unit 110 may include communication modules for performing various short range communication such as infrared communication, MST (magnetic secure transmission), and magnetic secure communication in addition to the above-mentioned UWB, Wi-Fi, Wi-Fi direct, Bluetooth, and NFC.
[0215] According to an embodiment of the present disclosure, the processor 140 controls the overall operation of the electronic device 100 and may include at least one processor such as a central processing unit (CPU) and a graphics processing unit (GPU). The processor 140 may control other components included in the electronic device 100 to perform UWB ranging.
[0216] The communication unit 110 according to an embodiment of the present disclosure can transmit and receive at least one frame for ranging with at least one other electronic device. The processor 140 according to an embodiment of the present disclosure can obtain a first ranging value and a second ranging value based on the at least one frame, and perform an integrity check or a ranging calibration based on a result of comparing the first ranging value and the second ranging value.
[0217] 6 and 7 may be applied to a specific method for processor 140 to obtain the ranging values, and therefore the duplicated description will be omitted. Also, the description of Figs. 9A to 16C may be applied to a specific method for processor 140 to perform a flawlessness check or ranging calibration based on the result of comparing the ranging values, and therefore the duplicated description will be omitted.
[0218] For integrity checking to perform secure UWB ranging, a processor 140 according to one embodiment of the present disclosure can calculate a first ranging value based on a time determined using an STS included in at least one frame, and can calculate a second ranging value based on a time included in a preamble included in at least one frame.
[0219] As an example, when the electronic device 100 is an initiator device performing SS-TWR, the communication unit 110 may transmit a first frame and receive a second frame in response to the first frame. The processor 140 may obtain a first ranging value and a second ranging value. The processor 140 may calculate the first ranging value based on a time determined using the STS included in the first frame and the second frame. The processor 140 may determine a time for calculating the first ranging value based on a peak value of cross-correlation between the STS included in the second frame and a pre-calculated STS. The processor 140 may calculate the second ranging value based on a time included in a preamble included in the first frame and the second frame.
[0220] As another example, when the electronic device 100 is a responder device performing DS-TWR, the communication unit 110 may receive a first frame, respond to the first frame, transmit a second frame, respond to the second frame, and receive a third frame. The processor 140 may calculate a first ranging value based on a time determined using the STS included in the first, second, and third frames, and may calculate a second ranging value based on a time included in a preamble included in the first, second, and third frames.
[0221] In addition, for integrity checking to perform secure UWB ranging, the electronic device 100 according to another embodiment of the present disclosure can perform two SS-TWRs in the two round-trip measurements included in the DS-TWR.
[0222] For example, when the electronic device 100 is an initiator device performing DS-TWR, the communication unit 110 may transmit a first frame, respond to the first frame, receive a second frame, respond to the second frame, and transmit a third frame. The processor 140 may calculate a first ranging value based on a time determined based on the first and second frames, and receive a second ranging value calculated based on a time determined based on the second and third frames from the responder device. The processor 140 may check the integrity of the ranging operation by comparing the first ranging value calculated through the first roundtrip measurement and the second ranging value calculated through the second roundtrip measurement.
[0223] As another example, when the electronic device 100 is a responder device performing DS-TWR, the communication unit 110 may receive a first frame, respond to the first frame, transmit a second frame, respond to the second frame, and receive a third frame. The processor 140 may receive a first ranging value from the responder device based on a time determined based on the first and second frames, and calculate a second ranging value based on a time determined based on the second and third frames. The processor 140 may check the integrity of the ranging operation by comparing the first ranging value calculated through the first roundtrip measurement and the second ranging value calculated through the second roundtrip measurement.
[0224] In addition, for integrity checking to perform secure UWB ranging, the electronic device 100 according to yet another embodiment of the present disclosure can compare multiple ranging values calculated using multiple STS segments.
[0225] According to one embodiment of the present disclosure, the processor 140 can calculate a first ranging value based on a time determined using a first STS segment included in at least one frame, and can calculate a second ranging value based on a time included in a second STS segment included in at least one frame.
[0226] According to an embodiment of the present disclosure, the processor 140 may perform an integrity check based on a result of comparing the first ranging value and the second ranging value. If the difference between the first ranging value and the second ranging value is within a critical range, the processor 140 may determine that ranging has been correctly performed by the device to which access authority has been granted. If the difference between the first ranging value and the second ranging value is less than the critical value, the processor 140 may grant access authority to the other electronic device by continuing the authorization process.
[0227] According to an embodiment of the present disclosure, the processor 140 can obtain a third ranging value based on the first ranging value and the second ranging value, and grant access permission based on the third ranging value. If the difference between the first ranging value and the second ranging value is less than a threshold value, the processor 140 can obtain a third ranging value based on the first ranging value and the second ranging value, and grant access permission based on the third ranging value.
[0228] The third ranging value may be a weighted sum of the first ranging value and the second ranging value. For example, the processor 140 may determine that ranging has been performed correctly by the authorized device if the difference between the first ranging value and the second ranging value is within a critical range.
[0229] The processor 140 may perform ranging calibration to obtain a third ranging value based on the first ranging value and the second ranging value in order to improve ranging accuracy. The third ranging value may be calculated through Equations 3 to 5. Repetitive explanations will be omitted. The processor 140 may grant access authority to other electronic devices based on the third ranging value.
[0230] Meanwhile, the processor 140 may determine that an attack by a device without access authority has occurred if the difference between the first ranging value and the second ranging value is not within the critical range. The processor 140 may interrupt the authorization process if the difference between the first ranging value and the second ranging value is equal to or greater than the critical value. The processor 140 may interrupt the ranging calibration process if the difference between the first ranging value and the second ranging value is equal to or greater than the critical value.
[0231] In addition, the processor 140 according to an embodiment of the present disclosure may determine changes to ranging parameters based on the integrity check result, which may include at least one of a ranging method, a ranging period, the number of frames used for ranging, and the number of STS segments included in a frame.
[0232] For example, when the processor 140 determines that the ranging security level or the ranging accuracy needs to be improved, the processor 140 may increase the number of frames used for ranging or the number of STS segments included in the frames. The communication unit 110 may inform other electronic devices of the change in the ranging parameters.
[0233] As shown in FIG. 18B, the electronic device 100 according to various embodiments of the present disclosure may further include a memory 120, a security element 130, and a bus 150 connecting each of the components.
[0234] The processor 140 may execute programs stored in the memory 120 and the security element 130, read stored files, or store new files to perform UWB ranging according to various embodiments of the present disclosure. The instructions stored in the memory 120 may be executed by the processor 140 to implement embodiments of the present disclosure.
[0235] Programs such as applications and various types of data such as files may be installed and stored in the memory 120. The processor 140 may access and use data stored in the memory 120 or may store new data in the memory 120. In one embodiment, programs and data for securely and accurately performing ranging may be installed and stored in the memory 120.
[0236] The secure element 130 is an independent secure storage unit of the electronic device 100, a secure area that is accessible only to authorized applications. The secure element 130 is also configured to be physically isolated from other hardware components. According to an embodiment, the secure element 130 may be, but is not limited to, an embedded secure element (eSE), a universal integrated circuit card (UICC), a secure digital card (SD card), an embedded universal integrated circuit card (EeUICC), etc.
[0237] The security element 130 includes a separate memory and a processor, and the processor of the security element 130 may control the overall operation of the security element 130. The processor of the security element 130 may control components included in the security element 130 to stably perform UWB ranging. For example, the processor of the security element 130 may execute a program stored in the memory of the security element 130, read data stored in the memory, or store new data in the memory. An embodiment of the present disclosure may be embodied by executing instructions or programs stored in the memory of the security element 130 by the processor of the security element 130. According to an embodiment, a program and data for performing secure access control to a device through an integrity check of a ranging operation may be installed and stored in the security element 130.
[0238] The bus 150 is a common data transmission path connecting the communication unit 110, the memory 120, the security element 130 and the processor 140.
[0239] The electronic device 100 according to various embodiments of the present disclosure can improve ranging security of the ERDEV using the HRP UWB PHY by performing an integrity check on the ranging value. The electronic device 100 according to various embodiments of the present disclosure can increase the ranging security level by detecting an attack using an early path insertion strategy such as a relay attack or a mafia attack. As a result, according to various embodiments of the present disclosure, the security level of UWB based on UWB ranging can also be increased.
[0240] In addition, the electronic device 100 according to various embodiments of the present disclosure may improve ranging accuracy by performing ranging calibration related to the ranging value. The various embodiments described above may be used to improve ranging accuracy of the ERDEV considering the HRP UWB PHY.
[0241] The disclosed embodiments may also be embodied by a software (S / W) program including instructions stored on a computer-readable recording medium.
[0242] The computer is a device capable of calling up commands stored in a recording medium and operating according to the disclosed embodiments based on the called commands, and may include a video transmission device and a video receiving device according to the disclosed embodiments.
[0243] The computer-readable recording medium may also be provided in the form of a non-transitory recording medium. Here, "non-transitory" only means that the recording medium is tangible without including a signal, and does not distinguish between data being stored semi-permanently or temporarily in the recording medium.
[0244] The electronic device or method according to the disclosed embodiments may also be provided as included in a computer program product, which may be traded as a commodity between sellers and buyers.
[0245] The computer program product may include a S / W program and a computer-readable recording medium on which the S / W program is stored. For example, the computer program product may include a product in the form of a S / W program (e.g., a downloadable application) that is electronically distributed by a manufacturer of electronic devices or via an online market. For electronic distribution, at least a part of the S / W program is stored in a recording medium or temporarily generated. In this case, the recording medium may be a recording medium of a server of the manufacturer, a server of the online market, or a relay server that temporarily stores the SW program.
[0246] The computer program product may include a recording medium of a server or a recording medium of a terminal in a system consisting of a server and a terminal (e.g., a back-end server and a device). Alternatively, if there is a third device (e.g., a smartphone) communicatively connected to the server or the terminal, the computer program product may include a recording medium of the third device. Alternatively, the computer program product may include a S / W program itself that is transmitted from the server to the terminal or the third device, or transmitted from the third device to the terminal.
[0247] In this case, one of the server, the terminal, and the third device may execute the computer program product to perform the method according to the disclosed embodiment, or two or more of the server, the terminal, and the third device may execute the computer program product to perform the method according to the disclosed embodiment in a distributed manner.
[0248] For example, a server (e.g., a cloud server or an artificial intelligence server) may execute a computer program product stored on the server and control a terminal communicatively connected to the server to perform a method according to the disclosed embodiments.
[0249] As another example, a third device may execute a computer program product and control a terminal communicatively connected to the third device to perform a method according to the disclosed embodiment. As a specific example, the third device may remotely control a video transmitting device or a video receiving device to transmit or receive a packed video.
[0250] When the third device executes the computer program product, the third device can download the computer program product from a server and execute the downloaded computer program product, or the third device can execute the computer program product provided in a preloaded state to perform the method according to the disclosed embodiment.
[0251] According to various embodiments of the present disclosure, a ranging security level can be improved by performing an integrity check on the ranging value, and as a result, a security level of the UWB service can be improved. Also, according to various embodiments of the present disclosure, a ranging accuracy can be improved by using the ranging value and calibrating the ranging value. [Explanation of symbols]
[0252] 100 Electronic Devices 110 Communications Department 120 Memory 130 Security Elements 140 processors 150 Bus
Claims
1. A method for an electronic device to perform ranging using ultra wide band (UWB) in a wireless communication system, comprising: receiving a ranging frame (RFRAME) from another electronic device, the RFRAME including a scrambled timestamp sequence (STS) and a preamble; obtaining a first ranging result using the STS and a second ranging result using the preamble; and performing an integrity check based on a result of comparing the first ranging result and the second ranging result.
2. The step of obtaining the first ranging result and the second ranging result includes: calculating the first ranging result based on a time determined using the STS; and calculating the second ranging result based on a time point determined using the preamble.
3. receiving another RFRAME from the other electronic device; Including, The step of obtaining the first ranging result and the second ranging result comprises: calculating the first ranging result based on a time determined using an STS included in the RFRAME and the other RFRAME; and calculating the second ranging result based on a time determined using a preamble included in the RFRAME and the other RFRAME.
4. The step of performing the integrity check comprises: determining that an attack has occurred if a difference between the first ranging result and the second ranging result is equal to or greater than a threshold; 2. The method of claim 1, further comprising: determining that the integrity check has passed if a difference between the first ranging result and the second ranging result is less than a critical value.
5. The step of determining that the inspection has been passed includes: obtaining a calibrated ranging value based on the first ranging result and the second ranging result; and granting access privileges based on the calibrated ranging values.
6. determining changes to ranging parameters based on the integrity test results; notifying the other electronic device of the change in the ranging parameters; The ranging parameters are: The method of claim 1 , comprising at least one of a ranging scheme, a ranging period, a number of frames used for ranging, and a number of STS segments included in a frame.
7. The method of claim 1 , wherein the time for calculating the first ranging result is determined based on a peak value of cross-correlation between an STS included in the RFRAME and a pre-calculated STS.
8. In a wireless communication system, an electronic device that performs ranging using UWB (ultra wide band) A communication unit for receiving a ranging frame (RFRAME) from another electronic device, the RFRAME including a scrambled timestamp sequence (STS) and a preamble, and at least one processor that obtains a first ranging result using the STS and a second ranging result using the preamble, and performs an integrity check based on a result of comparing the first ranging result and the second ranging result.
9. When performing the integrity check, the at least one processor: If a difference between the first ranging result and the second ranging result is equal to or greater than a threshold, it is determined that an attack has occurred; The electronic device of claim 8 , wherein the electronic device is determined to have passed an integrity test if a difference between the first ranging result and the second ranging result is less than a critical value.
Citation Information
Patent Citations
Method and system for positioning terminal location based on propagation time difference of radio signal
JP2004242122A
Ultrawide waveband secure ranging
JP2020017947A
Carrier recovery system and method
US20190074930A1
