Method and device for wireless communication
Embodiments of the disclosure provide a method and device for wireless communication. One example method includes: transmitting, by a terminal device, capability information indicating whether the terminal device supports determining a candidate of a measurement gap of positioning reference signal (PRS); receiving, by the terminal device, positioning measurement information of PRS sent by a location management function (LMF); determining, by the terminal device, a first measurement gap for positioning measurement of PRS according to the positioning measurement information of PRS; and transmitting, by the terminal device, information of the first measurement gap to a base station or to the LMF.
1 . A method for wireless communication, comprising:
determining, by a terminal device, whether the terminal device can enter measurement gap autonomously based on a quality of service (QoS) level included in QoS information received by the terminal device from a location management function (LMF) and a corresponding relationship between QoS levels and whether the terminal device can enter measurement gap autonomously, wherein each QoS level corresponds to a precision value and a response time to the LMF, and wherein the corresponding relationship between QoS levels and whether the terminal device can enter measurement gap autonomously is received by the terminal device from the LMF through a long term evolution (LTE) positioning protocol (LPP);
receiving, by the terminal device, positioning measurement information of positioning reference signal (PRS) from the LMF;
determining a first measurement gap for positioning measurement of PRS based on shifting a time of PRS forward by a preset time;
transmitting, by the terminal device, information of a first measurement gap for positioning measurement of PRS to a base station; and
performing automatic measurement by using the positioning measurement information.
2 . The method of claim 1 , wherein the information of the first measurement gap further includes information of an end time of the first measurement gap.
3 . The method of claim 1 , wherein the information of the first measurement gap is transmitted prior to a PRS to be measured by the terminal device.
4 . The method of claim 1 , wherein the information of the first measurement gap is transmitted to the base station by the terminal device through uplink control information (UCI); or
the information of the first measurement gap is transmitted to the base station by the LMF through a new radio positioning protocol A (NRPPa) signaling.
5 . The method of claim 1 , wherein the positioning measurement information of PRS comprises quality of service (QoS) information for providing location services for the terminal device, and wherein the first measurement gap is determined based on the QoS information for providing location services for the terminal device.
6 . The method of claim 1 , wherein the positioning measurement information of PRS comprises information for indicating whether the terminal device is allowed to determine a measurement gap, and wherein the first measurement gap is determined based on the information for indicating whether the terminal device is allowed to determine the measurement gap.
7 . The method of claim 1 , wherein the positioning measurement information of PRS comprises at least one of: positioning assistance information, configuration information of PRS, a start time of a candidate measurement gap, or an end time of the candidate measurement gap.
8 . The method of claim 1 , further comprising:
selecting, by the terminal device, the first measurement gap from a plurality of candidate measurement gaps, wherein the plurality of candidate measurement gaps are included in the positioning measurement information of PRS.
9 . The method of claim 1 , wherein the method further comprises:
transmitting, by the terminal device to the base station, second information, wherein the second information indicates end of measurement in the first measurement gap.
10 . A terminal device, comprising:
at least one memory; and
at least one processor coupled to the at least one memory and configured to cause the terminal device to perform operations comprising:
determining, by the terminal device, whether the terminal device can enter measurement gap autonomously based on a quality of service (QoS) level included in QoS information received by the terminal device from a location management function (LMF) and a corresponding relationship between QoS levels and whether the terminal device can enter measurement gap autonomously, wherein each QoS level corresponds to a precision value and a response time to the LMF, and wherein the corresponding relationship between QoS levels and whether the terminal device can enter measurement gap autonomously is received by the terminal device from the LMF through a long term evolution (LTE) positioning protocol (LPP);
receiving, by the terminal device, positioning measurement information of positioning reference signal (PRS) sent by a location management function (LMF);
determining a first measurement gap for positioning measurement of PRS based on shifting a time of PRS forward by a preset time;
transmitting, by the terminal device, information of a first measurement gap for positioning measurement of PRS to a base station; and
performing automatic measurement by using the positioning measurement information.
11 . The terminal device of claim 10 , wherein the information of the first measurement gap further includes information of an end time of the first measurement gap.
12 . The terminal device of claim 10 , wherein the information of the first measurement gap is transmitted prior to a PRS to be measured by the terminal device.
13 . The terminal device of claim 10 , wherein the information of the first measurement gap is transmitted to the base station by the terminal device through uplink control information (UCI); or
the information of the first measurement gap is transmitted to the base station by the LMF through a new radio positioning protocol A (NRPPa) signaling.
14 . The terminal device of claim 10 , wherein the positioning measurement information of PRS comprises quality of service (QoS) information for providing location services for the terminal device, and wherein the first measurement gap is determined based on the QoS information for providing location services for the terminal device.
15 . The terminal device of claim 10 , wherein the positioning measurement information of PRS comprises information for indicating whether the terminal device is allowed to determine a measurement gap, and wherein the first measurement gap is determined based on the information for indicating whether the terminal device is allowed to determine the measurement gap.
16 . The terminal device of claim 10 , wherein the positioning measurement information of PRS comprises at least one of: positioning assistance information, configuration information of PRS, a start time of a candidate measurement gap, or an end time of the candidate measurement gap.
17 . The terminal device of claim 10 , the operations further comprising:
selecting, by the terminal device, the first measurement gap from a plurality of candidate measurement gaps, wherein the plurality of candidate measurement gaps are included in the positioning measurement information of PRS.
18 . The terminal device of claim 10 , the operations further comprising:
transmitting, by the terminal device to the base station, second information, wherein the second information indicates end of measurement in the first measurement gap.
19 . A method, comprising:
determining, by a location management function (LMF) that a terminal device can enter measurement gap autonomously based on a quality of service (QoS) level of the terminal device and a corresponding relationship between QoS levels and whether the terminal device can enter measurement gap autonomously, wherein each QoS level corresponds to a precision value and a response time to the LMF, wherein the corresponding relationship is sent to the terminal device by the LMF through a long term evolution (LTE) positioning protocol (LPP);
in response to determining that the terminal device can enter measurement gap autonomously, transmitting, by the LMF to a base station, a new radio positioning protocol A (NRPPa) signaling indicating that the terminal device can enter measurement gap autonomously; and
transmitting, by the LMF to the terminal device, positioning measurement information of positioning reference signal (PRS).