Communication method and communication apparatus

By determining and indicating the time domain resource identification of the side link positioning reference signal, the problem of inflexible resource indication in the prior art is solved, and high-precision positioning reference signal transmission is realized.

WO2025007908A1PCT designated stage expired Publication Date: 2025-01-09HUAWEI TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/103501
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-26
Filing Date
2024-07-04
Publication Date
2025-01-09

AI Technical Summary

Technical Problem

The prior art is difficult to effectively determine the resources used to transmit side link positioning reference signals, resulting in insufficient positioning accuracy and inability to meet high-precision requirements.

Method used

By acquiring and determining the identification of the time domain resource of the transmission side link positioning reference signal, including the length and starting position of the time domain resource, flexible indication and selection of the reference signal resource is achieved.

Benefits of technology

It improves the transmission performance of the side link positioning reference signal, meets the requirements of high-precision positioning, and is suitable for various communication scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024103501_09012025_PF_FP_ABST
    Figure CN2024103501_09012025_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a communication method and a communication apparatus. The method comprises: a first communication apparatus acquires an identifier of a first resource, the first resource being used for transmitting a reference signal, such as a sidelink positioning reference signal, and the identifier of the first resource being determined on the basis of at least one of the following: the length of a time domain resource that can be used for transmitting the sidelink positioning reference signal, a starting position of a time domain resource for transmitting the sidelink positioning reference signal, and the length of the time domain resource for transmitting the sidelink positioning reference signal; and the first communication apparatus uses the first resource to send the sidelink positioning reference signal. On this basis, a unified sidelink positioning reference signal resource identifier generation mode can be designed, and then flexible indication for the sidelink positioning reference signal resource can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method and communication device

[0001] This application claims priority to the Chinese patent application with application number 202310816526.6 filed with the State Intellectual Property Office of China on July 4, 2023, and priority to the Chinese patent application with invention name “A resource indication method and device”; priority to the Chinese patent application with application number 202310986421.5 filed with the State Intellectual Property Office of China on August 4, 2023, and priority to the Chinese patent application with invention name “Communication method and communication device”; priority to the Chinese patent application with application number 202311258445.5 filed with the State Intellectual Property Office of China on September 26, 2023, and priority to the Chinese patent application with invention name “Communication method and communication device”; all the contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of communications, and more particularly, to a communication method and a communication device. Background Art

[0003] Location information has become increasingly important in our daily lives and applications. Navigation services, location-based services (LBS), and other applications all rely on user location information to provide users with relevant services.

[0004] The Global Navigation Satellite System (GNSS) is a commonly used solution for determining location information. However, the positioning accuracy of GNSS may not meet the needs of some applications with high precision requirements.

[0005] To solve this problem, the industry has proposed using sidelink positioning technology. However, how to determine the resources used to transmit the sidelink positioning reference signal is a concern of the industry.

[0006] Summary of the Invention

[0007] The present application provides a communication method and a communication device, which can realize flexible indication of resources of a sidelink positioning reference signal.

[0008] In a first aspect, a communication method is provided. The method can be performed by a communication device. The communication device can be a communication device (such as a terminal device) or a component of a communication device (such as a chip or circuit), without limitation. For ease of description, the following description uses the method performed by a first communication device as an example.

[0009] The method may include: a first communication device obtains an identifier of a first resource, where the first resource is used to transmit a sidelink positioning reference signal, and the identifier of the first resource is determined based on at least one of the following: the length of the time domain resource that can be used to transmit the sidelink positioning reference signal, the starting position of the time domain resource used to transmit the sidelink positioning reference signal, and the length of the time domain resource used to transmit the sidelink positioning reference signal; the first communication device uses the first resource to send the sidelink positioning reference signal.

[0010] Based on the above technical solution, the first communication device can obtain the identifier of the first resource, and then determine the first resource based on the identifier of the first resource, and then use the first resource to send a reference signal. The identifier of the first resource can be determined based on one or more of the length of the time domain resource that can be used to transmit the reference signal, the starting position of the time domain resource used to transmit the reference signal, and the length of the time domain resource used to transmit the reference signal. In this way, for example, an association can be established between the identifier of the resource used to transmit the reference signal and the length of the starting position of the resource, or a relationship can be established between the identifier of the resource used to transmit the reference signal and the length of the time domain resource that can be used to transmit the reference signal, so that the resource of the reference signal can be determined and indicated, thereby realizing flexible implementation of the reference signal resource. In addition, this method can be applicable to various communication scenarios.

[0011] In combination with the first aspect, in certain implementations of the first aspect, the first communication device obtains the identifier of the first resource, including: the first communication device receives first indication information, and the first indication information indicates the identifier of the first resource; or, the first communication device itself determines the identifier of the first resource.

[0012] Based on the above technical solution, the first communication device may receive the identifier of the first resource from other devices, or may determine the identifier of the first resource by itself, which is flexible.

[0013] In combination with the first aspect, in certain implementations of the first aspect, the length of the time domain resources that can be used to transmit the sidelink positioning reference signal is determined based on at least one of the following: the length of the time domain resources used to transmit the physical sidelink shared channel PSSCH, the length of the time domain resources used to transmit the physical sidelink control channel PSCCH, the length of the time domain resources used to transmit the physical sidelink feedback channel PSFCH, and the length of the time domain resources used to transmit the demodulation reference signal DMRS.

[0014] Based on the above technical solution, for example, the time domain resources that can be used to transmit the sidelink positioning reference signal in a time slot can be time domain resources other than the time domain resources used to transmit the PSCCH, the time domain resources used to transmit the PSFCH, the time domain resources used to transmit the DMRS, etc. For another example, the time domain resources that can be used to transmit the sidelink positioning reference signal in a time slot can be time domain resources used to transmit the PSSCH in the time slot, other than the time domain resources used to transmit other signals. The other signals may include, but are not limited to, the PSFCH, reference signals other than the sidelink positioning reference signal, and the GAP.

[0015] In combination with the first aspect, in certain implementations of the first aspect, the length of the time domain resource that can be used to transmit the sidelink positioning reference signal satisfies any one of the following: Ma=l d -l PSCCH -X1, Ma=l d -l PSCCH -l DMRS –X2, Ma=l d –X3;

[0016] Wherein, Ma represents the length of the time domain resource that can be used to transmit the sidelink positioning reference signal, l d Indicates the length of the time domain resource used to transmit PSSCH, l PSCCH Indicates the length of the time domain resource used to transmit PSCCH, l DMRS represents the length of the time domain resource used to transmit the demodulation reference signal DMRS, and X1, X2, and X3 are constants.

[0017] In conjunction with the first aspect, in certain implementations of the first aspect, d =l SL –l PSFCH ; Among them, l SL Indicates the length of the time domain resource used for side transmission, l PSFCH Indicates the length of the time domain resource used to transmit PSFCH.

[0018] In conjunction with the first aspect, in certain implementations of the first aspect, the PSFCH The value of is any of the following: 0, 1, 2, or 3.

[0019] In combination with the first aspect, in some implementations of the first aspect, the value of X1 is any one of the following: 0, 1, 2 or 3.

[0020] In combination with the first aspect, in some implementations of the first aspect, the value of X2 is 0 or 1.

[0021] In combination with the first aspect, in some implementations of the first aspect, the value of X3 is 0 or 1.

[0022] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: the first communication device receives second indication information, and the second indication information indicates at least one of the following: the starting position of the time domain resources used to transmit the sidelink positioning reference signal, and the length of the time domain resources used to transmit the sidelink positioning reference signal; or, the first communication device determines at least one of the following: the starting position of the time domain resources used to transmit the sidelink positioning reference signal, and the length of the time domain resources used to transmit the sidelink positioning reference signal.

[0023] Based on the above technical solution, the first communication device can receive the starting position of the time domain resources used to transmit the sidelink positioning reference signal and the length of the time domain resources used to transmit the sidelink positioning reference signal from other devices, or it can determine the starting position of the time domain resources used to transmit the sidelink positioning reference signal and the length of the time domain resources used to transmit the sidelink positioning reference signal by itself, and the method is flexible.

[0024] In combination with the first aspect, in certain implementations of the first aspect, the first communication device receives second indication information, including: the first communication device receives first sidelink control information, and the first sidelink control information includes the second indication information.

[0025] In combination with the first aspect, in some implementations of the first aspect, the identifier of the first resource is obtained by encoding the length of the time domain resource that can be used to transmit the sidelink positioning reference signal.

[0026] In conjunction with the first aspect, in certain implementations of the first aspect, the identifier of the first resource satisfies any of the following: id =S start , n id =S start +Ma, or n id =S start +2Ma-1,

[0027] Among them, n id Indicates the identifier of the first resource, S start represents the starting position of the time domain resource used to transmit the sidelink positioning reference signal, and Ma represents the length of the time domain resource that can be used to transmit the sidelink positioning reference signal.

[0028] In combination with the first aspect, in certain implementations of the first aspect, the first resource is also determined based on at least one of the following: time domain resources for transmitting sidelink reference signals, time domain resources for transmitting sidelink feedback information, and time domain resources for transmitting PSSCH.

[0029] The sidelink reference signal refers to a sidelink reference signal other than a sidelink positioning reference signal. As an example, the sidelink reference signal includes at least one of the following: PT-RS, CSI-RS, BM-RS, or DMRS.

[0030] Based on the above technical solution, when determining the first resource, invalid resources can also be excluded, such as time domain resources for transmitting sidelink reference signals, time domain resources for transmitting sidelink feedback information, and time domain resources for transmitting PSSCH.

[0031] In combination with the first aspect, in certain implementations of the first aspect, the first communication device obtains the identifier of the first resource, including: the first communication device obtains the identifiers of N resources by encoding the length of the time domain resource that can be used to transmit the sidelink positioning reference signal, where N is an integer greater than 1; the first communication device determines the identifier of the first resource based on the identifiers of the N resources and a preset rule, and the preset rule indicates: the first resource is a continuous resource, and / or, the first resource does not include one of the following indications: the time domain resource for transmitting the sidelink reference signal, the time domain resource for transmitting the sidelink feedback information, and the time domain resource for transmitting the PSSCH.

[0032] Based on the above technical solution, when determining the identifier of the first resource, invalid codes can be excluded according to preset rules, thereby reducing the signaling overhead caused by the resource identifier indication.

[0033] In combination with the first aspect, in certain implementations of the first aspect, the value of the identifier of the first resource is W bits, the W bits include a first bit and a second bit, W is an integer greater than 1, and the identifier of the first resource satisfies any one of the following: the first bit of the identifier of the first resource is related to the starting position of the time domain resource used to transmit the sidelink positioning reference signal, and the second bit of the identifier of the first resource is related to the length of the time domain resource used to transmit the sidelink positioning reference signal; or, the second bit of the identifier of the first resource is related to the starting position of the time domain resource used to transmit the sidelink positioning reference signal, and the first bit of the identifier of the first resource is related to the length of the time domain resource used to transmit the sidelink positioning reference signal; or, the identifier of the first resource is obtained by jointly encoding the length of the time domain resource used to transmit the sidelink positioning reference signal and the starting position of the time domain resource used to transmit the sidelink positioning reference signal.

[0034] Based on the above technical solution, the resource identifier of the sidelink positioning reference signal can be determined by the length of the time domain resource used to transmit the sidelink positioning reference signal and the starting position of the time domain resource used to transmit the sidelink positioning reference signal.

[0035] In combination with the first aspect, in some implementations of the first aspect, the first bit is a high bit of the identifier of the first resource, and the second bit is a low bit of the identifier of the first resource.

[0036] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the first communication device sends third indication information, and the third indication information indicates: the first resource or an identifier of the first resource.

[0037] In combination with the first aspect, in certain implementations of the first aspect, the first communication device sends third indication information, including: the first communication device sends second sidelink control information, and the second sidelink control information includes the third indication information.

[0038] In combination with the first aspect, in certain implementations of the first aspect, the third indication information includes at least one of the following: an identifier of the first resource, a starting position of the first resource in the time domain, a length of the first resource in the time domain, an ending position of the first resource in the time domain, an offset of the first resource in the frequency domain, and a comb tooth size of the first resource in the frequency domain.

[0039] In combination with the first aspect, in certain implementations of the first aspect, the first resource includes a first transmission resource and a second transmission resource, the first transmission resource and the second transmission resource are discontinuous in the time domain, and the third indication information includes an offset of the first resource in the frequency domain, wherein the offset of the first resource in the frequency domain includes the offset of the first transmission resource in the frequency domain and / or the offset of the second transmission resource in the frequency domain.

[0040] Based on the above technical solution, when the sidelink positioning reference signal has multiple transmission resources, the first communication device can indicate the offset of some or all of the multiple transmission resources in the frequency domain.

[0041] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: the first communication device receives fourth indication information, and the fourth indication information indicates the second resource; the first communication device obtains the identifier of the first resource, including: the first communication device determines the first resource based on the second resource and the resources that the first communication device can use, and the length of the first resource in the time domain resource is less than the length of the second resource in the time domain resource.

[0042] Based on the above technical solution, when the indicated resources (such as configured resources) do not match the resources actually available to the first communication device, the first communication device may select appropriate resources to transmit the sidelink positioning reference signal.

[0043] In combination with the first aspect, in certain implementations of the first aspect, the first communication device uses the first resource to send the sidelink positioning reference signal, including: the first communication device transmits the sidelink positioning reference signal in a fully staggered manner based on the length of the first resource in the time domain resource; or, the first communication device transmits the sidelink positioning reference signal in a partially staggered manner on the first resource based on the length of the second resource in the time domain resource.

[0044] Based on the above technical solution, when the indicated resources (such as configured resources) do not match the resources actually available to the first communication device, the first communication device can select appropriate resources to transmit the sidelink positioning reference signal, and can send the sidelink positioning reference signal in a fully interleaved manner according to a smaller number of symbols based on the nearest allowed number of symbols; or, send the sidelink positioning reference signal in a partially interleaved manner according to the configured number of symbols and the corresponding Comb size.

[0045] In combination with the first aspect, in some implementations of the first aspect, the method also includes: the first communication device receives fifth indication information, and the fifth indication information instructs the first communication device to transmit the sidelink positioning reference signal using the fully staggered method or the partially staggered method.

[0046] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the first communication device itself determines whether to transmit the sidelink positioning reference signal in the fully staggered manner or in the partially staggered manner.

[0047] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the first communication device receives sixth indication information, and the sixth indication information indicates the minimum length of the time domain resources used to transmit the sidelink positioning reference signal.

[0048] Based on the above technical solution, the minimum length (e.g., minimum number of symbols) of the time domain resource used to transmit the sidelink positioning reference signal can be limited. Thus, when the number of symbols actually used by the first communications device to transmit the sidelink positioning reference signal is less than the minimum number of symbols, the first communications device does not transmit the sidelink positioning reference signal in the current time slot. This approach ensures the transmission performance of the sidelink positioning reference signal.

[0049] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: the first communication device sends reservation information in a first time slot where the first resource is located, the reservation information indicates at least one second time slot, the second time slot is the time slot where the data packet is retransmitted, and the first time slot and / or the second time slot also includes a second resource for transmitting the sidelink positioning reference signal.

[0050] In combination with the first aspect, in some implementations of the first aspect, the first resource is part of the resources in a time slot.

[0051] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the first communication device sending at least one of the following in the first time slot where the first resource is located: PSCCH, PSSCH, automatic gain control AGC.

[0052] In combination with the first aspect, in certain implementations of the first aspect, the time domain resources of the sidelink positioning reference signal in the first time slot are located after the time domain resources of the PSCCH in the first time slot; and / or, the time domain resources of the AGC in the first time slot are located before the time domain resources of the PSCCH in the first time slot, the time domain resources of the PSSCH in the first time slot, and the time domain resources of the sidelink positioning reference signal in the first time slot.

[0053] In combination with the first aspect, in some implementations of the first aspect, the length of the time domain resource is the length of the time domain resource in a time slot.

[0054] For example, the length of the time domain resources that can be used to transmit the sidelink positioning reference signal may be the number of symbols that can be used to transmit the sidelink positioning reference signal in a time slot; the length of the time domain resources used to transmit PSSCH may be the number of symbols used to transmit PSSCH in the time slot; the length of the time domain resources used to transmit PSCCH may be the number of symbols used to transmit PSCCH in the time slot; the length of the time domain resources used to transmit PSFCH may be the number of symbols used to transmit PSFCH in the time slot; the length of the time domain resources used to transmit DMRS may be the number of symbols used to transmit DMRS in the time slot.

[0055] In combination with the first aspect, in certain implementations of the first aspect, the first resources are continuous in the time domain.

[0056] In combination with the first aspect, in certain implementations of the first aspect, the first resource overlaps with the third resource, and the third resource is used to transmit a sidelink reference signal. The method also includes: using a resource in the third resource that does not overlap with the first resource to send the sidelink reference signal.

[0057] In combination with the first aspect, in certain implementations of the first aspect, the first resource belongs to a candidate resource among k candidate resources, k is an integer greater than 1, the first resource does not overlap with the third resource, and the third resource is used to transmit a sidelink reference signal.

[0058] In combination with the first aspect, in certain implementations of the first aspect, obtaining the identifier of the first resource includes: receiving configuration information of the third resource and configuration information of the k candidate resources; and determining the identifier of the first resource based on the configuration information of the third resource and the configuration information of the k candidate resources.

[0059] In combination with the first aspect, in some implementations of the first aspect, the k candidate resources include the first resource and a second candidate resource, the second candidate resource is a candidate resource overlapping with the third resource, and the first candidate resource is adjacent to the second candidate resource.

[0060] In combination with the first aspect, in some implementations of the first aspect, the method further includes: receiving seventh indication information, where the seventh indication information indicates a value of k.

[0061] In combination with the first aspect, in certain implementations of the first aspect, obtaining the identifier of the first resource includes: receiving eighth indication information, the eighth indication information indicating at least one of the following: the length of the time domain resources used to transmit PSSCH, the length of the time domain resources used to transmit PSCCH, and the DMRS pattern; and determining the identifier of the first resource based on the eighth indication information.

[0062] In combination with the first aspect, in certain implementations of the first aspect, the identifier of the first resource is associated with at least one of the following: the length of the time domain resource used to transmit the sidelink positioning reference signal, the offset of the first resource in the frequency domain, and the comb tooth size of the first resource in the frequency domain.

[0063] In combination with the first aspect, in certain implementations of the first aspect, the sidelink reference signal is a phase tracking reference signal.

[0064] In a second aspect, a communication method is provided, which can be performed by a communication device. The communication device can be a communication device (such as a terminal device) or a component of a communication device (such as a chip or circuit), without limitation. For ease of description, the following description uses the method performed by a second communication device as an example.

[0065] The method may include: a second communication device receives a first resource or an identifier of a first resource, wherein the identifier of the first resource is determined based on at least one of the following: the length of the time domain resource that can be used to transmit the sidelink positioning reference signal, the starting position of the time domain resource for transmitting the sidelink positioning reference signal, and the length of the time domain resource for transmitting the sidelink positioning reference signal; the second communication device uses the first resource to receive the sidelink positioning reference signal.

[0066] In combination with the second aspect, in certain implementations of the second aspect, the method also includes: the second communication device determines the first resource based on the identifier of the first resource and at least one of the following: the length of the time domain resources of the physical sidelink control channel PSCCH, the pattern of the demodulation reference signal DMRS, and the length of the time domain resources of the physical sidelink feedback channel PSFCH.

[0067] For example, the length of the time domain resources of the PSCCH, such as the number of symbols occupied by the PSCCH, may be indicated by configuration information.

[0068] For example, the DMRS pattern may be indicated by the first communication device.

[0069] For example, the length of the PSFCH time domain resource can be the number of symbols occupied by the PSFCH on the current time domain unit (such as the current time slot). For example, the second communication device can determine the first resource based on the identifier of the first resource and whether there is a PSFCH resource on the current time domain unit.

[0070] Based on the above technical solution, after the second communication device receives the identifier of the first resource, it also determines the physical resources actually occupied by the sidelink positioning reference signal corresponding to the identifier of the first resource based on at least one of the following information: the number of symbols occupied by PSCCH, the pattern of DMRS, and whether there is a PSFCH resource in the receiving time slot at that time. After the second communication device obtains the above information, the second communication device's understanding of the number and position of symbols that can be used to transmit the sidelink positioning reference signal in the current time slot is the same as that of the first communication device. Then, the second communication device can uniquely determine the position corresponding to this sidelink positioning reference signal resource in the time slot (such as the position of the start and end symbols) based on the indication information of the received sidelink positioning reference signal resource identifier. Thus, under the condition of saving the indication signaling of SCI, the resources of the sidelink positioning reference signal are accurately indicated by the second communication device and the first communication device, avoiding errors in resource indication.

[0071] In combination with the second aspect, in some implementations of the second aspect, the method further includes: the second communication device obtains positioning-related information according to the sidelink positioning reference signal.

[0072] In combination with the second aspect, in certain implementations of the second aspect, the length of the time domain resources that can be used to transmit the sidelink positioning reference signal is determined based on at least one of the following: the length of the time domain resources used to transmit the physical sidelink shared channel PSSCH, the length of the time domain resources used to transmit the physical sidelink control channel PSCCH, the length of the time domain resources used to transmit the physical sidelink feedback channel PSFCH, and the length of the time domain resources used to transmit the demodulation reference signal DMRS.

[0073] In combination with the second aspect, in certain implementations of the second aspect, the length of the time domain resource that can be used to transmit the sidelink positioning reference signal satisfies any one of the following: Ma=l d -l PSCCH -X1, Ma=l d -l PSCCH-l DMRS –X2, Ma=l d –X3;

[0074] Wherein, Ma represents the length of the time domain resource that can be used to transmit the sidelink positioning reference signal, l d Indicates the length of the time domain resource used to transmit PSSCH, l PSCCH Indicates the length of the time domain resource used to transmit PSCCH, l DMRS represents the length of the time domain resource used to transmit the demodulation reference signal DMRS, and X1, X2, and X3 are constants.

[0075] In conjunction with the second aspect, in certain implementations of the second aspect, d =l SL –l PSFCH ; Among them, l SL Indicates the length of the time domain resource used for side transmission, l PSFCH Indicates the length of the time domain resource used to transmit PSFCH.

[0076] In conjunction with the second aspect, in certain implementations of the second aspect, the PSFCH The value of is any of the following: 0, 1, 2, or 3.

[0077] In combination with the second aspect, in some implementations of the second aspect, the value of X1 is any one of the following: 0, 1, 2 or 3.

[0078] In combination with the second aspect, in some implementations of the second aspect, the value of X2 is 0 or 1.

[0079] In combination with the second aspect, in some implementations of the second aspect, the value of X3 is 0 or 1.

[0080] In combination with the second aspect, in certain implementations of the second aspect, the method also includes: the second communication device receives second indication information, and the second indication information indicates at least one of the following: the starting position of the time domain resource used to transmit the sidelink positioning reference signal, and the length of the time domain resource used to transmit the sidelink positioning reference signal.

[0081] In combination with the second aspect, in certain implementations of the second aspect, the second communication device receives second indication information, including: the second communication device receives first sidelink control information, and the first sidelink control information includes the second indication information.

[0082] In combination with the second aspect, in certain implementations of the second aspect, the identifier of the first resource is obtained by encoding the length of the time domain resource that can be used to transmit the sidelink positioning reference signal.

[0083] In conjunction with the second aspect, in certain implementations of the second aspect, the identifier of the first resource satisfies any of the following: id =S start , n id =S start +Ma, or n id =S start +2Ma-1,

[0084] Among them, n id Indicates the identifier of the first resource, S start represents the starting position of the time domain resource used to transmit the sidelink positioning reference signal, and Ma represents the length of the time domain resource that can be used to transmit the sidelink positioning reference signal.

