| CPC G01S 5/02216 (2020.05) [G01S 5/0215 (2013.01)] | 13 Claims |

|
1. A method for determining a time of arrival (TOA), applied to a positioning terminal device in a wireless communication system, comprising:
receiving a positioning signal from a base station in the wireless communication system;
performing a mathematical correlation operation on the positioning signal and a local signal to obtain a correlation waveform;
determining a detection start time on the correlation waveform based on a leading edge detection threshold;
determining a noise threshold on the correlation waveform, and determining a quasi-TOA according to the detection start time; and
determining the TOA according to data information in a target area of the correlation waveform and the noise threshold,
wherein the target area is determined based on the quasi-TOA and a detection length;
wherein determining the TOA according to data information in a target area of the correlation waveform and the noise threshold comprises:
determining the data information in the target area of the correlation waveform, the data information comprising: at least one of the following attributes of a maximum data point: amplitude; amplitude change rate; or time, the maximum data point being a data point with a largest amplitude in the target area of the correlation waveform;
determining the quasi-TOA as the TOA in response to the amplitude of the maximum data point being not greater than the noise threshold; and
updating the quasi-TOA in response to the amplitude of the maximum data point being greater than the noise threshold, until no amplitude greater than the noise threshold exists in a target area corresponding to the updated quasi-TOA, and determining the updated quasi-TOA as the TOA.
|