Resource selection method and terminal equipment

CN119817166APending Publication Date: 2025-04-11GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380054761.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-10
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

In resource selection, there are problems with how the terminal device selects and reserves multiple time-division side-line positioning reference signal (SL PRS) resources, especially when different SL PRS resources are configured differently.

Method used

Provides a resource selection method, the physical layer of the terminal device determines a first candidate resource set, including an SL PRS resource, and reports a second candidate resource set to the MAC layer, which includes a portion of the first candidate resource set or all resources.

Benefits of technology

Through this method, the terminal device can more effectively select and reserve SL PRS resources, improve the transmission efficiency of SL PRS, and meet the positioning requirements of the number of SL PRS resources, thereby improving positioning accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119817166A_ABST
    Figure CN119817166A_ABST
Patent Text Reader

Abstract

The invention provides a resource selection method and terminal equipment. The method comprises: a physical layer of a terminal device determines a first candidate resource set in a resource selection window, a resource in the first candidate resource set being a lateral positioning reference signal resource in the resource selection window; and the physical layer of the terminal equipment reports a second candidate resource set to a media access control (MAC) layer, wherein the second candidate resource set comprises partial or all resources in the first candidate resource set.
Need to check novelty before this filing date? Find Prior Art

Description

Resource selection method and terminal device Technical Field

[0001] The present application relates to the field of communication technology, and more specifically, to a resource selection method and terminal equipment. Background Art

[0002] There may be multiple time-divided sidelink positioning reference signal (SL PRS) resources in a time slot, and the configurations of different SL PRS resources may also be different. Therefore, how a terminal device should select an SL PRS resource in resource selection is an unresolved issue.

[0003] Summary of the Invention

[0004] The embodiment of the present application provides a resource selection method and a terminal device. The following describes in detail various aspects of the embodiment of the present application.

[0005] In a first aspect, a resource selection method is provided, including: the physical layer of a terminal device determines a first candidate resource set within a resource selection window, where the resources in the first candidate resource set are sidelink positioning reference signal resources within the resource selection window; the physical layer of the terminal device reports a second candidate resource set to a MAC layer, where the second candidate resource set includes part or all of the resources in the first candidate resource set.

[0006] According to a second aspect, a terminal device is provided, comprising: a determination module, used for the physical layer of the terminal device to determine a first candidate resource set within a resource selection window, wherein the resources in the first candidate resource set are sidelink positioning reference signal resources within the resource selection window; and a reporting module, used for the physical layer of the terminal device to report a second candidate resource set to the MAC layer, wherein the second candidate resource set includes part or all of the resources in the first candidate resource set.

[0007] In a third aspect, a terminal device is provided, comprising a transceiver, a memory and a processor, wherein the memory is used to store programs, and the processor is used to call the programs in the memory and control the transceiver to receive or send signals so that the terminal device executes the method described in the first aspect.

[0008] In a fourth aspect, a device is provided, comprising a processor configured to call a program from a memory so that the device executes the method described in the first aspect.

[0009] In a fifth aspect, a chip is provided, comprising a processor for calling a program from a memory so that a device equipped with the chip executes the method described in the first aspect.

[0010] In a sixth aspect, a computer-readable storage medium is provided, on which a program is stored, wherein the program enables a computer to execute the method as described in the first aspect.

[0011] In a seventh aspect, a computer program product is provided, characterized in that it includes a program, and the program enables a computer to execute the method described in the first aspect.

[0012] In an eighth aspect, a computer program is provided, which enables a computer to execute the method as described in the first aspect.

[0013] The embodiment of the present application proposes to perform resource selection based on the granularity of SL PRS resources, and the selected resources are more conducive to the transmission of SL PRS. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] FIG1 is a diagram illustrating an example of a system architecture of a wireless communication system to which an embodiment of the present application may be applied.

[0015] FIG2 is an example diagram of a physical sidelink control channel (PSCCH) and a physical sidelink control channel (PSSCH) resource pool.

[0016] FIG3 is a schematic diagram of the structure of a time slot in a new radio (NR) system.

[0017] FIG4 is a diagram illustrating an example of a resource selection process in the second resource selection mode.

[0018] FIG5 is a diagram illustrating an example of resources for transmitting a downlink positioning reference signal (DL PRS).

[0019] FIG6 is a schematic diagram of the structure of an interleaved resource block.

[0020] FIG7 is an example diagram of a frame structure of a sidelink over unlicensed spectrum (SL-U) system.

[0021] FIG8 is a diagram illustrating an example of a resource block (RB) set.

[0022] FIG9 is a flow chart of a resource selection method provided in an embodiment of the present application.

[0023] FIG10 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application.

[0024] FIG11 is a schematic diagram of the structure of the device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] The technical solution in this application will be described below with reference to the accompanying drawings.

[0026] Communication system architecture

[0027] FIG1 is a diagram illustrating an exemplary system architecture of a wireless communication system 100 to which embodiments of the present application may be applied. The wireless communication system 100 may include a network device 110 and a terminal device 120. The network device 110 may be a device that communicates with the terminal device 120. The network device 110 may provide communication coverage for a specific geographic area and may communicate with the terminal device 120 within the coverage area.

[0028] FIG1 exemplarily shows a network device and a terminal device. Optionally, the wireless communication system 100 may include one or more network devices 110 and / or one or more terminal devices 120. For a network device 110, the one or more terminal devices 120 may all be located within the network coverage of the network device 110, or all be located outside the network coverage of the network device 110, or some may be located within the coverage of the network device 110 and others outside the network coverage of the network device 110. This is not limited in the embodiments of the present application.

[0029] Optionally, the wireless communication system 100 may further include other network entities such as a network controller and a mobility management entity, which is not limited in the embodiment of the present application.

[0030] It should be understood that the technical solutions of the embodiments of the present application can be applied to various communication systems, such as: fifth generation (5G) system or new radio (NR), long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), etc. The technical solutions provided in this application can also be applied to future communication systems, such as the sixth generation mobile communication system, satellite communication system, etc.

[0031] The terminal device in the embodiments of the present application may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station (MS), mobile terminal (MT), remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The terminal device in the embodiments of the present application may refer to a device that provides voice and / or data connectivity to a user and can be used to connect people, objects and machines, such as a handheld device with wireless connection function, a vehicle-mounted device, etc. The terminal device in the embodiments of the present application can be a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, etc. Optionally, the UE can be used to act as a base station. For example, the UE can act as a scheduling entity that provides sidelink signals between UEs in V2X or D2D, etc. For example, a cellular phone and a car communicate with each other using sidelink signals. The cellular phone and smart home devices communicate without relaying the communication signal through the base station.

[0032] The network device in the embodiments of the present application may be a device for communicating with a terminal device, and may also be referred to as an access network device or a radio access network device. For example, the network device may be a base station. The network device in the embodiments of the present application may refer to a radio access network (RAN) node (or device) that connects a terminal device to a wireless network. A base station can broadly cover various names as follows, or be replaced with the following names, such as: NodeB, evolved NodeB (eNB), next generation NodeB (gNB), relay station, access point, transmission point (TRP), transmission point (TP), master station MeNB, secondary station SeNB, multi-standard radio (MSR) node, home base station, network controller, access node, wireless node, access point (AP), transmission node, transceiver node, baseband unit (BBU), remote radio unit (RRU), active antenna unit (AAU), remote radio head (RRH), central unit (CU), distributed unit (DU), positioning node, etc. A base station can be a macro base station, a micro base station, a relay node, a donor node or the like, or a combination thereof. A base station can also refer to a communication module, modem or chip used to be set in the aforementioned device or apparatus. The base station can also be a mobile switching center and a device that performs base station functions in device-to-device D2D, vehicle-to-everything (V2X), and machine-to-machine (M2M) communications, a network-side device in a 6G network, or a device that performs base station functions in future communication systems. The base station can support networks with the same or different access technologies. The embodiments of this application do not limit the specific technology and specific device form used by the network equipment.

[0033] Base stations can be fixed or mobile. For example, a helicopter or drone can be configured to act as a mobile base station, and one or more cells can move based on the location of the mobile base station. In other examples, a helicopter or drone can be configured to act as a device that communicates with another base station.

[0034] In some deployments, the network device in the embodiments of the present application may refer to a CU or a DU, or the network device includes a CU and a DU. The gNB may also include an AAU.

[0035] The network equipment and terminal devices can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; they can also be deployed on water; they can also be deployed in the air on aircraft, balloons, and satellites. The embodiments of this application do not limit the scenarios in which the network equipment and terminal devices are located.

[0036] It should be understood that all or part of the functions of the communication device in this application can also be implemented through software functions running on hardware, or through virtualization functions instantiated on a platform (such as a cloud platform).

[0037] Determination of NR-V2X frequency domain resources

[0038] Similar to LTE-V2X, the frequency domain resources of the NR-V2X resource pool can be continuous, and the frequency domain resource allocation granularity can be sub-channels. Typically, a sub-channel includes a number of physical resource blocks (PRBs) {10, 12, 15, 20, 50, 75, 100}, of which the minimum sub-channel size is 10 PRBs, which is much larger than the minimum sub-channel size of 4 PRBs in LTE-V2X. This is mainly because the frequency domain resources of the PSCCH in NR-V2X are located in the first sub-channel of its associated PSSCH. The frequency domain resources of the PSCCH are less than or equal to the size of a PSSCH sub-channel, while the time domain resources of the PSCCH occupy two or three orthogonal frequency division multiplexing (OFDM) symbols. If the sub-channel size is configured too small, the available PSCCH resources will be limited, the bit error rate will increase, and the detection performance of the PSCCH will be reduced. In NR-V2X, the size of the PSSCH subchannel and the frequency domain resource size of the PSCCH are configured independently, but usually the frequency domain resource of the PSCCH is less than or equal to the subchannel size of the PSSCH.

[0039] In some implementations, the following configuration parameters in the NR-V2X resource pool configuration information are used to determine the frequency domain resources of the PSCCH and PSSCH resource pools: subchannel size (sl-SubchannelSize), number of subchannels (sl-NumSubchannel), subchannel start resource block (RB) index (sl-StartRB-Subchannel), number of PRBs (sl-RB-Number), and PSCCH frequency domain resource indication (sl-FreqResourcePSCCH).

[0040] The above subchannel size may indicate the number of consecutive PRBs included in a subchannel in the resource pool, and the value range may be {10, 12, 15, 20, 50, 75, 100} PRBs.

[0041] The above-mentioned number of sub-channels may indicate the number of sub-channels included in the resource pool.

[0042] The above sub-channel starting RB index may indicate the starting PRB index of the first sub-channel in the resource pool.

[0043] The above-mentioned PRB number may indicate the number of consecutive PRBs included in the resource pool.

[0044] The above-mentioned PSCCH frequency domain resource indication may indicate the frequency domain resource size of the PSCCH, and generally, the value range is {10, 12, 15, 20, 25} PRB.