[0085] In combination with the second aspect, in certain implementations of the second aspect, the value of the identifier of the first resource is W bits, the W bits include a first bit and a second bit, W is an integer greater than 1, and the identifier of the first resource satisfies any one of the following: the first bit of the identifier of the first resource is related to the starting position of the time domain resource used to transmit the sidelink positioning reference signal, and the second bit of the identifier of the first resource is related to the length of the time domain resource used to transmit the sidelink positioning reference signal; or, the second bit of the identifier of the first resource is related to the starting position of the time domain resource used to transmit the sidelink positioning reference signal, and the first bit of the identifier of the first resource is related to the length of the time domain resource used to transmit the sidelink positioning reference signal; or, the identifier of the first resource is obtained by jointly encoding the length of the time domain resource used to transmit the sidelink positioning reference signal and the starting position of the time domain resource used to transmit the sidelink positioning reference signal.

[0086] In combination with the second aspect, in some implementations of the second aspect, the first bit is a high bit of the identifier of the first resource, and the second bit is a low bit of the identifier of the first resource.

[0087] In combination with the second aspect, in some implementations of the second aspect, the second communication device receives the identifier of the first resource, including: the second communication device receives third indication information, and the third indication information indicates the identifier of the first resource.

[0088] In combination with the second aspect, in some implementations of the second aspect, the second communication device receives third indication information, including: the second communication device receives second sidelink control information, and the second sidelink control information includes the third indication information.

[0089] In combination with the second aspect, in certain implementations of the second aspect, the third indication information includes at least one of the following: an identifier of the first resource, a starting position of the first resource in the time domain, a length of the first resource in the time domain, an ending position of the first resource in the time domain, an offset of the first resource in the frequency domain, and a comb tooth size of the first resource in the frequency domain.

[0090] In combination with the second aspect, in certain implementations of the second aspect, the first resource includes a first transmission resource and a second transmission resource, the first transmission resource and the second transmission resource are discontinuous in the time domain, and the third indication information includes an offset of the first resource in the frequency domain, wherein the offset of the first resource in the frequency domain includes the offset of the first transmission resource in the frequency domain and / or the offset of the second transmission resource in the frequency domain.

[0091] In combination with the second aspect, in some implementations of the second aspect, the first resource is part of the resources in a time slot.

[0092] In combination with the second aspect, in some implementations of the second aspect, the method further includes: the second communication device receiving at least one of the following in the first time slot where the first resource is located: PSCCH, PSSCH, automatic gain control AGC.

[0093] In combination with the second aspect, in certain implementations of the second aspect, the time domain resources of the sidelink positioning reference signal in the first time slot are located after the time domain resources of the PSCCH in the first time slot; and / or, the time domain resources of the AGC in the first time slot are located before the time domain resources of the PSCCH in the first time slot, the time domain resources of the PSSCH in the first time slot, and the time domain resources of the sidelink positioning reference signal in the first time slot.

[0094] In combination with the second aspect, in certain implementations of the second aspect, the length of the time domain resource is the length of the time domain resource in a time slot.

[0095] In combination with the second aspect, in certain implementations of the second aspect, the first resources are continuous in the time domain.

[0096] In combination with the second aspect, in certain implementations of the second aspect, the first resource overlaps with the third resource, and the third resource is used to transmit a sidelink reference signal. The method also includes: using a resource in the third resource that does not overlap with the first resource to receive the sidelink reference signal.

[0097] In combination with the second aspect, in certain implementations of the second aspect, the first resource belongs to a candidate resource among k candidate resources, k is an integer greater than 1, the first resource does not overlap with the third resource, and the third resource is used to transmit a sidelink reference signal.

[0098] In combination with the second aspect, in certain implementations of the second aspect, the second communication device receives the identifier of the first resource, including: the second communication device receives the configuration information of the third resource and the configuration information of the k candidate resources; the second communication device determines the identifier of the first resource based on the configuration information of the third resource and the configuration information of the k candidate resources.

[0099] In combination with the second aspect, in some implementations of the second aspect, the k candidate resources include the first resource and a second candidate resource, the second candidate resource is a candidate resource overlapping with the third resource, and the first candidate resource is adjacent to the second candidate resource.

[0100] In combination with the second aspect, in some implementations of the second aspect, the method further includes: receiving seventh indication information, where the seventh indication information indicates a value of k.

[0101] In combination with the second aspect, in certain implementations of the second aspect, the second communication device receives the identifier of the first resource, including: the second communication device receives eighth indication information, the eighth indication information indicating at least one of the following: the length of the time domain resources used to transmit PSSCH, the length of the time domain resources used to transmit PSCCH, and the DMRS pattern; the second communication device determines the identifier of the first resource based on the eighth indication information.

[0102] In combination with the second aspect, in certain implementations of the second aspect, the identifier of the first resource is associated with at least one of the following: the length of the time domain resource used to transmit the sidelink positioning reference signal, the offset of the first resource in the frequency domain, and the comb tooth size of the first resource in the frequency domain.

[0103] In combination with the second aspect, in certain implementations of the second aspect, the sidelink reference signal is a phase tracking reference signal.

[0104] Regarding the beneficial effects of the second aspect, please refer to the relevant description in the first aspect and will not be repeated here.

[0105] In a third aspect, a communication method is provided, which can be performed by a communication device. The communication device can be a communication device (such as a terminal device) or a component of a communication device (such as a chip or circuit), without limitation. For ease of description, the following description uses the method performed by a first communication device as an example.

[0106] The method may include: a first communication device obtains a first resource, the first resource is used to transmit a sidelink positioning reference signal, the first resource includes T transmission resources, at least two of the T transmission resources are discontinuous in the time domain, and T is an integer greater than 1; the first communication device sends indication information, the indication information indicates at least one transmission resource among the first resources, and at least one transmission resource among the first resources is used to transmit the sidelink positioning reference signal.

[0107] Based on the above technical solution, a time slot may have multiple transmission resources for transmitting the sidelink positioning reference signal. When the sidelink positioning reference signal has multiple transmission resources, the first communication device may indicate some or all of the multiple transmission resources.

[0108] In combination with the third aspect, in certain implementations of the third aspect, the T transmission resources include a first transmission resource and a second transmission resource, and the indication information indicates at least one of the first resources, including: the indication information indicates at least one of the following: the position of the first transmission resource in the time domain, the offset or comb tooth size of the first transmission resource in the frequency domain, the position of the second transmission resource in the time domain, and the comb tooth offset or comb tooth size of the second transmission resource in the frequency domain.

[0109] In combination with the third aspect, in certain implementations of the third aspect, the indication information is an identifier of the first resource, and the identifier of the first resource is determined based on at least one of the following: the offset of the sidelink positioning reference signal in the frequency domain; the comb tooth size of the i-th transmission of the sidelink positioning reference signal, where i is an integer greater than 1 or equal to 1; and the indication information of the sidelink positioning reference signal transmitted on the i-th transmission resource.

[0110] In conjunction with the third aspect, in certain implementations of the third aspect, the identifier of the first resource satisfies any of the following: ID =n RE +m s *N 1,comb n ID =n RE +N 1,comb +(m s -1)*N 2,comb nID =n RE +N 1,comb +N 2,comb +(m s -2)*N 3,comb

[0111] Among them, n ID Indicates the identifier of the first resource; N i,comb n represents the comb tooth size of the sidelink positioning reference signal transmitted for the i-th time; RE represents the offset of the sidelink positioning reference signal in the frequency domain; m s =i-1, indicating that the sidelink positioning reference signal is transmitted on the i-th transmission resource; i=1, 2, 3.

[0112] In combination with the third aspect, in certain implementations of the third aspect, the first communication device sends indication information, including: the first communication device sends sidelink control information, and the sidelink control information includes the indication information.

[0113] In combination with the third aspect, in certain implementations of the third aspect, the first resource is part of the resources in a time slot.

[0114] In combination with the third aspect, in certain implementations of the third aspect, the method further includes: the first communication device sending at least one of the following in the first time slot where the first resource is located: PSCCH, PSSCH, automatic gain control AGC.

[0115] In combination with the third aspect, in certain implementations of the third aspect, the time domain resources of the sidelink positioning reference signal in the first time slot are located after the time domain resources of the PSCCH in the first time slot; and / or, the time domain resources of the AGC in the first time slot are located before the time domain resources of the PSCCH in the first time slot, the time domain resources of the PSSCH in the first time slot, and the time domain resources of the sidelink positioning reference signal in the first time slot.

[0116] In combination with the third aspect, in certain implementations of the third aspect, the length of the time domain resource is the length of the time domain resource in one time slot.

[0117] In combination with the third aspect, in certain implementations of the third aspect, each of the T transmission resources is continuous in the time domain.

[0118] In a fourth aspect, a communication method is provided, which can be performed by a communication device. The communication device can be a communication device (such as a terminal device), or a component of a communication device (such as a chip or circuit), without limitation. For ease of description, the following description uses the method performed by a second communication device as an example.

[0119] The method may include: a second communication device receives indication information, the indication information indicates at least one transmission resource among first resources, the first resource is used to transmit a sidelink positioning reference signal, the first resource includes T transmission resources, at least two transmission resources among the T transmission resources are discontinuous in the time domain, and T is an integer greater than 1; the second communication device receives the sidelink positioning reference signal according to the indication information.

[0120] In combination with the fourth aspect, in certain implementations of the fourth aspect, the T transmission resources include a first transmission resource and a second transmission resource, and the indication information indicates at least one transmission resource among the first resources, including: the indication information indicates at least one of the following: the position of the first transmission resource in the time domain, the offset or comb tooth size of the first transmission resource in the frequency domain, the position of the second transmission resource in the time domain, and the offset or comb tooth size of the second transmission resource in the frequency domain.

[0121] In combination with the fourth aspect, in certain implementations of the fourth aspect, the indication information is an identifier of the first resource, and the identifier of the first resource is determined based on at least one of the following: the offset of the sidelink positioning reference signal in the frequency domain; the comb tooth size of the i-th transmission of the sidelink positioning reference signal, where i is an integer greater than 1 or equal to 1; and the indication information of the sidelink positioning reference signal transmitted on the i-th transmission resource.

[0122] In conjunction with the fourth aspect, in certain implementations of the fourth aspect, the identifier of the first resource satisfies any of the following: ID =n RE +m s *N 1,comb n ID =n RE +N 1,comb +(m s -1)*N 2,comb n ID =n RE +N 1,comb +N 2,comb +(m s -2)*N 3,comb

[0123] Among them, n ID Indicates the identifier of the first resource; Ni,comb n represents the comb tooth size of the sidelink positioning reference signal transmitted for the i-th time; RE represents the offset of the sidelink positioning reference signal in the frequency domain; m s =i-1, indicating that the sidelink positioning reference signal is transmitted on the i-th transmission resource; i=1, 2, 3.

[0124] In combination with the fourth aspect, in certain implementations of the fourth aspect, the second communication device receives indication information, including: the second communication device receives sidelink control information, and the sidelink control information includes the indication information.

[0125] In combination with the fourth aspect, in certain implementations of the fourth aspect, the first resource is part of the resources in a time slot.

[0126] In combination with the fourth aspect, in certain implementations of the fourth aspect, the method further includes: the second communication device receiving at least one of the following in the first time slot where the first resource is located: PSCCH, PSSCH, automatic gain control AGC.

[0127] In combination with the fourth aspect, in certain implementations of the fourth aspect, the time domain resources of the sidelink positioning reference signal in the first time slot are located after the time domain resources of the PSCCH in the first time slot; and / or, the time domain resources of the AGC in the first time slot are located before the time domain resources of the PSCCH in the first time slot, the time domain resources of the PSSCH in the first time slot, and the time domain resources of the sidelink positioning reference signal in the first time slot.

[0128] In combination with the fourth aspect, in certain implementations of the fourth aspect, the length of the time domain resource is the length of the time domain resource in one time slot.

[0129] In combination with the fourth aspect, in certain implementations of the fourth aspect, each of the T transmission resources is continuous in the time domain.

[0130] Regarding the beneficial effects of the fourth aspect, please refer to the relevant description in the third aspect and will not be repeated here.

[0131] In a fifth aspect, a communication method is provided, which can be performed by a communication device. The communication device can be a communication device (such as a terminal device), or a component of the communication device (such as a chip or circuit), without limitation.

[0132] The method may include: obtaining information of a third resource, wherein the third resource is used to transmit a first reference signal; obtaining information of a fourth resource, wherein the fourth resource is used to transmit a second reference signal; using resources other than a fifth resource in the third resource to transmit the first reference signal, and using the fourth resource to transmit the second reference signal, wherein the fifth resource is a resource in the third resource that overlaps with the fourth resource; the first reference signal is a sidelink positioning reference signal, and the second reference signal is a phase tracking reference signal or CSI-RS; or, the first reference signal is a phase tracking reference signal or CSI-RS, and the second reference signal is a sidelink positioning reference signal.

[0133] In combination with the fifth aspect, in certain implementations of the fifth aspect, the third resource includes a first candidate resource and a second candidate resource, the fifth resource includes the first candidate resource, and the use of resources other than the fifth resource in the third resource to transmit the first reference signal includes: using the second candidate resource to transmit the first reference signal.

[0134] In combination with the fifth aspect, in certain implementations of the fifth aspect, the first candidate resource and the second candidate resource are two consecutive candidate resources.

[0135] In combination with the fifth aspect, in certain implementations of the fifth aspect, the first reference signal is a sidelink positioning reference signal, the second reference signal is a phase tracking reference signal, and the third resource is continuous in the time domain resource, or the third resource is continuous in a time domain unit.

[0136] In a sixth aspect, a communication method is provided, which can be performed by a communication device. The communication device can be a communication device (such as a terminal device), or a component of the communication device (such as a chip or circuit), without limitation.

[0137] The method may include: obtaining configuration information, the configuration information including: the length of time domain resources used to transmit a physical sidelink shared channel PSSCH, the length of time domain resources used to transmit a physical sidelink control channel PSCCH, and a pattern of a demodulation reference signal DMRS; determining the third resource based on the configuration information, the third resource being used to transmit a sidelink positioning reference signal.

[0138] In combination with the sixth aspect, in certain implementations of the sixth aspect, the configuration information includes at least one of the following: the length of the time domain resources used to transmit PSSCH, the length of the time domain resources used to transmit PSCCH, and the pattern of DMRS.

[0139] In combination with the sixth aspect, in certain implementations of the sixth aspect, the identifier of the third resource is related to at least one of the following: the length of the third resource in the time domain, the comb size of the third resource in the frequency domain, and the offset of the third resource in the frequency domain.

[0140] In combination with the sixth aspect, in some implementations of the sixth aspect, the method further includes: sending an identifier of the third resource.

[0141] In a seventh aspect, a communication device is provided, the device being configured to execute the method of any possible implementation of aspects 1 to 6. Specifically, the device may include units and / or modules, such as a processing unit and / or a communication unit, for executing the method of any possible implementation of aspects 1 to 6.

[0142] In one implementation, the apparatus is a communication device (e.g., a terminal device). When the apparatus is a communication device, the communication unit may be a transceiver or an input / output interface; the processing unit may be at least one processor. Alternatively, the transceiver may be a transceiver circuit. Alternatively, the input / output interface may be an input / output circuit.

[0143] In another implementation, the apparatus is a chip, chip system, or circuit for a communication device (such as a terminal device). When the apparatus is a chip, chip system, or circuit for a communication device, the communication unit may be an input / output interface, interface circuit, output circuit, input circuit, pin, or related circuit on the chip, chip system, or circuit; and the processing unit may be at least one processor, processing circuit, or logic circuit.

[0144] In an eighth aspect, a communication device is provided, comprising: at least one processor for executing a computer program or instruction stored in a memory to perform a method in any possible implementation of the first to sixth aspects above.

[0145] Optionally, the apparatus further comprises a memory for storing computer programs or instructions.

[0146] Optionally, the device further includes a communication interface, and the processor reads the computer program or instructions stored in the memory through the communication interface.

[0147] In one implementation, the apparatus is a communication device (such as a terminal device).

[0148] In another implementation, the apparatus is a chip, a chip system, or a circuit for a communication device (such as a terminal device).

[0149] In a ninth aspect, the present application provides a processor for executing the methods provided in the first to sixth aspects above.

[0150] For the operations such as sending and acquiring / receiving involved in the processor, unless otherwise specified, or if they do not conflict with their actual functions or internal logic in the relevant descriptions, they can be understood as processor output, reception, input and other operations, and can also be understood as sending and receiving operations performed by the radio frequency circuit and antenna. This application does not limit this.

[0151] In a tenth aspect, a computer-readable storage medium is provided, which stores a program code for execution by a device, wherein the program code includes a method for executing any possible implementation of the first to sixth aspects above.

[0152] In the eleventh aspect, a computer program product comprising instructions is provided, which, when run on a computer, enables the computer to execute the method in any possible implementation of the first to sixth aspects above.

[0153] In a twelfth aspect, a communication system is provided, comprising the aforementioned first communication device and second communication device. BRIEF DESCRIPTION OF THE DRAWINGS

[0154] FIG1 is a schematic diagram of an application scenario 100 involved in this application.

[0155] FIG2 is a schematic diagram of an application scenario 200 involved in this application.

[0156] FIG3 is a schematic diagram of resources occupied by a downlink positioning reference signal.

[0157] FIG4 is a schematic diagram of resources occupied by an uplink positioning reference signal.

[0158] FIG5 and FIG6 are schematic diagrams of two time slot structures in SL.

[0159] FIG7 is a schematic diagram of a method 700 provided in an embodiment of the present application.

[0160] FIG8 is a schematic diagram of a time slot structure applicable to an embodiment of the present application.

[0161] FIG9 is a schematic diagram of PSSCH and SL-PRS transmission applicable to an embodiment of the present application.

[0162] FIG10 is a schematic diagram of sending SL-PRS in a partially staggered manner applicable to an embodiment of the present application.

[0163] FIG11 is a schematic diagram of SL-PRS transmission applicable to an embodiment of the present application.

[0164] Figure 12 is l d Schematic diagram of the time slot structure of DMRS, PSCCH and PT-RS when =13.

[0165] FIG13 is a schematic block diagram of a communication device 1300 provided in an embodiment of the present application.

[0166] FIG14 is a schematic block diagram of a communication device 1400 provided in an embodiment of the present application.

[0167] FIG15 is a schematic block diagram of a chip system 1500 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0168] The technical solutions provided in this application can be applied to various communication systems, such as: fifth generation (5G) or new radio (NR) systems, long term evolution (LTE) systems, LTE frequency division duplex (FDD) systems, LTE time division duplex (TDD) systems, etc. The technical solutions provided in this application can also be applied to future communication systems, such as sixth generation (6G) mobile communication systems. The technical solutions provided in this application can also be applied to device to device (D2D) communication, vehicle to everything (V2X) communication, machine to machine (M2M) communication, machine type communication (MTC), and Internet of Things (IoT) communication systems. The technical solutions provided in this application can also be applied to non-terrestrial network (NTN) systems such as intersatellite communication and satellite communication.

[0169] As an example, a satellite communication system includes a satellite base station and terminal devices. The satellite base station provides communication services to the terminal devices. The satellite base station can also communicate with other base stations. Satellites can function as both base stations and terminal devices. Satellites can refer to drones, hot air balloons, low-orbit satellites, medium-orbit satellites, high-orbit satellites, and other satellites. Satellites can also refer to non-ground base stations or non-ground devices.

[0170] As an example, V2X communication may include: vehicle-to-vehicle (V2V) communication, vehicle-to-roadside infrastructure (V2I) communication, vehicle-to-pedestrian (V2P) communication, and vehicle-to-network (V2N) communication. V2V refers to communication between vehicles. V2P refers to communication between vehicles and people (including pedestrians, cyclists, drivers, or passengers, etc.). V2I refers to communication between vehicles and infrastructure, such as road side units (RSU) or network equipment. Among them, RSU includes two types: terminal-type RSU and base station-type RSU. Among them, terminal-type RSU is in a non-mobile state because it is located on the roadside and does not need to consider mobility; base station-type RSU can provide timing synchronization and resource scheduling to vehicles communicating with it. V2N refers to communication between vehicles and network equipment. It can be understood that the above is an exemplary description and the embodiments of the present application are not limiting. For example, V2X can also include the current 3GPP Rel-16 and subsequent versions of V2X communications based on the NR system.

[0171] 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, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device.

[0172] The terminal device can be a device that provides voice / data to users, for example, a handheld device or vehicle-mounted device with a wireless connection function. At present, some examples of terminals are: mobile phones, tablet computers, laptop computers, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, wearable devices, terminal devices in 5G networks or future evolved public land mobile communication networks (PLMNs). The terminal equipment in the network (PLMN), etc., is not limited to this in the embodiments of the present application.

[0173] As an example and not a limitation, in the embodiment of the present application, the terminal device may also be a wearable device. Wearable devices may also be called wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are fully functional, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.

[0174] In the embodiments of the present application, the device for implementing the function of the terminal device, i.e., the terminal device, can be the terminal device, or a device capable of supporting the terminal device to implement the function, such as a chip system or chip, which can be installed in the terminal device. In the embodiments of the present application, the chip system can be composed of a chip, or can include a chip and other discrete devices.