[0045] In some implementations, when a terminal device determines a resource pool for PSSCH transmission or PSSCH reception, the frequency domain resources included in the resource pool may be sl-NumSubchannel consecutive subchannels starting with the PRB indicated by sl-StartRB-Subchannel. If the number of PRBs included in the sl-NumSubchannel consecutive subchannels is less than the number of PRBs indicated by sl-RB-Number, the remaining PRBs cannot be used for PSSCH transmission or reception.

[0046] In NR-V2X, the frequency domain starting position of the first subchannel of PSCCH and its associated PSSCH can be aligned. Therefore, the starting position of each PSSCH subchannel is the possible frequency domain starting position of PSCCH. The frequency domain range of the resource pool of PSCCH and PSSCH can be determined according to the above parameters. Figure 2 shows a schematic diagram of the PSCCH and PSSCH resource pool.

[0047] Typically, the PSCCH is used to carry sidelink control information related to resource sensing. In some implementations, the information carried by the PSCCH may include one or more of the following: priority of scheduled transmission, frequency domain resource allocation, time domain resource allocation, PSSCH reference signal pattern, second-order sidelink control information (SCI) format, second-order SCI code rate offset, number of PSSCH demodulation reference signal (DMRS) ports, modulation and coding scheme (MCS), MCS table indication, number of physical sidelink feedback channel (PSFCH) symbols, resource reservation period, reserved bits, etc.

[0048] The frequency domain resource allocation is used to indicate the number of frequency domain resources of the PSSCH in the current time slot scheduled by the PSCCH, and the number and starting position of the frequency domain resources of a maximum of two retransmission resources reserved.

[0049] The time domain resource allocation is used to indicate the time domain positions of at most two retransmission resources.

[0050] The resource reservation period is used to reserve resources for another transport block (TB) to be sent in the next period. Generally, when inter-TB resource reservation is not activated in the resource pool configuration, this information bit field does not exist.

[0051] Reserved bits, usually 2 to 4 bits. The specific number of bits can be configured or pre-configured by the network.

[0052] Since the PSCCH and the scheduled PSSCH are sent in the same time slot, and the starting position of the PRB occupied by the PSCCH can be the starting position of the first subchannel of the scheduled PSSCH, the above-mentioned PSCCH (i.e., SCI format 1-A) does not explicitly indicate the time-frequency domain starting position of the scheduled PSSCH.

[0053] Determination of NR-V2X time domain resources (time slots)

[0054] In NR-V2X, PSCCH / PSSCH transmission is usually based on the time slot level, that is, only one PSCCH / PSSCH can be transmitted in one time slot, and time-division multiplexing (TDM) is not supported for transmitting multiple PSCCH / PSSCH in one time slot. In addition, PSCCH / PSSCH between different users can be multiplexed in one time slot through frequency division multiplexing (FDM).

[0055] In NR-V2X, the time domain resources of PSSCH can be based on time slots. However, unlike LTE-V2X, where PSSCH occupies all time domain symbols in a subframe, PSSCH in NR-V2X can occupy part of the symbols in a time slot. This is mainly because in the LTE system, uplink or downlink transmissions are also based on subframe granularity, so sidelink transmissions are also based on subframe granularity (special subframes in the TDD system are not used for sidelink transmissions). In the NR system, a flexible time slot structure is used, that is, a time slot includes both uplink and downlink symbols, which can achieve more flexible scheduling and reduce latency.

[0056] Figure 3 shows a schematic diagram of the timeslot structure in an NR system. As shown in Figure 3, a timeslot can include downlink (DL) symbols, uplink (UL) symbols, and flexible symbols. Downlink symbols can be located at the beginning of a timeslot, and uplink symbols can be located at the end of a timeslot. Flexible symbols are located between downlink and uplink symbols. Furthermore, the number of various symbols in each timeslot is configurable.

[0057] Currently, the sidelink transmission system can share a carrier with the cellular system. In this case, the sidelink transmission can only use the uplink transmission resources of the cellular system. For NR-V2X, if the sidelink transmission is still required to occupy all the time domain symbols in a time slot, the network needs to configure a time slot full of uplink symbols for sidelink transmission, which will have a great impact on the uplink and downlink data transmission of the NR system and reduce the performance of the system. Therefore, in NR-V2X, part of the time domain symbols in the time slot are supported for sidelink transmission, that is, part of the uplink symbols in a time slot are used for sidelink transmission. In addition, considering that the sidelink transmission includes automatic gain control (AGC) symbols and guard period (GP) symbols, if the number of uplink symbols available for sidelink transmission is small, after removing the AGC symbols and GP symbols, the remaining symbols available for transmitting valid data are even fewer, and the resource utilization rate is very low. Therefore, the time domain symbols occupied by the sidelink transmission in NR-V2X are at least 7 (including GP symbols). When the sideline transmission system uses a dedicated carrier, there is no problem of sharing transmission resources with other systems, and all symbols in the time slot can be configured to be used for sideline transmission.

[0058] In NR-V2X, the starting point and length of the time domain symbol used for sideline transmission in a time slot can be configured through the parameters starting symbol position (sl-StartSymbol) and number of symbols (sl-LengthSymbols). The last symbol in the time domain symbol used for sideline transmission is used as the guard interval GP. PSSCH and PSCCH can only use the remaining time domain symbols. However, if PSFCH transmission resources are configured in a time slot, PSSCH and PSCCH cannot occupy the time domain symbol used for PSFCH transmission, as well as the AGC and GP symbols before the symbol.

[0059] In the NR-V2X system, the time domain resources of the resource pool are indicated by a bitmap. Considering the flexible time slot structure in the NR system, the length of the bitmap has been extended to support a bitmap length range of [10:160]. The method of using the bitmap to determine the time slot position belonging to the resource pool within a system frame number (SFN) period is the same as in LTE-V2X, with the following two differences.

[0060] First, the total number of time slots included in one SFN cycle is 10240×2 μ , where the parameter μ is related to the subcarrier spacing.

[0061] Second, if at least one of the time-domain symbols Y, Y+1, Y+2, …, Y+X-1 included in a time slot is not configured as an uplink symbol by the network device's TDD-UL-DL-ConfigCommon signaling, then the time slot cannot be used for sidelink transmission. Y and X represent sl-StartSymbol and sl-LengthSymbols, respectively.

[0062] The method of determining the time slot position belonging to the resource pool within an SFN cycle may include the following steps 1 to 5.

[0063] Step 1: Remove the time slots that do not belong to the resource pool within the SFN cycle. The time slots that do not belong to the resource pool may include synchronization time slots and time slots that cannot be used for sideline transmission. The remaining time slots are represented as the remaining time slot set, and the remaining time slots are renumbered as

[0064] Among them, N S_SSB Indicates the number of synchronization time slots in an SFN cycle. The synchronization time slot is determined according to the synchronization-related configuration parameters and is related to the period of transmitting the synchronization signal block (SSB) and the number of transmission resources of the SSB configured in the period.

[0065] N nonSL Indicates the number of time slots within an SFN cycle that do not conform to the uplink symbol start and number configurations. If at least one of the time-domain symbols Y, Y+1, Y+2, …, Y+X-1 included in a time slot is not semi-statically configured as an uplink symbol, the time slot cannot be used for sidelink transmission, where Y and X represent sl-StartSymbol and sl-LengthSymbols, respectively.

[0066] Step 2: Determine the number of reserved time slots and the corresponding time domain positions.

[0067] If the number of time slots in the remaining time slot set cannot be divided by the bitmap length, the number of reserved time slots and the corresponding time domain positions need to be determined. r (0≤r<10240×2 μ -N S_SSB -N nonSL )satisfy Then the time slot is a reserved time slot.

[0068] Among them, N reserved =(10240×2 μ -N S_SSB -N nonSL )mod Lbitmap , represents the number of reserved time slots, L bitmap Indicates the length of the bitmap, m = 0, ..., N reserved -1.

[0069] Step 3: Remove the reserved time slots from the remaining time slot set, and the remaining time slot set is represented as a logical time slot set.

[0070] The time slots in the above time slot set are all time slots that can be used in the resource pool. The time slots in the logical time slot set are renumbered as Among them, T max =10240×2 μ -N S_SSB -N nonSL -N reserved .

[0071] Step 4: Determine the time slots in the logical time slot set that belong to the resource pool according to the bitmap.

[0072] The bitmap in the resource pool configuration information is For a time slot in a logical time slot set When b is satisfied k′ =1, the time slot belongs to the resource pool, where k′=k mod L bitmap .

[0073] Step 5: renumber the time slots belonging to the resource pool determined in step 4 into Among them, T′ max Indicates the number of time slots included in the resource pool.

[0074] Second resource selection mode in NR SL

[0075] The second resource selection mode may also be referred to as resource allocation mode 2. In resource allocation mode 2, the terminal device's upper layers may request the terminal device's physical layer to determine a resource subset. The terminal device's upper layers may then select resources for PSSCH / PSCCH transmission from the resource subset determined by the physical layer.

[0076] If you want to trigger the above resource selection process, then in time slot n, the upper layer of the terminal device can provide the following parameters related to PSSCH / PSCCH transmission to the physical layer: the resource pool of the resource subset; the physical layer priority (prio TX ); remaining packet delay budget (remaining PDB); number of subchannels used for PSSCH / PSCCH transmission in a time slot (L subCH ).

[0077] Optionally, the upper layer of the terminal device may also provide a resource reservation period (P rsvp_TX The resource reservation period is usually expressed in milliseconds (ms).

[0078] The following parameters configured by higher layers may also affect the resource subset determination process: sl-SelectionWindowList, sl-ThresPSSCH-RSRP-List, sl-RS-ForSensing, sl-ResourceReservePeriodList, sl-SensingWindow, sl-TxPercentageList, and sl-PreemptionEnable.

[0079] The sl-SelectionWindowList in the above parameters can be used to configure the TX T 2min The minimum value of T 2min Can be set to sl-SelectionWindowList for prio TX The configured value.

[0080] The sl-ThresPSSCH-RSRP-List in the above parameters can be used to configure each (p i ,p j ) combination corresponding to the reference signal receiving power (RSRP) threshold, where p i is the priority indicated in the received SCI, p j =prio TX .

[0081] The sl-RS-ForSensing parameter in the above parameters can be used to instruct the terminal device to use the PSSCH-RSRP or PSCCH-RSRP measurement results for resource exclusion.

[0082] The sl-ResourceReservePeriodList parameter in the above parameters may be used to indicate the resource reservation period available in the resource pool.

[0083] The sl-SensingWindow parameter in the above parameters may be used to indicate the starting point T0 of the resource listening window, where T0 may be defined as the number of time slots corresponding to the sl-SensingWindow (in milliseconds).

[0084] The sl-TxPercentageList parameter in the above parameters can be used to configure the remaining resource ratio X after resource exclusion. TX , X can be defined as sl-TxPercentageList(prio TX ).

[0085] The sl-PreemptionEnable parameter in the above parameters can be used to indicate whether resource preemption (pre-emption) is activated in the resource pool, and if resource preemption is activated, the resource preemption priority prio pre The value of .

[0086] If the upper layer of the terminal device provides a resource reservation period P rsvp_TX , then P rsvp_TX Converted to the number of logical time slots P′ rsvp_TX .

[0087] As shown in FIG4 , the step of determining the resource subset by the physical layer of the terminal device may include steps 1) to 7) below.