[0175] 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. Base station can broadly cover various names as follows, or replace the following names, such as: NodeB, evolved NodeB (eNB), next generation NodeB (gNB), relay station, access point, transmission point (TRP), transmission point, master station, auxiliary station, multi-standard wireless (motor slide retainer, 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. The 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. The 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 D2D, V2X, and 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.

[0176] 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.

[0177] In some deployments, the network device mentioned in the embodiments of the present application may be a device including a CU, or a DU, or a device including a CU and a DU, or a control plane CU node (central unit control plane (central unit-control plane, CU-CP)) and a user plane CU node (central unit user plane (central unit-user plane, CU-UP)) and a DU node.

[0178] In the embodiments of the present application, the apparatus for implementing the function of the network device can be the network device, or it can be an apparatus capable of supporting the network device to implement the function, such as a chip system or chip, which can be installed in the network device. In the embodiments of the present application, the chip system can be composed of a chip, or it can include a chip and other discrete devices.

[0179] 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.

[0180] To facilitate understanding of the embodiments of the present application, first, taking Figures 1 and 2 as examples, the application scenarios to which the embodiments of the present application are applicable are explained.

[0181] FIG1 is a schematic diagram of an application scenario 100 involved in this application. As an example, application scenario 100 is a sidelink (SL) positioning scenario. A sidelink may also be referred to as an edge link or a secondary link. It is understood that a sidelink represents a connection relationship between terminal devices and is a logical concept, not a physical entity. The sidelink is only a name for distinction, and its specific name does not limit the scope of protection of this application.

[0182] As an example, the scenario shown in Figure 1 may include a terminal device 110, a terminal device 120, and a positioning management device 130. Terminal device 110 may be the terminal device to be positioned, and terminal device 120 may be another terminal device or a roadside unit. It should be understood that in this positioning scenario, positioning can be achieved between terminal devices 110 and 120 via a direct communication interface (i.e., PC5 interface).

[0183] In a first possible implementation, terminal device 110 has at least two antennas, and terminal device 120 also has at least two antennas. Terminal device 120 sends a reference signal to terminal device 110 via the at least two antennas, and terminal device 110 receives the reference signal via the at least two antennas and performs reference signal measurement.

[0184] For example, the terminal device 110 determines the position and / or posture of the terminal device 110 according to the measurement information.

[0185] For another example, the terminal device 110 sends the measured information to the terminal device 120, and the terminal device 120 determines the position and / or posture of the terminal device 110 according to the received measurement information.

[0186] For another example, the terminal device 110 sends the measured information to the positioning management device 130 , and the positioning management device 130 determines the position and / or posture of the terminal device 110 according to the received measurement information.

[0187] In a second possible implementation, terminal device 110 has at least two antennas, and terminal device 120 may be composed of at least two terminal devices. The at least two terminal devices included in terminal device 120 each transmit a reference signal to terminal device 110 using the same antenna. Terminal device 110 may receive the reference signal and perform reference signal measurement using different antennas.

[0188] For example, the terminal device 110 will determine the position and / or posture of the terminal device 110 based on the measurement information.

[0189] For another example, the terminal device 110 sends the measured information to the terminal device 120, and the terminal device 120 determines the position and / or posture of the terminal device 110 according to the received measurement information.

[0190] For another example, the terminal device 110 sends the measured information to the positioning management device 130 , and the positioning management device 130 determines the position and / or posture of the terminal device 110 according to the received measurement information.

[0191] In a third possible implementation, terminal device 110 has at least two antennas, and terminal device 120 also has at least two antennas. Terminal device 110 sends a reference signal to terminal device 120 via the at least two antennas, and terminal device 120 receives the reference signal via the at least two antennas and performs reference signal measurement.

[0192] For example, the terminal device 120 will determine the position and / or posture of the terminal device 110 based on the measurement information.

[0193] For another example, the terminal device 120 sends the measured information to the terminal device 110, and the terminal device 110 determines the position and / or posture of the terminal device 110 according to the received measurement information.

[0194] For another example, the terminal device 120 sends the measured information to the positioning management device 130 , and the positioning management device 130 determines the position and / or posture of the terminal device 110 according to the received measurement information.

[0195] In a fourth possible implementation, terminal device 110 has at least two antennas, and terminal device 120 may include at least two terminal devices. Terminal device 110 transmits a reference signal to terminal device 120 via the at least two antennas. The at least two terminal devices included in terminal device 120 receive the reference signal via the same antenna and perform reference signal measurement.

[0196] For example, any one device included in the terminal device 120 or at least two devices included in the terminal device 120 may determine the position and / or posture of the terminal device 110 according to the measurement information.

[0197] For another example, at least two terminal devices of the terminal device 120 may send measured information to the terminal device 110 , and the terminal device 110 determines the position and / or posture of the terminal device 110 according to the received measurement information.

[0198] For another example, at least two terminal devices of the terminal device 120 may send measured information to the positioning management device 130 , and the positioning management device 130 determines the position and / or posture of the terminal device 110 according to the received measurement information.

[0199] In a fifth possible implementation, terminal device 110 has at least two antennas, and terminal device 120 has only one antenna. Terminal device 110 sends a reference signal to terminal device 120 via the at least two antennas, and terminal device 120 receives the reference signal via the same antenna and performs reference signal measurement.

[0200] For example, the terminal device 120 determines the position and / or posture of the terminal device 110 according to the measurement information.

[0201] For another example, the terminal device 120 sends the measured information to the terminal device 110, and the terminal device 110 determines the position and / or posture of the terminal device 110 according to the received measurement information.

[0202] For another example, the terminal device 120 sends the measured information to the positioning management device 130 , and the positioning management device 130 determines the position and / or posture of the terminal device 110 according to the received measurement information.

[0203] Figure 2 is a schematic diagram of an application scenario 200 involved in this application. As shown in Figure 2, application scenario 200 primarily involves a cellular positioning scenario. This application scenario 200 may include a terminal device 210, a network device 220, and a positioning management device 230. Terminal device 210 may be a terminal device to be positioned, and network device 220 may serve as an anchor device (i.e., the location of network device 220 is known). In this positioning scenario, positioning can be performed between terminal device 210 and network device 220 via a cellular communication interface (i.e., a Uu interface).

[0204] In one possible implementation, the terminal device 210 has at least two antennas, and the network device 220 also has at least two antennas. The network device 220 sends a reference signal to the terminal device 210 via the at least two antennas, and the terminal device 210 receives the reference signal via the at least two antennas and completes measurement of the reference signal. The terminal device 210 may send the measured information to the positioning management device 230, and the positioning management device 230 determines the position and / or attitude of the terminal device 210 based on the received measurement information. The terminal device 210 may also independently determine the position and / or attitude of the terminal device 210 based on the measured information. The terminal device 210 may also send the measured information to the network device 220, and the network device 220 may determine the position and / or attitude of the terminal device 210 based on the received measurement information.

[0205] In one possible implementation, the terminal device 210 has at least two antennas, and the network device 220 may be composed of at least two network devices. The at least two network devices included in the network device 220 respectively send reference signals to the terminal device 210 on their own antennas, and the terminal device 210 may receive the reference signals on different antennas and complete the measurement of the reference signals. The terminal device 210 may send the measured information to the positioning management device 230, and the positioning management device 230 determines the position and / or posture of the terminal device 210 based on the received measurement information. The terminal device 210 may also determine the position and / or posture of the terminal device 210 based on the measured information. The terminal device 210 may also send the measured information to the network device 220, and the network device 220 may determine the position and / or posture of the terminal device 210 based on the received measurement information.

[0206] In one possible implementation, the terminal device 210 has at least two antennas, and the network device 220 also has at least two antennas. The terminal device 210 sends a reference signal to the network device 220 via the at least two antennas, and the network device 220 receives the reference signal via the at least two antennas and completes the measurement of the reference signal. The network device 220 can send the measured information to the positioning management device 230, and the positioning management device 230 determines the position and / or posture of the terminal device 210 based on the received measurement information. The network device 220 can also determine the position and / or posture of the terminal device 210 based on the measured information. The network device 220 can also send the measured information to the terminal device 210, and the network device 220 can determine the position and / or posture of the terminal device 210 based on the received measurement information.

[0207] In one possible implementation, the terminal device 210 has at least two antennas, and the network device 220 may be composed of at least two network devices. The terminal device 210 sends a reference signal to the network device 220 on at least two antennas, and the at least two network devices included in the network device 220 respectively receive the reference signal on the same antenna and complete the measurement of the reference signal. The network device 220 may send the measured information to the positioning management device 230, and the positioning management device 230 determines the position and / or posture of the terminal device 210 based on the received measurement information. The network device 220 may also determine the position and / or posture of the terminal device 210 based on the measured information. The network device 220 may also send the measured information to the terminal device 210, and the network device 220 may determine the position and / or posture of the terminal device 210 based on the received measurement information.

[0208] In one possible implementation, the terminal device 210 has at least two antennas, and the network device 220 has only one antenna. The terminal device 210 sends a reference signal to the network device 220 via the at least two antennas, and the network device 220 receives the reference signal via the same antenna and completes the measurement of the reference signal. The network device 220 may send the measured information to the positioning management device 230, and the positioning management device 230 determines the position and / or posture of the terminal device 210 based on the received measurement information. The network device 220 may also determine the position and / or posture of the terminal device 210 based on the measured information. The network device 220 may also send the measured information to the terminal device 210, and the network device 220 may determine the position and / or posture of the terminal device 210 based on the received measurement information.

[0209] It should be understood that the multiple antennas involved in each device in Figures 1 and 2 can be physical antennas at multiple different positions on the device, or virtual antennas formed by the movement of a certain antenna on the device, or a combination of the two. This application does not limit this.

[0210] In addition, the application scenarios shown in Figures 1 and 2 are only exemplary and should not impose any limitations on the present application. The embodiments of the present application can be applied to any communication scenario in which a transmitting device and a receiving device communicate.

[0211] In order to facilitate a better understanding of the technical solution of this application, some related technologies involved in the technical solution of this application are introduced.

[0212] 1. Reference signal

[0213] A reference signal is a physical signal that carries a sequence and is sent to achieve a specific function. In this application, reference signals (RS) such as positioning reference signals (PRS) and sidelink positioning reference signals (SL-PRS or SLPRS or SL PRS) are involved. RS is a physical signal generated by mapping a specific sequence to the corresponding time-frequency resources according to the pre-transmitted resource mapping method.

[0214] 2. Number of transmissions and reserved times

[0215] Transmission times: refers to the number of times the same signal (such as a reference signal) is sent, that is, the number of times it is sent repeatedly.

[0216] Reservation: In a time domain unit (e.g., a time slot, referred to as time domain unit #1 for differentiation), information indicating the resources for the reference signal in time domain unit #1 is transmitted. The time and / or frequency domain resource locations of the reserved resources for this reference signal in at least one time domain unit (e.g., a time slot, referred to as time domain unit #2 for differentiation) may also be indicated. Optionally, time domain unit #2 follows time domain unit #1. Optionally, the total number of transmissions and reservations, including those in time domain unit #1 and at least one time domain unit #2, may be indicated using the maximum number of reservations (MaxNumPerReserve).

[0217] As an example, the relationship between transmission (or retransmission) and reservation:

[0218] Optionally, the transmission on the time domain unit #1 and the retransmission on the subsequent time domain units (such as time slots) means that the same parameter signal is determined to be sent multiple times in succession;

[0219] The reservation on at least one time domain unit #2 indicated on time domain unit #1 is a resource reserved for future transmission. The sending device may transmit on time domain unit #2 or may not transmit on time domain unit #2, but this indication information can at least be used to exclude the use of resources when the receiving device selects resources.

[0220] Optionally, the transmission on the time domain unit #1 may be an initial transmission or a retransmission of a reference signal, which is not limited in this application.

[0221] 3. Time-frequency resources

[0222] In this application, data or information can be carried by time-frequency resources, which can also be called transmission resources.

[0223] In the time domain, time-frequency resources may include one or more time domain units (or time units). A time domain unit may be a symbol, a mini-slot, a slot, a partial slot, a subframe, or a radio frame, etc.

[0224] In the frequency domain, time-frequency resources can include one or more frequency domain units. A frequency domain unit can be a resource element (RE), a resource block (RB), a subchannel, a resource pool, a bandwidth, a bandwidth part (BWP), a carrier, a channel, or an interlace RB, etc.

[0225] In this application, as an example, a time slot is the most basic time-domain resource unit for a single transmission. Optionally, a time slot includes: a full time slot, a mini-time slot, a partial time slot, or a sub-time slot consisting of one or more OFDM symbols. Optionally, a time slot can also be a collection of one or more symbols. For example, a time slot can also include a collection of one or more OFDM symbols, for example, the number of the one or more OFDM symbols can be 1, 2, 3, 4, 6, 7, 12, or 14.

[0226] In addition, the duration of a time slot can be related to the subcarrier spacing. For example, when the subcarrier spacing is 15kHz, the duration of a time slot is 1 millisecond (ms); when the subcarrier spacing is 30kHz, the duration of a time slot is 0.5ms; when the subcarrier spacing is 60kHz, the duration of a time slot is 0.25ms. Similarly, when the subcarrier spacing is 15*2 u When the time slot is 2 -u ms, u = 0, 1, 2, ... and other integers.

[0227] For the convenience of description, the time slot referred to in this application may include any of a time slot, a mini time slot, a partial time slot, and a full time slot.

[0228] 4. Comb

[0229] When the signal is mapped to the corresponding symbol, a reference signal is mapped to every N resources on the corresponding frequency domain resources, and no reference signal is mapped to the other N-1 resources. This mapping method of frequency domain resources is called a comb. The value of N in the comb is called the comb size. In this application, the comb size may also be referred to as Comb-N.

[0230] Alternatively, within a certain frequency domain bandwidth, the comb teeth can be described as follows: the resources in each symbol are Y REs out of Y×N REs, with one reference signal in every N REs, where Y is a number greater than zero and N is a positive integer. In this way, the N REs can be used by different communication devices.

[0231] Optionally, assuming that there are K PRBs in the frequency domain bandwidth, the size of Y is: Nre_rb*K / N, where Nre_rb represents the number of REs in a PRB, for example, Nre_rb=12. As an example, the value of K is determined by the bandwidth of the frequency domain resource where the reference signal is located, such as the bandwidth of the resource pool, the bandwidth of the carrier, the bandwidth of the BWP, etc.

[0232] Optionally, for the reference signal in the comb state, from the frequency domain point of view, there are N orthogonal frequency domain resources for the reference signal. Among them, the N orthogonal frequency domain resources can also be referred to as comb offsets (Comb offset). In this application, the comb offset can also be referred to as the frequency domain comb resource element offset (comb RE offset), resource element offset value (RE offset), offset value, etc. The value corresponding to the comb offset can be [0, 1, ..., N-1], or [1, 2, ..., N]. When the reference signal is mapped to one of the N REs, there can be N different mapping positions of the frequency domain resources of the reference signal, that is, N different comb offsets.

[0233] Figure 3 is a schematic diagram of the resources occupied by the downlink positioning reference signal (PLR). As shown in Figure 3, the time-frequency resources occupied by the downlink positioning reference signal are mapped in a comb-like pattern. Figure 3 shows the time-frequency mapping patterns of the downlink positioning reference signal when the comb size is 2, 4, 6, and 12, respectively. Each small square in the figure represents an RE, and the shaded area represents the REs occupied by the SL-PRS. For example, with a comb size of 2 (Comb-2), a device can map one downlink positioning reference signal to every two REs in each symbol. In other words, with a comb size of 2, the mapping interval of the downlink positioning reference signal in the frequency domain is 2. Similarly, with a comb size of 4 (Comb-4), one downlink positioning reference signal is mapped to every four REs in each symbol, with a mapping interval of 4 in the frequency domain. With a comb size of 6 (Comb-6), one downlink positioning reference signal is mapped to every six REs in each symbol, with a mapping interval of 6 in the frequency domain. When the comb size is 12 (Comb-12), in each symbol, a downlink positioning reference signal is mapped to every 12 REs, and the mapping interval of the downlink positioning reference signal in the frequency domain is 12.

[0234] Optionally, in the case where there are 106 PRBs in the frequency domain bandwidth, for Comb-2, Y=2*106, and for Comb-3, Y=3*106.

[0235] Figure 4 is a schematic diagram of the resources occupied by the uplink positioning reference signal, i.e., the time-frequency pattern of the SL-PRS. In the figure, each small square represents a resource element (RE), and the shaded area represents the RE occupied by the SL-PRS. The horizontal direction represents the time domain (e.g., symbol), and the vertical direction represents the frequency domain (e.g., RE).

[0236] FIG4( a ) shows a time-frequency mapping pattern of the SL-PRS when the comb tooth size is 2 (or the frequency domain interval is 2) and it occupies 1 symbol.

[0237] FIG4( b ) shows a time-frequency mapping pattern of the SL-PRS when the comb tooth size is 2 and occupies 2 symbols.

[0238] FIG4( c ) shows a time-frequency mapping pattern of the SL-PRS when the comb tooth size is 4 and occupies 2 symbols.

[0239] FIG4( d ) shows a time-frequency mapping pattern of the SL-PRS when the comb size is 2 and occupies 4 symbols.

[0240] FIG4(e) shows a time-frequency mapping pattern of the SL-PRS when the comb tooth size is 4 and occupies 4 symbols.

[0241] FIG4( f ) shows a time-frequency mapping pattern of the SL-PRS when the comb tooth size is 8 and occupies 4 symbols.

[0242] FIG4( g ) shows a time-frequency mapping pattern of the SL-PRS when the comb size is 4 and occupies 8 symbols.

[0243] FIG4(h) shows a time-frequency mapping pattern of the SL-PRS when the comb tooth size is 8 and occupies 8 symbols.

[0244] FIG4(i) shows a time-frequency mapping pattern of the SL-PRS when the comb size is 4 and occupies 12 symbols.

[0245] FIG4(j) shows a time-frequency mapping pattern of the SL-PRS when the comb size is 8 and occupies 12 symbols.

[0246] Among them, the frequency domain interval value N for sending SL-PRS comb It means that an SL-PRS is placed for every N REs in the frequency domain, and no signal is placed in the other N-1 REs. For example, in (a), (b), and (d) of Figure 4, an SL-PRS is placed for every 2 REs in the frequency domain, so the frequency domain interval is 2. For another example, in (c), (e), (g), and (i) of Figure 4, an SL-PRS is placed for every 4 REs in the frequency domain, so the frequency domain interval is 4. For another example, in (f), (h), and (j) of Figure 4, an SL-PRS is placed for every 8 REs in the frequency domain, so the frequency domain interval is 8. It should be understood that in this application, the frequency domain interval value N for sending SL-PRS is 1. comb It can also be understood as comb teeth or comb tooth size, etc., with K TC Or N represents.

[0247] In addition, if the resources occupied by a certain message are continuous in the frequency domain, it can be said that its frequency domain interval value is 1. For example, for PSSCH, it is continuous in the frequency domain, so its frequency domain interval value is 1.

[0248] 5. SL time slot structure

[0249] Figures 5 and 6 illustrate two time slot structures in the SL. As shown in Figures 5 and 6, the time slot structure may include: time domain resources occupied by channels carrying demodulation reference signals (DMRS), time domain resources occupied by physical sidelink control channels (PSCCH), time domain resources occupied by physical sidelink shared channels (PSSCH), physical sidelink feedback channels (PSFCH), time domain resources processed by automatic gain control (AGC), and null symbols (G).

[0250] A null symbol refers to a guard period (GP) or guard symbol. Null symbols can be used for transmit / receive switching, beam scanning, RF or antenna switching, etc. Null symbols can be located in the middle of a timeslot or at the end of a timeslot; this application does not impose any restrictions on this.

[0251] In the present application, the last symbol of the time slot is taken as an example for explanation. It can be understood that the time slot may not include the last null symbol.

[0252] In Figures 5 and 6, l d Indicates the total number of symbols used to transmit PSCCH and related PSCCH. As shown in Figure 5, l d Indicates the total number of symbols in the time slot except G symbols, i.e. l d =(number of AGC symbols + number of DMRS symbols + number of PSSCH symbols + number of PSCCH symbols). In FIG6 , l d Indicates the total number of symbols in the time slot excluding G symbols and PSFCH symbols, i.e. l d =(number of AGC symbols+number of DMRS symbols+number of PSSCH symbols+number of PSCCH symbols) Numbers 0 to 13 represent the numbers of the symbols in the time slot.

[0253] Optionally, in this application, an AGC symbol is a symbol used by a receiver for automatic gain control. From the perspective of a transmitting device, an AGC symbol may transmit a reference signal or a copy of a symbol adjacent to and following the AGC symbol.

[0254] As can be seen from Figures 5 and 6, the actual number of available PSSCH symbols varies in different scenarios. When transmitting SL-PRS, the number of available SL-PRS symbols is generally a subset of the number of available PSSCH symbols. Therefore, the number of available SLPRS symbols also varies in different scenarios.

[0255] In view of this, the present application proposes a solution that can establish a relationship between SL-PRS resources and SL-PRS resource identifiers, so that the SL-PRS resources can be determined and indicated, which is applicable to various scenarios.

[0256] It should be noted that in this application, "indication" can include direct indication, indirect indication, explicit indication, and implicit indication. When describing that a certain indication information is used to indicate A, it can be understood that the indication information carries A, directly indicates A, or indirectly indicates A.

[0257] In this application, the information indicated by the indication information is referred to as the information to be indicated. In the specific implementation process, there are many ways to indicate the information to be indicated, such as but not limited to, the information to be indicated can be directly indicated, such as the information to be indicated itself or the index of the information to be indicated. The information to be indicated can also be indirectly indicated by indicating other information, wherein there is an association between the other information and the information to be indicated. It is also possible to indicate only a part of the information to be indicated, while the other parts of the information to be indicated are known or agreed in advance. For example, the indication of specific information can also be achieved with the help of the arrangement order of each information agreed in advance (for example, stipulated by the protocol), thereby reducing the indication overhead to a certain extent. In addition, the information to be indicated can be sent together as a whole, or it can be divided into multiple sub-information and sent separately, and the sending period and / or sending time of these sub-information can be the same or different.

[0258] It should also be noted that, in this application, "configuration" can be network device configuration, pre-configuration, or predefined, such as standard pre-definition.

[0259] The following will describe in detail the method provided by the embodiment of the present application in conjunction with the accompanying drawings. The embodiment provided by the present application can be applied to the scenario shown in Figure 1 or Figure 2 above, without limitation.

[0260] Figure 7 is a schematic diagram of a method 700 provided in an embodiment of the present application. The method 700 shown in Figure 7 may include the following steps.

[0261] 701. A first communication device obtains an identifier of a first resource, where the first resource is used to transmit a reference signal. The identifier of the first resource is determined based on at least one of the following: the length of the time domain resource that can be used to transmit the reference signal, the starting position of the time domain resource used to transmit the reference signal, and the length of the time domain resource used to transmit the reference signal.

[0262] The reference signal may be, for example, a sidelink reference signal. As an example, the reference signal may be a sidelink positioning reference signal (SL-PRS), or the reference signal may be a sidelink beam management reference signal.

[0263] The identifier of the first resource may be used to identify (or indicate, or determine) the first resource. In other words, the location of the first resource may be known based on the identifier of the first resource.

[0264] The first resource may be part of the resources in a time slot, such as part of the symbols in a time slot.

[0265] Figure 8 is a schematic diagram of a time slot structure applicable to an embodiment of the present application. As shown in Figure 8, assuming that the reference signal is an SL-PRS, the time domain resources (such as symbols) used to transmit the SL-PRS are part of the time domain resources (such as 2 symbols) in a time slot.

[0266] Optionally, the first resource may be a continuous resource, such as several consecutive symbols in a time slot. Taking Figure 8 as an example, the time domain resources used to transmit the SL-PRS (i.e., the first resource) in a time slot may be continuous, such as two consecutive symbols.

[0267] Optionally, the first communication device sends at least one of the following in the time slot where the first resource is located: PSCCH, PSSCH, AGC. Taking Figure 8 as an example, in one time slot, the first communication device can send SL-PRS, PSSCH, PSCCH, AGC, and DMRS.

[0268] Further optionally, the time domain resources of the SL-PRS are located after the time domain resources of the PSCCH, as shown in Figure 8. Because the PSCCH can carry control information, such as SCI, the SCI can be used to indicate the transmission parameters of the SL-PRS. For example, the transmission parameters may include one or more of the following information: time domain resource indication information of the SL-PRS, frequency domain resource indication information of the SL-PRS, priority of the SL-PRS, reserved period indication information of the SL-PRS, source identifier indication information corresponding to the SL-PRS, destination identifier indication information corresponding to the SL-PRS, etc. In this way, the receiving end can obtain relevant information of the SL-PRS based on the SCI received in the previous symbol, and thus accurately receive the SL-PRS.

[0269] Further optionally, the time domain resources of the AGC are located before the time domain resources of the PSCCH, the time domain resources of the PSSCH, and the time domain resources of the SL-PRS. As shown in Figure 8, the AGC symbol is located before the symbols of other signals or information.

[0270] The AGC symbol precedes the symbols of other signals or information, which allows the receiving end (such as the second communication device) to perform AGC processing as quickly as possible. AGC processing can be understood as the receiving end adjusting the receive gain. For example, when performing receive detection, the receiving end needs to adjust the receive gain of the information entering the baseband from the RF front end so that the amplitude of the signal input to the analog-to-digital converter (ADC) module is within the ADC's quantization range. This maximizes the signal-to-noise ratio of the received signal within the baseband and achieves optimal reception performance.

[0271] The specific method for determining the identifier of the first resource will be described in detail later.

[0272] 702. A first communication device sends a reference signal using a first resource.

[0273] The first communication device may be a terminal device or a component of a terminal device (e.g., a chip or circuit), or the first communication device may be a network device or a component of a network device (e.g., a chip or circuit). The second communication device may be a terminal device or a component of a terminal device (e.g., a chip or circuit), or the second communication device may be a network device or a component of a network device (e.g., a chip or circuit). In one possible implementation, the first communication device and the second communication device are terminal devices, and accordingly, the reference signal may be a sidelink reference signal.

[0274] Based on the above technical solution, the first communication device can obtain the identifier of the first resource, and then determine the first resource based on the identifier of the first resource, and then use the first resource to send a reference signal. The identifier of the first resource can be determined based on one or more of the length of the time domain resource that can be used to transmit the reference signal, the starting position of the time domain resource used to transmit the reference signal, and the length of the time domain resource used to transmit the reference signal. In this way, for example, an association can be established between the identifier of the resource used to transmit the reference signal and the length of the starting position of the resource, or a relationship can be established between the identifier of the resource used to transmit the reference signal and the length of the time domain resource that can be used to transmit the reference signal, so that the resource of the reference signal can be determined and indicated. This method can be applicable to various communication scenarios.

[0275] For ease of description, the following describes a solution in an embodiment of the present application using the reference signal being an SL-PRS as an example. Accordingly, the first resource is used to transmit the SL-PRS.

[0276] Optionally, in step 701, the first communication device obtains the identifier of the first resource, including but not limited to any of the following implementations.

[0277] In a first possible implementation manner, the first communication device determines an identifier of the first resource.

[0278] Based on this approach, the first communication device can determine the identifier of the first resource by itself, so that it can select appropriate resources to transmit the SL-PRS according to actual communication conditions, which is more flexible.

[0279] In a second possible implementation manner, the first communication device receives indication information #1, where the indication information #1 indicates an identifier of the first resource.

[0280] For example, the first communication device receives indication information #1 from the network device.

[0281] The indication information #1 may directly indicate the identifier of the first resource, or may indicate identifiers of multiple resources, including the identifier of the first resource. The following describes two examples using the example of the network device sending the indication information #1 to the first communication apparatus.

[0282] Example 1: A first communication apparatus receives indication information #1 from a network device, where the indication information #1 directly indicates an identifier of a first resource. For example, the indication information #1 includes the identifier of the first resource.

[0283] Based on this approach, the network device can determine the identifier of the first resource and indicate the identifier of the first resource to the first communication device. The first communication device can directly obtain the identifier of the first resource based on the indication information #1 and then determine the first resource. This can reduce the computational effort of the first communication device.

[0284] Example 2: A first communication apparatus receives indication information #1 from a network device, where the indication information #1 indicates identifiers of multiple resources, where the identifiers of the multiple resources include an identifier of a first resource. For example, the indication information #1 includes identifiers of multiple resources.

[0285] The first communication device may determine the identifier of the first resource from the identifiers of the multiple resources.

[0286] As an example, the first communication device determines the identifier of the first resource based on multiple resource identifiers, including: the first communication device determines the identifier of the first resource based on multiple resource identifiers, and at least one of the following: a time domain resource for transmitting an SL reference signal, a time domain resource for transmitting SL feedback information, and a time domain resource for transmitting PSSCH. The SL reference signal represents a reference signal other than the SL-PRS. For example, the SL reference signal includes but is not limited to: a phase tracking reference signal (PT-RS), a channel state information-reference signal (CSI-RS), a beam management reference signal (BM-RS), or a DMRS, etc.

[0287] For example, taking a time slot as an example, the first communication device determines multiple time domain resources (such as multiple symbols) based on the identifiers of multiple resources, and then excludes the time domain resources (such as symbols) used to transmit SL reference signals, the time domain resources (such as symbols) used to transmit SL feedback information, and the time domain resources (such as symbols) used to transmit PSSCH from the multiple time domain resources. The remaining time domain resources can be used as the first resources to transmit SL-PRS.

[0288] For another example, assuming that the first resource is a continuous resource, taking a time slot as an example, the first communication device determines multiple time domain resources (such as multiple symbols) based on the identifiers of multiple resources, and then excludes the following resources: time domain resources (such as symbols) used to transmit SL reference signals, time domain resources (such as symbols) used to transmit SL feedback information, time domain resources (such as symbols) used to transmit PSSCH, and discontinuous time domain resources in the multiple time domain resources. The remaining time domain resources can be used as the first resource to transmit SL-PRS.

[0289] For another example, assuming that the identifiers of multiple resources include identifiers of k candidate resources, k is an integer greater than 1, the first communication device can determine k candidate resources based on the identifiers of the k candidate resources, and the first communication device determines the first resource based on the k candidate resources and the time domain resources used to transmit the SL reference signal (such as the time domain resources used to transmit the PT-RS), and then can determine the identifier of the first resource. Taking SL-PRS as an example, the candidate resources are the resources used to transmit the SL-PRS. Specifically, the network device configures k candidate resources for the SL-PRS and notifies the first communication device (such as notifying the first communication device through indication information #1); the first communication device selects a candidate resource that does not overlap with the PT-RS based on the k candidate resources to transmit the SL-PRS. This solution will be described in detail later in conjunction with Figure 12.

[0290] Based on this approach, the network device can determine multiple resource identifiers, and the first communication device selects a suitable resource identifier according to actual communication conditions, which not only reduces the computational load of the first communication device but is also more flexible.

[0291] For example, the indication information #1 may be other information that is associated with the identifier of the first resource, so that the first communication device can determine the identifier of the first resource based on the other information and the associated relationship.

[0292] The following takes SL-PRS as an example to introduce a method for determining the identifier of the first resource.

[0293] The identifier of the first resource is determined based on at least one of the following: the length of the time domain resource that can be used to transmit the SL-PRS, the starting position of the time domain resource used to transmit the SL-PRS, and the length of the time domain resource used to transmit the SL-PRS. The following describes several solutions using the example of a first communication device determining the identifier of the first resource. It is understood that other devices, such as network equipment, can refer to the following solutions for determining the identifier of the first resource and will not be further described here.

[0294] Solution A: The identifier of the first resource is determined according to the length of the time domain resource that can be used to transmit the SL-PRS.

[0295] The following first introduces the length of time domain resources that can be used to transmit SL-PRS.

[0296] In the embodiments of the present application, unless otherwise specified, the length of the time domain resource used to transmit the signal may be: the length of the time domain resource used to transmit the signal in a time domain unit (such as a time slot), such as the total number of symbols used to transmit the signal in a time slot (referred to as the number of symbols for short). For example, the length of the time domain resource used to transmit SL-PRS may be the number of symbols used to transmit SL-PRS in a time slot; for another example, the length of the time domain resource used to transmit PSSCH may be the number of symbols used to transmit PSSCH in a time slot; for another example, the length of the time domain resource used to transmit PSFCH may be the number of symbols used to transmit PSFCH in a time slot; for another example, the length of the time domain resource used to transmit DMRS may be the number of symbols used to transmit DMRS in a time slot. Other similarities will not be repeated hereafter.

[0297] The length of the time domain resources that can be used to transmit the SL-PRS represents the length of the time domain resources that can be used to transmit the SL-PRS, for example, the number of symbols that can be used to transmit the SL-PRS in a time slot. In other words, the length of the time domain resources actually used to transmit the SL-PRS is less than or equal to the length of the time domain resources that can be used to transmit the SL-PRS; in other words, the time domain resources actually used to transmit the SL-PRS are selected from the time domain resources that can be used to transmit the SL-PRS.

[0298] The length of the time domain resources that can be used to transmit the SL-PRS is determined based on the length of the time domain resources that can be used to transmit other signals or information.

[0299] For example, in a time slot, the time domain resources that can be used to transmit SL-PRS refer to the time domain resources used to transmit PSSCH in the time slot, excluding the time domain resources used to transmit other signals, channels, or information. Other signals or channels may include, but are not limited to, at least one of the following: PSFCH, PSCCH, other reference signals, etc. Other reference signals include, but are not limited to, PT-RS, CSI-RS, BM-RS, or DMRS.

[0300] For another example, in a time slot, the time domain resources that can be used to transmit SL-PRS refer to: the time domain resources used for sidelink transmission in the time slot, excluding the time domain resources used to transmit other signals, channels, or information. Among them, other signals or information may include, but are not limited to, at least one of the following: AGC, GAP, PSFCH, PSCCH, other reference signals, etc. Among them, other reference signals include, but are not limited to, PT-RS, CSI-RS, BM-RS, or DMRS.

[0301] In one possible implementation, the length of the time domain resources that can be used to transmit SL-PRS is determined based on at least one of the following: the length of the time domain resources used to transmit PSSCH, the length of the time domain resources used to transmit PSCCH, the length of the time domain resources used to transmit PSFCH, the length of the time domain resources used to transmit DMRS, the length of the time domain resources used to transmit AGC, the length of the time domain resources used to transmit GAP, and the length of the time domain resources used to transmit other reference signals. For example, in a time slot, the time domain resources that can be used to transmit SL-PRS do not include at least one of the following: the time domain resources used to transmit PSSCH in the time slot, the time domain resources used to transmit PSCCH in the time slot, the time domain resources used to transmit PSFCH in the time slot, the time domain resources used to transmit DMRS in the time slot, the time domain resources used to transmit AGC in the time slot, the time domain resources used to transmit GAP in the time slot, and the time domain resources used to transmit other reference signals in the time slot. Among them, other reference signals include but are not limited to: PT-RS, CSI-RS, BM-RS, or DMRS. In addition, those skilled in the art will appreciate that the time domain resources used to transmit DMRS are related to the DMRS pattern. Therefore, the length of the time domain resources that can be used to transmit SL-PRS is also related to the DMRS pattern. In addition, as in step 710, the identification of the first resource is determined based on at least one of the following: the length of the time domain resources that can be used to transmit the reference signal, the starting position of the time domain resources used to transmit the reference signal, and the length of the time domain resources used to transmit the reference signal. Therefore, as an example, the identification of the first resource is determined based on at least one of the following: the time domain resources used to transmit PSSCH, the time domain resources used to transmit PSCCH, the DMRS pattern, and the length of the time domain resources used to transmit SL-PRS. This will be described in detail later.

[0302] For simplicity, the length of the time domain resource that can be used to transmit the SL-PRS is referred to as Ma. This is explained below with reference to some formulas.

[0303] In the following formula, the meaning of each parameter is as follows.

[0304] 1) Ma represents the length of the time domain resource that can be used to transmit SL-PRS. Taking a time slot as an example, Ma represents the number of symbols that can be used to transmit SL-PRS in a time slot.

[0305] 2)l d Indicates the length of the time domain resource used to transmit PSSCH. Taking a time slot as an example, l d Indicates the number of symbols used to transmit PSSCH in a time slot.

[0306] Optionally, l d =l SL –lPSFCH Among them, l SL Indicates the length of the time domain resource used for side transmission, l PSFCH Indicates the length of the time domain resource used to transmit PSFCH. Based on this, we can know that l d Indicates the number of symbols used to transmit PSSCH in a time slot excluding PSFCH symbols.

[0307] 3)l d ' represents the side symbol length (such as the symbol length indicated by the parameter sl-LengthSymbols-r16) minus 1. d 'It can be configured (such as network device configuration), or it can be predefined or preconfigured, without limitation.

[0308] Taking a time slot as an example, if the time slot includes PSFCH symbols, then l d The number of symbols excluding PSFCH, l d 'Including the number of PSFCH symbols. Taking Figure 6 as an example, there are 14 symbols in the time slot, of which 3 symbols are used to transmit PSFCH, then l d =10,l d '=13.

[0309] 4)l PSCCH Indicates the length of the time domain resource used to transmit PSCCH. Taking a time slot as an example, l PSCCH Indicates the number of symbols used to transmit PSCCH in a time slot. PSCCH It can be configured (such as a network device configuration), or it can be predefined or preconfigured, without limitation. In addition, as an example, the l PSCCH It may be instructed by other communication devices (such as network equipment or other terminal equipment).

[0310] 5)l PSFCH Indicates the length of the time domain resource used to transmit PSFCH. Taking a time slot as an example, l PSFCH Indicates the number of symbols used to transmit PSFCH in a time slot. As an example, l PSFCH The value of is any of the following: 0, 1, 2, or 3.

[0311] 6)l DMRS Indicates the length of the time domain resource used to transmit DMRS. Taking a time slot as an example, l DMRS Indicates the number of symbols used to transmit DMRS in a time slot.

[0312] In scheme 1, Ma is determined according to the following: the length of the time domain resources used to transmit PSSCH, the length of the time domain resources used to transmit PSCCH, and the length of the time domain resources used to transmit PSFCH.

[0313] Based on this solution, in one possible implementation, Ma satisfies Formula 1 or Formula 2. Ma=l d -l PSCCH –X1 Formula 1 Ma=l d '-l PSCCH -l PSFCH –X1 Formula 2

[0314] Where X1 is a constant or a configured parameter.

[0315] Optionally, the resource of X1 is related to the type of resource pool. The types of resource pools include: shared resource pool and dedicated resource pool. In this application, a shared resource pool refers to a resource pool that can be used for both SL-PRS and PSSCH transmission; a dedicated resource pool refers to a resource pool that can transmit PSSCH but not SLPRS.

[0316] For example, for a shared resource pool, the value of X1 is 1. For another example, for a dedicated resource pool, the value of X1 is 2.

[0317] Based on the above implementation method, when determining the time domain resources (such as the number of symbols) that can be used to transmit SL-PRS in a time slot, the time domain resources used to transmit PSCCH and the time domain resources used to transmit PSFCH in the time slot can be removed, and through the design of the constant X1, the time domain resources used to transmit other signals (such as AGC, DMRS) can be removed.

[0318] The value of X1 can be any of the following: 0, 1, 2 or 3. As an example, different l d The value of (or different numerical ranges of l d ) can correspond to different values ​​of X1.

[0319] Example 1: The value of X1 is 2 or 3.

[0320] For example, if 9≤l d ≤13, then X1=3, that is, Ma=l d -l PSCCH –3, or, Ma = 1 d '-l PSCCH -l PSFCH –3.

[0321] For another example, if 6≤l d ≤8, then X1=2, that is, Ma=ld -l PSCCH –2, or, Ma=l d '-l PSCCH -l PSFCH –2.

[0322] In the above example, by designing the constant X1, the time domain resources used to transmit other signals (such as AGC and DMRS) can be removed. In this way, Ma can be determined more accurately and the signaling overhead caused by notifying Ma is reduced.

[0323] Example 2: The value of X1 is 0 or 1.

[0324] In the above example, by designing the constant X1, the time domain resources used to transmit other signals (such as AGC) can be eliminated. In this way, there is no need to distinguish different scenarios, and Ma is determined in a unified way, reducing the amount of calculation.

[0325] Among them, l PSFCH ≥0.

[0326] For example, if there is no symbol in the time slot for transmitting PSFCH, l PSFCH =0.

[0327] For another example, if there are symbols in the time slot used to transmit PSFCH, PSFCH >0. As an example, l PSFCH =2 or 3.

[0328] Taking (1) in Figure 5 as an example, l d =13, assuming X1=3, according to formula 1, Ma=l d -l PSCCH –X1=13-2-3=8.

[0329] For another example, taking (2) in Figure 5 as an example, l d =6, assuming X1 = 2, according to formula 1, Ma = l d -l PSCCH –X1=6-2-2=2.

[0330] It is understood that the above formulas 1 and 2 are exemplary explanations, and the modified formulas of the above formulas 1 and 2 are applicable to this application. For example, the above formula 1 can be replaced by: Ma=l d -l PSCCH –X1-X1a, or, Formula 2 can be replaced by: Ma=l d '-l PSCCH -l PSFCH–X1a. The value of X1a can be determined by the transmitting end (such as the first communication device), or by other devices, or indicated by configuration information, or predefined and is not limited. By designing X1a, it can be used to limit the number of PSSCH symbols transmitted on a resource pool (such as a shared resource pool), or the symbols reserved for the minimum number of symbols. In this way, the number of available SL-PRS symbols can be accurately determined in the time slot with PSSCH transmission, thereby further reducing the overhead of signaling indication.

[0331] In scheme 2, Ma is determined according to the following: the length of the time domain resources used to transmit PSSCH, the length of the time domain resources used to transmit PSCCH, the length of the time domain resources used to transmit PSFCH, and the length of the time domain resources used to transmit DMRS.

[0332] In a possible implementation, Ma satisfies equation 3 or equation 4. Ma=1 d -l PSCCH -l DMRS –X2 Formula 3 Ma=l d '-l PSCCH -l DMRS -l PSFCH –X2 Formula 4

[0333] Where X2 is a constant.

[0334] Based on the above implementation, when determining the time domain resources (e.g., number of symbols) that can be used to transmit SL-PRS in a time slot, the time domain resources used to transmit PSCCH, PSFCH, and DMRS in the time slot can be removed. Furthermore, by designing the constant X2, the time domain resources used to transmit other signals (e.g., AGC) can be removed. This approach allows for more accurate determination of Ma and reduces the signaling overhead associated with notifying Ma.

[0335] As an example, X2=0 or 1.

[0336] As an example, l PSFCH ≥0.

[0337] For example, if there is no symbol in the time slot for transmitting PSFCH, l PSFCH =0.

[0338] For another example, if there are symbols in the time slot used to transmit PSFCH, PSFCH >0. As an example, l PSFCH =2 or 3.

[0339] As an example, lDMRS ≥0.

[0340] For example, if there is no symbol in the time slot for transmitting DMRS, l DMRS =0.

[0341] For another example, if there are symbols in the time slot used to transmit DMRS, DMRS >0. As an example, l PSFCH =Any one of 2, 3, or 4.

[0342] Taking (1) in Figure 5 as an example, l d =13, assuming X2=1, according to formula 3, Ma=l d -l PSCCH -l DMRS –X3=13-2-2-1=8.

[0343] It is understood that the above formula 3 and formula 4 are exemplary explanations, and the modified formulas of the above formula 3 and formula 4 are applicable to this application. For example, the above formula 3 can be replaced by: Ma=l d -l PSCCH -l DMRS –X2-X2a, or, Equation 4 can be replaced by: Ma=l d '-l PSCCH -l DMRS -l PSFCH –X2-X2a. The value of X2a can be determined by the transmitting end (such as the first communication device), or it can be determined by other devices, or it can be indicated by configuration information, or it can be predefined and not limited. By designing X2a, it can be used to limit the number of PSSCH symbols sent on a resource pool (such as a shared resource pool), or the symbols reserved for the minimum number of symbols. In this way, the number of available SL-PRS symbols can be accurately determined in the time slot with PSSCH transmission, thereby further reducing the overhead of signaling indication.

[0344] In scheme 3, Ma is determined according to the following: the length of the time domain resource used to transmit the PSSCH.

[0345] In a possible implementation, Ma satisfies Equation 5 or Equation 6. Ma=1 d -X3 Formula 5 Ma=l d '-l PSFCH -X3 Type 6

[0346] Where X3 is a constant.

[0347] As an example, X3=0 or 1.

[0348] Based on the above implementation, the time domain resources (such as the number of symbols) that can be used to transmit SL-PRS in a time slot can be the time domain resources used to transmit PSSCH. In this way, there is no need to distinguish different scenarios, and Ma is determined in a unified manner, which reduces the amount of calculation.

[0349] It is understood that the above formulas 5 and 6 are exemplary explanations, and the modified formulas of the above formulas 5 and 6 are applicable to this application. For example, the above formula 5 can be replaced by: Ma=l d -X3-X3a, or, Formula 6 can be replaced by: Ma=l d '-l PSFCH -X3-X3a. The value of X3a can be determined by the transmitting end (such as the first communication device), or can be determined by other devices, or can be indicated by configuration information, or can be predefined and not limited. By designing X3a, it can be used to limit the number of PSSCH symbols sent on a resource pool (such as a shared resource pool), or the symbols reserved for the minimum number of symbols. In this way, the number of available SL-PRS symbols can be accurately determined in the time slot with PSSCH transmission, thereby further reducing the overhead of signaling indication.

[0350] It is understood that the above three solutions are merely examples, and variations of the above three solutions are applicable to the embodiments of the present application. For example, the time domain resources (such as the number of symbols) of other reference signals are subtracted from the above equations 1 to 6.

[0351] It can also be understood that the above three solutions can be applied to a dedicated resource pool or a shared resource pool.

[0352] The above describes the relevant solutions for the length of time domain resources that can be used to transmit SL-PRS. Solution A is described below.

[0353] Based on solution A, it can be seen that the identifier of the first resource is determined according to the length of the time domain resource that can be used to transmit the SL-PRS.

[0354] Optionally, the identifier of the first resource is obtained by encoding the length of the time domain resource that can be used to transmit the SL-PRS. This approach can avoid indicating some unnecessary identifiers (or states) and can reduce signaling overhead.

[0355] Optionally, the identifier of the first resource is obtained by encoding the length of the time domain resource that can be used to transmit the SL-PRS and only one frequency domain offset value (or subcarrier offset value) on each symbol. This method can avoid indicating some unnecessary identifiers (or states) and reduce signaling overhead.

[0356] For example, assume that there are Ma symbols available for SL-PRS transmission in a time slot, and they can be encoded according to the symbol lengths of the SL-PRS that can be supported.

[0357] Optionally, the identifier of the first resource satisfies any one of the following: n id = S start , n id = S start + Ma, or n id = S start + 2Ma - 1,

[0358] where, n<OO00191>represents the identifier of the first resource, S start represents the starting position of the time-domain resource for transmitting SL-PRS, and Ma represents the length of the time-domain resource that can be used to transmit SL-PRS. As an example, the values of n expressed in the above three ways id can be used to indicate the symbol lengths of at least two SL-PRS. For example, different symbol lengths of SL-PRS correspond to different id values of n.

[0359] Taking an example below, based on a specific example, two implementation methods are listed.

[0360] Assume that there are three symbol lengths of SL-PRS that can be supported, denoted as M1, M2, M3, and M1 < M2 < M3. As an example, M1 = 1, M2 = 2, M3 = 4. <OO01091>

[0361] For the first possible implementation method, the identifier of the first resource satisfies Equation 7.

[0362] If 0 ≤ n id ≤ Ma - M1, then n id = S start , M = M1

[0363] If Ma - M1 + 1 ≤ n id ≤ 2Ma - M1 - M2 + 1, then n id = S start + Ma, M = M2

[0364] If 2Ma - M1 - M2 + 2 ≤ n id ≤ 3Ma - M1 - M2 - M3 + 2, then n id = S<0OO0203>+ 2Ma - 1, M = M3

[0365] Equation 7

[0366] where, n idIndicates the symbol index of the first resource in a time slot. start Indicates the starting symbol of SL-PRS in a time slot. M indicates the symbol length of SL-PRS in a time slot.

[0367] The following uses the time slot structure shown in (1) in FIG5 as an example for explanation.

[0368] Assume that Ma=l d -l PSCCH –X1, and X1=3.

[0369] As shown in (1) in Figure 5, l d =13,Ma=1 d -l PSCCH –X1=13-2-3=8. Based on the above implementation, assuming that the supported SL-PRS symbol lengths are: M1=1, M2=2, and M3=4, then encoding Ma symbols (i.e., 8 symbols) results in a total of 20 (8+7+5=20) possible identifier values. "8" indicates that when the number of symbols of the first resource is M1 (i.e., M=1), the identifier can take 8 values; "7" indicates that when the number of symbols of the first resource is M2 (i.e., M=2), the identifier can take 7 values; and "5" indicates that when the number of symbols of the first resource is M3 (i.e., M=4), the identifier can take 5 values. If the identifier of the first resource is indicated by binary bits, then 5 bits can indicate which state (i.e., which identifier) ​​is being used, reducing signaling overhead.

[0370] Specifically, as can be seen from (1) in Figure 5, the eight symbols are: symbol 4, symbol 5, symbol 6, symbol 7, symbol 8, symbol 9, symbol 11, and symbol 12. Assuming that the identifier of the first resource starts at 0, the identifier value of the first resource may be: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19}.

[0371] If M=M1=1, the possible values ​​of the identifier of the first resource are: {0,1,2,3,4,5,6,7}. Among them, the identifier "0" corresponds to the symbol 4, the identifier "1" corresponds to the symbol 5, the identifier "2" corresponds to the symbol 6, the identifier "3" corresponds to the symbol 7, the identifier "4" corresponds to the symbol 8, the identifier "5" corresponds to the symbol 9, the identifier "6" corresponds to the symbol 11, and the identifier "7" corresponds to the symbol 12.