[0088] Step 1) Define candidate single-slot resources R for transmission x,y Time slot Continuous L within subCH subchannels. The subchannel index is x+j, j=0,...,L subCH -1. The terminal device assumes that any L in the time range [n+T1,n+T2] subCH A continuous sub-channel corresponds to a single time slot resource.

[0089] T1 in the above time range can satisfy: 0≤T1≤T proc,1 , and the value of T1 can be determined by the terminal equipment. When the subcarrier spacing is 15kHz, 30kHz, 60kHz, and 120kHz, T proc,1 They are 3 time slots, 5 time slots, 9 time slots, and 17 time slots respectively.

[0090] If T 2min is less than the remaining packet delay budget of the data packet in time slots, then T 2min ≤T2≤PDB, and the value of T2 can be determined by the terminal device implementation. Otherwise, T2 is equal to PDB. PDB can be indicated by the upper layer of the terminal device. 2min The value set of can be {1,5,10,20}×2 μtime slots, where μ = 0, 1, 2, 3 corresponds to the case where the subcarrier spacing is 15kHz, 30kHz, 60kHz, 120kHz. The terminal device can send data based on its priority level. TX Determine T from this value set 2min .

[0091] The total number of candidate single-slot resources is M total .

[0092] Step 2), the resource listening window is defined as The time slots in the range of T0 are as described above. When the subcarrier spacing is 15kHz, 30kHz, 60kHz, or 120kHz, T proc,0 The time slots are 1, 1, 2 and 4 respectively. The terminal device shall monitor the time slots belonging to the sidelink resource pool within the resource listening window unless the terminal device performs a transmission operation on a certain time slot.

[0093] Step 3), set the parameter Th(p i ,p j ) is set to the i-th value of the sl-ThresPSSCH-RSRP-List configuration, where i = p i +(p j -1)*8.

[0094] Step 4), set S A Initialized to all candidate single-slot resources.

[0095] Step 5), if the following conditions are met, the terminal device should exclude S A Candidate resources R x,y :

[0096] Condition 1: The terminal device does not listen to the time slot in 2)

[0097] Condition 2: For the number P of logical time slots corresponding to any resource reservation period allowed in the resource pool configured by sl-ResourceReservePeriodList, y=m+P.

[0098] Step 6), if the following conditions are met, the terminal device should exclude S A Candidate resources R x,y :

[0099] Condition 1: The terminal device is in the time slot Receive SCI format 1-A, in which the 'Resource reservation period' field (if present) and the 'Priority' field indicate Prsvp_RX and prio RX ;

[0100] Condition 2: The RSRP measured for the received SCI is higher than Th(prio RX ,prio TX );

[0101] Condition 3: In the time slot The received SCI format 1-A indicates the reserved PSSCH resources and If the received SCI format 1-A contains the 'Resource reservation period' field, it is assumed that the time slot The received SCI indicates the same format and reserved resources as Overlap. Where q=1,2,…,Q,j=0,1,…,C resel -1. Here, P′ rsvp_RX It is from P rsvp_RX The number of logical time slots converted. rsvp_RX <T scal And n′-m≤P′ rsvp_RX , where if time slot n belongs to the set otherwise The first one after time slot n time slot; otherwise Q=1. T scal is the value in milliseconds converted from T2. resel is the number of PSSCH transmission opportunities to be selected. Indicates the set of logical time slots contained in the current resource pool.

[0102] Step 7), if the set S A The number of single-slot resources remaining in the time slot is less than X·M total , then the terminal device will Th(p i ,p j ) by 3dB and proceed to step 4).

[0103] The physical layer of the terminal equipment will be S A Report to the media access control (MAC) layer.

[0104] Downlink-based positioning

[0105] In downlink positioning, the downlink positioning reference signal (DL PRS) parameter configuration can include four layers: the positioning frequency layer, the TRP layer, the PRS resource set, and the PRS resource. The following describes the DL PRS parameter configuration in detail.

[0106] The network device can provide the terminal device with DL PRS configurations for four positioning frequency layers. The parameter structure of each positioning frequency layer provides the following DL PRS configuration parameters: DL PRS subcarrier spacing; DL PRS cyclic prefix (CP) length; DL PRS frequency domain resource bandwidth; DL PRS frequency domain starting frequency position; DL PRS frequency domain reference point "Point A"; and DL PRS comb size "Comb-N".

[0107] The value of the frequency domain resource bandwidth of the DL PRS may be the number of PRBs allocated to the DL PRS. In some cases, the minimum value of the frequency domain resource bandwidth of the DL PRS may be 24 PRBs, and the granularity may be 4 PRBs. The maximum value of the frequency domain resource bandwidth of the DL PRS may be 272 PRBs.

[0108] The frequency domain starting frequency position of the DL PRS resource is used to indicate the index of the starting PRB of the DL PRS in the frequency domain resource allocation. The PRB index is defined relative to the frequency domain reference point "Point A" of the DL PRS.

[0109] The above DL PRS configuration parameters corresponding to each positioning frequency layer can be applied to all DL PRS resources contained in the positioning frequency layer. That is to say, in a positioning frequency layer, all DL PRS from multiple different TRPs can use the same subcarrier spacing and CP length, the same comb size, be sent on the same frequency subband, and occupy the same bandwidth. Such a design can support terminal devices to simultaneously receive and measure DL PRS from multiple different TRPs on the same frequency point.

[0110] In some scenarios, the parameters of the TRP layer may include an ID parameter for uniquely identifying and locating the TRP, such as the physical cell ID of the TRP, the NR cell global identifier (NCGI) of the TRP, the absolute radio frequency channel number (ARFCN) of the TRP, etc. Typically, up to two DL PRS resource sets can be configured in each TRP layer.

[0111] For each DL PRS resource set, the configuration parameters of the DL PRS resource set can be applied to all DL PRS resources contained in this DL PRS resource set. The configuration parameters of a DL PRS resource set include one or more of the following parameters: DL PRS resource set identification ID (expressed by "nr-DL-PRS-ResourceSetID"); DL PRS transmission period and time slot offset (expressed by "dl-PRS-Periodicity-and-ResourceSetSlotOffset"); DL PRS resource repetition factor (expressed by "dl-PRS-ResourceRepetitionFactor"); DL PRS resource repeated transmission time interval (expressed by "dl-PRS-ResourceTimeGap"); DL PRS muting configuration; and the number of OFDM symbols occupied by DL PRS resources (expressed by "dl-PRS-NumSymbols").

[0112] The transmission period and time slot offset of the above-mentioned DL PRS are used to indicate the time domain transmission behavior of all DL PRS resources in the DL PRS resource set. In some implementations, the minimum value of the configurable DL PRS transmission period is 4 milliseconds, and the maximum value of the configurable DL PRS transmission period is 10240 milliseconds. Currently, the configuration of DL PRS supports flexible subcarrier spacing including 15KHz, 30KHz, 60KHz and 120KHz. Under different subcarrier spacing conditions, the configurable DL PRS transmission period value range can be the same. Figure 5 shows a schematic diagram of resources for transmitting DL PRS when the comb size is 2 and the resource element (RE) offset is 0 and 1 respectively.

[0113] The repetition factor of the above-mentioned DL PRS resource is used to indicate the number of repeated transmissions of the DL PRS resource in each DL PRS transmission cycle. At present, the repeated transmission of the same DL PRS resource can be used by the terminal device to aggregate the DL PRS energy of multiple transmissions, which helps to increase the coverage distance of the DL PRS and improve the positioning accuracy. In the FR2 system, the repeated transmission of the DL PRS resource can also be used by the terminal device to perform receiving beam scanning operations. The terminal device can use different receiving beams to receive the repeated transmission of the same DL PRS resource, so as to find the best TRP transmission beam and terminal device receiving beam matching. On the other hand, the repeated transmission of DL PRS resources will increase the transmission overhead of DL PRS. At present, in order to control the transmission overhead, in the 3GPP NR R16 specification, the repetition factor of DL PRS resources is 1, 2, 4, 6, 8, 16 and 32.

[0114] The time interval for repeated transmission of the DL PRS resource is used to indicate the number of time slots between two consecutive repeated transmissions of the same DL PRS resource.

[0115] The above-mentioned DL PRS silence configuration is used to instruct DL PRS not to send DL PRS on certain allocated time-frequency resources. The silence configuration can be understood as DL PRS not being sent on all allocated time-frequency resources, but intentionally not being sent on certain designated time-frequency resources. On the one hand, the silence configuration can avoid conflicts between DL PRS and other signals (such as SSB). On the other hand, the silence configuration can avoid interference between signals sent by different TRPs. For example, the silence configuration can instruct the TRP that is closer to the terminal device not to send DL PRS, and configure the TRP that is farther away from the terminal device to send DL PRS. In this way, the terminal device can receive the DL PRS from the farther TRP without being interfered with by the TRP that instructs silence.

[0116] The number of OFDM symbols occupied by the above-mentioned DL PRS resource is used to indicate the number of OFDM symbols allocated to one DL PRS resource within one time slot.

[0117] Typically, the DL PRS configuration parameters included in the parameters of the above-mentioned TRP layer can be applied to all DL PRS resources in the DL PRS resource set corresponding to the TRP layer. Therefore, the DL PRS resources belonging to the same DL PRS resource set will send DL PRS with the same transmission period and the same number of repeated transmissions, and the DL PRS will occupy the same number of OFDM symbols.

[0118] In some implementations, for each DL PRS resource, the DL PRS configuration parameters may also include: DL PRS resource identification ID (expressed by "nr-DL-PRS-ResourceID"); DL PRS sequence ID (expressed by "dl-PRS-SequenceID"); DL PRS starting frequency domain resource unit offset (expressed by "dl-PRS-CombSizeN-AndReOffset"); DL PRS resource slot offset (expressed by "dl-PRS-ResourceSlotOffset"); DL PRS OFDM symbol offset (expressed by "dl-PRS-ResourceSymbolOffset"); DL PRS quasi co-location (QCL) information (expressed by "dl-PRS-QCL-Info").

[0119] The starting frequency domain resource unit offset of the DL PRS is used to indicate the frequency domain resource unit offset value used for resource mapping on the first allocated OFDM symbol of the DL PRS resource in a time slot. Generally, based on this parameter and the relative offset value defined in TS38.211, the terminal device can determine the frequency domain resource unit offset value used for resource mapping on each OFDM symbol.

[0120] The resource time slot offset of the DL PRS is used to indicate the time slot offset relative to the DL PRS resource set. This parameter can determine the time slot position of each DL PRS resource.

[0121] The OFDM symbol offset of the DL PRS is used to indicate the time-frequency resource allocation position of the DL PRS resource in a time slot. This parameter can be used to indicate the index number of the starting OFDM symbol in the time slot.

[0122] The QCL information of the DL PRS is used to indicate the QCL information of the DL PRS.

[0123] SL-U

[0124] When performing sidelink transmission on unlicensed spectrum, sidelink transmission needs to meet specific regulatory requirements, including minimum occupied channel bandwidth (OCB) and maximum power spectral density (PSD). For OCB requirements, when the UE uses the channel for data transmission, the occupied channel bandwidth must be no less than 80% of the channel bandwidth; for maximum power spectral density requirements, the power transmitted by the UE per 1MHz cannot exceed 10dBm. To meet OCB and PSD regulatory requirements, sidelink transmission on unlicensed spectrum needs to adopt an interlaced resource block (IRB) structure. An IRB consists of N discrete RBs in the frequency domain, and a total of M IRBs are included in the frequency band. The RBs included in the mth IRB are {m, M+m, 2M+m, 3M+m, ...}.

[0125] Figure 6 shows a schematic diagram of the interleaved resource block structure. As shown in Figure 6, the system bandwidth includes 20 RBs, including 5 IRBs (i.e., M = 5), each IRB includes 4 RBs (i.e., N = 4), and the frequency domain interval between two adjacent RBs in the same IRB is the same, i.e., 5 RBs apart. The numbers in the boxes in Figure 6 represent the IRB index.

[0126] In the SL-U system, if IRB-based resource allocation granularity is adopted, channels such as the PSCCH and PSSCH in the SL-U system should all be based on the IRB structure. Figure 7 shows an example of the frame structure of the SL-U system, where the time slot only includes the PSCCH and PSSCH, but not the PSFCH. As shown in Figure 7, the bandwidth includes 20 RBs, and 5 IRB resources are configured, i.e., M = 5. Each IRB resource includes 4 RBs, and the numbers in the boxes represent the IRB index. In Figure 7, the system configures the PSCCH to occupy one IRB resource and two OFDM symbols in the time domain. The PSSCH uses IRB granularity, with the first symbol in the time slot being an AGC symbol and the last symbol being a GP symbol. In Figure 7, PSSCH 1 occupies IRB #0 and IRB #1, and its corresponding PSCCH 1 occupies IRB #0. PSSCH 2 occupies IRB #2, and its corresponding PSCCH 2 also occupies IRB #2. It should be noted that, for simplicity, FIG7 does not show the resources occupied by the second-order SCI and the resources occupied by the PSCCH DMRS and PSSCH DMRS.

[0127] In unlicensed spectrum, UEs can access channels using listen-before-talk (LBT). LBT uses a 20MHz granularity in the frequency domain, with each 20MHz interval being called an RB Set. A carrier can contain multiple RB Sets, separated by guard intervals, as shown in Figure 8.

[0128] In unlicensed spectrum, UEs must first perform LBT before they can access the channel. However, the time it takes for the UE to complete LBT is uncertain. In some implementations, if a UE is restricted to transmitting only from the start of a timeslot, it may miss a transmission opportunity due to failure to complete LBT before that time. Therefore, SL-U considers adding a transmission starting point within a timeslot, i.e., multi-starting point transmission. For example, the additional starting point can be the third or fourth OFDM symbol in the timeslot.

[0129] Sidelink-based positioning

[0130] In 3GPP R-17, 3GPP RAN conducted studies on sidelink-based positioning, for example, on "NR positioning enhancement" and "scenarios and requirements for NR positioning use cases in coverage, partial coverage and out of coverage". Among them, the study on "scenarios and requirements for NR positioning use cases in coverage, partial coverage and out of coverage" focused on V2X and public safety use cases. In addition, some organizations (such as the 3GPP SA1 working group) have also developed requirements for "ranging-based services" and positioning accuracy requirements for IoT use cases in out-of-coverage scenarios. 3GPP needs to study and develop sidelink-based positioning solutions to support the use cases, scenarios and requirements identified in these activities.

[0131] To improve positioning accuracy, especially for UEs outside cellular network coverage, 3GPP completed feasibility and performance studies on positioning technology based on sidestream positioning reference signals in the early stages of Release 18. Next, 3GPP will standardize solutions for sidestream positioning (including ranging and direction finding) in NR systems. This sidestream positioning solution primarily includes the following standardization work.

[0132] Standardization Work 1: Standardization of the Sidelink Positioning Reference Signal (SL PRS). The SL PRS can use a frequency-domain structure based on a comb pattern (including full RE mapping mode) and a pseudo-random sequence format. The SL PRS can be designed based on the existing DL-PRS sequence and support a maximum SL PRS bandwidth of 100 MHz in FR1.

[0133] Standardization work 2: Standardize the measurement quantities used for side-by-side positioning. For example, standardize the measurement quantities used to support SL RTT, SL-AOA, and SL-TDOA positioning methods.

[0134] Standardization work three: Standardize the resource allocation scheme of SL PRS. For example, the resource allocation scheme of SL PRS includes resource allocation scheme 1 and scheme 2, where scheme 1 corresponds to the network allocating SL PRS resources, and scheme 2 corresponds to the UE autonomously selecting SL PRS resources. In some implementations, the system supports SL PRS and Rel-16 / 17 / 18 sideline communication shared resource pool and SL PRS dedicated resource pool. In some implementations, for scheme 2, it is necessary to study and standardize one or more of the following: resource selection based on channel sensing, random resource selection, congestion control, and resource selection based on UE coordination.

[0135] Standardization work 4: Standardize the open-loop power control mechanism of SL PRS transmission, etc.

[0136] In the second resource selection mode, when the physical layer of the terminal device performs resource exclusion, it uses single-slot resources as resource units, that is, each element in the candidate resource set and the resource set finally reported to the MAC layer is a single-slot resource. Among them, single-slot resources are resources composed of consecutive L_subch sub-channels in a time slot. However, in SL PRS resource selection, there may be multiple time-divided SL PRS resources in a time slot, and the configuration of different SL PRS resources may also be different. How the terminal device should select and reserve SL PRS resources is an unresolved issue.

[0137] In response to the above problems, the embodiments of the present application are described in detail below.

[0138] The embodiments of the present application can be applied to both licensed spectrum and unlicensed spectrum.

[0139] The SL PRS resource mentioned in the embodiment of the present application may refer to a time-frequency resource used for SL PRS transmission within a time slot.

[0140] In some embodiments, a SL PRS resource may include one or more of the following features: an identification (ID) of the SL PRS resource, the comb tooth size and RE offset of the SL PRS sent within the SL PRS resource, the starting OFDM symbol of the SL PRS resource in the time slot and the number of consecutive OFDM symbols occupied, and the RB occupied by the SL PRS resource in the above-mentioned OFDM symbol.

[0141] In some embodiments, SL PRS resources within a resource pool may be determined based on configuration information of a network device.

[0142] In some embodiments, SL PRS resources within a resource pool may be determined based on pre-configuration information.

[0143] In some embodiments, the configuration information or pre-configuration information of the network device may indicate all of the above characteristics of the SL PRS resource.

[0144] In some embodiments, the configuration information or pre-configuration information of the network device may indicate some of the above-mentioned features of the SL PRS resource. As an example, the configuration information or pre-configuration information of the network device may indicate the ID of the SL PRS resource, the comb tooth size and RE offset of the SL PRS sent within the SL PRS resource, and the starting OFDM symbol of the SL PRS resource in the time slot and the number of consecutive OFDM symbols occupied, but does not explicitly indicate the RB occupied by the SL PRS resource. In this case, the RB occupied by the SL PRS resource may be the same as the RB configured in the resource pool.

[0145] FIG9 is a flow chart illustrating a resource selection method according to an embodiment of the present application. The method of FIG9 can be applied to the autonomous resource selection mode of a terminal device, i.e., the second resource selection mode mentioned above. The method of FIG9 includes steps S910 and S920. These steps are described in detail below with examples.

[0146] In step S910 , the physical layer of the terminal device determines a first candidate resource set within a resource selection window.

[0147] In some embodiments, before step S910, a higher layer (such as a MAC layer) of the terminal device may send one or more parameters related to SL PRS transmission to the physical layer of the terminal device. The parameters may be used for selecting the first candidate resource set.

[0148] For example, a higher layer (such as a MAC layer) of the terminal device may send one or more of the following parameters to the physical layer of the terminal device: the resource pool to which the first candidate resource set belongs (hereinafter referred to as the first resource pool), the physical layer priority (prio TX ), the remaining tolerable SL PRS transmission delay, and the resource reservation period P rsvp_TX (Unit is milliseconds (ms)). Further, if the upper layer (such as MAC layer) of the terminal device provides a reservation period P of SL PRS resources rsvp_TX (unit: ms), then P rsvp_TX Converted to the number of logical time slots P′ rsvp_TX .

[0149] In some embodiments, the resource selection window may be [n+T1, n+T2].

[0150] In some embodiments, 0≤T1≤T proc,1 Furthermore, in some embodiments, the value of T1 may be determined by the implementation of the terminal device.

[0151] In some embodiments, T proc,1 The value of is associated with the subcarrier spacing. For example, when the subcarrier spacing is 15, 30, 60, or 120 kHz, T proc,1 There are 3, 5, 9 and 17 time slots respectively.

[0152] In some embodiments, if T 2min is less than the remaining tolerable SL PRS transmission delay D in time slots, then T 2min ≤T2≤D. Further, in some embodiments, the value of T2 may be determined by the implementation of the terminal device.

[0153] In some embodiments, if T 2min If T2 is greater than or equal to the remaining tolerable SL PRS transmission delay D in time slots, then T2 is equal to D.

[0154] In some embodiments, the value of D may be indicated by a higher layer (such as a MAC layer) of the terminal device.

[0155] In some embodiments, T 2min The value of can be associated with the subcarrier spacing. For example, T 2min The value set is {1,5,10,20}×2 μ time slots, where μ = 0, 1, 2, 3 corresponds to the case where the subcarrier spacing is 15, 30, 60, 120 kHz. Further, in some embodiments, the terminal device can select the subcarrier spacing according to the priority of the data to be sent. TX Determine T from this value set 2min .

[0156] In some embodiments, the first candidate resource set may adopt S A The first candidate resource set may also be called an SL PRS resource subset.

[0157] In some embodiments, the resources in the first candidate resource set are SL PRS resources in the first resource pool.

[0158] In some embodiments, SL PRS resources are configured / pre-configured in each time slot in the first resource pool, and the PRBs occupied by the configured / pre-configured SL PRS resources are the same as the PRBs included in the resource pool.

[0159] In some embodiments, the first candidate resource set may be an initialized candidate resource set, that is, a resource set before resource exclusion.

[0160] In some embodiments, the resources in the first candidate resource set are SL PRS resources within the resource selection window. For example, the resources in the first candidate resource set are part or all of the SL PRS resources in the first resource pool that belong to the resource selection window.

[0161] In some embodiments, the resources in the first candidate resource set belong to a first resource pool, the first resource pool includes one or more time slots within a resource selection window, and the first candidate resource set may include all SL PRS resources in the one or more time slots. For example, if the time slots of the first resource pool within the resource selection window include a total of X time slots (X is a positive integer greater than or equal to 1), then the first candidate resource set may include all SL PRS resources in the X time slots.