[0372] If M=M2=2, the identifier value of the first resource may be: {8,9,10,11,12,13,14}. Among them, the identifier "8" corresponds to symbol 4 and symbol 5, the identifier "9" corresponds to symbol 5 and symbol 6, the identifier "10" corresponds to symbol 6 and symbol 7, the identifier "11" corresponds to symbol 7 and symbol 8, the identifier "12" corresponds to symbol 8 and symbol 9, the identifier "13" corresponds to symbol 9 and symbol 11, and the identifier "14" corresponds to symbol 11 and symbol 12.

[0373] If M=M3=4, then the identifier value of the first resource may be: {15,16,17,18,19}. Among them, the identifier "15" corresponds to the symbol 4, symbol 5, symbol 6, and symbol 7, the identifier "16" corresponds to the symbol 5, symbol 6, symbol 7, and symbol 8, the identifier "17" corresponds to the symbol 6, symbol 7, symbol 8, and symbol 9, the identifier "18" corresponds to the symbol 7, symbol 8, symbol 9, and symbol 11, and the identifier "19" corresponds to the symbol 8, symbol 9, symbol 11, and symbol 12.

[0374] For example, if the first resource identifier indicated by the first communications device is "4" and M is 1, then based on the above correspondence, the time domain resource where the SL-PRS is located is symbol 8. For another example, if the first resource identifier indicated by the first communications device is "10" and M is 2, then based on the above correspondence, the time domain resources where the SL-PRS is located are symbols 6 and 7. For another example, if the first resource identifier indicated by the first communications device is "13" and M is 2, then based on the above correspondence, the time domain resources where the SL-PRS is located are symbols 9 and 11. Assuming that the SL-PRS is transmitted using continuous time domain resources, symbols 9 and 11 indicated by the first resource identifier "13" can be considered invalid values ​​because symbols 9 and 11 are discontinuous. For another example, if the first resource identifier indicated by the first communications device is "17" and M is 4, then based on the above correspondence, the time domain resources where the SL-PRS is located are symbols 6, 7, 8, and 9.

[0375] In a second possible implementation, the identifier of the first resource satisfies Formula 8.

[0376] If 0≤n id ≤Ma-M1-M 1e , then n id =S start , M=M1

[0377] If Ma-M1-M 1e +1≤n id ≤2Ma-M1-M2-M 1e –M 2e+1, then n id =S start +Ma,M=M2

[0378] If 2Ma-M1-M2-M 1e –M 2e +2≤n id ≤3Ma-M1-M2-M3-M 1e –M 2e –M 3e +2, then n id =S start +2Ma-1,M=M3

[0379] Formula 8

[0380] Among them, M 1e 、M 2e 、M 3e The identifier values ​​to be excluded when the symbol lengths of the SL-PRS are M1, M2, and M3, respectively. The identifier values ​​to be excluded may be identifiers of resources occupied by the DMRS. Specifically, when determining the identifier of the first resource, invalid identifier values ​​may be directly excluded based on the DMRS pattern used when the first communication device transmits the DMRS.

[0381] The following takes the time slot structure shown in (1) in FIG5 as an example to illustrate.

[0382] Assume that Ma=l d -l PSCCH -l DMRS –X2, and X2=1.

[0383] As shown in (1) in Figure 5, l d =13,Ma=1 d -l PSCCH -l DMRS –X3=13-2-2-1=8. Based on the above implementation, assuming that the supported SL-PRS symbol lengths are: M1=1, M2=2, and M3=4, then encoding Ma symbols (i.e., 8 symbols) results in a total of 17 (8+6+3=17) possible identifier values. "8" indicates that when the number of symbols of the first resource is M1 (i.e., M=1), the identifier can take 8 values; "6" indicates that when the number of symbols of the first resource is M2 (i.e., M=2), the identifier can take 6 values; and "3" indicates that when the number of symbols of the first resource is M3 (i.e., M=4), the identifier can take 3 values. If the identifier of the first resource is indicated by binary bits, then 5 bits are sufficient to indicate which state (i.e., which identifier) ​​is being used, reducing signaling overhead.

[0384] Specifically, as can be seen from (1) in Figure 5, the eight symbols are: symbol 4, symbol 5, symbol 6, symbol 7, symbol 8, symbol 9, symbol 11, and symbol 12. Assuming that the identifier value of the first resource starts at 0, the identifier value of the first resource may be: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}.

[0385] If M=M1=1, the possible values ​​of the identifier of the first resource are: {0,1,2,3,4,5,6,7}. Among them, identifier "0" corresponds to symbol 4, identifier "1" corresponds to symbol 5, identifier "2" corresponds to symbol 6, identifier "3" corresponds to symbol 7, identifier "4" corresponds to symbol 8, identifier "5" corresponds to symbol 9, identifier "6" corresponds to symbol 11, and identifier "7" corresponds to symbol 12.

[0386] If M=M2=2, the identifier value of the first resource may be: {8,9,10,11,12,13}. Among them, the identifier "8" corresponds to symbol 4 and symbol 5, the identifier "9" corresponds to symbol 5 and symbol 6, the identifier "10" corresponds to symbol 6 and symbol 7, the identifier "11" corresponds to symbol 7 and symbol 8, the identifier "12" corresponds to symbol 8 and symbol 9, and the identifier "13" corresponds to symbol 11 and symbol 12.

[0387] If M=M3=4, then the identifier value of the first resource may be: {14,15,16}. Among them, the identifier "14" corresponds to the symbol 4, symbol 5, symbol 6, and symbol 7, the identifier "15" corresponds to the symbol 5, symbol 6, symbol 7, and symbol 8, and the identifier "16" corresponds to the symbol 6, symbol 7, symbol 8, and symbol 9.

[0388] For example, if the identifier of the first resource indicated by the first communication device is "4" and M is 1, then based on the above correspondence, it can be known that the time domain resource where the SL-PRS is located is symbol 8. For another example, if the identifier of the first resource indicated by the first communication device is "10" and M is 2, then based on the above correspondence, it can be known that the time domain resources where the SL-PRS is located are symbols 6 and 7. For another example, if the identifier of the first resource indicated by the first communication device is "13" and M is 2, then based on the above correspondence, it can be known that the time domain resources where the SL-PRS is located are symbols 11 and 12. For another example, if the identifier of the first resource indicated by the first communication device is "16" and M is 4, then based on the above correspondence, it can be known that the time domain resources where the SL-PRS is located are symbols 6, symbol 7, symbol 8, and symbol 9.

[0389] Optionally, the first resource is also determined based on at least one of the following: a time domain resource used to transmit a sidelink reference signal, a time domain resource used to transmit sidelink feedback information, and a time domain resource used to transmit a PSSCH.

[0390] A possible implementation method is that in step 701, the first communication device obtains the identifier of the first resource, including: the first communication device obtains the identifiers of N resources by encoding the length of the time domain resources that can be used to transmit SL-PRS, where N is an integer greater than 1; the first communication device determines the identifier of the first resource based on the identifiers of the N resources and preset rules, and the preset rules indicate: the first resource is a continuous resource, and / or, the first resource does not include one of the following indications: a time domain resource for transmitting a sidelink reference signal, a time domain resource for transmitting sidelink feedback information, and a time domain resource for transmitting PSSCH.

[0391] Specifically, after the first resource is determined based on the above solution A, invalid ID values ​​(or invalid states) can be excluded.

[0392] Invalid ID values ​​may include, but are not limited to: resources that conflict with other signals and / or discontinuous resources.

[0393] Specifically, after determining the SL-PRS ID corresponding to the combination of the starting position and length of all SL-PRS time domain resources, the first communication device can determine which PSSCH time domain resources will be occupied by other signals based on actual conditions. When determining the resources used by the SL-PRS, the first communication device needs to ensure that the time domain resources of the SL-PRS do not overlap with the time domain resources occupied by other signals, that is, the first communication device avoids the overlap of the time domain resources of the SL-PRS with the time domain resources occupied by other signals by selecting an appropriate SL-PRS ID.

[0394] The other signals include, but are not limited to, sidelink reference signals and sidelink feedback information. The sidelink reference signals represent reference signals other than SL-PRS, and may include, but are not limited to, PT-RS, CSI-RS, BM-RS, or DMRS. The sidelink feedback information may include, for example, PSFCH.

[0395] In another possible implementation, the first resource overlaps with the third resource, and the third resource is used to transmit a sidelink reference signal. Method 700 further includes: using resources in the third resource that do not overlap with the first resource to transmit the sidelink reference signal. For example, after the first communications device determines the first resource, if some of the first resource overlaps with the third resource, that is, if the some resource is also used to transmit a sidelink reference signal (such as a PT-RS), then only the SL-PRS is transmitted at the overlapping location, and the PT-RS is not transmitted. This solution is described in detail later in conjunction with Figure 12.

[0396] For example, the first communication device (or network device) determines the length of the time domain resource that can be used to transmit the SL-PRS (e.g., l d ), the time domain resources for transmitting DMRS, and the length of the time domain resources for transmitting SL-PRS, determine the first resource; if the resources in the first resource overlap with the third resource, then at the overlapping position, the first communication device only sends SL-PRS and does not send PT-RS.

[0397] Solution B: The identifier of the first resource is determined according to the starting position and length of the time domain resource used to transmit the SL-PRS.

[0398] The following first introduces the starting position and length of the time domain resources used to transmit SL-PRS.

[0399] The starting position of the time domain resource used for transmitting the SL-PRS may represent a starting symbol used for transmitting the SL-PRS in a time slot.

[0400] The length of the time domain resource used to transmit the SL-PRS may represent the number of symbols used to transmit the SL-PRS in a time slot.

[0401] Optionally, the first communication device may obtain the starting position and length of the time domain resources used to transmit the SL-PRS based on the following method.

[0402] In a first possible implementation manner, the first communication device itself determines the starting position and length of the time domain resources used for transmitting the SL-PRS.

[0403] Based on this, the first communication device can determine the starting position and length of the time domain resources used to transmit the SL-PRS in a time slot according to actual communication conditions.

[0404] In a second possible implementation, other devices (such as network equipment) send indication information #2 to the first communication device, where the indication information #2 indicates the starting position of the time domain resources used to transmit SL-PRS and / or the length of the time domain resources used to transmit SL-PRS.

[0405] As an example, indication information #2 is carried in the SCI.

[0406] In one example, indication information #2 indicates the starting position of the time domain resource used to transmit the SL-PRS and the length of the time domain resource used to transmit the SL-PRS. Based on this, the other device can indicate the starting position and length of the time domain resource used to transmit the SL-PRS to the first communication device.

[0407] In another example, indication information #2 indicates the starting position of the time domain resources used for transmitting the SL-PRS, and the first communications device itself determines the length of the time domain resources used for transmitting the SL-PRS. Based on this, other devices can indicate the starting position of the time domain resources used for transmitting the SL-PRS to the first communications device, and the first communications device can determine an appropriate length based on actual communication conditions and the starting position indicated by other devices.

[0408] In another example, indication information #2 indicates the length of the time domain resources used for transmitting the SL-PRS, and the first communications device itself determines the starting position of the time domain resources used for transmitting the SL-PRS. Based on this, other devices can indicate the length of the time domain resources used for transmitting the SL-PRS to the first communications device, and the first communications device can determine an appropriate starting position based on actual communication conditions and the lengths indicated by other devices.

[0409] Optionally, the identifier of the first resource is obtained by encoding the starting position and length of the time domain resource used to transmit the SL-PRS. This approach avoids complex calculations when indicating the SL-PRS resource and provides flexible resource indication.

[0410] For example, the value of the identifier of the first resource is N bits, and the N bits include a first bit and a second bit. The first bit of the identifier of the first resource is related to the starting position of the time domain resource used to transmit the SL-PRS, and the second bit of the identifier of the first resource is related to the length of the time domain resource used to transmit the SL-PRS; or, the second bit of the identifier of the first resource is related to the starting position of the time domain resource used to transmit the SL-PRS, and the first bit of the identifier of the first resource is related to the length of the time domain resource used to transmit the SL-PRS; or, the identifier of the first resource is obtained by jointly encoding the length of the time domain resource used to transmit the SL-PRS and the starting position of the time domain resource used to transmit the SL-PRS.

[0411] As an example, the first bit is the high bit of the identifier of the first resource, and the second bit is the low bit of the identifier of the first resource. The following uses the example of the first bit being the high bit of the identifier of the first resource and the second bit being the low bit of the identifier of the first resource to introduce several implementation methods.

[0412] In a first possible implementation, the MSB of the identifier of the first resource is related to the starting symbol position of the SL-PRS, and the LSB of the identifier of the first resource is related to the number of symbols of the SL-PRS.

[0413] As an example, the MSB of the identifier of the first resource is set to the start symbol of the SL-PRS, and the LSB of the identifier of the first resource is set to the number of symbols in the SL-PRS. For example, the identifier of the first resource is [start, duration], where "start" represents the start symbol occupied by the first resource, and "duration" represents the number of symbols occupied by the first resource.

[0414] Taking (1) in Figure 5 as an example, there are 9 cases for the starting symbol of SL-PRS (i.e., the starting symbol of SL-PRS is a symbol from 4 to 12), which is indicated by 4 bits. There are 3 types of SL-PRS symbol lengths (such as 1, 2, and 4), which occupy 2 bits. Based on the above method, 5 bits can be used to indicate the identifier of the SLPRS resource.

[0415] In a second possible implementation, the MSB of the identifier of the first resource is related to the number of symbols of the SL-PRS, and the LSB of the identifier of the first resource is related to the starting symbol of the SL-PRS.

[0416] As an example, the MSB of the first resource identifier is set to the number of SL-PRS symbols, and the LSB of the first resource identifier is set to the start symbol of the SL-PRS. For example, the first resource identifier is [duration, start].

[0417] The second possible implementation is similar to the first possible implementation and will not be described again here.

[0418] A third possible implementation is to jointly encode the start symbol of the SL-PRS and the number of SL-PRS symbols. For example, the total number of encoded IDs is the product of the number of SL-PRS symbol positions and the total length of the SL-PRS.

[0419] Taking (1) in Figure 5 as an example, there are 9 cases for the starting symbol of SL-PRS (that is, the starting symbol of SL-PRS is a symbol from 4 to 12), and there are 3 types of SL-PRS symbol lengths (such as 1, 2, and 4). Based on the above method, when jointly coded, the identifier of the first resource has a total of 3*9=27 values, and 5 bits can be used to indicate the identifier of the SLPRS resource.

[0420] It can be understood that the above describes respectively the schemes of determining the identifier of the first resource based on the length of the time domain resource that can be used to transmit the SL-PRS (i.e., Ma), and determining the identifier of the first resource based on the starting position and length of the time domain resource used to transmit the SL-PRS, and the embodiments of the present application are not limited thereto. In one example, the identifier of the first resource can also be determined based on Ma and the starting position of the time domain resource used to transmit the SL-PRS, such as replacing the length of the time domain resource used to transmit the SL-PRS in the above scheme B with Ma. In another example, the identifier of the first resource can also be determined based on Ma, the starting position and length of the time domain resource used to transmit the SL-PRS, such as the starting position and length of the time domain resource used to transmit the SL-PRS in the above scheme B can be determined based on Ma. For example, the first communication device determines Ma, and then determines the starting position and length of the time domain resource used to transmit the SL-PRS in the Ma, and then the above scheme B can be used to determine the identifier of the first resource.

[0421] It will also be understood that the above description mainly uses the example of the first communication device determining the identifier of the first resource as an example, and is not limited to this. For example, the network device may also determine the identifier of the first resource based on the above-mentioned solution A or solution B, and then indicate the identifier of the first resource to the first communication device. For another example, the network device may also determine the identifiers of multiple resources based on the above-mentioned solution A or solution B, and then indicate the identifiers of the multiple resources to the first communication device, and the first communication device determines the identifier of the first resource from the identifiers of the multiple resources.

[0422] The above describes the relevant scheme for identifying the first resource. It can be understood that the above is an example, and any variation of the above scheme is applicable to the embodiments of the present application. For example, in the above scheme A, Ma can also be replaced by the length of the time domain resource used to transmit the SL-PRS.

[0423] Optionally, method 700 further includes: the second communication device obtaining an identifier of the first resource or the first resource. Based on this, the second communication device can determine the location of the first resource and thereby receive a reference signal on the first resource. Further, optionally, the second communication device can perform related operations based on the received reference signal. For example, if the reference signal is an SL-PRS, the second communication device can perform positioning based on the SL-PRS and obtain positioning-related information.

[0424] In one possible implementation, the second communication device receives indication information #3, where the indication information #3 indicates the first resource or an identifier of the first resource. For example, the second communication device receives indication information #3 from the first communication device. For another example, the second communication device receives indication information #3 from a network device.

[0425] The indication information #3 may be carried in the SCI, for example. Specifically, the first communication device sends the SCI to the second communication device, where the SCI includes the indication information #3.

[0426] In one example, indication information #3 indicates the first resource.

[0427] For example, indication information #3 includes at least one of the following: the starting position of the first resource in the time domain, the length of the first resource in the time domain, the ending position of the first resource in the time domain, the offset of the first resource in the frequency domain, and the comb tooth size of the first resource in the frequency domain.

[0428] In another example, indication information #3 indicates the identifier of the first resource.

[0429] The identifier of the first resource indicates the first resource. Therefore, the second communication device can obtain the location of the first resource based on the identifier of the first resource, and then can receive the SL-PRS at the location.

[0430] For example, if the identifier of the first resource is associated with the starting position and length of the first resource, such as the identifier of the first resource is generated based on the above-mentioned scheme B, then the second communication device can obtain the starting position of the first resource based on the identifier of the first resource, the length of the first resource determined in the current time slot, and the association.

[0431] The positioning related information may include, for example, but is not limited to: measurement results of positioning measurement quantities obtained according to SL-PRS, and location information of communication devices (such as the second communication device and / or the first communication device) obtained according to SL-PRS.

[0432] As an example, the positioning measurement quantity may include one or more of the following: angle, time, power, etc.

[0433] The angle may be, for example, the angle of arrival (AOA).

[0434] The time may include, for example, one or more of the following: a timing difference between sending and receiving, a reference signal sending time, a reference signal arrival time, an arrival time difference, and the like.

[0435] The power may include, for example, one or more of the following: reference signal receiving power (RSRP), reference signal receiving power per path (RSRPP).

[0436] Further optionally, the second communication device determines the SL-PRS resource based on the identifier of the first resource and at least one of the following: the length of the time domain resource of the PSCCH, the pattern of the DMRS, and the length of the time domain resource of the PSFCH.

[0437] For example, the length of the time domain resources of the PSCCH, such as the number of symbols occupied by the PSCCH, may be indicated by configuration information.

[0438] For example, the DMRS pattern may be indicated by the first communication device.

[0439] For example, the length of the PSFCH time domain resource may be the number of symbols occupied by the PSFCH in the current time domain unit (eg, the current time slot). For example, the second communication device may determine the first resource based on the identifier of the first resource and whether the PSFCH resource exists in the current time domain unit.

[0440] In this way, after the second communication device receives the identifier of the first resource, it also determines the physical resources actually occupied by the SL-PRS corresponding to the identifier of the first resource based on at least one of the following information: the number of symbols occupied by the PSCCH, the pattern of the DMRS, and whether there is a PSFCH resource in the receiving time slot at that time. After the second communication device obtains the above information, the second communication device's understanding of the number and position of symbols that can be used to transmit the SL-PRS in the current time slot is the same as that of the first communication device. The second communication device can then uniquely determine the position corresponding to this SL-PRS resource in the time slot (such as the position of the start and end symbols) based on the indication information of the received SL-PRS resource identifier. Thus, under the condition of saving the indication signaling of the SCI, the SL-PRS resource is accurately indicated by the second communication device and the first communication device, avoiding errors in resource indication.

[0441] Optionally, method 700 also includes: the first communication device sends reservation information in the first time slot where the first resource is located, the reservation information indicates at least one second time slot, the second time slot is the time slot where the data packet is retransmitted, and the first time slot and / or the second time slot also includes a second resource for transmitting SL-PRS.

[0442] The reservation information may represent resource reservation information between retransmissions. As an example, the reservation information may be carried in the SCI.

[0443] The first time slot is located before the second time slot. The first time slot may be a time slot where a data packet is initially transmitted, or the first time slot may be a time slot where a data packet is retransmitted.

[0444] Among them, the method for determining the identifier of the second resource can refer to the method for determining the identifier of the first resource, and will not be described in detail here.

[0445] FIG9 is a schematic diagram of PSSCH and SL-PRS transmission applicable to an embodiment of the present application. As shown in FIG9 , it is assumed that the number of transmissions of PSSCH and SL-PRS (or the maximum reserved number) is three, that is, one initial transmission plus two retransmissions. Assuming that the time slots in which the three transmissions occur are time slot #1, time slot #2, and time slot #3, in time slot #1, the first communication device can indicate the resources used to transmit SL-PRS in time slot #1, such as SL-PRS resource #1; in time slot #2, the first communication device can indicate the resources used to transmit SL-PRS in time slot #2, such as SL-PRS resource #2; in time slot #3, the first communication device can indicate the resources used to transmit SL-PRS in time slot #3, such as SL-PRS resource #3. Optionally, the relationship between these three SL-PRS transmissions can be associated with multiple retransmissions of the same SL-PRS (or reservations between initial transmission and retransmission) based on the indication information indicating the reservation for retransmission of PSSCH. Optionally, the relationship between these three SL-PRS transmissions can also be based on the same value of the source identifier and destination identifier indicating the SL-PRS, and the receiving device can clearly identify them as three transmissions of the same SL-PRS. Based on this, it can be seen that the SL-PRS scheduling signaling can indicate the resources of the current time slot without indicating retransmission reservation, which can reduce the overhead of SL-PRS indication signaling.

[0446] In some cases, the time domain resource length of the configured first resource may be greater than the time domain resource length actually supported or allowed by the first communication device. For example, the network device may configure the time domain resource length of the first resource to be 4 symbols, while the UE actually supports or allows a time domain resource length of 1 or 2. To address this issue, this application proposes several solutions to address the aforementioned issues. It is understood that the embodiments described below can be used independently or in combination with the previous embodiments, and this is not a limitation.

[0447] Optionally, the first communication device receives indication information #4, where indication information #4 indicates a second resource; in step 701, the first communication device obtains an identifier of the first resource, including: the first communication device determines the first resource based on the second resource and the resources available to the first communication device, and the length of the first resource in the time domain resource is less than the length of the second resource in the time domain resource. The first communication device may receive indication information #4 from a network device. Based on this solution, if the time domain resource length of the configured first resource is greater than the time domain resource length actually supported or allowed by the first communication device, the first communication device may use a time domain resource with a smaller length to transmit the SL-PRS.

[0448] Furthermore, regarding the first communication device adopting the determined first resource to send the SL-PRS, the following methods may be included.

[0449] In mode A, the first communication device transmits the SL-PRS in a full staggered manner based on the length of the first resource in the time domain.

[0450] Taking a time slot as an example, based on method A, if the time domain resource length (number of symbols) of the configured first resource is greater than the time domain resource length (number of symbols) actually supported or allowed by the first communication device, then the first communication device can use the nearest allowed number of symbols and generate SL-PRS in a fully interleaved manner according to the smaller number of symbols.

[0451] For example, assuming that the second resource indicated by indication information #4 is 4 symbols in a time slot, if the number of symbols that the first communication device can use to send the SL-PRS in a time slot is greater than or equal to 4, then the first communication device can use 4 symbols to send the SL-PRS, such as sending it according to the Comb-4 format in Figure 3; if the number of symbols that the first communication device can use to send the SL-PRS in a time slot is less than 4, such as at most 2 symbols can be used to send the SL-PRS, then the first communication device can use 2 symbols and use a fully interleaved manner to send the SL-PRS, such as sending it according to the Comb-2 format in Figure 3.