[0162] In some embodiments, the SL PRS resources in the one or more time slots are determined based on configuration information or pre-configuration information of the network device. In other words, the candidate SL PRS resources can be all SL PRS resources configured / pre-configured in the time slots belonging to the first resource pool within the resource selection window. This method of determining the candidate resource set can maximize the number of candidate resources for the terminal device, thereby reducing the possibility of resource collisions between different terminal devices.

[0163] In some embodiments, the resources in the first candidate resource set are resources located within a specific OFDM symbol. Further, in some embodiments, the specific OFDM symbol may be indicated by a higher layer (such as a MAC layer) of the terminal device.

[0164] In some embodiments, the resources in the first candidate resource set are SL PRS resources determined based on the first indication information of the MAC layer. For example, the MAC layer may send a first indication information to the physical layer of the terminal device, and the first indication information is used to indicate the SL PRS resource ID. As an example, each time slot in the first resource pool is configured / pre-configured with an SL PRS resource, and each SL PRS resource configured / pre-configured in a time slot corresponds to a unique SL PRS resource ID. The upper layer (MAC layer) of the terminal device may request the physical layer of the terminal device to determine the first candidate resource set, using the first indication information to indicate one or more SL PRS resource IDs that may be included in the first candidate resource set. Accordingly, when the physical layer of the terminal device determines the first candidate resource set, the first candidate resource set may be initialized to the SL PRS resources corresponding to the one or more SL PRS resource IDs indicated by the upper layer (MAC layer) of the terminal device in the time slot belonging to the first resource pool within the resource selection window [n+T1, n+T2].

[0165] In some embodiments, the resources in the first candidate resource set are SL PRS resources that meet the first condition within the resource selection window. The first condition can be set according to the actual positioning requirements, and the embodiments of the present application do not specifically limit this. The first condition can be set, for example, by the upper layer of the terminal device. By setting the first condition, the upper layer of the terminal device can exclude the SL PRS resources that cannot meet the positioning requirements in the configured / pre-configured SL PRS resources from the first candidate resource set, thereby improving the positioning accuracy.

[0166] In some embodiments, the first condition may be associated with one or more of the following: the number of symbols occupied by the SL PRS resource; the comb tooth size corresponding to the SL PRS resource; and the bandwidth occupied by the SL PRS resource.

[0167] For example, the first condition may include that the number of symbols occupied by the SL PRS resource is greater than or equal to a first threshold.

[0168] For another example, the first condition may include that the number of symbols occupied by the SL PRS resource is less than or equal to a second threshold.

[0169] For another example, the first condition may include that the comb tooth size corresponding to the SL PRS resource is greater than or equal to a third threshold.

[0170] For another example, the first condition may include that the comb tooth size corresponding to the SL PRS resource is less than or equal to a fourth threshold.

[0171] For another example, the first condition may include that the bandwidth occupied by the SL PRS resource is greater than or equal to a fifth threshold; and

[0172] For another example, the first condition may include that the bandwidth occupied by the SL PRS resource is less than or equal to a sixth threshold.

[0173] The first threshold mentioned above may be determined based on, for example, indication information or pre-configuration information of the MAC layer.

[0174] The second threshold mentioned above may be determined based on, for example, indication information or pre-configuration information of the MAC layer.

[0175] The third threshold mentioned above may be determined based on, for example, indication information or pre-configuration information of the MAC layer.

[0176] The fourth threshold mentioned above may be determined based on, for example, indication information or pre-configuration information of the MAC layer.

[0177] The fifth threshold mentioned above may be determined based on, for example, indication information or pre-configuration information of the MAC layer.

[0178] The sixth threshold mentioned above may be determined based on, for example, indication information or pre-configuration information of the MAC layer.

[0179] It should be noted that the first condition may be a combination of the conditions described above. Two more specific examples are given below.

[0180] Example 1: The first condition includes that the number of symbols occupied by the SL PRS resource is greater than or equal to the first threshold, and the comb tooth size corresponding to the SL PRS resource is less than or equal to the fourth threshold

[0181] In this example, each time slot in the first resource pool is configured / pre-configured with SL PRS resources. Different SL PRS resources may contain different numbers of OFDM symbols and use different comb tooth sizes. The upper layer of the terminal device requests the physical layer of the terminal device to determine the first candidate resource set S A When determining the first candidate resource set S A When the first candidate resource set S A Initialized as SL PRS resources in the time slot belonging to the first resource pool within the resource selection window [n+T1, n+T2], which occupy more than or equal to M OFDM symbols and whose comb tooth size is less than or equal to N. Through this resource indication method, the upper layer of the terminal device can remove the SL PRS resources that cannot meet the positioning requirements from the configured / pre-configured SL PRS resources from the first candidate resource set S A Therefore, the positioning accuracy is improved.

[0182] Example 2: The first condition includes one or more of the following: the number of symbols occupied by the SL PRS resource is greater than or equal to the first threshold, the comb tooth size corresponding to the SL PRS resource is less than or equal to the fourth threshold, and the bandwidth occupied by the SL PRS resource is greater than or equal to the fifth threshold.

[0183] In this example, each time slot in the first resource pool is configured / pre-configured with an SL PRS resource. Different SL PRS resources may contain different numbers of OFDM symbols, use different comb tooth sizes, and occupy different numbers of PRBs (the bandwidth may be represented by the number of PRBs). The upper layer of the terminal device may request the physical layer of the terminal device to determine the first candidate resource set S A When the first candidate resource set S is indicated A The minimum number of OFDM symbols M (i.e., the first threshold), the maximum comb tooth size N (i.e., the fourth threshold), and the minimum number of PRBs B (i.e., the fifth threshold) are selected. A When the first candidate resource set S AInitialized as SL PRS resources in the time slot belonging to the first resource pool within the resource selection window [n+T1, n+T2], with the number of OFDM symbols occupied greater than or equal to M, and / or the comb tooth size less than or equal to N, and / or the bandwidth greater than or equal to B.

[0184] 9 , in step S920 , the physical layer of the terminal device reports a second candidate resource set to the MAC layer. The second candidate resource set may include part or all of the resources in the first candidate resource set.

[0185] In some embodiments, the second candidate resource set is a candidate resource set obtained after excluding resources in the first candidate resource set.

[0186] In some embodiments, the SL PRS resource r excluded from the first candidate resource set may be an SL PRS resource r that satisfies the following conditions one and two.

[0187] Condition 1: The terminal device has no listening slot in the resource listening window And the number P of logical time slots corresponding to any allowed resource reservation period configured / pre-configured in the first resource pool.

[0188] Condition 2: The time slot where the SL PRS resource r is located is

[0189] In some embodiments, the SL PRS resource r excluded from the first candidate resource set may be an SL PRS resource r that satisfies the following conditions a to c.

[0190] Condition a: The terminal device is in the time slot Receive SCI format F, the resource reservation period (if any) and 'Priority' field indicated by the SCI format F are respectively indicated as P rsvp_RX and prio RX , where SCI format F is the SCI format used to indicate SL PRS transmission.

[0191] Condition b: The RSRP measured for the received SCI is higher than Th(prio RX ,prio TX ), where TH(prio RX ,prio TX ) is the terminal device according to prio TX , prio RXand the RSRP threshold determined by the configuration information or pre-configuration information of the network device. The RSRP measured for the received SCI mentioned here may be the RSRP measured on the DMRS of the PSCCH carrying the SCI, or the RSRP measured on the SL PRS indicated by the SCI.

[0192] Condition c: In the time slot When the SL PRS resource reserved by the received SCI format F overlaps with the SL PRS resource r, or the resource reservation period field exists in the received SCI format F, it is assumed that in the time slot The received SCI indications of the same format and the reserved resources overlap with the SL PRS resources r. Where q = 1, 2, ..., Q, j = 0, 1, ..., C resel -1. Here, P′ rsvp_RX It is from P rsvp_RX The number of logical time slots converted; if P rsvp_RX <T scal , and n′-m≤P′ rsvp_RX , where if time slot n belongs to the set otherwise The first one after time slot n time slot; otherwise Q=1. T scal is the value in milliseconds converted from T2. resel is the number of SL PRS transmission opportunities to be selected. Represents the set of logical time slots contained in the resource pool R.

[0193] Because there may be in-band leakage interference between SL PRS resources occupying different RE offsets in the same OFDM symbol. Therefore, if a SL PRS resource is excluded because it is occupied by other terminal devices, other resources may also be unusable due to in-band leakage interference. Therefore, in some embodiments, the resources excluded from the first candidate resource set may include a first resource, which is a first SCI indication or a reserved resource (that is, the first resource is excluded because it is occupied by other terminal devices). Furthermore, in order to reduce in-band leakage interference, a second resource may also be excluded, which occupies the same symbol as the first resource, and the second resource has a different RE offset from the first resource.

[0194] Alternatively, in some embodiments, whether the second resource is excluded is determined based on a measurement result of the first SCI (such as a measurement result of a received signal strength indication (RSSI)).

[0195] For example, the measurement result of the RSRP of the first SCI by the terminal device excludes the first resource (the method of excluding the first resource is specifically referred to conditions a to c in the above text). Then, the terminal device can further measure the RSSI for the received first SCI. The RSSI for the received SCI mentioned here can be defined as the average received energy measured on the bandwidth and one or more OFDM symbols where the SL PRS indicated by the first SCI is located. If the RSSI is greater than or equal to the seventh threshold, the terminal device can further exclude the second resource with a different RE offset from the first resource within the OFDM symbol occupied by the first resource. The seventh threshold can be determined by the configuration information or pre-configuration information of the network device.

[0196] Alternatively, in some embodiments, whether the second resource is excluded may be determined based on the implementation of the terminal device.

[0197] Because multiple SL PRS resources may be associated with the same PSCCH resource, if one of the multiple SL PRS resources is excluded, it may mean that the PSCCH resource associated with them is already occupied. Therefore, in some embodiments, the terminal device may exclude some or all of the remaining SL PRS resources in the multiple SL PRS resources. For example, the resources excluded from the first candidate resource set may include a third resource. The third resource may be excluded because the terminal device does not listen to a time slot in the resource listening window, or it may be excluded because it is occupied by other terminal devices. If the third resource and the fourth resource are associated with the same PSCCH, the fourth resource may be excluded from the first candidate resource set.

[0198] The embodiment of the present application does not specifically limit the triggering condition for the physical layer of the terminal device to determine the first candidate resource set within the resource selection window described in step S910. It can be triggered when the terminal device needs to use the SL PRS resource to transmit the SL PRS, or it can be triggered when the SL PRS resource associated with the first sideline authorization does not meet a certain condition (hereinafter referred to as the second condition). The first sideline authorization mentioned here can be the sideline authorization that the terminal device has selected for SL PRS transmission.

[0199] In some embodiments, the second condition may be associated with one or more of the following: the transmission time corresponding to the PSCCH in one or more transmission opportunities of the SL PRS; and the activation time of the discontinuous reception (DRX) of the receiving device of the SL PRS; wherein the one or more transmission opportunities of the SL PRS (such as multiple continuous transmission opportunities of the SL PRS) are associated with the first sideline grant (SL grant) (or the one or more transmission opportunities are one or more transmission opportunities included in the first sideline grant). For example, the second condition includes that the transmission time corresponding to the PSCCH in the one or more transmission opportunities does not belong to the activation time of the DRX. The activation time of the DRX may refer to the sideline DRX activation time (SL DRX active time)

[0200] In some embodiments, the second condition may be that the SL PRS resources associated with the first sideline grant do not match the first SL PRS to be sent. In other words, the SL PRS resources associated with the first sideline grant cannot meet the requirements of the first SL PRS to be sent.

[0201] For example, the second condition may include one or more of the following: the period of one or more transmission opportunities of the SL PRS associated with the first sideline authorization does not match the period of the first SL PRS; the number of symbols contained in one or more SL PRS resources (or any SL PRS resource) associated with the first sideline authorization does not match the number of symbols occupied by the first SL PRS; and the comb tooth size of one or more SL PRS resources (or any SL PRS resource) associated with the first sideline authorization does not match the comb tooth size corresponding to the first SL PRS.

[0202] The mismatch between the period of one or more transmission opportunities of the SL PRS associated with the first side row authorization and the period of the first SL PRS may include: the period of one or more transmission opportunities of the SL PRS associated with the first side row authorization is greater than the period of the first SL PRS. Alternatively, the mismatch between the period of one or more transmission opportunities of the SL PRS associated with the first side row authorization and the period of the first SL PRS may include: the period of one or more transmission opportunities of the SL PRS associated with the first side row authorization is less than the period of the first SL PRS.

[0203] The mismatch between the number of symbols contained in one or more SL PRS resources associated with the first sideline authorization and the number of symbols occupied by the first SL PRS may include: the number of OFDM symbols contained in any SL PRS sending resource associated with the first sideline authorization is less than the number of OFDM symbols required by the first SL PRS.

[0204] The mismatch between the comb tooth size of one or more SL PRS resources associated with the first side row authorization and the comb tooth size corresponding to the first SL PRS may include: the comb tooth size of one or more SL PRS resources associated with the first side row authorization is larger than the comb tooth size required by the first SL PRS. Alternatively, the mismatch between the comb tooth size of one or more SL PRS resources associated with the first side row authorization and the comb tooth size corresponding to the first SL PRS may include: the comb tooth size of one or more SL PRS resources associated with the first side row authorization is smaller than the comb tooth size required by the first SL PRS.

[0205] As mentioned above, some or all of the resources in the first candidate resource set may be excluded for some reasons. In some embodiments, if the number of SL PRS resources remaining in the first candidate resource set is less than X·M total , the terminal device can RX ,prio TX The value of ) (represents the RSRP threshold, for details, refer to the description of condition b above) is increased by a certain value (such as 3dB) and the resource exclusion step is executed again. total It can be the number of SL PRS resources included in the first candidate resource set when it is initialized.

[0206] The following describes the embodiments of the present application in more detail with reference to specific examples. It should be noted that the following examples are only intended to help those skilled in the art understand the embodiments of the present application, and are not intended to limit the embodiments of the present application to the specific numerical values ​​or specific scenarios illustrated. Those skilled in the art can obviously make various equivalent modifications or changes based on the examples given, and such modifications or changes also fall within the scope of the embodiments of the present application. It should be noted that in the examples below, the first candidate resource subset mentioned above is referred to as the SL PRS resource subset S A , the first resource pool mentioned above is called resource pool R.

[0207] The terminal device in this application can trigger the SL PRS resource selection or reselection of a SL process (sidelink process) in the selected resource pool when one of the following conditions is met:

[0208] Condition m: If, in N consecutive SL PRS transmission opportunities included in the selected sidelink grant (SL grant) for SL PRS transmission, the time of the PSCCH for indicating SL PRS transmission does not belong to the DRX activation time of the SL PRS target receiving terminal.

[0209] Condition n: If the SL PRS transmission opportunity or SL PRS transmission resource included in the sidelink grant selected for SL PRS transmission cannot meet the requirements of the SL RPS to be transmitted.

[0210] For example, the period of the SL PRS transmission opportunity included in the sidelink grant selected for SL PRS transmission is greater than the period of the SL PRS to be transmitted.

[0211] For another example, the number of OFDM symbols included in any SL PRS transmission resource included in the sidelink grant selected for SL PRS transmission is less than the number of OFDM symbols required by the SL PRS to be transmitted.

[0212] For another example, the comb tooth size of any SL PRS transmission resource included in the sideline grant selected for SL PRS transmission is larger than the comb tooth size required by the SL PRS to be transmitted.

[0213] In this example, for the terminal device autonomous resource selection mode, the terminal device's upper layer can request the terminal device's physical layer to determine the SL PRS resource subset, from which the terminal device's upper layer will select resources for SL PRS transmission. To trigger this process, in time slot n, the terminal device's upper layer provides the physical layer with one or more of the following parameters related to SL PRS transmission: the resource pool R of the resource subset, the physical layer priority (prio TX ), the remaining tolerable SL PRS sending delay.

[0214] Optionally, the upper layer of the terminal device may also provide the physical layer with a resource reservation period P rsvp_TX (Unit: ms).

[0215] If the higher layer of the terminal device provides the SL PRS resource reservation period P rsvp_TX (unit: ms), then P rsvp_TX Converted to the number of logical time slots P′ rsvp_TX .

[0216] The steps for the terminal device physical layer to determine the SL PRS resource subset are as follows:

[0217] 1) The terminal device determines the candidate SL PRS resources available to the terminal device in the time slots belonging to the resource pool R within the time range [n+T1, n+T2], where:

[0218] -0≤T1≤T proc,1 The specific value is determined by the terminal device implementation. When the subcarrier spacing is 15, 30, 60, or 120 kHz, T proc,1 There are 3, 5, 9 and 17 time slots respectively.

[0219] -If T 2min is less than the remaining tolerable SL PRS transmission delay D in time slots, then T 2min ≤T2≤D, the specific value is determined by the terminal device implementation. Otherwise, T2 is equal to D, where the value of D is indicated by the terminal device upper layer. 2min The value set is {1,5,10,20}×2 μ time slots, where μ = 0, 1, 2, 3 corresponds to the case where the subcarrier spacing is 15, 30, 60, 120 kHz. The terminal device uses the priority of its own data to be sent, prio TX Determine T from this value set 2min .

[0220] The total number of candidate SL PRS resources available to the terminal device in the time slots belonging to resource pool R within [n+T1, n+T2] is M total .

[0221] 2) Determine the resource listening window and perform resource listening. The resource listening window can be defined in the manner described in the section "Second Resource Selection Mode in NR SL".

[0222] 3) Set S A Initialized to the M total candidate SL PRS resources.

[0223] 4) If the following conditions are met, the terminal device should exclude S A Candidate SL PRS resources within r:

[0224] - The terminal device does not listen to the time slot in 2)

[0225] - For any logical time slot number P corresponding to any resource reservation period configured / pre-configured in the resource pool, the time slot where the candidate SL PRS resource r is located is

[0226] 5) If the following conditions are met, the terminal device should exclude S A Candidate SL PRS resources within r:

[0227] a) The terminal device is in the time slot Received SCI format F, in which the indicated resource reservation period (if any) and 'Priority' field are respectively indicated as P rsvp_RX and prio RX ; Wherein SCI format F is the SCI format used to indicate SL PRS transmission.

[0228] b) The RSRP measured for the received SCI is higher than Th(prio RX ,prio TX ), where Th(prio RX ,prio TX ) is the terminal device according to prio TX , prio RX and an RSRP threshold determined by network configuration / pre-configuration. The RSRP measured for the received SCI may be the RSRP measured on the DMRS of the PSCCH carrying the SCI, or the RSRP measured on the SL PRS indicated by the SCI.

[0229] c) In time slot When the SL PRS resources reserved by the received SCI format F overlap with r, or when the resource reservation period field exists in the received SCI format F, it is assumed that in the time slot The received SCI indications of the same format and the reserved resources overlap with r. Where q = 1, 2, ..., Q, j = 0, 1, ..., C resel -1. Here, P′ rsvp_RX It is from P rsvp_RX The number of logical time slots converted; if P rsvp_RX <T scal And n′-m≤P′ rsvp_RX , where if time slot n belongs to the set otherwise The first one after time slot n time slot; otherwise Q=1. T scal is the value in milliseconds converted from T2. resel is the number of SL PRS transmission opportunities to be selected. Represents the set of logical time slots contained in the resource pool R.

[0230] 6) Because there is in-band leakage interference between SL PRS resources occupying different RE offsets in the same OFDM symbol, if one of the SL PRS resources is excluded because it is occupied by other terminal devices, the other resources may also be unusable due to in-band leakage interference. Therefore, optionally, the terminal device can further measure the RSSI for the received SCI, and the RSSI for the received SCI is defined as the average received energy measured on the bandwidth and one or more OFDM symbols where the SL PRS indicated by the SCI is located. If the RSSI is greater than a specific threshold, the terminal device further excludes one or more SL PRS resources in the OFDM symbol where resource r is located that occupy a different RE offset from resource r. The specific threshold is configured or pre-configured by the network. Alternatively, the terminal device can exclude one or more SL PRS resources in the OFDM symbol where resource r is located that occupy a different RE offset from SL PRS resource r based on autonomous implementation.

[0231] 7) Because multiple SL PRS resources may be associated with the same PSCCH resources, if one of the multiple SL PRS resources is excluded, it means that the PSCCH resources associated with them have been occupied. Therefore, optionally, the terminal device excludes the remaining SL PRS resources among the multiple SL PRS resources.

[0232] 8) If the set S A The number of single-slot resources remaining in the time slot is less than X·M total , the terminal device will Th(prio RX ,prio TX ) by 3dB and execute step 3).

[0233] The physical layer of the terminal equipment will be S A (i.e. the final determined SL PRS resource subset) is reported to the MAC layer.

[0234] In this example, the terminal device may determine the candidate SL PRS resources available to the terminal device in the time slot belonging to the resource pool R within the resource listening window [n+T1, n+T2] in one of the following ways, or initialize the set S A :

[0235] Method 1: The candidate SL PRS resources are all SL PRS resources configured / pre-configured in the time slots belonging to the resource pool within the resource selection window

[0236] In the first approach, SL PRS resources are configured / pre-configured in each time slot in the resource pool, and the PRBs occupied by the configured / pre-configured SL PRS resources are always the same as the PRBs contained in the resource pool.A Initialized to the configured / preconfigured SL PRS resources in the time slots belonging to resource pool R within the resource selection window [n+T1, n+T2]. This method can maximize the number of candidate resources for terminal devices and reduce the possibility of resource collision between different terminal devices.

[0237] Method 2: The resource corresponding to the SL PRS resource ID indicated by the MAC layer of the terminal device

[0238] In the second method, SL PRS resources are configured / pre-configured in each time slot in the resource pool, and each SL PRS resource configured / pre-configured in the said time slot corresponds to a unique SL PRS resource ID. When the terminal device upper layer requests the terminal device physical layer to determine the SL PRS resource subset, it indicates one or more SL PRS resource IDs that can be included in the candidate resource set. When determining the SL PRS resource subset, the set S A Initialized to the SL PRS resources corresponding to one or more SL PRS resource IDs indicated by the higher layer of the terminal device in the time slot belonging to the resource pool R within the resource selection window [n+T1, n+T2].