[0452] In mode B, the first communication device transmits the SL-PRS on the first resource using a partial stagger method based on the length of the second resource on the time domain resource.

[0453] Taking a time slot as an example, based on method B, if the time domain resource length (number of symbols) of the configured first resource is greater than the time domain resource length (number of symbols) actually supported or allowed by the first communication device, then the first communication device can generate SL-PRS in a partially staggered manner according to the configured number of symbols and the corresponding Comb size value.

[0454] For example, assuming that the second resource indicated by indication information #4 is 4 symbols in a time slot. If the number of symbols that the first communication device can use to send SL-PRS in a time slot is greater than or equal to 4, then the first communication device can use 4 symbols to send SL-PRS, such as sending it in the Comb-4 format in Figure 3; if the number of symbols that the first communication device can use to send SL-PRS in a time slot is less than 4, such as at most 2 symbols can be used to send SL-PRS, then the first communication device can send SL-PRS in a partially interleaved manner in the Comb-4 format, such as sending it in the format shown in (1) or (2) in Figure 10.

[0455] Figure 10 is a schematic diagram of transmitting SL-PRS in a partially staggered manner applicable to an embodiment of the present application. For understanding, (1) and (2) in Figure 10 can be considered as part of the SL-PRS with a comb size of 4 (i.e., Comb-4).

[0456] The above describes two methods, which are not limited to this.

[0457] Further optionally, the first communication device may determine whether to adopt the above-mentioned method A or method B in the following manner.

[0458] In a first possible implementation manner, the first communication device itself determines whether to adopt the method A or the method B.

[0459] Based on this method, when the number of symbols that can actually be used to transmit the SL-PRS is less than the number of configured SL-PRS symbols, the first communication device can determine whether to adopt the above-mentioned method A or method B.

[0460] For example, when the number of symbols that can actually be used to transmit the SL-PRS is less than the number of configured SL-PRS symbols, the first communication device can select any one of the methods.

[0461] For another example, when the number of symbols that can actually be used to transmit the SL-PRS is less than the number of symbols configured for the SL-PRS, if the number of symbols that can actually be used to transmit the SL-PRS satisfies a first preset range, the first communication device adopts the above-mentioned method A; if the number of symbols that can actually be used to transmit the SL-PRS satisfies a second preset range, the first communication device adopts the above-mentioned method B. The first preset range and the second preset range may be predefined.

[0462] In a second possible implementation manner, other devices (such as network equipment) may indicate to the first communication device whether to adopt method A or method B.

[0463] For example, another device (such as a network device) may send indication information #5 to the first communication device, where indication information #5 instructs the first communication device to transmit the SL-PRS using a fully interleaved method or a partially interleaved method. If indication information #5 instructs the first communication device to transmit the SL-PRS using a fully interleaved method, then when the number of symbols that can actually be used to transmit the SL-PRS is less than the number of symbols configured for the SL-PRS, the first communication device adopts the aforementioned method A; if indication information #5 instructs the first communication device to transmit the SL-PRS using a partially interleaved method, then when the number of symbols that can actually be used to transmit the SL-PRS is less than the number of symbols configured for the SL-PRS, the first communication device adopts the aforementioned method B.

[0464] The embodiment of the present application does not limit the triggering conditions for other devices (such as network equipment) to send indication information #5 to the first communication device.

[0465] For example, another device (such as a network device) may proactively send indication information #5 to the first communication device. As an example, the indication information #5 may be carried in the same signaling as the configured number of SL-PRS symbols, or may be carried in different signaling, without limitation.

[0466] For another example, when another device (such as a network device) determines that the number of symbols that the first communication device can actually use to transmit the SL-PRS is less than the configured number of SL-PRS symbols, the other device (such as a network device) may send indication information #5 to the first communication device. The other device (such as a network device) may determine that the number of symbols that the first communication device can actually use to transmit the SL-PRS is less than the configured number of SL-PRS symbols by: the first communication device sends notification information to the other device, notifying the first communication device that the number of symbols that the first communication device can actually use to transmit the SL-PRS is less than the configured number of SL-PRS symbols.

[0467] The third possible implementation method is pre-definition, such as protocol pre-definition, to adopt method A or method B.

[0468] Based on this method, it can be predefined whether to adopt the above-mentioned method A or method B when the number of symbols actually available for transmitting SL-PRS is less than the number of configured SL-PRS symbols.

[0469] For example, it is predefined that when the number of symbols that can actually be used to transmit the SL-PRS is less than the number of configured SL-PRS symbols, the above-mentioned method A or method B is adopted.

[0470] For another example, it is predefined that when the number of symbols that can actually be used to transmit SL-PRS is less than the number of configured SL-PRS symbols, if the number of symbols that can actually be used to transmit SL-PRS meets the first preset range, the above-mentioned method A is adopted; if the number of symbols that can actually be used to transmit SL-PRS meets the second preset range, the above-mentioned method B is adopted.

[0471] The above three implementation methods are for illustration only, and variations of the above three methods are also applicable to the embodiments of the present application.

[0472] Further optionally, the first communication device receives indication information #6, where indication information #6 indicates a minimum length of time domain resources for transmitting SL-PRS. For example, indication information #6 indicates a minimum number of symbols (denoted as G for simplicity) for transmitting SL-PRS in a time slot.

[0473] In one possible case, in a time slot, the number of symbols actually used by the first communications apparatus to transmit the SL-PRS is less than G. In this case, the first communications apparatus does not send the SL-PRS in the time slot.

[0474] In another possible case, in a time slot, the number of symbols actually used by the first communication device to transmit the SL-PRS is greater than or equal to G. In this case, the first communication device sends the SL-PRS in the time slot.

[0475] Based on this approach, the minimum number of symbols used to transmit the SL-PRS can be limited. Thus, when the number of symbols actually used by the first communications device to transmit the SL-PRS is less than the minimum number, the first communications device does not transmit the SL-PRS in the current timeslot. This approach ensures SL-PRS transmission performance.

[0476] In some cases, there may be multiple transmission opportunities for reference signals (such as SL-PRS) in a time slot. To address this situation, this application proposes some solutions to implement SL-PRS resource indication. It is understood that the embodiments described below can be used independently or in combination with the previous embodiments, and this is not limited to this.

[0477] Optionally, the first resources include T transmission resources, at least two of the T transmission resources are discontinuous in the time domain, and T is an integer greater than 1; the first communication device sends indication information #7, where indication information #7 indicates at least one transmission resource in the first resources, and the at least one transmission resource in the first resources is used to transmit a reference signal (such as an SL-PRS). Based on this approach, the transmission resources of the SL-PRS can be flexibly indicated, such as indicating relevant information of the transmission resources of multiple SL-PRSs in a time slot, thereby improving the flexibility of the indication. Optionally, this solution can be used for a dedicated resource pool. Optionally, the value of T is the maximum number of reservations or retransmissions.

[0478] As an example, indication information #7 may be carried in the SCI.

[0479] It can be understood that the first communication device can use T transmission resources to send SL-PRS, or can use part of the T transmission resources to send SL-PRS, and this is not limited.

[0480] Figure 11 is a schematic diagram of SL-PRS transmission applicable to an embodiment of the present application. As shown in (1) of Figure 11, the first resource includes two transmission resources in a time slot, one of which includes: symbol 4, symbol 5, symbol 6, symbol 7, and the other includes: symbol 10, symbol 11, and symbol 12. As shown in (3) of Figure 11, the first resource includes three transmission resources in a time slot, one of which includes: symbol 4, symbol 5, symbol 6, and symbol 7, and the other includes: symbol 9, symbol 10, symbol 11, and symbol 12, and the other includes: symbol 12. As shown in (3) of Figure 11, the first resource includes three transmission resources in a time slot, one of which includes: symbol 4 and symbol 5, the other includes: symbol 8 and symbol 9, and the other includes: symbol 12. As shown in (4) of Figure 11, the first resource includes three transmission resources in a time slot, one of which includes: symbol 4, symbol 5, symbol 6, the other includes: symbol 8 and symbol 9, and the other includes: symbol 11 and symbol 12.

[0481] Indication information #7 may indicate relevant information of the transmission resource. For example, the relevant information of the transmission resource includes but is not limited to at least one of the following: the position of the transmission resource in the time domain, the offset of the transmission resource in the frequency domain (RE offset), or the comb tooth size.

[0482] Assuming that the T transmission resources include a first transmission resource and a second transmission resource, as an example, the indication information #7 indicates at least one of the following: relevant information of the first transmission resource and / or relevant information of the second transmission resource. Several examples are described below.

[0483] Example 1: indication information #7 indicates relevant information of the first transmission resource and relevant information of the second transmission resource.

[0484] Based on this example, the first communication device may indicate relevant information of each transmission resource.

[0485] Example 2: indication information #7 indicates relevant information of the first transmission resource.

[0486] Based on this example, the first communication device can indicate relevant information about one or more transmission resources, and the receiving end (i.e., the second communication device) can obtain relevant information about the one or more transmission resources, as well as relevant information about other transmission resources, based on the relevant information about the one or more transmission resources. This can save signaling overhead caused by indicating transmission resources.

[0487] Taking the first transmission resource and the second transmission resource as an example, the relevant information of the first transmission resource and the relevant information of the second transmission resource are associated with each other. In this way, the receiving end can obtain the relevant information of the first transmission resource based on the indication information #7, and determine the relevant information of the second transmission resource based on the relevant information of the first transmission resource and the association between the relevant information of the first transmission resource and the relevant information of the second transmission resource.

[0488] It is understood that the above is an example and is not intended to be limiting. Any variation of the above solution is applicable to the embodiments of the present application. For example, the first communication device may indicate partial information of the first transmission resource and partial information of the second transmission resource, and the receiving end may determine other information of the first transmission resource and the second transmission resource based on the partial information of the first transmission resource and the partial information of the second transmission resource.

[0489] Optionally, when the first resource includes T transmission resources, the identifier of the first resource satisfies any of the following: ID =n RE +m s *N 1,comb n ID =n RE +N 1,comb +(m s -1)*N 2,comb n ID =n RE +N 1,comb +N 2,comb +(m s -2)*N 3,comb

[0490] Among them, n ID Indicates the identifier of the first resource; N i,comb Indicates the comb tooth size of the i-th transmission reference signal; n RE Indicates the offset of the reference signal in the frequency domain; m s =i-1, indicating that the reference signal is transmitted on the i-th transmission resource; i=1, 2, 3.

[0491] As an example, m s =0, n RE The value ranges from 0 to N 1,comb ; When m s =1, n RE The value ranges from 0 to N 2,comb ; When m s =2, n RE The value ranges from 0 to N 3,comb .

[0492] The following describes three scenarios.

[0493] Scenario 1, T=2.

[0494] In this case, there are two SL-PRS transmission resources in one time slot, as shown in (1) in Figure 11. Assume that the number of SL-PRS symbols and comb tooth size on these two SL-PRS transmission resources are {M1, N 1,comb}、{M2,N 2,comb}.

[0495] The resource identifier of SL-PRS is determined as follows: ID =n RE +m s *N 1,comb

[0496] Among them, m s =0 or 1. m s = 0 means that SL-PRS is sent on the first transmission resource, m s =1 indicates that the SL-PRS is sent on the second transmission resource.

[0497] Scenario 2, T=3.

[0498] In this case, there are three SL-PRS transmission resources in one time slot, as shown in (2) in Figure 11. Assume that the number of SL-PRS symbols and comb tooth sizes on these three SL-PRS transmission resources are {M1, N 1,comb}、{M2,N 2,comb}、{M3,N 3,comb}.

[0499] If m s ≤1, then the resource identifier of SL-PRS is determined as follows: ID =n RE +m s *N 1,comb

[0500] If m s =2, then the resource identifier of SL-PRS is determined as follows: ID =n RE +N 1,comb +(m s -1)*N 2,comb

[0501] Scenario 3, T=4.

[0502] In this case, there are four SL-PRS transmission resources in one time slot. Assume that the number of SL-PRS symbols and comb tooth size on these four SL-PRS transmission resources are {M1, N 1,comb}、{M2,N2,comb}、{M3,N 3,comb}、{M4,N 4,comb}.

[0503] If m s ≤1, then the resource identifier of SL-PRS is determined as follows: ID =n RE +m s *N 1,comb

[0504] If m s =2, then the resource identifier of SL-PRS is determined as follows: ID =n RE +N 1,comb +(m s -1)*N 2,comb

[0505] If m s =3, then the resource identifier of SL-PRS is determined as follows: ID =n RE +N 1,comb +N 2,comb +(m s -2)*N 3,comb

[0506] It can be understood that the above three scenarios are for illustration only and the embodiments of the present application are not limited thereto.

[0507] As mentioned above, the first resource (i.e., the SL-PRS resource) can be determined based on the time domain resource used to transmit the sidelink reference signal. Below, taking the sidelink reference signal as PT-RS and the sidelink positioning reference signal as SL-PRS as an example, this solution is described in detail with reference to FIG12. The embodiments described below can be used in combination with the previous embodiments or independently, without limitation.

[0508] Figure 12 is l d =13 DMRS, PSCCH and PT-RS time slot structure diagram. PT-RS Indicates the density of PT-RS (or resource density, or period). As an example, l PT-RS The number of resources (such as the number of symbols) between two adjacent PT-RS resources + 1, and for resources of other signals (such as PSCCH and DMRS), the number is re-counted. For example, as shown in (a) and (b) in Figure 12, l PT-RS = 2. For another example, as shown in (c) and (d) in Figure 12, l PT-RS= 4. As can be seen from FIG12 , PT-RS may occupy multiple symbols in a time slot, so PT-RS resources and SL-PRS resources may overlap (or PT-RS and SL-PRS may conflict). Therefore, the present embodiment proposes four methods to solve this problem.

[0509] In a first possible implementation manner, when the PT-RS resource and the SL-PRS resource overlap at a certain resource position, the first communication device sends the SL-PRS at that position.

[0510] For example, assuming that the SL-PRS resources are continuous resources, taking a time slot as an example, the time domain resources of the SL-PRS are M consecutive symbols in the time slot. If the PT-RS and the SL-PRS collide on m of the M consecutive symbols, that is, the time domain resources of the PT-RS include these m symbols, then the PT-RS is not transmitted on these m symbols, and the SL-PRS is transmitted instead. Where m is an integer greater than or equal to 1 and less than or equal to M.

[0511] As an example, the M consecutive symbols may be the last M consecutive symbols in the time slot that can satisfy M. For example, taking (a) in FIG12 as an example, if M=1, the M consecutive symbols are: symbol 12; for another example, if M=2, the M consecutive symbols are: symbol 12 and symbol 11; for another example, if M=4, the M consecutive symbols are symbol 9, symbol 8, symbol 7, and symbol 6.

[0512] Taking Figure 12(a) as an example, assuming that the time domain resource of the SL-PRS is symbol 12, it can be seen from Figure 12(a) that the PT-RS and the SL-PRS collide at symbol 12, that is, the time domain resource of the PT-RS includes symbol 12. Based on this implementation, the PT-RS is not transmitted at the position of symbol 12, and the SL-PRS is transmitted. Assuming that the time domain resources of the SL-PRS are symbols 6 to 9, it can be seen from Figure 12(a) that the PT-RS and the SL-PRS collide at symbols 7 and 9. That is, the time domain resources of the PT-RS include symbols 7 and 9. Based on this implementation, the PT-RS is not transmitted at the position of symbols 7 and 9, and the SL-PRS is transmitted.

[0513] A second possible implementation manner is to configure k candidate resources for the SL-PRS, and select a candidate resource that does not overlap with a PT-RS resource among the k candidate resources to send the SL-PRS, where k is an integer greater than 1.

[0514] As an example, when a certain candidate resource overlaps with a PT-RS resource, a candidate resource adjacent to the candidate resource (ie, the next candidate resource of the candidate resource) is selected to send the SL-PRS.

[0515] For example, the time domain resources of SL-PRS are M consecutive symbols, and the network device can be configured with k candidate resources (or k groups of candidate resources), and the length of each group of candidate resources is M.

[0516] For example, taking (e) in Figure 12 as an example, assuming M = 1, the time-domain resources for the SL-PRS include two sets of candidate resources, namely symbol 12 and symbol 10. As can be seen from (e) in Figure 12, the time-domain resources for the PT-RS include one set of candidate resources for the SL-PRS (i.e., symbol 10). Therefore, the first communications device does not use this set of candidate resources (i.e., symbol 10) to transmit the SL-PRS, but instead uses another set of candidate resources (i.e., symbol 12) to transmit the SL-PRS.

[0517] For another example, taking (f) in Figure 12 as an example, assuming M = 2, the time domain resources of the SL-PRS include two groups of candidate resources, one group of candidate resources includes symbol 10 and symbol 9, and the other group of candidate resources includes symbol 8 and symbol 7. As can be seen from (f) in Figure 12, the time domain resources of the PT-RS include resources in one group of candidate resources for the SL-PRS (i.e., symbol 10). Therefore, the first communication device does not use this group of candidate resources (i.e., symbol 10 and symbol 9) to send the SL-PRS, but instead uses the other group of candidate resources (i.e., symbol 8 and symbol 7) to send the SL-PRS.