[0239] Method 3: Occupying resources with a number of OFDM symbols greater than or equal to M and a comb tooth size less than or equal to N

[0240] In mode 3, SL PRS resources are configured / pre-configured in each time slot in the resource pool. Different SL PRS resources may contain different numbers of OFDM symbols and use different comb tooth sizes. When the terminal device upper layer requests the terminal device physical layer to determine the SL PRS resource subset, it indicates the minimum number of OFDM symbols M and the maximum comb tooth size N of the candidate SL PRS resources. When determining the SL PRS resource subset, the set S A Initialized as SL PRS resources in the time slots of resource pool R within the resource selection window [n+T1,n+T2], which occupy more than or equal to M OFDM symbols and have a comb size less than or equal to N. Alternatively, the set S A Initialized to SL PRS resources with an effective comb size greater than N2 in the time slot belonging to resource pool R within the resource selection window [n+T1, n+T2]. The effective comb size is defined as the product of the comb size N of the SL PRS resource and the number of OFDM symbols occupied by the SL PRS resource, M. Through this method, the terminal device's upper layer can exclude SL PRS resources that do not meet positioning requirements from the configured / pre-configured SL PRS resources from the candidate resource set, thereby improving positioning accuracy.

[0241] Method 4: Resources with bandwidth greater than B

[0242] In mode 4, SL PRS resources are configured / pre-configured in each time slot in the resource pool. Different SL PRS resources may contain different numbers of OFDM symbols, use different comb tooth sizes, and occupy different numbers of PRBs. When the terminal device upper layer requests the terminal device physical layer to determine the SL PRS resource subset, it indicates one or more of the minimum number of OFDM symbols M, the maximum comb tooth size N, and the minimum number of PRBs B of the candidate SL PRS resources. When determining the SL PRS resource subset, the set S A Initialized to the SL PRS resources with the number of OFDM symbols greater than or equal to M, and / or the comb tooth size less than or equal to N, and / or the bandwidth greater than or equal to B in the time slot belonging to the resource pool R within the resource selection window [n+T1,n+T2].

[0243] Advantages of Methods 2 to 4: The terminal device upper layer can exclude SL PRS resources that cannot meet positioning requirements from the configured / pre-configured SL PRS resources from the candidate resource set, thereby improving positioning accuracy.

[0244] The method embodiment of the present application is described in detail above in conjunction with Figures 1 to 9 . The device embodiment of the present application is described in detail below in conjunction with Figures 10 and 11 . It should be understood that the description of the method embodiment corresponds to the description of the device embodiment. Therefore, for portions not described in detail, reference can be made to the above method embodiment.

[0245] FIG10 is a schematic structural diagram of a terminal device provided in an embodiment of the present application. The terminal device 1000 in FIG10 includes a determination module 1010 and a reporting module 1020 .

[0246] The determination module 1010 may be used by the physical layer of the terminal device to determine a first candidate resource set within a resource selection window, where resources in the first candidate resource set are sidelink positioning reference signal resources within the resource selection window.

[0247] The reporting module 1020 may be configured to report a second candidate resource set from the physical layer of the terminal device to the MAC layer, where the second candidate resource set includes part or all of the resources in the first candidate resource set.

[0248] In some embodiments, the resources in the first candidate resource set belong to a first resource pool, the first resource pool includes one or more time slots within the resource selection window, and the first candidate resource set includes all sidelink positioning reference signal resources in the one or more time slots.

[0249] In some embodiments, the sidelink positioning reference signal resources in the one or more time slots are determined based on configuration information or pre-configuration information of the network device.

[0250] In some embodiments, the resources in the first candidate resource set are resources located within a specific OFDM symbol, where the specific OFDM symbol is indicated by a higher layer of the terminal device.

[0251] In some embodiments, the resources in the first candidate resource set are sidelink positioning reference signal resources determined based on the first indication information of the MAC layer.

[0252] In some embodiments, the first indication information is used to indicate an identifier of a sidelink positioning reference signal resource.

[0253] In some embodiments, the resources in the first candidate resource set are sidelink positioning reference signal resources that meet a first condition within the resource selection window.

[0254] In some embodiments, the first condition is associated with one or more of the following: the number of symbols occupied by the sidelink positioning reference signal resource; the comb tooth size corresponding to the sidelink positioning reference signal resource; and the bandwidth occupied by the sidelink positioning reference signal resource.

[0255] In some embodiments, the first condition includes one or more of the following: the number of symbols occupied by the side positioning reference signal resource is greater than or equal to the first threshold; the number of symbols occupied by the side positioning reference signal resource is less than or equal to the second threshold; the comb tooth size corresponding to the side positioning reference signal resource is greater than or equal to the third threshold; the comb tooth size corresponding to the side positioning reference signal resource is less than or equal to the fourth threshold; the bandwidth occupied by the side positioning reference signal resource is greater than or equal to the fifth threshold; and the bandwidth occupied by the side positioning reference signal resource is less than or equal to the sixth threshold.

[0256] In some embodiments, one or more of the first threshold, the second threshold, the third threshold, the fourth threshold, the fifth threshold, and the sixth threshold are determined based on indication information of the MAC layer.

[0257] In some embodiments, the second candidate resource set is a candidate resource set obtained after excluding one or more resources from the first candidate resource set, the one or more resources include a first resource and a second resource, the first resource is a resource indicated or reserved by the first SCI, the second resource occupies the same symbol as the first resource, and the RE offset corresponding to the second resource and the first resource is different.

[0258] In some embodiments, whether the second resource is excluded is determined based on one or more of the following: a measurement result for the first SCI; and an implementation of the terminal device.

[0259] In some embodiments, the measurement result is a measurement result of an RSSI for the first SCI.

[0260] In some embodiments, the measurement result indicates that the RSSI is greater than or equal to a seventh threshold, and the seventh threshold is determined based on configuration information or pre-configuration information of the network device.

[0261] In some embodiments, the physical layer of the terminal device determines a first candidate resource set within a resource selection window, including: if the sidelink positioning reference signal resource associated with the first sidelink authorization does not meet the second condition, the physical layer of the terminal device determines the first candidate resource set, and the first sidelink authorization is the sidelink authorization that the terminal device has selected for sending the sidelink positioning reference signal.

[0262] In some embodiments, the second condition is associated with one or more of the following: the transmission time corresponding to the PSCCH in one or more transmission opportunities of the sidelink positioning reference signal; and the activation time of the DRX of the receiving device of the sidelink positioning reference signal; wherein, the one or more transmission opportunities of the sidelink positioning reference signal are associated with the first sidelink authorization.

[0263] In some embodiments, the second condition includes that the transmission time corresponding to the PSCCH in the one or more transmission opportunities does not belong to the DRX activation time.

[0264] In some embodiments, the one or more transmission opportunities are a plurality of consecutive transmission opportunities.

[0265] In some embodiments, the second condition is that the sidelink positioning reference signal resource associated with the first sidelink grant does not match the first sidelink positioning reference signal to be sent.

[0266] In some embodiments, the second condition includes one or more of the following: the period of one or more transmission opportunities of the sidelink positioning reference signal associated with the first sidelink grant does not match the period of the first sidelink positioning reference signal; the number of symbols contained in one or more sidelink positioning reference signal resources associated with the first sidelink grant does not match the number of symbols occupied by the first sidelink positioning reference signal; and the comb tooth size of one or more sidelink positioning reference signal resources associated with the first sidelink grant does not match the comb tooth size corresponding to the first sidelink positioning reference signal.

[0267] FIG11 is a schematic block diagram of an apparatus according to an embodiment of the present application. The dashed lines in FIG11 indicate that the unit or module is optional. Apparatus 1100 may be used to implement the method described in the above method embodiment. Apparatus 1100 may be a chip, a terminal device, or a network device.

[0268] The device 1100 may include one or more processors 1110. The processor 1110 may support the device 1100 to implement the method described in the method embodiment above. The processor 1110 may be a general-purpose processor or a special-purpose processor. For example, the processor may be a central processing unit (CPU). Alternatively, the processor may be another general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0269] The apparatus 1100 may further include one or more memories 1120. The memories 1120 store programs that can be executed by the processor 1110, causing the processor 1110 to perform the methods described in the above method embodiments. The memories 1120 may be independent of the processor 1110 or integrated into the processor 1110.

[0270] The apparatus 1100 may further include a transceiver 1130. The processor 1110 may communicate with other devices or chips via the transceiver 1130. For example, the processor 1110 may transmit and receive data with other devices or chips via the transceiver 1130.

[0271] The present invention also provides a computer-readable storage medium for storing a program. The computer-readable storage medium can be applied to a terminal device provided in the present invention, and the program enables a computer to execute the method performed by the terminal device in each embodiment of the present invention.

[0272] The present application also provides a computer program product. The computer program product includes a program. The computer program product can be applied to the terminal device provided in the present application, and the program causes a computer to execute the method performed by the terminal device in each embodiment of the present application.

[0273] The embodiments of the present application also provide a computer program. The computer program can be applied to the terminal device provided in the embodiments of the present application, and the computer program enables a computer to execute the method executed by the terminal device in each embodiment of the present application.

[0274] It should be understood that the terms "system" and "network" in this application can be used interchangeably. In addition, the terms used in this application are only used to explain the specific embodiments of this application and are not intended to limit this application. The terms "first", "second", "third", and "fourth" in the specification and claims of this application and the accompanying drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0275] In the embodiments of this application, the term "indication" may refer to a direct indication, an indirect indication, or an indication of an association. For example, "A indicates B" may refer to a direct indication of B, e.g., B can obtain information through A; it may refer to an indirect indication of B, e.g., A indicates C, e.g., B can obtain information through C; or it may refer to an association between A and B.

[0276] In the embodiment of the present application, "B corresponding to A" means that B is associated with A and B can be determined based on A. However, it should be understood that determining B based on A does not mean determining B based solely on A, but B can also be determined based on A and / or other information.

[0277] In the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between the two, or an association relationship between the two, or a relationship between indication and indication, configuration and configuration, etc.

[0278] In the embodiments of the present application, "pre-definition" or "pre-configuration" may be implemented by pre-storing corresponding codes, tables, or other methods that can be used to indicate relevant information in a device (e.g., a terminal device and a network device). The present application does not limit the specific implementation method. For example, pre-definition may refer to information defined in a protocol.

[0279] In the embodiments of the present application, the “protocol” may refer to a standard protocol in the communications field, for example, it may include an LTE protocol, an NR protocol, and related protocols used in future communication systems, and the present application does not limit this.

[0280] In the embodiments of this application, the term "and / or" is simply a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this document generally indicates that the related objects are in an "or" relationship.

[0281] In various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0282] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0283] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0284] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0285] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be read by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0286] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A resource selection method, characterized in that: include: The physical layer of the terminal device determines a first candidate resource set within a resource selection window, where resources in the first candidate resource set are sidelink positioning reference signal resources within the resource selection window; The physical layer of the terminal device reports a second candidate resource set to the media access control MAC layer, where the second candidate resource set includes part or all of the resources in the first candidate resource set.