[0518] As mentioned above, the identifier of the SL-PRS resource may be determined by the first communication device, or may be determined by the network device and indicated to the first communication device (eg, via indication information #1). The following briefly describes these two methods.

[0519] In one example, the network device configures k groups of candidate resources for SL-PRS and configures PT-RS resources for PT-RS. The network device then selects candidate resources that do not overlap with the PT-RS resources (such as partial overlap or full overlap) and sends indication information #1 to the first communication device, where the indication information #1 indicates the candidate resource (such as the indication information #1 indicates the identifier of the candidate resource).

[0520] Taking (a) in Figure 12 as an example, assuming that l d=13, the DMRS time domain resources are 2 symbols, the PSCCH time domain resources are 2 symbols, and k = 2. Then, if M is 1, the two groups of SL-PRS candidate resources are: {symbol 12} and {symbol 11}; if M is 2, the two groups of SL-PRS candidate resources are: {symbol 12, symbol 11} and {symbol 9, symbol 8}; if M is 4, the two groups of SL-PRS candidate resources are: {symbol 6 to symbol 9} and {symbol 5 to symbol 8}. Assuming that the SL-PRS resource identifiers are numbered starting from 0, the SL-PRS resource identifiers may be: {0, 1, 2, 3, 4, 5}. Among them, identifier "0" corresponds to symbol 12, identifier "1" corresponds to symbol 11, identifier "2" corresponds to symbols 12 and symbol 11, identifier "3" corresponds to symbols 9 and symbol 8, identifier "4" corresponds to symbols 6 to symbol 9, and identifier "5" corresponds to symbols 5 to symbol 8. The correspondence between the identifier and the symbol may be predefined, preconfigured, or pre-agreed upon, and is not limited.

[0521] For example, assuming that the length of the SL-PRS time domain resource M = 1, it can be seen from the above that the two groups of candidate resources for SL-PRS are: {symbol 12} and {symbol 11}. As shown in (a) of Figure 12, the PT-RS and SL-PRS conflict on symbol 12, that is, the time domain resource of the PT-RS includes symbol 12. Therefore, the network device selects symbol 11 as the time domain resource of the SL-PRS. Specifically, the network device sends indication information #1 to the first communication device, and the indication information #1 indicates that the identifier of the SL-PRS time domain resource is the identifier "0" corresponding to symbol 11; after receiving the indication information #1, the first communication device learns that the identifier of the SL-PRS time domain resource is identifier "0". Based on the correspondence between the above identifier and the symbol, the first communication device determines that the time domain resource of the SL-PRS is symbol 11. Furthermore, the first communication device can indicate the identifier "0" corresponding to symbol 11 to the second communication device (such as indicating symbol 11 through SCI), and the second communication device can know that the time domain resource of SL-PRS is symbol 11 based on the identifier "0" corresponding to symbol 11.

[0522] In another example, the network device configures k groups of candidate resources for the SL-PRS and PT-RS resources for the PT-RS. The network device then sends indication information #1 to the first communication device, where indication information #1 indicates the identifiers of multiple resources (e.g., the identifiers of k groups of candidate resources). The first communication device selects candidate resources that do not overlap with the PT-RS resources (e.g., partially overlap or completely overlap) to transmit the SL-PRS. Further optionally, the network device also sends information about the PT-RS resources to the first communication device. Further optionally, the network device can indicate k to the first communication device, such as through indication information #1 or through other indication information, without limitation.

[0523] Still taking the above example, for example, assuming that the length M of the SL-PRS time domain resource is 1, it can be seen from the above that the two groups of candidate resources for the SL-PRS are: {symbol 12} and {symbol 11}. Therefore, the network device sends indication information #1 to the first communication device. Indication information #1 indicates the identifier "0" corresponding to symbol 12 and the identifier "1" corresponding to symbol 11. Based on indication information #1, the first communication device knows that the candidate resources for the SL-PRS configured by the network device include symbols 12 and 11. Based on the information about the PT-RS resources, the first communication device knows that the PT-RS and the SL-PRS conflict on symbol 12, that is, the time domain resources of the PT-RS include symbol 12. Therefore, the first communication device selects symbol 11 to send the SL-PRS. Further, the first communication device can indicate the identifier "0" corresponding to symbol 11 to the second communication device (such as by indicating symbol 11 through the SCI). Based on the identifier "0" corresponding to symbol 11, the second communication device knows that the time domain resource of the SL-PRS is symbol 11.

[0524] In a third possible implementation, when the PT-RS resource and the SL-PRS resource overlap at a certain resource location, the first communication device selects the resource location associated with the SL-PRS resource to send the SL-PRS.

[0525] The resource location associated with the SL-PRS resource may be an available resource location adjacent to the SL-PRS resource, or may be an available resource location spaced w resources apart from the SL-PRS resource.

[0526] Wherein, w is an integer greater than or equal to 1, and w may be predefined, preconfigured, or indicated by the network side, and is not limited thereto. Wherein, the available resource position indicates a position that can satisfy an SL-PRS resource length of M, such as M consecutive symbols.

[0527] For example, the time domain resource of the SL-PRS is M consecutive symbols, and the network device may configure one SL-PRS resource. The length of the SL-PRS resource is M, that is, the SL-PRS resource is M consecutive symbols.

[0528] For example, taking (f) in Figure 12 as an example, assuming M=2, the time domain resources of the SL-PRS configured by the network device are symbols 10 and 9. As can be seen from (f) in Figure 12, the time domain resources of the PT-RS include symbol 10. Therefore, the first communication device does not use this group of resources (i.e., symbols 10 and 9) to send the SL-PRS. In one example, the first communication device defaults (such as by protocol agreement, pre-agreement, pre-configuration, etc.) to use a group of resources adjacent to the group of resources, i.e., symbols 8 and 7, to send the SL-PRS; in another example, the first communication device uses a group of resources adjacent to the group of resources, i.e., symbols 8 and 7, to send the SL-PRS based on instructions from the network side. Correspondingly, the second communication device uses symbols 8 and 7 to receive the SL-PRS. Among them, the second communication device uses symbols 8 and 7 to receive the SL-PRR resources, including the following methods.

[0529] In one embodiment, the first communication device indicates the positions of the symbol 8 and the symbol 7 to the second communication device.

[0530] In another embodiment, the network device or the first communication apparatus indicates the configured SL-PRS resources (i.e., symbols 10 and 9) to the second communication apparatus, and indicates to the second communication apparatus whether to use the configured SL-PRS resources to receive the SL-PRS or to use a group of resources adjacent to the resources (i.e., symbols 8 and 7) to receive the SL-PRS. For example, the first communication apparatus sends indication information #9 to the second communication apparatus, where indication information #9 indicates whether to use the configured SL-PRS resources to receive the SL-PRS or to use a group of resources adjacent to the resources (i.e., symbols 8 and 7) to receive the SL-PRS. Indication information #9 can be implemented using at least one bit. Assuming that indication information #1 is implemented by 1 bit, if the value of this bit is "0", it means that indication information #9 indicates that the configured SL-PRS resources are used to receive SL-PRS, that is, the SL-PRS resources are the configured SL-PRS resources (that is, symbols 10 and 9); if the value of this bit is "1", it means that indication information #9 indicates that a group of resources adjacent to the resource (that is, symbol 8 and symbol 7) are used to receive SL-PRS, that is, the SL-PRS resources are a group of resources adjacent to the resource (that is, symbol 8 and symbol 7).

[0531] It can be understood that the above description is mainly based on adjacent examples and is not limited to this. For example, if the configured SL-PRS resources (i.e., the configured M symbols) are not available (such as overlapping with PT-RS resources), the available M consecutive symbols shifted forward by w resource units (such as w symbols) can also be used, or the available M consecutive symbols shifted backward by w resource units (such as w symbols) can also be used, or the available M symbols located before the configured M symbols in the time slot can also be used, or the available M symbols located after the configured M symbols in the time slot can also be used.

[0532] It is also understood that the configured M symbols and the available M symbols are symbols in one time slot. This is not limited to this. For example, the configured M symbols and the available M symbols may also be symbols in adjacent time slots.

[0533] A fourth possible implementation method is to refer to PT-RS resources when configuring SL-PRS resources to avoid conflicts between SL-PRS resources and PT-RS resources.

[0534] As mentioned above, the SL-PRS resource can be determined by the first communication device, the network device, or other devices, without limitation. The following example illustrates the determination of the SL-PRS resource by the first communication device and the determination of the SL-PRS resource by the network device.

[0535] In one example, the network device determines an SL-PRS resource and indicates the SL-PRS resource to the first communication device, such as by indicating an identifier of the SL-PRS resource via indication information #1. As previously described, the network device may also indicate the SL-PRS resource to the second communication device, or the first communication device may indicate the SL-PRS resource to the second communication device, without limitation.

[0536] Optionally, the network device determines the time domain resources of SL-PRS based on the length of the time domain resources of SL-PRS being M, the information of the PT-RS resources and the following conditions: the time domain resources of SL-PRS are the last few consecutive symbols of length M in a time slot, and the SL-PRS resources do not conflict with the PT-RS resources.

[0537] Taking (g) in Figure 12 as an example, the density of PTRS is 4, then the number of symbols in PSCCH is 2, l d =13, the network device can determine the positions of PT-RS, DMRS and PSCCH symbols.

[0538] For example, if M=1, based on the above conditions, the network device can determine that the time domain resource of the SL-PRS is symbol 12. Furthermore, the network device can send an identifier of symbol 12 to the first communication device, and the first communication device can know that the time domain resource of the SL-PRS is symbol 12 based on the identifier.

[0539] For another example, if M=2, based on the fact that the time domain resources of the SL-PRS are the last few consecutive symbols in a time slot that meet the length M, the network device can determine that the time domain resources of the SL-PRS are symbols 10 and 9. As can be seen from (g) in Figure 12, the PT-RS and the SL-PRS collide on symbol 10, that is, the time domain resources of the PT-RS include symbol 10. Therefore, in one possible manner, the network device determines to send the SL-PRS on symbol 10 and not to send the PT-RS, that is, the time domain resources of the SL-PRS include symbols 10 and 9. Furthermore, the network device can send identifiers of symbols 10 and 9 to the first communication device, and the first communication device can know that the time domain resources of the SL-PRS are symbols 10 and 9 based on the identifier. Another possible way is that the network device re-determines the time domain resources of the SL-PRS that meet the above conditions, such as symbol 9 and symbol 8. Furthermore, the network device can send the identifiers of symbol 9 and symbol 8 to the first communication device, and the first communication device can know that the time domain resources of the SL-PRS are symbol 9 and symbol 8 based on the identifier.

[0540] For another example, if M=4, based on the fact that the time domain resources of the SL-PRS are the last few consecutive symbols in a time slot that meet the length M, the network device can determine that the time domain resources of the SL-PRS can be symbols 7 to 10. As can be seen from (g) in Figure 12, the PT-RS and the SL-PRS collide on symbol 10, that is, the time domain resources of the PT-RS include symbol 10. Therefore, one possible approach is to send the SL-PRS on symbol 10 and not send the PT-RS, that is, the time domain resources of the SL-PRS include symbols 7 to 10. Further, the network device can send an identifier of symbols 7 to 10 to the first communication device, and the first communication device can know that the time domain resources of the SL-PRS are symbols 7 to 10 based on the identifier. Another possible way is that the network device re-determines the time domain resources of the SL-PRS that meet the above conditions. It can be seen from (g) in Figure 12 that the length of the time domain resources that meet the SL-PRS from symbol 2 to symbol 5 is M, but the PT-RS and SL-PRS also conflict on symbol 2. Therefore, in this case, the former possible way can be adopted.

[0541] In another example, the first communications device determines an SL-PRS resource.

[0542] Optionally, the first communication device determines the time domain resources of the SL-PRS based on the length of the SL-PRS time domain resources being M and the following conditions: the time domain resources of the SL-PRS are the last several consecutive symbols in a time slot that satisfy the length M, and the SL-PRS resources do not conflict with the PT-RS resources. Further optionally, the first communication device obtains information about the PT-RS resources, such as by a network device sending the information about the PT-RS resources to the first communication device.

[0543] Taking (g) in Figure 12 as an example, the density of PTRS is 4, then the number of symbols in PSCCH is 2, l d =13, the first communication device can determine the positions of PT-RS, DMRS and PSCCH symbols.

[0544] For example, if M=1, based on the above conditions, the first communications device may determine that the time domain resource of the SL-PRS is symbol 12 .

[0545] For another example, if M=2, based on the fact that the time domain resources of the SL-PRS are the last few consecutive symbols in a time slot that meet the length M, the first communications device can determine that the time domain resources of the SL-PRS are symbols 10 and 9. As can be seen from (g) in Figure 12, the PT-RS and the SL-PRS collide on symbol 10, that is, the time domain resources of the PT-RS include symbol 10. Therefore, one possible approach is to send the SL-PRS on symbol 10 and not send the PT-RS, that is, the time domain resources of the SL-PRS include symbols 10 and 9. Another possible approach is to redetermine the time domain resources of the SL-PRS that meet the above conditions, such as symbols 9 and 8.

[0546] For another example, if M=4, based on the fact that the time domain resources of the SL-PRS are the last few consecutive symbols in a time slot that meet the length M, the first communications device can determine that the time domain resources of the SL-PRS can be symbols 7 to 10. As shown in (g) of Figure 12, the PT-RS and the SL-PRS collide on symbol 10, that is, the time domain resources of the PT-RS include symbol 10. Therefore, one possible approach is to send the SL-PRS on symbol 10 and not send the PT-RS, that is, the time domain resources of the SL-PRS include symbols 7 to 10. Another possible approach is to redetermine the time domain resources of the SL-PRS that meet the above conditions. As shown in (g) of Figure 12, symbols 2 to 5 meet the length M of the time domain resources of the SL-PRS, but the PT-RS and the SL-PRS also collide on symbol 2. Therefore, in this case, the former possible approach can be adopted.

[0547] The above describes the relevant solutions for avoiding conflicts between SL-PRS and PT-RS. The following describes a solution for configuring the number of SL-PRS resources.

[0548] As mentioned above, the identifier of the SL-PRS resource (or SL-PRS resource) is determined according to at least one of the following: the length of the time domain resource that can be used to transmit the SL-PRS (ie, Ma), the starting position of the time domain resource for transmitting the SL-PRS, and the length of the time domain resource for transmitting the SL-PRS (ie, M), and Ma can be determined according to at least one of the following: the length of the time domain resource for transmitting the PSSCH (ie, l d ), the length of the time domain resource used to transmit PSCCH (i.e., l PSCCH ), the length of the time domain resources used to transmit PSFCH, and the length of the time domain resources used to transmit DMRS. Therefore, the SL-PRS resource may be determined according to at least one of the following: d 、l PSCCH As an example, some examples are listed below.

[0549] For example, d =13, DMRS pattern=2 (that is, the number of DMRS patterns is 2), l PSCCH =2:{Configuration 1}.

[0550] For example, l d =13,DMRS pattern=3,l PSCCH =2:{Configuration 2}.

[0551] For example, l d =13, DMRS pattern=4, l PSCCH =2:{Configuration 3}.

[0552] For example, l d =13, DMRS pattern=2, l PSCCH =3:{Configuration 4}.

[0553] For example, l d =13,DMRS pattern=3,l PSCCH =3:{Configuration 5}.

[0554] For example, l d =13, DMRS pattern=4, l PSCCH =3:{Configuration 6}.

[0555] For example, l d=12, DMRS pattern=2, l PSCCH =2:{Configuration 7}.

[0556] For example, l d =12, DMRS pattern=3, l PSCCH =2:{Configuration 8}.

[0557] For example, l d =12, DMRS pattern=4, l PSCCH =2:{Configuration 9}.

[0558] For example, l d =12, DMRS pattern=2, l PSCCH =3:{Configuration 10}.

[0559] For example, l d =12, DMRS pattern=3, l PSCCH =3:{Configuration 11}.

[0560] For example, l d =12, DMRS pattern=4, l PSCCH =3:{Configuration 12}.

[0561] For example, l d =6, DMRS pattern=2, l PSCCH =2:{Configuration 13}.

[0562] For example, l d =6, DMRS pattern=3, l PSCCH =2:{Configuration 14}.

[0563] For example, l d =6, DMRS pattern=4, l PSCCH =2:{Configuration 15}.

[0564] For example, l d =6, DMRS pattern=2, l PSCCH =3:{Configuration 16}.

[0565] For example, l d =6, DMRS pattern=3, l PSCCH =3:{Configuration 17}.

[0566] For example, l d =6, DMRS pattern=4, l PSCCH =3:{Configuration 18}.

[0567] It will be understood that the above examples are merely some of the examples, and the embodiments of the present application are not limited thereto.

[0568] In one possible implementation, the network device sends indication information #8 (ie, an example of the eighth indication information) to the first communication device, where the indication information #8 indicates at least one of the following: the length of the time domain resource for transmitting the PSSCH (ie, the length of the time domain resource for transmitting the PSSCH); d ), the length of the time domain resource used to transmit PSCCH (i.e., l PSCCH ), DMRS pattern.

[0569] For example, indication information #8 includes at least one of the following: the length of the time domain resource used to transmit the PSSCH (ie, l d ), the length of the time domain resource used to transmit PSCCH (i.e., l PSCCH ), DMRS pattern, therefore, the first communication device can obtain at least one of the above items based on the indication information #8, and determine which configuration corresponds to the SL-PRS resource based on the at least one item and the above correspondence.

[0570] For another example, the indication information #8 includes the configuration corresponding to the SL-PRS resource (such as configuration i). Therefore, the first communication device can determine which configuration the SL-PRS resource corresponds to based on the indication information #8. In addition, the first communication device can also determine the length of the time domain resource for transmitting the PSSCH (i.e., l d ), the length of the time domain resource used to transmit PSCCH (i.e., l PSCCH ), DMRS pattern.

[0571] Configuration i (i = 1 to 18) represents the relationship between the physical resource of the SL-PRS within a timeslot and the identifier of the SL-PRS resource. Therefore, based on indication information #8, the first communications device can determine the SL-PRS resource configuration, and further, the identifier of the SL-PRS resource corresponding to the configuration, and further, based on the identifier, the physical resource of the SL-PRS within the timeslot. The following uses configuration i as an example to illustrate several scenarios.

[0572] In a first possible scenario, configuration i includes: an N and an RE offset, and the SL-PRS resource identifier corresponds to the number of symbols M of configuration i.

[0573] Here, N represents the comb tooth size of the SL-PRS resource in the frequency domain. As an example, the value of N can be 1, 2, or 4. Here, RE offset represents the offset of the SL-PRS resource in the frequency domain. This will not be described in detail later.

[0574] As an example, Here, N0 represents the comb tooth size of the SL-PRS resource in the frequency domain, and the value of N0 can be 1, 2, or 4, for example.

[0575] Specifically, the SL-PRS resource identifier is 0, and the corresponding SL-PRS time domain resource length is M=1; the SL-PRS resource identifier is 1, and the corresponding SL-PRS time domain resource length is M=2; the SL-PRS resource identifier is 2, and the corresponding SL-PRS time domain resource length is M=4.

[0576] Based on this situation, no matter which identifier of the SL-PRS resource is, the comb tooth size N of the SL-PRS resource in the frequency domain is N0, and the offset of the SL-PRS resource in the frequency domain is RE offset.

[0577] In a second possible scenario, configuration i includes multiple Ns and an RE offset, and the SL-PRS resource identifier corresponds to the number of symbols M and the comb size N of configuration i.

[0578] As an example:

[0579] Among them, the values ​​of N0 and N1 are different.

[0580] Specifically, the identifier of the SL-PRS resource is 0, the length of the corresponding SL-PRS time domain resource M=1, and the comb tooth size of the SL-PRS resource in the frequency domain N=N0; the identifier of the SL-PRS resource is 1, the length of the corresponding SL-PRS time domain resource M=2, and the comb tooth size of the SL-PRS resource in the frequency domain N=N0; the identifier of the SL-PRS resource is 2, the length of the corresponding SL-PRS time domain resource M=4, and the comb tooth size of the SL-PRS resource in the frequency domain N= N0; the SL-PRS resource identifier is 3, the corresponding SL-PRS time domain resource length M=1, and the comb tooth size of the SL-PRS resource in the frequency domain N=N1; the SL-PRS resource identifier is 4, the corresponding SL-PRS time domain resource length M=2, and the comb tooth size of the SL-PRS resource in the frequency domain N=N1; the SL-PRS resource identifier is 5, the corresponding SL-PRS time domain resource length M=4, and the comb tooth size of the SL-PRS resource in the frequency domain N=N1.

[0581] Based on this situation, no matter which identifier of the SL-PRS resource is, the offset of the SL-PRS resource in the frequency domain is the RE offset.

[0582] In a third possible scenario, configuration i includes multiple Ns and multiple RE offsets, and the SL-PRS resource identifier corresponds to the number of symbols M, the comb tooth size N, and the offset RE offset of configuration i.

[0583] As an example:

[0584] The values ​​of N0 and N1 are different, and the values ​​of RE offset 0 and RE offset 1 are different.

[0585] Specifically, the identifier of the SL-PRS resource is 0, the length of the corresponding SL-PRS time domain resource is M=1, the comb tooth size of the SL-PRS resource in the frequency domain is N=N0, and the offset of the SL-PRS resource in the frequency domain is RE offset 0; the identifier of the SL-PRS resource is 1, the length of the corresponding SL-PRS time domain resource is M=2, the comb tooth size of the SL-PRS resource in the frequency domain is N=N0, and the offset of the SL-PRS resource in the frequency domain is RE offset 0; the identifier of the SL-PRS resource is 2, the length of the corresponding SL-PRS time domain resource is M=4, the comb tooth size of the SL-PRS resource in the frequency domain is N=N0, and the offset of the SL-PRS resource in the frequency domain is RE offset 0; the identifier of the SL-PRS resource is 3, the length of the corresponding SL-PRS time domain resource is M=1, the comb tooth size of the SL-PRS resource in the frequency domain is N=N1, and the offset of the SL-PRS resource in the frequency domain is RE offset 0; the SL-PRS resource identifier is 4, the corresponding SL-PRS time domain resource length M = 2, the SL-PRS resource comb size N = N1 in the frequency domain, and the SL-PRS resource offset in the frequency domain is RE offset 0; the SL-PRS resource identifier is 5, the corresponding SL-PRS time domain resource length M = 4, the SL-PRS resource comb size N = N1 in the frequency domain, and the SL-PRS resource offset in the frequency domain is RE offset 0; the SL-PRS resource identifier is 6, the corresponding SL-PRS time domain resource length M = 1, the SL-PRS resource comb size N = N0 in the frequency domain, and the SL-PRS resource offset in the frequency domain is RE offset 1; the SL-PRS resource identifier is 7, the corresponding SL-PRS time domain resource length M = 2, the SL-PRS resource comb size N = N0 in the frequency domain, and the SL-PRS resource offset in the frequency domain is RE offset 1; the identifier of the SL-PRS resource is 8, the length of the corresponding SL-PRS time domain resource is M=4, the comb tooth size of the SL-PRS resource in the frequency domain is N=N0, and the offset of the SL-PRS resource in the frequency domain is RE offset 1; the identifier of the SL-PRS resource is 9, the length of the corresponding SL-PRS time domain resource is M=1, the comb tooth size of the SL-PRS resource in the frequency domain is N=N1, and the offset of the SL-PRS resource in the frequency domain is RE offset 1; the identifier of the SL-PRS resource is 10, the length of the corresponding SL-PRS time domain resource is M=2, the comb tooth size of the SL-PRS resource in the frequency domain is N=N1, and the offset of the SL-PRS resource in the frequency domain is RE offset 1;The SL-PRS resource identifier is 11, the corresponding SL-PRS time domain resource length M = 4, the SL-PRS resource comb tooth size in the frequency domain N = N1, and the SL-PRS resource offset in the frequency domain is RE offset 1.

[0586] It can be understood that the above is an example and this application is not limited thereto.

[0587] As mentioned above, the SL-PRS resource may be determined by the first communication device, or may be determined by the network device and indicated to the first communication device (eg, indicated by indication information #1). The following briefly describes the determination by the network device as an example.

[0588] Specifically, the network device determines the identifier of the SL-PRS resource, and then the network device can send indication information #1 to the first communication device, where the indication information #1 indicates the identifier of the SL-PRS resource. Further, the network device or the first communication device can send indication information #3 to the second communication device, where the indication information # indicates the identifier of the SL-PRS resource.

[0589] For example, taking the first possible scenario as an example, the first communications device can determine the length M of the SL-PRS time domain resource based on the identifier of the SL-PRS resource and the above-described correspondence. As previously described, the network device can send indication information #7 to the first communications device, where indication information #7 indicates N and RE offset. Therefore, the first communications device can obtain relevant information about the SL-PRS resource and can use the SL-PRS resource to send the SL-PRS to the second communications device.

[0590] Taking the example of the first communication device indicating the identifier of the SL-PRS resource to the second communication device, the second communication device can also determine the length M of the SL-PRS time domain resource based on the identifier of the SL-PRS resource and the above-mentioned correspondence. The network device can also indicate N and RE offset to the second communication device, so that the second communication device can obtain relevant information about the SL-PRS resource and can then use the SL-PRS resource to receive the SL-PRS. The network device indicating the identifier of the SL-PRS resource to the second communication device is similar and will not be repeated here.

[0591] For another example, using the second possible scenario, the first communications device can determine the length M and comb tooth size N of the SL-PRS time domain resource based on the SL-PRS resource identifier and the aforementioned correspondence. As previously described, the network device can send indication information #7 to the first communications device, where indication information #7 indicates the RE offset. Therefore, the first communications device can obtain information related to the SL-PRS resource and can use the SL-PRS resource to send the SL-PRS to the second communications device.

[0592] Taking the example of the first communication device indicating the identifier of the SL-PRS resource to the second communication device, the second communication device can also determine the length M and comb tooth size N of the SL-PRS time domain resource based on the identifier of the SL-PRS resource and the above-mentioned correspondence. The network device can also indicate the RE offset to the second communication device, so that the second communication device can obtain relevant information about the SL-PRS resource and can then use the SL-PRS resource to receive the SL-PRS. The network device indicating the identifier of the SL-PRS resource to the second communication device is similar and will not be repeated here.

[0593] For another example, taking the third possible scenario as an example, the first communication device can determine the length M, comb tooth size N, and offset RE offset of the SL-PRS time domain resource based on the identifier of the SL-PRS resource and the above-mentioned correspondence. Therefore, the first communication device can obtain relevant information about the SL-PRS resource and can use the SL-PRS resource to send the SL-PRS to the second communication device.

[0594] Taking the example of a first communication device indicating the identifier of an SL-PRS resource to a second communication device, the second communication device can also determine the length M, comb tooth size N, and offset RE offset of the SL-PRS time domain resource based on the identifier of the SL-PRS resource and the above-mentioned correspondence. Therefore, the second communication device can obtain relevant information about the SL-PRS resource and can then use the SL-PRS resource to receive the SL-PRS. The network device indicating the identifier of the SL-PRS resource to the second communication device is similar and will not be repeated here.

[0595] It can be understood that in the above embodiments, SL-PRS resources are mentioned many times, which means resources used to transmit SL-PRS.

[0596] It can also be understood that in the above embodiments, the SL-PRS is mainly used as an example for illustration. It can be understood that the SL-PRS can be replaced by other reference signals.

[0597] It will also be understood that in the above embodiments, the number of transmissions and the maximum number of reservations (or simply the number of reservations) are mentioned multiple times. The maximum number of reservations can also be referred to as the number of retransmissions. Taking the SL-PRS as an example, assuming that the number of SL-PRS transmissions is S, where S is an integer greater than or equal to 1, it indicates that the sum of the number of initial transmissions and retransmissions of the SL-PRS is S. Specifically, if S is 1, it indicates that the SL-PRS is transmitted once; if S is greater than 1, it indicates that the SL-PRS is initially transmitted once and retransmitted (S-1) times, that is, the maximum number of reservations is (S-1). As an example, a communication device (such as a first communication device and / or a second communication device) can receive configuration information on the time domain unit (such as a time slot) where the initial transmission is located, and the configuration information includes the maximum number of reservations. It will be understood that in actual transmission, the maximum number of reservations indicated in the configuration information may be different from the actual number of retransmissions, for example, the actual number of retransmissions may be less than the maximum number of reservations, and this is not limited to this.

[0598] It is also understood that the formulas involved in the various embodiments of the present application are merely illustrative and do not limit the scope of protection of the embodiments of the present application. In the process of calculating the various parameters involved above, calculations can also be performed according to the above formulas, or based on variations of the above formulas, or calculations can be performed in other ways to meet the results of the formula calculations.

[0599] It can also be understood that some optional features in the various embodiments of the present application may not depend on other features in certain scenarios, and may also be combined with other features in certain scenarios, without limitation.

[0600] It can also be understood that the solutions in the various embodiments of the present application can be reasonably combined and used, and the explanations or descriptions of the various terms appearing in the embodiments can be referenced or explained with each other in the various embodiments, without limitation to this.

[0601] It can also be understood that in the above-mentioned various method embodiments, the methods and operations implemented by the communication device can also be implemented by components (such as chips or circuits) of the communication device.

[0602] Corresponding to the methods provided in the above method embodiments, embodiments of the present application also provide corresponding apparatuses, which include modules for executing the corresponding methods in the above method embodiments. The modules may be software, hardware, or a combination of software and hardware. It is understood that the technical features described in the above method embodiments are also applicable to the following apparatus embodiments.

[0603] The device of the present application is described in detail below with reference to Figures 13 to 15. It should be understood that the description of the device embodiment corresponds to the description of the method embodiment, so that the contents not described in detail can be referred to the method embodiment above, and for the sake of brevity, they will not be repeated here.

[0604] Figure 13 is a schematic block diagram of a communication device 1300 provided in an embodiment of the present application. Device 1300 includes a transceiver unit 1310 and a processing unit 1320. Transceiver unit 1310 can be used to implement corresponding communication functions. Transceiver unit 1310 can also be referred to as a communication interface or communication unit. Processing unit 1320 can be used to perform data processing, such as generating resource identifiers.

[0605] Optionally, the device 1300 also includes a storage unit, which can be used to store instructions and / or data. The processing unit 1320 can read the instructions and / or data in the storage unit so that the device implements the actions of the terminal device in the aforementioned method embodiments.

[0606] In one design, the device 1300 may be the first communication device in the aforementioned embodiment, or may be a component (e.g., a chip) of the first communication device. The device 1300 may implement steps or processes corresponding to those performed by the first communication device in the above method embodiment, wherein the transceiver unit 1310 may be configured to perform the transceiver-related operations of the first communication device in the above method embodiment, and the processing unit 1320 may be configured to perform the processing-related operations of the first communication device in the above method embodiment.

[0607] In one possible implementation, the processing unit 1320 is used to obtain an identifier of a first resource, where the first resource is used to transmit a sidelink positioning reference signal, and the identifier of the first resource is determined based on at least one of the following: the length of the time domain resource that can be used to transmit the sidelink positioning reference signal, the starting position of the time domain resource used to transmit the sidelink positioning reference signal, and the length of the time domain resource used to transmit the sidelink positioning reference signal; the transceiver unit 1310 is used to use the first resource to send the sidelink positioning reference signal.

[0608] Another possible implementation method is that the processing unit 1320 is used to obtain a first resource, where the first resource is used to transmit a sidelink positioning reference signal. The first resource includes T transmission resources, at least two of the T transmission resources are discontinuous in the time domain, and T is an integer greater than 1; the transceiver unit 1310 is used to send indication information, where the indication information indicates at least one transmission resource in the first resources, and at least one transmission resource in the first resources is used to transmit a sidelink positioning reference signal.

[0609] The device 1300 can implement the steps or processes executed by the first communication device in the method embodiment according to the embodiment of the present application. The device 1300 may include a unit for executing the method executed by the first communication device in the embodiments shown in Figures 7 to 12.

[0610] In another design, the device 1300 may be the second communication device in the aforementioned embodiment, or may be a component (e.g., a chip) of the second communication device. The device 1300 may implement steps or processes corresponding to those performed by the second communication device in the above method embodiment, wherein the transceiver unit 1310 may be configured to perform the transceiver-related operations of the second communication device in the above method embodiment, and the processing unit 1320 may be configured to perform the processing-related operations of the second communication device in the above method embodiment.

[0611] In one possible implementation, the transceiver unit 1310 is used to receive a first resource or an identifier of a first resource; the transceiver unit 1310 is also used to receive a sidelink positioning reference signal using the first resource, and the identifier of the first resource is determined based on at least one of the following: the length of the time domain resource that can be used to transmit the sidelink positioning reference signal, the starting position of the time domain resource for transmitting the sidelink positioning reference signal, and the length of the time domain resource for transmitting the sidelink positioning reference signal.

[0612] Another possible implementation method is that the transceiver unit 1310 is used to receive indication information, where the indication information indicates at least one transmission resource in the first resources, the first resource is used to transmit a sidelink positioning reference signal, the first resource includes T transmission resources, at least two of the T transmission resources are discontinuous in the time domain, and T is an integer greater than 1; the transceiver unit 1310 is also used to receive the sidelink positioning reference signal.

[0613] The device 1300 can implement the steps or processes executed by the second communication device in the method embodiment according to the embodiment of the present application. The device 1300 may include a unit for executing the method executed by the second communication device in the embodiments shown in Figures 7 to 12.

[0614] A more detailed description of the device 1300 can be directly obtained by referring to the relevant description in the above method embodiment, and will not be repeated here.

[0615] It should be understood that the specific process of each unit executing the above corresponding steps has been described in detail in the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0616] It should also be understood that the device 1300 here is embodied in the form of a functional unit. The term "unit" here can refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit and / or other suitable components that support the described functions. In an optional example, those skilled in the art will understand that the device 1300 can be specifically a communication device (such as a first communication device, or a second communication device) in the above-mentioned embodiment, and can be used to execute the various processes and / or steps corresponding to the communication device in the above-mentioned method embodiments. To avoid repetition, they will not be described here.

[0617] The apparatus 1300 of each of the above-mentioned solutions has the function of implementing the corresponding steps performed by the communication device (such as the first communication device, and the second communication device) in the above-mentioned method. The functions can be implemented by hardware, or the corresponding software can be implemented by hardware. The hardware or software includes one or more modules corresponding to the above-mentioned functions; for example, the transceiver unit can be replaced by a transceiver (for example, the sending unit in the transceiver unit can be replaced by a transmitter, and the receiving unit in the transceiver unit can be replaced by a receiver), and other units, such as the processing unit, can be replaced by a processor to respectively perform the sending and receiving operations and related processing operations in each method embodiment.

[0618] In addition, the transceiver unit 1310 may also be a transceiver circuit (for example, may include a receiving circuit and a sending circuit), and the processing unit may be a processing circuit.

[0619] It should be noted that the apparatus in FIG13 may be the device in the aforementioned embodiment, or may be a chip or chip system, such as a system on chip (SoC). The transceiver unit may be an input / output circuit or a communication interface; the processing unit may be a processor, microprocessor, or integrated circuit integrated on the chip. This is not limited here.

[0620] Figure 14 is a schematic block diagram of a communication device 1400 provided in an embodiment of the present application. The device 1400 includes a processor 1410, which is coupled to a memory 1440. Optionally, the memory 1440 is further included to store computer programs or instructions and / or data. The processor 1410 is configured to execute the computer programs or instructions stored in the memory 1440, or read the data stored in the memory 1440, to perform the methods described in the above method embodiments.

[0621] Optionally, there are one or more processors 1410 .

[0622] Optionally, there are one or more memories 1440 .

[0623] Optionally, the memory 1440 is integrated with the processor 1410 or provided separately.

[0624] Optionally, as shown in Figure 14, the apparatus 1400 further includes a transceiver 1430, which is configured to receive and / or transmit signals. For example, the processor 1410 is configured to control the transceiver 1430 to receive and / or transmit signals.

[0625] As a solution, the device 1400 is used to implement the operations performed by the communication device in the above various method embodiments.

[0626] For example, the processor 1410 is configured to execute computer programs or instructions stored in the memory 1440 to implement relevant operations of the first communication device or the second communication device in the above various method embodiments.

[0627] During implementation, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor 1410 or by instructions in the form of software. The method disclosed in conjunction with the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1440, and the processor 1410 reads the information in the memory 1440 and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.

[0628] It should be understood that in the embodiments of the present application, the processor may be one or more integrated circuits for executing relevant programs to execute the method embodiments of the present application.

[0629] A processor (e.g., processor 1410) may include one or more processors and be implemented as a combination of computing devices. The processor may include one or more of the following: a microprocessor, a microcontroller, a digital signal processor (DSP), a digital signal processing device (DSPD), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a programmable logic device (PLD), gating logic, transistor logic, discrete hardware circuits, processing circuits, or other suitable hardware, firmware, and / or a combination of hardware and software to perform the various functions described in this disclosure. The processor may be a general-purpose processor or a special-purpose processor. For example, processor 1410 may be a baseband processor or a central processing unit. A baseband processor may be used to process communication protocols and communication data. A central processing unit may be used to enable the device to execute software programs and process data in the software programs. In addition, a portion of the processor may also include non-volatile random access memory. For example, the processor may also store information about the device type.

[0630] In this application, the term "program" is used broadly to refer to software. Non-limiting examples of software include program code, program, subroutine, instruction, instruction set, code, code segment, software module, application, or software application. The program can be executed in a processor and / or computer to cause the device to perform the various functions and / or processes described in this application.

[0631] The memory (e.g., memory 1440) can store data required by the processor (e.g., processor 1410) when executing software. The memory can be implemented using any suitable storage technology. For example, the memory can be any available storage medium that can be accessed by the processor and / or computer. Non-limiting examples of storage media include random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM), removable media, optical disk storage, magnetic disk storage media, magnetic storage devices, flash memory, registers, state memory, remotely mounted storage, local or remote memory components, or any other medium capable of carrying or storing software, data, or information and accessible by a processor / computer. It should be noted that the memory described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0632] The memory (e.g., memory 1440) and the processor (e.g., processor 1410) may be provided separately or integrated together. The memory may be used to connect to the processor so that the processor can read information from the memory and store and / or write information in the memory. The memory may be integrated into the processor. The memory and the processor may be provided in an integrated circuit (e.g., the integrated circuit may be provided in a UE or other network node).