2. The method according to claim 1, characterized in that The resources in the first candidate resource set belong to a first resource pool, the first resource pool includes one or more time slots within the resource selection window, and the first candidate resource set includes all sidelink positioning reference signal resources in the one or more time slots.

3. The method according to claim 2, characterized in that The sidelink positioning reference signal resources in the one or more time slots are determined based on configuration information or pre-configuration information of the network device.

4. The method according to claim 1, characterized in that The resources in the first candidate resource set are resources located in a specific orthogonal frequency division multiplexing (OFDM) symbol, wherein the specific OFDM symbol is indicated by a higher layer of the terminal device.

5. The method according to claim 1, characterized in that The resources in the first candidate resource set are sidelink positioning reference signal resources determined based on the first indication information of the MAC layer.

6. The method according to claim 5, characterized in that The first indication information is used to indicate an identifier of a sidelink positioning reference signal resource.

7. The method according to claim 1, characterized in that The resources in the first candidate resource set are sidelink positioning reference signal resources that meet a first condition within the resource selection window.

8. The method according to claim 7, characterized in that The first condition is associated with one or more of the following: The number of symbols occupied by the side positioning reference signal resources; The comb tooth size corresponding to the side positioning reference signal resource; and The bandwidth occupied by the side positioning reference signal resources.

9. The method according to claim 8, characterized in that The first condition includes one or more of the following: The number of symbols occupied by the side positioning reference signal resource is greater than or equal to the first threshold; The number of symbols occupied by the side positioning reference signal resource is less than or equal to the second threshold; The comb tooth size corresponding to the lateral positioning reference signal resource is greater than or equal to a third threshold; The comb tooth size corresponding to the side positioning reference signal resource is less than or equal to a fourth threshold; The bandwidth occupied by the side positioning reference signal resource is greater than or equal to the fifth threshold; as well as The bandwidth occupied by the sidetrack positioning reference signal resources is less than or equal to a sixth threshold.

10. The method according to claim 9, characterized in that One or more of the first threshold, the second threshold, the third threshold, the fourth threshold, the fifth threshold and the sixth threshold are determined based on the indication information of the MAC layer.

11. The method according to any one of claims 1 to 10, characterized in that The second candidate resource set is a candidate resource set obtained after excluding one or more resources from the first candidate resource set, the one or more resources include a first resource and a second resource, the first resource is a resource indicated or reserved by first side control information SCI, the second resource occupies the same symbol as the first resource, and the resource element RE offsets corresponding to the second resource and the first resource are different.

12. The method according to claim 11, characterized in that Whether the second resource is excluded is determined based on one or more of the following: a measurement result for the first SCI; and Implementation of the terminal device.

13. The method according to claim 12, characterized in that The measurement result is a measurement result of a received signal strength indicator RSSI of the first SCI.

14. The method according to claim 13, characterized in that The measurement result indicates that the RSSI is greater than or equal to a seventh threshold, and the seventh threshold is determined based on configuration information or pre-configuration information of a network device.

15. The method according to any one of claims 1 to 14, characterized in that The physical layer of the terminal device determines a first candidate resource set within a resource selection window, including: If the sidelink positioning reference signal resource associated with the first sidelink grant does not meet the second condition, the physical layer of the terminal device determines the first candidate resource set, and the first sidelink grant is the sidelink grant that the terminal device has selected for sending the sidelink positioning reference signal.

16. The method according to claim 15, characterized in that The second condition is associated with one or more of the following: The transmission time corresponding to the physical sidelink control channel PSCCH in one or more transmission opportunities of the sidelink positioning reference signal; and The activation time of the discontinuous transmission DRX of the side positioning reference signal receiving device; One or more transmission opportunities of the sidewalk positioning reference signal are associated with the first sidewalk grant.

17. The method according to claim 16, characterized in that The second condition includes that the transmission time corresponding to the PSCCH in the one or more transmission opportunities does not belong to the activation time of the DRX.

18. The method according to claim 16 or 17, characterized in that The one or more transmission opportunities are a plurality of consecutive transmission opportunities.

19. The method according to claim 15, characterized in that The second condition is that the sidelink positioning reference signal resource associated with the first sidelink grant does not match the first sidelink positioning reference signal to be sent.

20. The method according to claim 19, characterized in that The second condition includes one or more of the following: The period of one or more transmission opportunities of the sidewalk positioning reference signal associated with the first sidewalk grant does not match the period of the first sidewalk positioning reference signal; The number of symbols included in the one or more sidelink positioning reference signal resources associated with the first sidelink grant does not match the number of symbols occupied by the first sidelink positioning reference signal; and The comb tooth size of one or more sidewalk positioning reference signal resources associated with the first sidewalk grant does not match the comb tooth size corresponding to the first sidewalk positioning reference signal.

21. A terminal device, characterized in that: include: A determination module, configured for a physical layer of a terminal device to determine a first candidate resource set within a resource selection window, wherein resources in the first candidate resource set are sideline positioning reference signal resources within the resource selection window; A reporting module is used for the physical layer of the terminal device to report a second candidate resource set to the media access control MAC layer, where the second candidate resource set includes part or all of the resources in the first candidate resource set.

22. The terminal device according to claim 21, characterized in that: The resources in the first candidate resource set belong to a first resource pool, the first resource pool includes one or more time slots within the resource selection window, and the first candidate resource set includes all sidelink positioning reference signal resources in the one or more time slots.

23. The terminal device according to claim 22, characterized in that: The sidelink positioning reference signal resources in the one or more time slots are determined based on configuration information or pre-configuration information of the network device.

24. The terminal device according to claim 21, characterized in that: The resources in the first candidate resource set are resources located in a specific orthogonal frequency division multiplexing (OFDM) symbol, wherein the specific OFDM symbol is indicated by a higher layer of the terminal device.

25. The terminal device according to claim 21, characterized in that: The resources in the first candidate resource set are sidelink positioning reference signal resources determined based on the first indication information of the MAC layer.

26. The terminal device according to claim 25, characterized in that: The first indication information is used to indicate an identifier of a sidelink positioning reference signal resource.

27. The terminal device according to claim 21, characterized in that: The resources in the first candidate resource set are sidelink positioning reference signal resources that meet a first condition within the resource selection window.

28. The terminal device according to claim 27, characterized in that: The first condition is associated with one or more of the following: The number of symbols occupied by the side positioning reference signal resources; The comb tooth size corresponding to the side positioning reference signal resource; and The bandwidth occupied by the side positioning reference signal resources.

29. The terminal device according to claim 28, characterized in that: The first condition includes one or more of the following: The number of symbols occupied by the side positioning reference signal resource is greater than or equal to the first threshold; The number of symbols occupied by the side positioning reference signal resource is less than or equal to the second threshold; The comb tooth size corresponding to the lateral positioning reference signal resource is greater than or equal to a third threshold; The comb tooth size corresponding to the side positioning reference signal resource is less than or equal to a fourth threshold; The bandwidth occupied by the side positioning reference signal resource is greater than or equal to the fifth threshold; as well as The bandwidth occupied by the sidetrack positioning reference signal resources is less than or equal to a sixth threshold.

30. The terminal device according to claim 29, characterized in that: One or more of the first threshold, the second threshold, the third threshold, the fourth threshold, the fifth threshold and the sixth threshold are determined based on the indication information of the MAC layer.

31. The terminal device according to any one of claims 21 to 30, characterized in that: The second candidate resource set is a candidate resource set obtained after excluding one or more resources from the first candidate resource set, the one or more resources include a first resource and a second resource, the first resource is a resource indicated or reserved by first side control information SCI, the second resource occupies the same symbol as the first resource, and the resource element RE offsets corresponding to the second resource and the first resource are different.

32. The terminal device according to claim 31, characterized in that: Whether the second resource is excluded is determined based on one or more of the following: a measurement result for the first SCI; and Implementation of the terminal device.

33. The terminal device according to claim 32, characterized in that: The measurement result is a measurement result of a received signal strength indicator RSSI of the first SCI.

34. The terminal device according to claim 33, characterized in that: The measurement result indicates that the RSSI is greater than or equal to a seventh threshold, and the seventh threshold is determined based on configuration information or pre-configuration information of a network device.

35. The terminal device according to any one of claims 21 to 34, characterized in that: The physical layer of the terminal device determines a first candidate resource set within a resource selection window, including: If the sidelink positioning reference signal resource associated with the first sidelink grant does not meet the second condition, the physical layer of the terminal device determines the first candidate resource set, and the first sidelink grant is the sidelink grant that the terminal device has selected for sending the sidelink positioning reference signal.

36. The terminal device according to claim 35, characterized in that: The second condition is associated with one or more of the following: The transmission time corresponding to the physical sidelink control channel PSCCH in one or more transmission opportunities of the sidelink positioning reference signal; and an activation time of a discontinuous reception (DRX) of a receiving device of a side positioning reference signal; One or more transmission opportunities of the sidewalk positioning reference signal are associated with the first sidewalk grant.

37. The terminal device according to claim 36, characterized in that: The second condition includes that the transmission time corresponding to the PSCCH in the one or more transmission opportunities does not belong to the activation time of the DRX.

38. The terminal device according to claim 36 or 37, characterized in that: The one or more transmission opportunities are a plurality of consecutive transmission opportunities.

39. The terminal device according to claim 35, characterized in that: The second condition is that the sidelink positioning reference signal resource associated with the first sidelink grant does not match the first sidelink positioning reference signal to be sent.

40. The terminal device according to claim 39, characterized in that: The second condition includes one or more of the following: The period of one or more transmission opportunities of the sidewalk positioning reference signal associated with the first sidewalk grant does not match the period of the first sidewalk positioning reference signal; The number of symbols included in the one or more sidelink positioning reference signal resources associated with the first sidelink grant does not match the number of symbols occupied by the first sidelink positioning reference signal; and The comb tooth size of one or more sidewalk positioning reference signal resources associated with the first sidewalk grant does not match the comb tooth size corresponding to the first sidewalk positioning reference signal.

41. A terminal device, characterized in that: It comprises a transceiver, a memory and a processor, wherein the memory is used to store programs, and the processor is used to call the programs in the memory and control the transceiver to receive or send signals so that the terminal device executes the method as described in any one of claims 1 to 20.

42. A device, characterized in that The device comprises a processor, configured to call a program from a memory so as to enable the device to execute the method according to any one of claims 1 to 20.

43. A chip, characterized in that: The device comprises a processor, which is used to call a program from a memory so that a device equipped with the chip executes a method as claimed in any one of claims 1 to 20.

44. A computer-readable storage medium, characterized in that A program is stored thereon, and the program enables a computer to execute the method according to any one of claims 1 to 20.

45. A computer program product, characterized in that The method comprises a program which causes a computer to execute the method according to any one of claims 1 to 20.

46. ​​A computer program, characterized in that The computer program enables a computer to execute the method according to any one of claims 1 to 20.