[0633] 15 is a schematic block diagram of a chip system 1500 provided in an embodiment of the present application. The chip system 1500 (or also referred to as a processing system) includes a logic circuit 1510 and an input / output interface 1520 .

[0634] Logic circuit 1510 may be a processing circuit within chip system 1500. Logic circuit 1510 may be coupled to a storage unit and invoke instructions within the storage unit, enabling chip system 1500 to implement the methods and functions of various embodiments of the present application. Input / output interface 1520 may be an input / output circuit within chip system 1500, outputting information processed by chip system 1500 or inputting data or signaling information to be processed into chip system 1500 for processing.

[0635] As a solution, the chip system 1500 is used to implement the operations performed by the communication device in the above various method embodiments.

[0636] For example, the logic circuit 1510 is used to implement the processing-related operations performed by the first communication device in the above method embodiments, such as the processing-related operations performed by the first communication device in the embodiment shown in Figure 7; the input / output interface 1520 is used to implement the sending and / or receiving-related operations performed by the first communication device in the above method embodiments, such as the sending and / or receiving-related operations performed by the first communication device in the embodiment shown in Figure 7.

[0637] For another example, the logic circuit 1410 is used to implement the processing-related operations performed by the second communication device in the above method embodiment, such as the processing-related operations performed by the second communication device in the embodiment shown in Figure 7; the input / output interface 1420 is used to implement the sending and / or receiving-related operations performed by the second communication device in the above method embodiment, such as the sending and / or receiving-related operations performed by the second communication device in the embodiment shown in Figure 7.

[0638] An embodiment of the present application further provides a computer-readable storage medium storing computer instructions for implementing the methods executed by a communication device (such as the first communication device or the second communication device) in the above-mentioned method embodiments.

[0639] An embodiment of the present application further provides a computer program product comprising instructions, which, when executed by a computer, implement the methods performed by a communication device (such as the first communication device or the second communication device) in the above-mentioned method embodiments.

[0640] An embodiment of the present application further provides a communication system, which includes the first communication device and the second communication device in the above embodiments.

[0641] The explanation of the relevant contents and beneficial effects of any of the above-mentioned devices can be referred to the corresponding method embodiments provided above, which will not be repeated here.

[0642] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above-mentioned units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, 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.

[0643] The units described above 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 according to actual needs to implement the solutions provided in this application.

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

[0645] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0646] When software is used for implementation, 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 devices. For example, the computer can be a personal computer, a server, or a network device, etc. 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 a website, computer, server or data center to another website, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). About computer-readable storage media, reference can be made to the above description.

[0647] 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 communication method, characterized in that: include: Acquire an identifier of a first resource, where the first resource is used to transmit a sidelink positioning reference signal, and the identifier of the first resource is determined according to at least one of the following: a length of a time domain resource that can be used to transmit the sidelink positioning reference signal, a starting position of the time domain resource used to transmit the sidelink positioning reference signal, and a length of the time domain resource used to transmit the sidelink positioning reference signal; The sidelink positioning reference signal is sent using the first resource.

2. The method according to claim 1, characterized in that Obtaining the identifier of the first resource includes: receiving first indication information, where the first indication information indicates an identifier of the first resource; or, The method of claim 14 , wherein the method determines an identifier of the first resource by itself.

3. The method according to claim 1 or 2, characterized in that: The length of the time domain resource that can be used to transmit the sidelink positioning reference signal is determined according to at least one of the following: The length of the time domain resources used to transmit the physical sideline shared channel PSSCH, the length of the time domain resources used to transmit the physical sideline control channel PSCCH, the length of the time domain resources used to transmit the physical sideline feedback channel PSFCH, and the length of the time domain resources used to transmit the demodulation reference signal DMRS.

4. The method according to any one of claims 1 to 3, characterized in that The length of the time domain resource that can be used to transmit the sidelink positioning reference signal satisfies any one of the following conditions: Ma=1 d -l PSCCH -X1, Ma=1 d -l PSCCH -l DMRS –X2, Ma=l d – X3; Wherein, Ma represents the length of the time domain resource that can be used to transmit the sidelink positioning reference signal, l d Indicates the length of the time domain resource used to transmit PSSCH, l PSCCH Indicates the length of the time domain resource used to transmit PSCCH, l DMRS represents the length of the time domain resource used to transmit the demodulation reference signal DMRS, and X1, X2, and X3 are constants.

5. The method according to claim 4, characterized in that The value of X1 is any of the following: 0, 1, 2 or 3; and / or, The value of X2 is 0 or 1; and / or, The value of X3 is 0 or 1.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: receiving second indication information, where the second indication information indicates at least one of the following: a starting position of the time domain resource used to transmit the sidelink positioning reference signal, and a length of the time domain resource used to transmit the sidelink positioning reference signal; or, Determine at least one of the following: the starting position of the time domain resource used to transmit the sidelink positioning reference signal, and the length of the time domain resource used to transmit the sidelink positioning reference signal.

7. The method according to any one of claims 1 to 6, characterized in that: The identifier of the first resource is obtained by encoding the length of the time domain resource that can be used to transmit the sidelink positioning reference signal.

8. The method according to claim 7, characterized in that The identifier of the first resource satisfies any of the following: id =S start , n id =S start +Ma, or n id =S start +2Ma-1, Among them, n id represents the identifier of the first resource, S start It represents the starting position of the time domain resources used to transmit the sidelink positioning reference signal, and Ma represents the length of the time domain resources that can be used to transmit the sidelink positioning reference signal.

9. The method according to claim 7 or 8, characterized in that: The first resource is also determined based on at least one of the following: a time domain resource used to transmit a sidelink reference signal, a time domain resource used to transmit sidelink feedback information, and a time domain resource used to transmit a PSSCH.

10. The method according to claim 9, characterized in that The obtaining the identifier of the first resource includes: Obtaining identifiers of N resources by encoding the length of the time domain resource that can be used to transmit the sidelink positioning reference signal, where N is an integer greater than 1; The identifier of the first resource is determined according to the identifiers of the N resources and a preset rule, wherein the preset rule indicates that the first resource is a continuous resource, and / or the first resource does not include one of the following indications: the time domain for transmitting the sidelink reference signal Resources, the time domain resources used to transmit sidelink feedback information, and the time domain resources used to transmit PSSCH.

11. The method according to any one of claims 1 to 6, characterized in that The value of the identifier of the first resource is W bits, the W bits include a first bit and a second bit, W is an integer greater than 1, and the identifier of the first resource satisfies any of the following: The first bit of the identifier of the first resource is related to the starting position of the time domain resource used to transmit the sidelink positioning reference signal, and the second bit of the identifier of the first resource is related to the length of the time domain resource used to transmit the sidelink positioning reference signal; or, The second bit of the identifier of the first resource is related to the starting position of the time domain resource used to transmit the sidelink positioning reference signal, and the first bit of the identifier of the first resource is related to the length of the time domain resource used to transmit the sidelink positioning reference signal; or, The identifier of the first resource is obtained by jointly encoding the length of the time domain resource used to transmit the sidelink positioning reference signal and the starting position of the time domain resource used to transmit the sidelink positioning reference signal.

12. The method according to any one of claims 1 to 11, characterized in that The method further comprises: Send third indication information, where the third indication information indicates: the first resource or an identifier of the first resource.

13. The method according to claim 12, characterized in that The third indication information includes at least one of the following: an identifier of the first resource, a starting position of the first resource in the time domain, a length of the first resource in the time domain, an ending position of the first resource in the time domain, an offset of the first resource in the frequency domain, and a comb tooth size of the first resource in the frequency domain.

14. The method according to claim 13, characterized in that The first resource includes a first transmission resource and a second transmission resource, the first transmission resource and the second transmission resource are discontinuous in the time domain, and the third indication information includes an offset of the first resource in the frequency domain. The offset of the first resource in the frequency domain includes the offset of the first transmission resource in the frequency domain and / or the offset of the second transmission resource in the frequency domain.

15. The method according to any one of claims 1 to 14, characterized in that The method further comprises: receiving fourth indication information, where the fourth indication information indicates a second resource; Obtaining the identifier of the first resource includes: The first resource is determined according to the second resource and available resources, and a length of the first resource in the time domain resource is shorter than a length of the second resource in the time domain resource.

16. The method according to claim 15, characterized in that The using the first resource to send the sidelink positioning reference signal includes: Based on the length of the first resource in the time domain resource, the sidelink positioning reference signal is transmitted in a completely staggered manner; or, Based on the length of the second resource in the time domain resource, the sidelink positioning reference signal is transmitted on the first resource in a partially staggered manner.

17. The method according to any one of claims 1 to 16, characterized in that The method further comprises: Reservation information is sent in a first time slot where the first resource is located, the reservation information indicates at least one second time slot, the second time slot is a time slot where the data packet is retransmitted, and the first time slot and / or the second time slot also includes a second resource for transmitting the sidelink positioning reference signal.

18. The method according to any one of claims 1 to 17, characterized in that The first resource overlaps with a third resource, and the third resource is used to transmit a sidelink reference signal. The method further includes: The sidelink reference signal is sent using resources in the third resources that do not overlap with the first resources.

19. The method according to any one of claims 1 to 17, characterized in that The first resource is a candidate resource among k candidate resources, where k is an integer greater than 1, and the first resource does not overlap with a third resource, and the third resource is used to transmit a sidelink reference signal.

20. The method according to claim 19, characterized in that The obtaining the identifier of the first resource includes: Receiving configuration information of the third resource and configuration information of the k candidate resources; An identifier of the first resource is determined according to the configuration information of the third resource and the configuration information of the k candidate resources.

21. A communication method, characterized in that: include: The second communication device receives the first resource or the identifier of the first resource, where the identifier of the first resource is determined according to at least one of the following: the length of the time domain resource that can be used to transmit the sidelink positioning reference signal, the starting position of the time domain resource used to transmit the sidelink positioning reference signal, and the length of the time domain resource used to transmit the sidelink positioning reference signal; The second communication device receives the sidelink positioning reference signal using the first resource.

22. The method according to claim 21, characterized in that The method further comprises: The second communication device obtains positioning-related information according to the sidelink positioning reference signal.

23. The method according to claim 21 or 22, characterized in that The length of the time domain resource that can be used to transmit the sidelink positioning reference signal is determined according to at least one of the following: The length of the time domain resources used to transmit the physical sideline shared channel PSSCH, the length of the time domain resources used to transmit the physical sideline control channel PSCCH, the length of the time domain resources used to transmit the physical sideline feedback channel PSFCH, and the length of the time domain resources used to transmit the demodulation reference signal DMRS.

24. The method according to any one of claims 21 to 23, characterized in that The length of the time domain resource that can be used to transmit the sidelink positioning reference signal satisfies any one of the following conditions: Ma=1 d -l PSCCH -X1, Ma=1 d -l PSCCH -l DMRS –X2, Ma=l d – X3; Wherein, Ma represents the length of the time domain resource that can be used to transmit the sidelink positioning reference signal, l d Indicates the length of the time domain resource used to transmit PSSCH, l PSCCH Indicates the length of the time domain resource used to transmit PSCCH, l DMRS represents the length of the time domain resource used to transmit the demodulation reference signal DMRS, and X1, X2, and X3 are constants.

25. The method according to claim 24, characterized in that The value of X1 is any of the following: 0, 1, 2 or 3; and / or, The value of X2 is 0 or 1; and / or, The value of X3 is 0 or 1.

26. The method according to any one of claims 21 to 25, characterized in that The method further comprises: The second communication device receives second indication information, and the second indication information indicates at least one of the following: the starting position of the time domain resource used to transmit the sidelink positioning reference signal, and the length of the time domain resource used to transmit the sidelink positioning reference signal.

27. The method according to any one of claims 21 to 26, characterized in that: The identifier of the first resource is obtained by encoding the length of the time domain resource that can be used to transmit the sidelink positioning reference signal.

28. The method according to claim 27, characterized in that The identifier of the first resource satisfies any of the following: id =S start , n id =S start +Ma, or n id =S start +2Ma-1, Among them, n id represents the identifier of the first resource, S start It represents the starting position of the time domain resources used to transmit the sidelink positioning reference signal, and Ma represents the length of the time domain resources that can be used to transmit the sidelink positioning reference signal.

29. The method according to any one of claims 21 to 26, characterized in that The value of the identifier of the first resource is W bits, the W bits include a first bit and a second bit, W is an integer greater than 1, and the identifier of the first resource satisfies any of the following: The first bit of the identifier of the first resource is related to the starting position of the time domain resource used to transmit the sidelink positioning reference signal, and the second bit of the identifier of the first resource is related to the length of the time domain resource used to transmit the sidelink positioning reference signal; or, The second bit of the identifier of the first resource is related to the starting position of the time domain resource used to transmit the sidelink positioning reference signal, and the first bit of the identifier of the first resource is related to the length of the time domain resource used to transmit the sidelink positioning reference signal; or, The identifier of the first resource is obtained by jointly encoding the length of the time domain resource used to transmit the sidelink positioning reference signal and the starting position of the time domain resource used to transmit the sidelink positioning reference signal.

30. The method according to any one of claims 21 to 29, characterized in that The second communication device receives an identifier of the first resource, including: The second communication device receives third indication information, where the third indication information indicates an identifier of the first resource.

31. The method according to claim 30, characterized in that The third indication information includes at least one of the following: an identifier of the first resource, a starting position of the first resource in the time domain, a length of the first resource in the time domain, an ending position of the first resource in the time domain, an offset of the first resource in the frequency domain, and a comb tooth size of the first resource in the frequency domain.

32. The method according to claim 31, characterized in that The first resource includes a first transmission resource and a second transmission resource, the first transmission resource and the second transmission resource are discontinuous in the time domain, and the third indication information includes an offset of the first resource in the frequency domain. The offset of the first resource in the frequency domain includes the offset of the first transmission resource in the frequency domain and / or the offset of the second transmission resource in the frequency domain.

33. The method according to any one of claims 21 to 32, characterized in that The first resource overlaps with a third resource, and the third resource is used to transmit a sidelink reference signal. The method further includes: The sidelink reference signal is received using resources in the third resources that do not overlap with the first resources.

34. The method according to any one of claims 21 to 33, characterized in that The first resource is a candidate resource among k candidate resources, where k is an integer greater than 1, and the first resource does not overlap with a third resource, and the third resource is used to transmit a sidelink reference signal.

35. A communication device, characterized in that: The method comprises modules or units for executing the method according to any one of claims 1 to 34.

36. A communication device, characterized in that: The device comprises a processor, wherein the processor is configured to execute a computer program or instruction stored in a memory so that the device performs the method according to any one of claims 1 to 34.

37. The device according to claim 36, characterized in that The device further comprises the memory and / or the communication interface, wherein the communication interface is coupled to the processor. The communication interface is used to input and / or output information.

38. The device according to claim 36 or 37, characterized in that The device is a chip.

39. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program or instruction, and when the computer program or instruction is executed on the communication device, the communication device is caused to perform the method according to any one of claims 1 to 34.

40. A computer program product, characterized in that The computer program product comprises a computer program or instructions for performing the method of any one of claims 1 to 34.

Citation Information

Patent Citations

  • Communication method and communication device

    CN119276442A

  • Positioning reference signal transmission method and device, storage medium and terminal

    CN114339987A

  • Sending method, receiving method and device of direct link positioning reference signal

    CN115706627A

  • Reference signal transmission method and apparatus, and related device

    CN115866741A

  • Positioning reference signal (PRS) resource determination method and device based on sidelink

    CN116097798A