Information transmission method and apparatus

JP2026527650APending Publication Date: 2026-08-14HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2026-08-14

AI Technical Summary

Benefits of technology

を達成することができる。ここでは詳細を繰り返さない。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026527650000001_ABST
    Figure 2026527650000001_ABST
Patent Text Reader

Abstract

This application provides an information transmission method and apparatus for determining that a first sidelink grant is used to transmit information to a first destination address among at least one destination address, wherein the first destination address has first information having the highest priority among at least one destination address, and as a result, the reliability of information transmission can be improved. The method involves a first terminal device selecting a first destination address associated with a first sidelink grant from at least one destination address, wherein the first destination address has first information having the highest priority among at least one destination address, and one of the at least one destination address has SL-PRS or one of the at least one destination address has SL-PRS and second information. The first terminal device transmits the first information and / or a data packet corresponding to the first information to the first destination address of the first sidelink grant.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and more particularly, to an information transmission method and apparatus.

Background Art

[0002] To meet the requirements of indoor or inter-vehicle positioning scenarios, positioning based on sidelink (SL) between terminal devices has been introduced in the 3rd generation partnership project (3GPP (registered trademark)) R18. In the SL positioning scenario, a sidelink positioning reference signal (SL-PRS) may need to be transmitted between terminal devices, and positioning-related information, such as positioning-related assistance data, capability information, SL-PRS configuration information, measurement results, location information, and connection control information may further need to be transmitted, and other data information may further need to be transmitted.

[0003] In the SL positioning scenario, since the SL-PRS needs to be transmitted between terminal devices, the terminal device may execute the transmission of the SL-PRS using the sidelink grant resource of the SL-PRS dedicated resource pool, or the terminal device may execute the transmission of the SL-PRS using the sidelink grant resource of the shared resource pool. The SL-PRS dedicated resource pool is a resource pool dedicated to the transmission of the SL-PRS. The shared resource pool is a resource pool available for data transmission in addition to the SL-PRS.

[0004] In the case of SL grants for dedicated resource pools, when an SL-PRS needs to be sent to multiple destination addresses, there is an urgent need to resolve how SL grant determines which destination address is used to send the SL-PRS to multiple destination addresses. In addition, in the case of SL grants for shared resource pools, data and SL-PRS may be sent together. When data and / or SL-PRS need to be sent to multiple destination addresses, there is an urgent need to resolve how SL grant determines which destination address is used to send data and / or SL-PRS to multiple destination addresses, and how it performs packet assembly of media access control (MAC) protocol data units (PDUs). [Overview of the project] [Means for solving the problem]

[0005] This application provides an information transmission method and apparatus for determining that a first sidelink grant is used to transmit information to a first destination address of at least one destination address, wherein the first destination address has first information having the highest priority at at least one destination address, and as a result, the reliability of information transmission can be improved.

[0006] According to a first embodiment, an information transmission method is provided. The method may be performed by a first terminal device or a chip or chip system of a first terminal device. The method includes the first terminal device selecting a first destination address associated with a first sidelink grant from at least one destination address, wherein the first destination address has first information having the highest priority among the at least one destination address, and one of the at least one destination address has a sidelink positioning reference signal SL-PRS or one of the at least one destination address has SL-PRS and second information, wherein the second information includes one or two of a media access control control element MAC CE and a logical channel. The first terminal device transmits a data packet of the first information and / or corresponding to the first information to a second terminal device of the first sidelink grant, the address of the second terminal device being the first destination address.

[0007] Based on the aforementioned technical solution, the first terminal device may determine from at least one destination address based on the priority of SL-PRS, MAC CE, and / or logical channel that the first destination address has the first information with the highest priority. At the first sidelink grant, the first terminal device transmits the first information and / or a data packet corresponding to the first information to the second terminal device corresponding to the first destination address. In this technical solution, it may be determined that the first destination address is associated with the first sidelink grant and that the first destination address has the first information with the highest priority among at least one destination address. This allows the first information with the highest priority at the first sidelink grant to be transmitted preferentially, thereby improving the reliability of information transmission.

[0008] In the design of this application, the method further includes the step of determining at least one destination address based on a first sidelink grant. The first sidelink grant has requirements regarding the information to be transmitted, and it can be understood that the first destination address must be selected from destination addresses corresponding to information that satisfies the requirements. For example, at least one destination address is determined based on whether the first sidelink grant supports SL-PRS transmission. Alternatively, at least one destination address is determined based on a priority list of SL-PRS supported by the first sidelink grant. Alternatively, at least one destination address is determined based on the time requirements of the first sidelink grant regarding information transmission.

[0009] In the design of the present application, the method further includes the step of determining whether to transmit an SL-PRS at a first sidelink grant when a first destination address has an SL-PRS and the first information is not an SL-PRS. Having an SL-PRS at a first destination address can be understood as the information that needs to be transmitted to the first destination address includes an SL-PRS. When a first destination address has an SL-PRS and the first information is not an SL-PRS, the priority of the first information is higher than the priority of the SL-PRS, and the first information is a MAC CE or a logical channel.

[0010] In the design of this application, the step of determining whether to transmit an SL-PRS on the first sidelink grant when the first destination address has an SL-PRS and the first information is not an SL-PRS includes the step of determining to transmit an SL-PRS on the first sidelink grant when the first destination address has an SL-PRS and the first information is not an SL-PRS. In this implementation, if the first destination address has the requirements for transmitting an SL-PRS, the MAC layer of the first terminal device determines to transmit an SL-PRS on the first sidelink grant.

[0011] In the design of this application, the step of determining whether to transmit an SL-PRS in the first sidelink grant when the first destination address has an SL-PRS and the first information is not an SL-PRS includes the step of determining not to transmit an SL-PRS in the first sidelink grant when the first destination address has an SL-PRS and the first information is not an SL-PRS. Specifically, if the priority of the first information is greater than or equal to the priority of the SL-PRS, the MAC layer of the first terminal device determines not to transmit an SL-PRS in the first sidelink grant, or if the priority of the SL-PRS is greater than or equal to the priority of the first information, the MAC layer of the first terminal device determines to transmit an SL-PRS in the first sidelink grant. In this implementation, since the priority of the first information is higher than the priority of the SL-PRS, the MAC layer of the first terminal device determines not to transmit an SL-PRS in the first sidelink grant.

[0012] In the design of the present application, the step of determining whether to transmit an SL-PRS at a first sidelink grant when a first destination address has an SL-PRS and the first information is not an SL-PRS includes the step of determining whether to transmit an SL-PRS at a first sidelink grant when a first destination address has an SL-PRS and the first information is not an SL-PRS, based on the size of the transmission resources occupied by information with a higher priority than the priority of the SL-PRS at the first destination address, the size of the transmission resources occupied by the SL-PRS, and the size of the transmission resources of the first sidelink grant.

[0013] In the design of this application, if the sum of the size of the transmission resources occupied by information with a priority higher than the SL-PRS priority at the first destination address and the size of the transmission resources occupied by SL-PRS is less than or equal to the size of the transmission resources of the first sidelink grant, it is decided to transmit SL-PRS at the first sidelink grant; or if the sum of the size of the transmission resources occupied by information with a priority higher than the SL-PRS priority at the first destination address and the size of the transmission resources occupied by SL-PRS is greater than the size of the transmission resources of the first sidelink grant, it is decided not to transmit SL-PRS at the first sidelink grant. Information with a priority higher than the SL-PRS priority at the first destination address can be understood as information with a priority higher than the SL-PRS priority in information that needs to be transmitted to the first destination address.

[0014] In the design of this application, the step of transmitting first information and / or a data packet corresponding to the first information to a second terminal device on a first sidelink grant is, when the first destination address has an SL-PRS and the first information is not an SL-PRS and it is decided to transmit an SL-PRS on the first sidelink grant, the step of transmitting a data packet corresponding to the first information and an SL-PRS to the second terminal device on the first sidelink grant, or when the first destination address has an SL-PRS and the first information is not an SL-PRS and it is decided not to transmit an SL-PRS on the first sidelink grant, the step of transmitting a data packet corresponding to the first information The procedure includes the steps of transmitting to a second terminal device via a first sidelink grant, or, when the first information is SL-PRS, transmitting a data packet corresponding to SL-PRS and third information via a first sidelink grant, wherein the third information includes some or all of the information other than SL-PRS in the first destination address, or, when the first information is SL-PRS, transmitting SL-PRS and a data packet corresponding to SL-PRS via a first sidelink grant to a second terminal device, or, when the first information is SL-PRS, transmitting SL-PRS to a second terminal device via a first sidelink grant.

[0015] In the design of this application, a data packet corresponding to SL-PRS does not include a MAC Service Data Unit (SDU) or MAC CE, or a data packet corresponding to SL-PRS includes a MAC Protocol Data Unit (PDU) subheader, or a data packet corresponding to SL-PRS includes a MAC PDU subheader and padding bits, or a data packet corresponding to SL-PRS includes a MAC CE associated with SL-PRS.

[0016] In the design of this application, the method further includes the step of obtaining a first side link grant.

[0017] In the design of this application, the step of obtaining a first sidelink grant includes the step of receiving configuration information from a network device, wherein the configuration information indicates a first sidelink grant.

[0018] In the design of this application, the configuration information includes one or more of the following: priority information of information whose transmission is supported by the first sidelink grant; priority information of SL-PRS whose transmission is supported by the first sidelink grant; requested bandwidth information of SL-PRS whose transmission is supported by the first sidelink grant; periodic information of the first sidelink grant; or information regarding the number of time-domain symbols occupied by SL-PRS whose transmission is supported by the first sidelink grant.

[0019] In the design of the present application, the step of obtaining a first sidelink grant includes the step of transmitting a fourth piece of information to a network device, the fourth piece of information being for requesting the acquisition of a sidelink grant available for SL-PRS transmission, and the step of receiving a fifth piece of information from the network device, the fifth piece of information indicating a first sidelink grant.

[0020] In the design of this application, the fourth or fifth information includes one or more of the following: priority information of information whose transmission is supported by the first sidelink grant; priority information of SL-PRS whose transmission is supported by the first sidelink grant; requested bandwidth information of SL-PRS whose transmission is supported by the first sidelink grant; information of the number of time-domain symbols occupied by SL-PRS whose transmission is supported by the first sidelink grant; index information corresponding to the first sidelink grant; index information of the resource pool in which the first sidelink grant resides; or experience requirement information for positioning services supported by the first sidelink grant.

[0021] In the design of the present application, the method further includes a first terminal device receiving a first uplink grant. The first terminal device determines, based on the SL-PRS priority at the first destination address, whether transmission on the first sidelink grant takes precedence over transmission on the first uplink grant.

[0022] In the design of the present application, the method further includes a first terminal device receiving a first SL priority threshold. The first terminal device determining whether the transmission of a first sidelink grant takes precedence over the transmission of a first uplink grant based on the SL-PRS priority at a first destination address includes the steps of determining that the transmission of a first sidelink grant takes precedence over the transmission of a first uplink grant if the SL-PRS priority at the first destination address is equal to or greater than a first SL priority threshold, or determining that the transmission of a first uplink grant takes precedence over the transmission of a first sidelink grant if the SL-PRS priority at the first destination address is less than or equal to a first SL priority threshold, or determining that the transmission of a first sidelink grant does not take precedence over the transmission of a first uplink grant.

[0023] In the design of this application, the transmission time corresponding to the first uplink grant is the same as, or close to, the transmission time corresponding to the first sidelink grant.

[0024] In the design of this application, the first terminal device does not have the ability to use the first uplink grant and the first sidelink grant simultaneously.

[0025] In the design of this application, the method further includes the first terminal device receiving a sixth piece of information transmitted by the network device before the first terminal device transmits a fourth piece of information to the network device.

[0026] In the design of this application, the method further includes the following. The sixth information includes, hereinafter, that is, the index of the resource pool where the first sidelink grant exists, information regarding the sidelink transmission time-frequency resource of the first sidelink grant, the periodic information of the first sidelink grant, that the first sidelink grant is the sidelink transmission resource of configured grant type 2, or one or more of the active states of the first sidelink grant.

[0027] In the design of this application, when the first grant is the sidelink transmission resource of configured grant type 2, the method further includes that the fourth information is used by the first terminal device to request to activate or deactivate the first sidelink grant.

[0028] In the design of this application, when the first grant is the sidelink transmission resource of configured grant type 2, the method further includes that the fifth information is used by the network device to request to activate or deactivate the first sidelink grant.

[0029] According to a second aspect, an information transmission method is provided. The method may be executed by a network device, or a chip or chip system of the network device. The method includes that the network device transmits configuration information to a first terminal device, and the configuration information indicates a first sidelink grant.

[0030] In the design of this application, the configuration information includes one or more of the following: priority information of information whose transmission is supported by the first sidelink grant; priority information of SL-PRS whose transmission is supported by the first sidelink grant; requested bandwidth information of SL-PRS whose transmission is supported by the first sidelink grant; periodic information of the first sidelink grant; or information regarding the number of time-domain symbols occupied by SL-PRS whose transmission is supported by the first sidelink grant.

[0031] According to a third aspect, an information transmission method is provided. This method may be performed by a network device, or by a chip or chip system of a network device. This method includes the network device receiving fourth information from a first terminal device, the fourth information being for requesting the acquisition of a sidelink grant available for SL-PRS transmission. The network device transmits fifth information to the first terminal device, the fifth information indicating the first sidelink grant.

[0032] In the design of this application, the fourth or fifth information includes one or more of the following: priority information of information whose transmission is supported by the first sidelink grant; priority information of SL-PRS whose transmission is supported by the first sidelink grant; requested bandwidth information of SL-PRS whose transmission is supported by the first sidelink grant; information of the number of time-domain symbols occupied by SL-PRS whose transmission is supported by the first sidelink grant; index information corresponding to the first sidelink grant; index information of the resource pool in which the first sidelink grant resides; or experience requirement information for positioning services supported by the first sidelink grant.

[0033] In the design of this application, the method further includes the network device transmitting a sixth piece of information to the first terminal device before the first terminal device receives a fourth piece of information.

[0034] The design of the present application further includes the following: the sixth piece of information includes one or more of the following: an index of the resource pool in which the first sidelink grant resides; information regarding the sidelink transmit time-frequency resource of the first sidelink grant; periodic information of the first sidelink grant; that the first sidelink grant is a configured grant type 2 sidelink transmit resource; or the active state of the first sidelink grant.

[0035] In the design of the present application, the method further includes that when the first grant is a configured grant type 2 sidelink transmission resource, the fourth information is used by the first terminal device to request that the first sidelink grant be activated or deactivated.

[0036] In the design of this application, the method further includes that, when the first grant is a configured grant type 2 sidelink transmit resource, the fifth information is used by a network device to activate or deactivate the first sidelink grant.

[0037] According to the fourth aspect, the following conditions apply, namely, There is no sidelink CSI report MAC CE generated for this physical sidelink shared channel (PSSCH) transmission. The sidelink DRX command MAC CE generated for this PSSCH transmission does not exist. There is no MAC CE sidelink terminal-to-terminal device coordination request generated for this PSSCH transmission. The MAC CE, which is the sidelink terminal-to-terminal device coordination information generated for this PSSCH transmission, does not exist. There is no MAC CE associated with the SL-PRS generated for this PSSCH transmission. MAC PDU contains zero MAC SDU, and If the first terminal device needs to send an SL-PRS and the MAC CE associated with the SL-PRS to the second terminal device, and the MAC layer of the first terminal device is permitted to generate a MAC PDU, then the first terminal device will send an SL-PRS and the corresponding data packets to the second terminal device via a sidelink grant. When the condition is met, rules are provided indicating that a MAC PDU cannot be generated, including that the MAC layer of the first terminal device is not permitted to generate a MAC PDU.

[0038] According to the fifth aspect, the following conditions apply, namely, The sidelink CSI report MAC CE generated for this PSSCH transmission does not exist. The sidelink DRX command MAC CE generated for this PSSCH transmission does not exist. There is no MAC CE sidelink terminal-to-terminal device coordination request generated for this PSSCH transmission. The MAC CE, which is the sidelink terminal-to-terminal device coordination information generated for this PSSCH transmission, does not exist. MAC PDU contains zero MAC SDUs, MAC PDU is not associated with SL-PRS, and If the first terminal device needs to send an SL-PRS to the second terminal device, but does not need to send a MAC CE and a logical channel to the second terminal device, and the MAC layer of the first terminal device is permitted to generate a MAC PDU, then the first terminal device sends the SL-PRS and the MAC PDU, or the MAC PDU including the MAC PDU subheader and padding bits, to the second terminal device via a sidelink grant. When the condition is met, rules are provided indicating that a MAC PDU cannot be generated, including that the MAC layer of the first terminal device is not permitted to generate a MAC PDU.

[0039] According to a sixth aspect, an information transmission method is provided. This method may be performed by a first terminal device or a chip or chip system of the first terminal device. This method includes the first terminal device acquiring a first sidelink grant, the first sidelink grant being used to transmit an SL-PRS to a first destination address. The first terminal device receives a first uplink grant. The first terminal device determines, based on the priority of the SL-PRS at the first destination address, whether transmission at the first sidelink grant takes precedence over transmission at the first uplink grant.

[0040] Based on the aforementioned technical solution, when uplink transmission and sidelink SL-PRS transmission coexist, in order to resolve conflicts between uplink transmission and sidelink SL-PRS transmission, it may be determined whether the transmission of the first sidelink grant takes precedence over the transmission of the first uplink grant, based on the priority of SL-PRS at the first destination address.

[0041] In the design of this application, the transmission time corresponding to the first uplink grant is the same as, or close to, the transmission time corresponding to the first sidelink grant.

[0042] In the design of the present application, the method further includes a first terminal device receiving a first SL priority threshold. The first terminal device determining whether the transmission of a first sidelink grant takes precedence over the transmission of a first uplink grant based on the SL-PRS priority at a first destination address includes determining that the transmission of a first sidelink grant takes precedence over the transmission of a first uplink grant if the SL-PRS priority at the first destination address is equal to or greater than the first SL priority threshold, or determining that the transmission of a first uplink grant takes precedence over the transmission of a first sidelink grant, or that the transmission of a first sidelink grant does not take precedence over the transmission of a first uplink grant, if the SL-PRS priority at the first destination address is less than or equal to the first SL priority threshold.

[0043] In the design of this application, the first terminal device does not have the ability to use the first uplink grant and the first sidelink grant simultaneously.

[0044] According to a seventh aspect, a communication device is provided. The device may be used in a first terminal device according to a first aspect, the device including a processing unit configured to select a first destination address associated with a first sidelink grant from at least one destination address, wherein the first destination address has first information having the highest priority among the at least one destination address, and one of the at least one destination address has a sidelink positioning reference signal SL-PRS or one of the at least one destination address has SL-PRS and second information, wherein the second information includes one or two of media access control control elements MAC CE and logical channels; and a transceiver unit configured to transmit data packets corresponding to the first information and / or the first information to a second terminal device at a first sidelink grant, wherein the address of the second terminal device is the first destination address.

[0045] In the design of this application, the processing unit is further configured to determine whether to send an SL-PRS in the first sidelink grant when the first destination address has an SL-PRS and the first information is not an SL-PRS.

[0046] In the design of this application, when the first destination address has SL-PRS and the first information is not SL-PRS, the processing unit is configured to decide to send SL-PRS in the first sidelink grant.

[0047] In the design of this application, when the first destination address has SL-PRS and the first information is not SL-PRS, the processing unit is configured to decide not to send SL-PRS in the first sidelink grant.

[0048] In the design of this application, when the first destination address has an SL-PRS and the first information is not an SL-PRS, the processing unit is configured to determine whether to transmit an SL-PRS in the first sidelink grant, specifically based on the size of the transmission resources occupied by the information whose priority is higher than the priority of the SL-PRS in the first destination address, the size of the transmission resources occupied by the SL-PRS, and the size of the transmission resources in the first sidelink grant.

[0049] In the design of this application, the processing unit is configured to decide to transmit an SL-PRS in the first sidelink grant if the sum of the size of the transmission resources occupied by information with a higher priority than the SL-PRS priority at the first destination address and the size of the transmission resources occupied by the SL-PRS is less than or equal to the size of the transmission resources of the first sidelink grant, or to decide not to transmit an SL-PRS in the first sidelink grant if the sum of the size of the transmission resources occupied by information with a higher priority than the SL-PRS priority at the first destination address and the size of the transmission resources occupied by the SL-PRS is greater than the size of the transmission resources of the first sidelink grant.

[0050] In the design of this application, the transceiver unit, specifically, when it is determined that the first destination address has SL-PRS, the first information is not SL-PRS, and it is decided to transmit SL-PRS at the first sidelink grant, transmits a data packet and SL-PRS corresponding to the first information to the second terminal device at the first sidelink grant, or when it is determined that the first destination address has SL-PRS, the first information is not SL-PRS, and it is decided not to transmit SL-PRS at the first sidelink grant, transmits a data packet corresponding to the first information at the first sidelink grant. The system is configured to transmit to the second terminal device via the first sidelink grant, or, if the first information is SL-PRS, to transmit SL-PRS and a data packet corresponding to the third information to the second terminal device via the first sidelink grant; if the third information includes some or all of the information other than SL-PRS at the first destination address, or if the first information is SL-PRS, to transmit SL-PRS and a data packet corresponding to SL-PRS to the second terminal device via the first sidelink grant; or, if the first information is SL-PRS, to transmit SL-PRS to the second terminal device via the first sidelink grant.

[0051] In the design of this application, a data packet corresponding to SL-PRS does not include a MAC Service Data Unit (SDU) or MAC CE, or a data packet corresponding to SL-PRS includes a MAC Protocol Data Unit (PDU) subheader, or a data packet corresponding to SL-PRS includes a MAC PDU subheader and padding bits, or a data packet corresponding to SL-PRS includes a MAC CE associated with SL-PRS.

[0052] In the design of this application, the transceiver unit is further configured to acquire a first side link grant.

[0053] In the design of this application, the transceiver unit is specifically configured to receive configuration information from a network device, the configuration information indicating a first sidelink grant.

[0054] In the design of this application, the configuration information includes one or more of the following: priority information of information whose transmission is supported by the first sidelink grant, priority information of SL-PRS whose transmission is supported by the first sidelink grant, requested bandwidth information of SL-PRS whose transmission is supported by the first sidelink grant, or information regarding the number of time-domain symbols occupied by SL-PRS whose transmission is supported by the first sidelink grant.

[0055] In the design of this application, the transceiver unit is configured to transmit a fourth piece of information to a network device, which is to request the acquisition of a sidelink grant available for SL-PRS transmission, and to receive a fifth piece of information from the network device, which is to indicate a first sidelink grant.

[0056] In the design of this application, the fifth information includes one or more of the following: priority information of information whose transmission is supported by the first sidelink grant; priority information of SL-PRS whose transmission is supported by the first sidelink grant; requested bandwidth information of SL-PRS whose transmission is supported by the first sidelink grant; information of the number of time-domain symbols occupied by SL-PRS whose transmission is supported by the first sidelink grant; or experience requirement information of positioning services supported by the first sidelink grant.

[0057] According to the eighth aspect, a communication device is provided. This device may be used in a network device according to the second aspect, and the device includes a transceiver unit configured to transmit configuration information to a first terminal device, the configuration information indicating a first sidelink grant.

[0058] In the design of this application, the configuration information includes one or more of the following: priority information of information whose transmission is supported by the first sidelink grant, priority information of SL-PRS whose transmission is supported by the first sidelink grant, requested bandwidth information of SL-PRS whose transmission is supported by the first sidelink grant, or information regarding the number of time-domain symbols occupied by SL-PRS whose transmission is supported by the first sidelink grant.

[0059] According to the ninth aspect, a communication device is provided. The device may be used in a network device according to the third aspect, and the device includes a transceiver unit configured to receive fourth information from a first terminal device, the fourth information being for requesting to obtain a sidelink grant available for SL-PRS transmission. The transceiver unit is further configured to transmit fifth information to the first terminal device, the fifth information indicating the first sidelink grant.

[0060] In the design of this application, the fifth information includes one or more of the following: priority information of information whose transmission is supported by the first sidelink grant; priority information of SL-PRS whose transmission is supported by the first sidelink grant; requested bandwidth information of SL-PRS whose transmission is supported by the first sidelink grant; information of the number of time-domain symbols occupied by SL-PRS whose transmission is supported by the first sidelink grant; or experience requirement information of positioning services supported by the first sidelink grant.

[0061] According to a tenth aspect, a communication device is provided, which includes at least one processor. The at least one processor is connected to a memory, the memory is configured to store a computer program, and the at least one processor is configured to execute the computer program stored in the memory, so that the method in any one of the first to third aspects or any one of the possible implementations of the first to third aspects is performed by the communication device.

[0062] According to the eleventh aspect, a communication system is provided, which includes a first terminal device in the method according to the first aspect, another communication device that communicates with the first terminal device, a network device in the method according to the second or third aspect, and another communication device that communicates with the network device.

[0063] According to the twelfth aspect, a computer-readable storage medium is provided. The computer-readable medium stores computer code or instructions. When the computer code or instructions are executed by a processor, a method in any one of the first to third aspects and any possible implementations of the first to third aspects is performed.

[0064] According to the 13th aspect, a computer program product is provided which includes computer code or instructions. When the computer code or instructions are executed, a method in any one of the first to third aspects and any one of the possible implementations of the first to third aspects is performed.

[0065] The solutions provided in the seventh through thirteenth aspects are used to carry out or in conjunction with the methods provided in the first through sixth aspects, and thus can achieve the same or corresponding beneficial effects as those achieved by the first through sixth aspects. Details will not be repeated here. [Brief explanation of the drawing]

[0066] [Figure 1] This diagram shows how positioning is performed between terminal devices. [Figure 2] This is a diagram of a system architecture to which one embodiment of this application can be applied. [Figure 3] This is a schematic flowchart illustrating how MAC PDU packet assembly is performed based on logical channel priority. [Figure 4] This is an interaction flowchart of an information transmission method according to one embodiment of this application. [Figure 5] This is an interaction flowchart of an example of an information transmission method according to one embodiment of this application. [Figure 6] This is an interaction flowchart of another example of an information transmission method according to one embodiment of this application. [Figure 7] This is a block diagram of a communication device according to one embodiment of this application. [Figure 8] This is a block diagram of another communication device according to one embodiment of this application. [Modes for carrying out the invention]

[0067] The technical solution of this application will be described below with reference to the attached drawings.

[0068] Embodiments of this application may be applied to various communication systems, such as wireless local area network (WLAN) systems, narrow-band internet of things (NB-IoT) systems, global system for mobile communications (GSM), enhanced data rate for GSM evolution (EDGE) systems, wideband code division multiple access (WCDMA®) systems, code division multiple access (CDMA2000) systems, time division-synchronization code division multiple access (TD-SCDMA) systems, long-term evolution (LTE) systems, satellite communications, sidelink (SL), fourth-generation (4G) systems, fifth-generation (5G) systems, or any new communication systems that may emerge in the future. A communication system includes communication devices, and wireless communication may be performed between communication devices by using air interface resources. Communication devices may include network devices and terminal equipment, and network devices may also be called base station devices. Air interface resources may include at least one of time-domain resources, frequency-domain resources, code resources, and spatial resources.

[0069] The terminal device in the embodiments of this application may include various handheld devices, in-vehicle devices, wearable devices, or computing devices having wireless communication capabilities, or other processing devices connected to a wireless modem. The terminal device may also be a subscriber unit, user equipment (UE), cellular phone, smartphone, wireless data card, personal digital assistant (PDA) computer, tablet computer, modulator demodulator (modem), laptop computer, machine type communication (MTC) terminal, or self-driving wireless terminal. User equipment includes vehicle user equipment. With the advent of Internet of Things (IoT) technology, many devices that previously did not have communication capabilities, such as home appliances, transport vehicles, tool devices, service devices, and service facilities, are beginning to acquire wireless communication capabilities by being configured with wireless communication units, and are able to access wireless communication networks and accept remote control. Since such devices are configured with wireless communication units, they have wireless communication capabilities and therefore also belong to the scope of wireless communication devices. In addition, terminal devices may also be called mobile stations (MS), mobile devices, mobile terminals, wireless terminals, handheld devices (handsets), clients, VR (virtual reality) terminal devices, AR (augmented reality) terminal devices, wireless terminals for industrial control, wireless terminals for autonomous driving, wireless terminals for telemedicine, wireless terminals for smart grids, wireless terminals for smart cities, wireless terminals for smart homes, and so on. In the embodiments of this application, the device configured to realize the functions of a terminal device may be a terminal device, or it may be a device that can assist the terminal device in realizing its functions, such as a chip system.The device may be installed in a terminal device. In embodiments of the present application, the chip system may include a chip, or it may include a chip and another separate device. The terminal device provided in embodiments of the present application may be a vehicle, an automotive module, an on-board unit (OBU), a telematics box (T-box), a roadside unit (RSU), or a chip, the chip may be installed in a vehicle, or in an on-board module or on-board unit. In the technical solutions provided in embodiments of the present application, the technical solutions provided in embodiments of the present application will be explained by using an example in which the terminal device is a device configured to realize the functions of the terminal device, and the terminal device may be a UE.

[0070] For example, a network device may be an access network device, an evolved Node B (eNB), a radio network controller (RNC), a Node B (NB), a base station controller (BSC), a base transceiver station (BTS), a home evolved Node B (or home Node B, HNB), a baseband unit (BBU), a device that functions as a device-to-device (D2D) base station, an access point (AP) of a wireless fidelity (WIFI) system, a wireless relay node, a wireless backhaul node, a transmission point (TP), a transmission and reception point (TRP), or an NR gNB or transmission point (e.g., a TRP or TP), or an antenna panel (including multiple antenna panels) of one or a group of NR base stations, or a network node that forms a gNB or transmission point, e.g., a baseband unit (building baseband It may be a BBU (Building Business Unit) or a distributed unit (DU). Alternatively, the network device may be an in-vehicle device, a wearable device, or a network device for a 6G network, a network device for a future advanced PLMN network, or a network device deployed on a satellite. This is not limited to these.In addition, based on the size of the effective communication range of the service provided, base stations (BS) can be classified into macro base stations for providing macrocells, micro base stations for providing microcells, femto base stations for providing femtocells, relay stations, access points, etc. As wireless communication technology continues to evolve, future base stations may use different names.

[0071] To facilitate understanding of the embodiments of this application, the following briefly describes the technical solutions related to the embodiments of this application.

[0072] To meet the requirements of indoor or vehicle-to-vehicle positioning scenarios, SL-based positioning between terminal devices has been introduced in 3GPP® R18. Figure 1 shows a diagram of positioning between terminal devices. SL positioning can be understood as introducing SL into a positioning scenario. For example, at least one network element / terminal device / entity, including a PC5 interface and capable of transmitting a positioning reference signal, is introduced into the positioning scenario. The PC5 interface is an interface between terminal devices. In embodiments of this application, an example is used in which the positioning reference signal is SL-PRS.

[0073] Figure 2 shows a system architecture to which one embodiment of this application can be applied. This embodiment of this application is applicable to SL positioning scenarios, including SL positioning scenarios with network coverage and SL positioning scenarios without network coverage.

[0074] In an SL positioning scenario, SL-PRS needs to be transmitted between terminal devices, and positioning-related information, such as positioning-related support data, capability information, SL-PRS configuration information, measurement results, location information, and connection control information, may need to be transmitted further, and other data information may need to be transmitted further.

[0075] Specifically, a terminal device may receive an SL-PRS transmitted by another terminal device, and may further measure an SL-PRS transmitted by another terminal device and obtain the measurement result. In the positioning methods that can be used by the terminal devices, each positioning method has a corresponding measurement result. Optionally, a terminal device transmitting an SL-PRS may first determine the configuration information or support data information of the SL-PRS and transmit the SL-PRS based on the configuration information or support data information. A terminal device receiving an SL-PRS may first obtain the configuration information or support data information of the SL-PRS and then receive the SL-PRS based on the configuration information or support data information.

[0076] In an SL positioning scenario, since SL-PRS needs to be transmitted between terminal devices, a terminal device may use a sidelink grant (SL grant) resource in a dedicated SL-PRS resource pool to transmit SL-PRS, or it may use a sidelink grant resource in a shared resource pool to transmit SL-PRS. The dedicated SL-PRS resource pool is a resource pool dedicated to transmitting SL-PRS. The shared resource pool is a resource pool that can be used for transmitting data in addition to SL-PRS. In the case of SL grant, the same terminal device can transmit information to only one peer terminal device. For example, in the case of a dedicated resource pool, the same terminal device may transmit SL-PRS to a peer terminal device by using the SL grant in the dedicated resource pool. In another example, in the case of a shared resource pool, the same terminal device may transmit SL-PRS and data to a peer terminal device simultaneously by using the SL grant in the shared resource pool. Alternatively, the same terminal device may transmit SL-PRS to a peer terminal device using the SL grant in the shared resource pool, but not transmit data. Alternatively, the same terminal device may send data to a peer terminal device by using an SL grant from a shared resource pool, without sending an SL-PRS. SL grants selected by different terminal devices in a shared resource pool may be used for different purposes. For example, alternatively, terminal device 1 may select an SL grant from the shared resource pool to send an SL-PRS, and terminal device 2 may select an SL grant from the shared resource pool to send data. Compared to a dedicated resource pool that is not available for data transmission, a shared resource pool may be available for both SL-PRS and data transmission. The data in the embodiments of this application includes data corresponding to MAC CE and / or logical channels.

[0077] In the case of SL grants for dedicated resource pools, when an SL-PRS needs to be sent to multiple destination addresses, there is an urgent need to resolve how SL grant determines which destination address is used to send the SL-PRS to multiple destination addresses. In addition, in the case of SL grants for shared resource pools, data and SL-PRS may be sent together. When data and / or SL-PRS need to be sent to multiple destination addresses, there is an urgent need to resolve how SL grant determines which destination address is used to send the data and / or SL-PRS to multiple destination addresses, and how it performs packet assembly of MAC PDUs.

[0078] Accordingly, one embodiment of the present application provides an information transmission method such that, after obtaining an SL grant, a first terminal device can determine, based on whether the SL-PRS and / or data (including data corresponding to the MAC CE and / or logical channel) needs to be sent to at least one destination address, that the SL grant is used to transmit information to a first destination address of at least one destination address, and determine how to perform packet assembly of the MAC PDU.

[0079] Figure 3 is an interaction flowchart of an information transmission method 300 according to one embodiment of this application.

[0080] 310: A first terminal device selects a first destination address associated with a first sidelink grant from at least one destination address, wherein the first destination address has first information having the highest priority among the at least one destination address, and one of the at least one destination address has SL-PRS, or one of the at least one destination address has SL-PRS and second information, wherein the second information includes one or two of MAC CE and logical channels. Specifically, the MAC layer of the first terminal device selects a first destination address associated with a first sidelink grant from at least one destination address. The first sidelink grant is used to transmit information and / or data to a second terminal device corresponding to the first destination address.

[0081] The presence of an SL-PRS at one of the destination addresses can be understood as either the information to be sent to one of the destination addresses includes an SL-PRS, or one of the destination addresses has a requirement for sending an SL-PRS. The presence of an SL-PRS and second information at one of the destination addresses can be understood as either the information to be sent to one of the destination addresses includes an SL-PRS and second information, or one of the destination addresses has a requirement for sending an SL-PRS and second information. In this embodiment of the present application, the second information can be understood as a data packet corresponding to the second information. For example, when the second information includes a logical channel, the logical channel is not available for transmission, and the data on the logical channel is transmitted in essence. The logical channel can be understood as a data packet corresponding to the logical channel or data corresponding to the logical channel.

[0082] At least one destination address may have a requirement for only one destination address to send an SL-PRS, or each destination address may have a requirement for sending an SL-PRS. For example, at least one destination address includes destination address 1, destination address 2, and destination address 3, where the SL-PRS must be sent to destination address 1, the MAC CE must be sent to destination address 2, and the MAC CE and data packets corresponding to the logical channel must be sent to destination address 3. In another example, at least one destination address includes destination address 1, destination address 2, and destination address 3, where the SL-PRS and MAC CE must be sent to destination address 1, the MAC CE must be sent to destination address 2, and the MAC CE and data packets corresponding to the logical channel must be sent to destination address 3. In yet another example, at least one destination address includes destination address 1, destination address 2, and destination address 3, where SL-PRS 1 and MAC CE must be sent to destination address 1, SL-PRS 2 must be sent to destination address 2, and SL-PRS 3 and data packets corresponding to the logical channel must be sent to destination address 3. In another example, at least one destination address includes destination address 1, destination address 2, and destination address 3, and SL-PRS 1 should be sent to destination address 1, SL-PRS 2 should be sent to destination address 2, and SL-PRS 3 should be sent to destination address 3.

[0083] The fact that a first destination address has first information having the highest priority among at least one destination address can be understood as the information to be sent to the first destination address includes first information having the highest priority among all information to be sent to all destination addresses in at least one destination address, or the data corresponding to the information to be sent to the first destination address includes data corresponding to first information having the highest priority among all data corresponding to information to be sent to all destination addresses in at least one destination address.

[0084] For example, the first terminal device compares the SL-PRS priority, MAC CE priority, and logical channel priority of information that needs to be sent to all destination addresses of at least one destination address, and determines the information with the highest priority as the first information. When the information that needs to be sent to the first destination address includes the first information, it is determined that the first sidelink grant is associated with the first destination address, and the first sidelink grant is used to transmit information and / or data to the first destination address. The first information may be data corresponding to SL-PRS, MAC CE, or logical channels.

[0085] Specifically, the first terminal device may compare all information that needs to be transmitted with at least one destination address and select the destination address corresponding to the first information with the highest priority as the first destination address. Alternatively, the first terminal device may first select the information with the highest priority among the information that needs to be transmitted to one of the at least one destination addresses, and then compare the priority of the information with the highest priority corresponding to all destination addresses of the at least one destination address to determine the first destination address corresponding to the first information with the highest priority. This is not limited to the present application. For example, at least one destination address includes destination address 1, destination address 2, and destination address 3, SL-PRS 1 needs to be transmitted to destination address 1, MAC CE 1 needs to be transmitted to destination address 2, and MAC CE 2 and data corresponding to logical channel 1 need to be transmitted to destination address 3. If the first terminal device determines that SL-PRS 1 has the highest priority among SL-PRS 1, MAC CE 1, MAC CE 2, and logical channel 1, and SL-PRS 1 is information among the information that needs to be sent to destination address 1, then the first terminal device determines that the first sidelink grant is associated with destination address 1, and SL-PRS 1 is the first information. In another example, at least one destination address includes destination address 1, destination address 2, and destination address 3, and SL-PRS 1 needs to be sent to destination address 1, SL-PRS 2 needs to be sent to destination address 2, and SL-PRS 3 needs to be sent to destination address 3. If the first terminal device determines that SL-PRS 2 has the highest priority among SL-PRS 1, SL-PRS 2, and SL-PRS 3, and SL-PRS 2 is information among the information that needs to be sent to destination address 2, then the first terminal device determines that the first sidelink grant is associated with destination address 2, and SL-PRS 2 is the first information.In another example, at least one destination address includes destination address 1, destination address 2, and destination address 3, and the data corresponding to SL-PRS 1 and logical channel 1 must be sent to destination address 1, MAC CE 2 must be sent to destination address 2, and the data packet corresponding to logical channel 2 must be sent to destination address 3. If the first terminal device determines that the data corresponding to logical channel 2 has the highest priority in SL-PRS 1, and that the data corresponding to logical channel 1, MAC CE 2, and the data corresponding to logical channel 2, as well as the data corresponding to logical channel 2, are among the information that must be sent to destination address 3, then the first terminal device determines that the first sidelink grant is associated with destination address 3 and that logical channel 2 (the data corresponding to logical channel 2) is the first information. As another example, at least one destination address includes destination address 1, destination address 2, and destination address 3, where the highest priority information to be sent to destination address 1 is SL-PRS 1, the highest priority information to be sent to destination address 2 is MAC CE 1, and the highest priority information to be sent to destination address 3 is the data corresponding to logical channel 1. If the first terminal device determines that SL-PRS 1 has the highest priority among SL-PRS 1, MAC CE 1, and logical channel 1, and SL-PRS 1 is the information among the information to be sent to destination address 1, then the first terminal device determines that the first sidelink grant is associated with destination address 1, and SL-PRS 1 is the first information.

[0086] The first sidelink grant can be understood as the first transmission opportunity. Optionally, the first sidelink grant is a sidelink grant in a shared resource pool, and the first sidelink grant is available for transmission of at least one of SL-PRS, MAC CE, or logical channels. After acquiring the first sidelink grant, the first terminal device may select the first sidelink grant to transmit at least one of SL-PRS, MAC CE, or logical channels. Specifically, the information transmitted in the first sidelink grant depends on the priority of the information transmitted by the first terminal device.

[0087] Optionally, the first sidelink grant is a dedicated resource pool sidelink grant, and the first sidelink grant is used to transmit SL-PRS. After acquiring the first sidelink grant, it may be understood that the first terminal device may select only the first sidelink grant to transmit SL-PRS. Specifically, the information transmitted in the first sidelink grant depends on the priority of the SL-PRS transmitted by the first terminal device.

[0088] The first terminal device can determine the priority of logical channels through pre-configuration or network-side configuration. Logical channels have eight priority levels. Logical channels are divided into eight logical channel groups (LCGs), and the priority values ​​corresponding to the eight LCGs range from 1 to 8, with lower priority values ​​indicating higher priority for the corresponding logical channel. The priorities of logical channels and MAC CEs are sorted in descending order, i.e., (1) Data from the sidelink control channel (SCCH), (2) MAC control element (CE) that reports side link channel state information (CSI), (3) Sidelink Inter-Terminal Device Coordination Request MAC CE and Sidelink Inter-Terminal Device Coordination Information MAC CE (4) Sidelink discontinuous reception (DRX) command MAC CE, and (5) Data from any sidelink traffic channel (STCH).

[0089] Data from the SCCH is typically higher-layer control information, such as PC5-S information or PC5 radio resource control (RRC) information. Connection control management information from the SCCH has the highest priority, MAC CE has the second highest priority, and data from the STCH has the third highest priority. Although the priority values ​​for both SCCH and MAC CE shown at the physical layer are both 1, the priority must still be determined based on the above order.

[0090] To make the priority of SL-PRS equivalent to that of MAC CE and logical channels, the priority of SL-PRS may optionally be defined in the following manner.

[0091] 1. The priority of SL-PRS is the same as the priority of MAC CE, and the priority of SL-PRS is specified to be higher than the priority of data from STCH. SL-PRS may have one or more priority levels. Optionally, the priority level of SL-PRS may be related to the experience requirements of the SL positioning service. For example, the SL positioning service may have high-precision requirements, a wide bandwidth for the SL-PRS to be transmitted, or a large number of time-domain symbols occupied by the SL-PRS to be transmitted. In this case, the SL-PRS to be transmitted may have a high priority. In embodiments of this application, the number of time-domain symbols may be understood as the number of time-domain resources.

[0092] For example, the priorities of logical channels, MAC CE, and SL-PRS are sorted in descending order, i.e., (1) Data from SCCH, (2) Sidelink CSI report MAC CE, (3) Sidelink Inter-Terminal Device Coordination Request MAC CE and Sidelink Inter-Terminal Device Coordination Information MAC CE (4) Sidelink DRX command MAC CE, (5) SL-PRS, and (6) Data from any STCH.

[0093] For example, when the priority value of SL-PRS is 1 and the priority value of data from STCH is also 1, the priority of SL-PRS takes precedence over the priority of data from STCH. The processing method for SL-PRS priority and MAC CE priority is the same. For example, when the priority value of SL-PRS matches the priority value of STCH, the priority of SL-PRS is higher than the priority of STCH.

[0094] 2. The priority levels of the SL-PRS are specified to be the same as or corresponding to the priority levels of the LCG. For example, the priority levels of the SL-PRS are the same as the priority levels of the LCG, and the SL-PRS may have eight priority levels, which correspond one-to-one with the eight levels of the LCG. Alternatively, the priority levels of the SL-PRS may correspond to the priority levels of the LCG, and one of the priority levels of the SL-PRS may correspond to multiple priority levels of the LCG. For example, the SL-PRS may have three priority levels, with priority level 1 of the SL-PRS corresponding to priority levels 1, 2, and 3 of the LCG, priority level 2 of the SL-PRS corresponding to priority levels 4, 5, and 6 of the LCG, and priority level 3 of the SL-PRS corresponding to priority levels 7 and 8 of the LCG.

[0095] For example, the priorities of logical channels, MAC CE, and SL-PRS are sorted in descending order, i.e., (1) Data from SCCH, (2) Sidelink CSI report MAC CE, (3) Sidelink Inter-Terminal Device Coordination Request MAC CE and Sidelink Inter-Terminal Device Coordination Information MAC CE (4) Sidelink DRX Command MAC CE, and (5) Data from any STCH and SL-PRS.

[0096] In this case, if the priority value of SL-PRS is 1, and both the priority value of the data from SCCH and the priority value of MAC CE are 1, then the priority of the data from SCCH and the priority of MAC CE also take precedence over the priority of SL-PRS. The processing method for the priority of SL-PRS and the priority of the logical channel corresponding to the data from SCCH is the same. For example, when the priority value of SL-PRS matches the priority value of SCCH or the priority value of MAC CCE, the priority of SL-PRS is lower than the priority of SCCH.

[0097] Optionally, the priority level of an SL-PRS may be related to the parameters of the SL-PRS, which include the number of time-domain symbols occupied by the SL-PRS and the requested bandwidth of the SL-PRS. For example, the priority level of an SL-PRS may be related to the number of time-domain symbols occupied by the SL-PRS. For example, an SL-PRS may have three priority levels: an SL-PRS with priority level 1 may occupy four time-domain symbols, an SL-PRS with priority level 2 may occupy three time-domain symbols, and an SL-PRS with priority level 3 may occupy two time-domain symbols. For example, the priority level of an SL-PRS may be related to the requested bandwidth of the SL-PRS. For example, an SL-PRS has three priority levels. An SL-PRS with priority level 1 occupies the entire bandwidth of the resource pool, an SL-PRS with priority level 2 occupies half of the bandwidth, and an SL-PRS with priority level 3 occupies one-third of the bandwidth. For example, an SL-PRS has two priority levels. An SL-PRS with priority level 1 occupies 100 MHz, and an SL-PRS with priority level 2 occupies 40 MHz. For example, an SL-PRS has two priority levels. An SL-PRS with priority level 1 occupies a bandwidth range from 100 MHz to 40 MHz, and an SL-PRS with priority level 2 occupies a bandwidth range of less than 40 MHz.

[0098] Optionally, a MAC CE associated with an SL-PRS may be generated for the SL-PRS, and the MAC CE associated with the SL-PRS has the same priority as the SL-PRS. If the priority of the SL-PRS is specified to be the same as the priority of the MAC CE, the priority of the MAC CE associated with the SL-PRS is higher than the priority of the logical channel corresponding to the data from the STCH. If the priority of the SL-PRS is specified to be the same as, or corresponding to, the priority of the STCH and the LCG, the priority of the MAC CE associated with the SL-PRS is one of the LCG priorities.

[0099] Based on the defined priority of the SL-PRS or the priority corresponding to the SL-PRS, the priorities of the SL-PRS, MAC CE (if any), and data corresponding to the logical channel (if any) are compared to determine the first piece of information with the highest priority.

[0100] Optionally, it may be understood that the first terminal device acquires the first sidelink grant before step 310, before the first terminal device selects the first destination address associated with the first sidelink grant from at least one destination address. Specifically, the MAC layer of the first terminal device acquires the first sidelink grant. The first terminal device acquires the first sidelink grant in the following two implementation forms:

[0101] In one implementation, the first terminal device obtains a first side link grant based on the resource pool configuration information. The resource pool includes a shared resource pool or a dedicated resource pool.

[0102] For example, a network device transmits configuration information to a first terminal device, and this configuration information indicates a first sidelink grant. In response, the first terminal device receives configuration information from the network device. The configuration information may be configuration information used to configure a shared resource pool, or it may be configuration information used to configure a dedicated resource pool in order for the first terminal device to obtain a first sidelink grant from the shared resource pool / dedicated resource pool configured by using the configuration information. The first sidelink grant is a sidelink transmission resource selected by the first terminal device from the configured shared resource pool / dedicated resource pool. The configuration information may be transmitted by the network device to the first terminal device via an RRC message or a system message.

[0103] For example, in order for the first terminal device to determine the first sidelink grant from a pre-configured shared resource pool / dedicated resource pool, the first terminal device may alternatively obtain the configuration information of the shared resource pool / dedicated resource pool via pre-configured information.

[0104] Optionally, the resource pool configuration information may include one or more of the following: Priority information of information that is supported for transmission. Priority information for SL-PRS that is supported for transmission. Requested bandwidth information for SL-PRS that is supported for transmission, or This information pertains to the number of time-domain symbols occupied by SL-PRS that are supported for transmission.

[0105] Resource pool configuration information may be used to configure priority information for information supported by the resource pool for transmission, and may indicate a priority range or priority list for information supported by a sidelink grant selected from the resource pool for transmission. For example, a first sidelink grant is a resource selected from the resource pool, and the first sidelink grant supports transmission only of information whose priority is less than or equal to a first threshold, the first threshold may be indicated to the first terminal device by a network device, or the first threshold may be predefined. In another example, a first sidelink grant is a resource selected from the resource pool, and the first sidelink grant supports transmission only of information whose priority is included in a priority list, the priority list may be indicated to the first terminal device by a network device, or the priority list may be predefined. In another example, the first sidelink grant is a resource selected from a resource pool, and the first sidelink grant may alternatively support only the transmission of information whose priority is greater than or equal to a first threshold, or the first sidelink grant may support only the transmission of information whose priority is greater than or equal to a first threshold but less than or equal to a second threshold, where the priority corresponding to the first threshold is lower than the priority corresponding to the second threshold. This is not limited to the embodiments of this application.

[0106] Resource pool configuration information may be used to configure priority information for SL-PRS supported by the resource pool, and the transmission may indicate a priority range or priority list of SL-PRS supported by a sidelink grant selected from the resource pool. For example, the first sidelink grant is a resource selected from the resource pool, and the first sidelink grant supports transmissions only of SL-PRS with a priority equal to a third threshold, for example, the priority value of SL-PRS supported by the first sidelink grant is 3. In another example, the first sidelink grant is a resource selected from the resource pool, and the first sidelink grant supports transmissions only of SL-PRS with a priority less than or equal to a third threshold, and the third threshold may be indicated to the first terminal device by a network device, or the third threshold may be predefined. In another example, the first sidelink grant is a resource selected from a resource pool, and the first sidelink grant supports sending only SL-PRS whose priority is included in a priority list, the priority list may be shown to the first terminal device by a network device, or the priority list may be predefined. In another example, the first sidelink grant is a resource selected from a resource pool, and the first sidelink grant may alternatively support sending only SL-PRS whose priority is greater than or equal to a fourth threshold, the fourth threshold may be shown to the first terminal device by a network device, or the fourth threshold may be predefined. In yet another example, the first sidelink grant is a resource selected from a resource pool, and the first sidelink grant may support sending only SL-PRS whose priority is greater than or equal to a third threshold, or the first sidelink grant may support sending only SL-PRS whose priority is greater than or equal to a third threshold and less than or equal to a fourth threshold, where the priority corresponding to the third threshold is lower than the priority corresponding to the fourth threshold. This is not limited to the embodiments of this application.

[0107] Resource pool configuration information may be used to configure requested bandwidth information for SL-PRS transmissions supported by the resource pool, and may indicate a value or range of requested bandwidth for SL-PRS transmissions supported by sidelink grants selected from the resource pool. For example, the first sidelink grant is a resource selected from the resource pool, and the first sidelink grant supports only SL-PRS transmissions where the requested bandwidth is less than or equal to the fifth threshold, for example, the fifth threshold is 40 MHz. In another example, the first sidelink grant is a resource selected from the resource pool, and the first sidelink grant supports only SL-PRS transmissions where the requested bandwidth is less than or equal to the fifth threshold, and the fifth threshold may be indicated to the first terminal device by a network device, or the fifth threshold may be predefined. In another example, the first sidelink grant is a resource selected from a resource pool, and the first sidelink grant supports only SL-PRS transmissions where the requested bandwidth is greater than or equal to a fifth threshold, the fifth threshold may be indicated to the first terminal device by a network device, or the fifth threshold may be predefined. In yet another example, the first sidelink grant is a resource selected from a resource pool, and the first sidelink grant supports only SL-PRS transmissions where the requested bandwidth is within a certain range, for example, the requested bandwidth range for SL-PRS transmissions supported by the first sidelink grant is 40 MHz to 60 MHz.

[0108] Resource pool configuration information may be used to configure information regarding the number of time-domain symbols occupied by SL-PRS whose transmission is supported by the resource pool, or may indicate the number of time-domain symbols occupied by SL-PRS whose transmission is supported by a sidelink grant selected from the resource pool, or a range of the number of time-domain symbols occupied by SL-PRS whose transmission is supported by a sidelink grant. For example, the first sidelink grant is a resource selected from the resource pool, and the first sidelink grant supports transmissions of SL-PRS where the number of occupied time-domain symbols is equal to a sixth threshold, for example, the sixth threshold is 3. In another example, the first sidelink grant is a resource selected from the resource pool, and the first sidelink grant supports transmissions of SL-PRS where the number of occupied time-domain symbols is less than or equal to a sixth threshold, and the sixth threshold may be indicated to the first terminal device by a network device, or the sixth threshold may be predefined. In another example, the first sidelink grant is a resource selected from a resource pool, and the first sidelink grant supports only SL-PRS transmissions where the number of occupied time-domain symbols is greater than or equal to a sixth threshold, the sixth threshold may be indicated to the first terminal device by a network device, or the sixth threshold may be predefined. In yet another example, the first sidelink grant is a resource selected from a resource pool, and the first sidelink grant supports only SL-PRS transmissions where the number of occupied time-domain symbols is within a specific range, for example, the first sidelink grant supports SL-PRS transmissions where the number of occupied time-domain symbols is in the range of 2 to 4.

[0109] Specifically, the selection of the first sidelink grant from the resource pool can be understood as, alternatively, the first terminal device being able to determine one or more of the following based on the resource pool configuration information: Priority information of information supported by the first sidelink grant, Priority information of SL-PRS whose transmission is supported by the first sidelink grant, Requested bandwidth information for SL-PRS, which is supported by the first sidelink grant for transmission. Periodic information of the first side link grant, or This is information regarding the number of time-domain symbols occupied by the SL-PRS, which is supported by the first sidelink grant.

[0110] Priority information for information supported by transmission by the first sidelink grant may indicate a priority range or priority list for information supported by transmission by the first sidelink grant. For example, the first sidelink grant may support the transmission of information whose priority is less than or equal to a first threshold, the first threshold may be indicated to the first terminal device by the network device, or the first threshold may be predefined. In another example, the first sidelink grant may support the transmission of information whose priority is included in a priority list, the priority list may be indicated to the first terminal device by the network device, or the priority list may be predefined. Alternatively, the first sidelink grant may support the transmission of information whose priority is less than or equal to a second threshold, the second threshold may be indicated to the first terminal device by the network device, or the second threshold may be predefined. In another example, the first sidelink grant may alternatively support only the transmission of information whose priority is equal to or greater than a first threshold, or the first sidelink grant may support only the transmission of information whose priority is equal to or greater than a first threshold but less than or equal to a second threshold, where the priority corresponding to the first threshold is lower than the priority corresponding to the second threshold. This is not limited to the embodiments of this application.

[0111] Priority information for SL-PRS transmissions supported by the first sidelink grant may indicate a priority range or priority list for SL-PRS transmissions supported by the first sidelink grant. For example, the first sidelink grant may support transmissions only of SL-PRS with a priority equal to a third threshold, for example, the priority value for SL-PRS transmissions supported by the first sidelink grant is 3. In another example, the first sidelink grant may support transmissions only of SL-PRS with a priority less than or equal to a third threshold, the third threshold may be indicated to the first terminal device by a network device, or the third threshold may be predefined. In yet another example, the first sidelink grant may support transmissions only of SL-PRS with a priority included in a priority list, the priority list may be indicated to the first terminal device by a network device, or the priority list may be predefined. In another example, the first sidelink grant may alternatively support only SL-PRS transmissions with a priority equal to or greater than a fourth threshold, the fourth threshold may be indicated to the first terminal device by a network device, or the fourth threshold may be predefined. In yet another example, the first sidelink grant may support only SL-PRS transmissions with a priority equal to or greater than a third threshold, or the first sidelink grant may support only SL-PRS transmissions with a priority equal to or greater than a third threshold and less than or equal to a fourth threshold, the priority corresponding to the third threshold being lower than the priority corresponding to the fourth threshold. This is not limited to the embodiments of this application.

[0112] The requested bandwidth information for an SL-PRS transmission supported by the first sidelink grant may indicate a value or range of the requested bandwidth for the SL-PRS transmission supported by the first sidelink grant. For example, the first sidelink grant supports only SL-PRS transmissions where the requested bandwidth is equal to a fifth threshold, e.g., the fifth threshold is 40 MHz. In another example, the first sidelink grant supports only SL-PRS transmissions where the requested bandwidth is less than or equal to the fifth threshold, and the fifth threshold may be indicated to the first terminal device by a network device, or the fifth threshold may be predefined. In yet another example, the first sidelink grant supports only SL-PRS transmissions where the requested bandwidth is greater than or equal to the fifth threshold, and the fifth threshold may be indicated to the first terminal device by a network device, or the fifth threshold may be predefined. In another example, the first sidelink grant supports SL-PRS transmissions within a certain bandwidth range; for example, the bandwidth range for SL-PRS transmissions supported by the first sidelink grant is 40 MHz to 60 MHz.

[0113] The periodic information of the first sidelink grant may indicate that the first sidelink grant is a periodic sidelink transmission resource, or it may indicate the occurrence period of the first sidelink grant. For example, if the period supported by the first sidelink grant is 20 ms, it indicates that a sidelink transmission resource corresponding to the first sidelink grant occurs every 20 ms and can be used for sidelink transmission.

[0114] Information regarding the number of time-domain symbols occupied by an SL-PRS whose transmission is supported by the first sidelink grant may indicate the number of time-domain symbols occupied by an SL-PRS whose transmission is supported by the first sidelink grant, or a range of the number of symbols occupied by an SL-PRS whose transmission is supported by the first sidelink grant. For example, the first sidelink grant supports transmissions with a number of occupied time-domain symbols equal to a sixth threshold, for example, the sixth threshold is 3. In another example, the first sidelink grant supports transmissions of SL-PRS where the number of occupied time-domain symbols is less than or equal to the sixth threshold, and the sixth threshold may be indicated to the first terminal device by the network device, or the sixth threshold may be predefined. In yet another example, the first sidelink grant supports transmissions of SL-PRS where the number of occupied time-domain symbols is greater than or equal to the sixth threshold, and the sixth threshold may be indicated to the first terminal device by the network device, or the sixth threshold may be predefined. In another example, the first sidelink grant supports only SL-PRS transmissions where the number of occupied time-domain symbols is within a specific range, for example, the first sidelink grant supports SL-PRS transmissions where the number of occupied time-domain symbols is in the range of 2 to 4.

[0115] In all embodiments of this application, “priority is greater than or equal to” includes the case where “priority is higher, priority is equal, and priority is not lower,” or “priority is less than or equal to” includes the case where “priority is lower, priority is equal, and priority is not higher.” Furthermore, priority is compared to a threshold. When a smaller priority value corresponds to a higher priority, priority is greater than or equal to the threshold and corresponds to the case where the priority value is less than or equal to the threshold, or when a larger priority value corresponds to a higher priority, priority is greater than or equal to the threshold and corresponds to the case where the priority value is greater than or equal to the threshold. “required bandwidth is less than or equal to” includes the case where “required bandwidth is less, the required bandwidth is equal, and the required bandwidth is not greater,” or “required bandwidth is greater than or equal to” includes the case where “required bandwidth is greater, the required bandwidth is equal, and the required bandwidth is not smaller.” “number of time-domain symbols is less than or equal to” includes the case where “number of time-domain symbols is less, the number of time-domain symbols is equal, and the number of time-domain symbols is not greater,” or “number of time-domain symbols is greater than or equal to” includes the case where “number of time-domain symbols is greater, the number of time-domain symbols is equal, and the number of time-domain symbols is not less.”

[0116] In another implementation, the network device transmits fifth information to the first terminal device, which indicates the first sidelink grant. In response, the first terminal device receives the fifth information from the network device and determines the first sidelink grant based on the fifth information.

[0117] For example, the fifth piece of information may be downlink control information (DCI), and the network device may indicate a first sidelink grant to the first terminal device via the DCI, or the fifth piece of information may be an RRC message, and the network device may indicate a first sidelink grant to the first terminal device via the RRC message.

[0118] Optionally, before receiving fifth information from the network device, the first terminal device sends fourth information to the network device, requesting that it obtain a sidelink grant available for SL-PRS transmission. In response, the network device receives fourth information from the first terminal device and, based on the fourth information, sends fifth information to the first terminal device. The fourth information may be an RRC message or a MAC CE.

[0119] For example, the first terminal device may send a fourth piece of information to the network device via a resource request message such as a MAC CE. Correspondingly, the fifth piece of information sent to the first terminal device by the network device may be a DCI. For example, a first sidelink grant may be scheduled using a DCI, or a periodic first sidelink grant configured using an RRC may be activated using a DCI. Alternatively, the first terminal device may send a fourth piece of information to the network device via an RRC message or a MAC CE. For example, the first terminal device may send a fourth piece of information to the network device via a sidelink UE Information message or a MAC CE. Correspondingly, the network device may send a fifth piece of information to the first terminal device via an RRC reconfiguration message or a system message.

[0120] Optionally, before the first terminal device transmits the fourth information to the network device, the network device transmits the sixth information to the first terminal device. In response, the first terminal device receives the sixth information transmitted by the network device. The sixth information is used to configure the sidelink grant used by the first terminal device to transmit SL-PRS. For example, the sidelink grant used to transmit SL-PRS is a periodic sidelink grant, or the sidelink grant used to transmit SL-PRS is a Configured Grant Type 2. Optionally, the sixth information may include the time-frequency resource location of the first sidelink grant. Optionally, the sixth information may further include periodic information of the first sidelink grant indicating the periodic sidelink transmission resource used to transmit SL-PRS. Optionally, the sixth information may further indicate the initial status of the periodic sidelink grant used to transmit SL-PRS. The initial status may include active and inactive states. The active state indicates that the first terminal device can use the periodic sidelink grant after receiving the periodic sidelink grant configured by the first terminal device using the sixth information, and the inactive state indicates that the first terminal device cannot use the resource after receiving the periodic sidelink grant configured by the first terminal device using the sixth information, and must wait for the network device to send a DCI for activation, for example, the fifth information for activation. Optionally, the sixth information further includes index information of the configured periodic sidelink grant, for example, the index of the sidelink grant configured by the network device for the first terminal device via the sixth information. Optionally, the sixth information further includes index information of the resource pool in which the configured sidelink grant resides.For example, the first terminal device may uniquely determine the first sidelink grant via the resource pool index information.

[0121] Optionally, the fourth or fifth piece of information may include one or more of the following: Priority information of information supported by the first sidelink grant, Priority information of SL-PRS whose transmission is supported by the first sidelink grant, Requested bandwidth information for SL-PRS, which is supported by the first sidelink grant for transmission. Information regarding the number of time-domain symbols occupied by SL-PRS supported by the first sidelink grant, Index information corresponding to the first side link grant, Index information of the resource pool where the first sidelink grant exists, or This is experience requirements information for positioning services supported by the first sidelink grant.

[0122] Priority information for information supported by transmission by the first sidelink grant may indicate a priority range or priority list for information supported by transmission by the first sidelink grant. For example, the first sidelink grant may support the transmission of information whose priority is less than or equal to a first threshold, the first threshold may be indicated to the first terminal device by the network device, or the first threshold may be predefined. In another example, the first sidelink grant may support the transmission of information whose priority is included in a priority list, the priority list may be indicated to the first terminal device by the network device, or the priority list may be predefined. Alternatively, the first sidelink grant may support the transmission of information whose priority is less than or equal to a second threshold, the second threshold may be indicated to the first terminal device by the network device, or the second threshold may be predefined. In another example, the first sidelink grant may alternatively support only the transmission of information whose priority is equal to or greater than a first threshold, or the first sidelink grant may support only the transmission of information whose priority is equal to or greater than a first threshold but less than or equal to a second threshold, where the priority corresponding to the first threshold is lower than the priority corresponding to the second threshold. This is not limited to the embodiments of this application.

[0123] Priority information for SL-PRS transmissions supported by the first sidelink grant may indicate a priority range or priority list for SL-PRS transmissions supported by the first sidelink grant. For example, the first sidelink grant may support transmissions only of SL-PRS with a priority equal to a third threshold, for example, the priority value for SL-PRS transmissions supported by the first sidelink grant is 3. In another example, the first sidelink grant may support transmissions only of SL-PRS with a priority less than or equal to a third threshold, the third threshold may be indicated to the first terminal device by a network device, or the third threshold may be predefined. In yet another example, the first sidelink grant may support transmissions only of SL-PRS with a priority included in a priority list, the priority list may be indicated to the first terminal device by a network device, or the priority list may be predefined. In another example, the first sidelink grant may alternatively support only SL-PRS transmissions with a priority equal to or greater than a fourth threshold, the fourth threshold may be indicated to the first terminal device by a network device, or the fourth threshold may be predefined. In yet another example, the first sidelink grant may support only SL-PRS transmissions with a priority equal to or greater than a third threshold, or the first sidelink grant may support only SL-PRS transmissions with a priority equal to or greater than a third threshold and less than or equal to a fourth threshold, the priority corresponding to the third threshold being lower than the priority corresponding to the fourth threshold. This is not limited to the embodiments of this application.

[0124] The requested bandwidth information for an SL-PRS transmission supported by the first sidelink grant may indicate a value or range of the requested bandwidth for the SL-PRS transmission supported by the first sidelink grant. For example, the first sidelink grant supports only SL-PRS transmissions where the requested bandwidth is equal to a fifth threshold, e.g., the fifth threshold is 40 MHz. In another example, the first sidelink grant supports only SL-PRS transmissions where the requested bandwidth is less than or equal to the fifth threshold, and the fifth threshold may be indicated to the first terminal device by a network device, or the fifth threshold may be predefined. In yet another example, the first sidelink grant supports only SL-PRS transmissions where the requested bandwidth is greater than or equal to the fifth threshold, and the fifth threshold may be indicated to the first terminal device by a network device, or the fifth threshold may be predefined. In another example, the first sidelink grant supports SL-PRS transmissions within a certain bandwidth range; for example, the bandwidth range for SL-PRS transmissions supported by the first sidelink grant is 40 MHz to 60 MHz.

[0125] Information regarding the number of time-domain symbols occupied by an SL-PRS whose transmission is supported by the first sidelink grant may indicate the number of time-domain symbols occupied by an SL-PRS whose transmission is supported by the first sidelink grant, or a range of the number of symbols occupied by an SL-PRS whose transmission is supported by the first sidelink grant. For example, the first sidelink grant supports transmissions with a number of occupied time-domain symbols equal to a sixth threshold, for example, the sixth threshold is 3. In another example, the first sidelink grant supports transmissions of SL-PRS where the number of occupied time-domain symbols is less than or equal to the sixth threshold, and the sixth threshold may be indicated to the first terminal device by the network device, or the sixth threshold may be predefined. In yet another example, the first sidelink grant supports transmissions of SL-PRS where the number of occupied time-domain symbols is greater than or equal to the sixth threshold, and the sixth threshold may be indicated to the first terminal device by the network device, or the sixth threshold may be predefined. In another example, the first sidelink grant supports only SL-PRS transmissions where the number of occupied time-domain symbols is within a specific range, for example, the first sidelink grant supports SL-PRS transmissions where the number of occupied time-domain symbols is in the range of 2 to 4.

[0126] The index information corresponding to the first sidelink grant may indicate the index of the first sidelink grant, which consists of the index of the first sidelink grant and may be the index shown in the sixth information transmitted by the network device and received by the first terminal device. When a periodic sidelink transmission resource is configured for the first terminal device, or when the first sidelink grant is a Configured Grant type 2 sidelink transmission resource, the network device indicates information about the resource pool in which the sidelink transmission resource resides and the time-frequency resource location of the sidelink transmission resource, and the first terminal device determines an inactive first sidelink grant based on the received sixth information. When the first terminal device determines, based on higher-tier services, that it needs to use the first sidelink grant, the first terminal device may transmit fourth information to the network device that carries the index information corresponding to the first sidelink grant so that the network device can determine that the first terminal device intends to activate the first sidelink grant. The network device transmits fifth information to the first terminal device, for example, by using DCI, indicating that it will activate the first sidelink grant. In response, if the first terminal device determines, based on higher-layer services, that it no longer needs to use the first sidelink grant, it may transmit a MAC CE to the network device carrying index information corresponding to the first sidelink grant, and as a result, the network device determines that the first terminal device intends to deactivate the first sidelink grant. The MAC CE may be the same as or different from fourth information. The network device indicates to the first terminal device that it will deactivate the first sidelink grant by transmitting DCI.In response to this, when the first terminal device determines, based on higher-layer services, that it no longer needs to use the first sidelink grant, the first terminal device may send a MAC CE to the network device carrying index information corresponding to the first sidelink grant, and as a result the network device determines that the first terminal device intends to deactivate the first sidelink grant. The MAC CE may be the same as or different from the fourth piece of information. Based on the MAC CE, the network device may further distinguish whether the first terminal device requests that the sidelink configured grant be activated, deactivated, or configured. For example, in possible formats of the MAC CE, the format of the Sidelink Configured Grant Confirmation MAC CE may be reused, the difference being that a new LCID value is used for the MAC subheader. The network device, upon receiving an LCID having a corresponding value, determines that the first terminal device is requesting activation of a configured sidelink grant, and to determine the request of the first terminal device, determines the index of the first sidelink grant that the first terminal device intends to activate by using the "1" indication of the bitmap, or determines the index of the first sidelink grant that the first terminal device intends to deactivate by using the "0" indication of the bitmap. In another example, in another possible format of MAC CE, the index information and 1-bit indication information corresponding to the first sidelink grant may be carried directly, so that the network device determines that the first terminal device intends to activate or deactivate the first sidelink grant.As another example, another possibility is that a request for activation of the first sidelink grant by the first terminal device and a request for deactivation of the first sidelink grant by the first terminal device are distinguished by using different LCID and index information corresponding to the first sidelink grant. In other words, different MAC CEs indicate a request for activation and deactivation of the first sidelink grant, respectively. The network device indicates deactivation of the first sidelink grant by sending a DCI to the first terminal device. Since the first terminal device is better aware of whether an SL-PRS needs to be sent, based on the request for SL-PRS transmission resources from the first terminal device, the network device may activate and deactivate the first sidelink grant used by the first terminal device to send the SL-PRS, resulting in the first sidelink grant being used more effectively, thereby improving the utilization efficiency of sidelink transmission resources. In this embodiment, a solution can be independently implemented in which the MAC CE carries information to request network devices to activate or deactivate a first sidelink grant in order to improve the efficiency of using sidelink transmission resources.

[0127] Index information of the resource pool where the first sidelink grant resides may indicate the resource pool where the first sidelink grant resides in order to determine the first sidelink grant. For example, a network device determines the first sidelink grant indicated by the first terminal device based on the received fourth information and the resource pool where the first sidelink grant resides, as indicated by the fourth information. For example, the first sidelink grant may be a periodic sidelink transmit resource, or the first sidelink grant may be a Configured Grant type 2 sidelink transmit resource. The fourth information indicates that the first terminal device intends to activate the first sidelink grant, and as a result, the first terminal device uses the first sidelink grant after the network device has delivered the first sidelink grant activated by using DCI. In another example, the first terminal device receives a fifth piece of information sent by the network device and determines the activated first sidelink grant based on the index of the resource pool where the sidelink grant resides, as indicated by the fifth piece of information. The first sidelink grant is a periodic sidelink transmit resource. In another example, the index of the resource pool in which the first sidelink grant resides may be an index consisting of resource pools in which the first sidelink grant resides, and may be an index included in sixth information transmitted by the network device and received by the first terminal device. When a periodic sidelink transmission resource is configured for the first terminal device, the network device provides information about the resource pool in which the sidelink transmission resource resides and the time-frequency resource location of the sidelink transmission resource, and the first terminal device determines an inactive first sidelink grant based on the received sixth information.Based on higher-tier services, when the first terminal device determines that it needs to use the first sidelink grant, the first terminal device may send a fourth piece of information to the network device carrying index information of the resource pool where the first sidelink grant resides, so that the network device can determine that the first terminal device intends to activate the first sidelink grant. The network device sends a fifth piece of information to the first terminal device, indicating that it intends to activate the first sidelink grant, for example, by using a DCI. Correspondingly, when the first terminal device determines, based on higher-tier services, that it no longer needs to use the first sidelink grant, the first terminal device may send a MAC CE to the network device carrying index information of the resource pool where the first sidelink grant resides, and as a result, the network device determines that the first terminal device intends to deactivate the first sidelink grant. The MAC CE may be the same as or different from the fourth piece of information. The network device indicates that it intends to deactivate the first sidelink grant by sending a DCI to the first terminal device. Since the first terminal device is better aware of whether an SL-PRS needs to be transmitted, based on the request for SL-PRS transmission resources from the first terminal device, the network device can activate and deactivate the first sidelink grant used by the first terminal device to transmit the SL-PRS, thereby allowing the first sidelink grant to be used more effectively and thereby improving the utilization efficiency of the sidelink transmission resources. In this embodiment, a solution in which the MAC CE carries information to request the network device to activate or deactivate the first sidelink grant in order to improve the utilization efficiency of the sidelink transmission resources can be implemented independently.

[0128] The experience requirements information for the positioning service supported by the first sidelink grant may indicate the accuracy requirements for the positioning service supported by the first sidelink grant. When the positioning service of the first terminal device has high accuracy requirements, the bandwidth of the SL-PRS that needs to be transmitted is large, or the SL-PRS that needs to be transmitted occupies a large number of time-domain symbols. Conversely, when the positioning service of the first terminal device has low accuracy requirements, the bandwidth of the SL-PRS that needs to be transmitted is small, or the SL-PRS that needs to be transmitted occupies a small number of time-domain symbols.

[0129] Optionally, the first terminal device determines information whose transmission is supported by the first sidelink grant in order to determine at least one destination address. It may be understood that the first sidelink grant has requirements regarding the information whose transmission is supported. For example, it may be determined that the first sidelink grant is used for destination addresses with information transmission requirements, the first sidelink grant has requirements regarding the content of the information whose transmission is supported, the first sidelink grant has requirements regarding the priority of the information whose transmission is supported, the first sidelink grant has requirements regarding the information parameters of the information whose transmission is supported, or the first sidelink grant has requirements regarding the information transmission time. The aforementioned requirements may be combined.

[0130] For example, the first terminal device has five destination addresses that have transmission requirements, including destination address 1, destination address 2, destination address 3, destination address 4, and destination address 5. (1) SL-PRS1 and MAC CE 1 need to be sent to destination address 1. (2) SL-PRS2 needs to be sent to destination address 2. (3) Data corresponding to SL-PRS 3 and logical channel 1 must be sent to destination address 3. (4) The data corresponding to logical channel 2 must be sent to destination address 4, and (5) Data corresponding to MAC CE 2 and logical channel 3 must be sent to destination address 5.

[0131] For example, after obtaining a first sidelink grant, the first terminal device needs to determine that the destination addresses have information transmission requirements. For example, after obtaining a first sidelink grant, the first terminal device determines that destination addresses 1, 2, 3, 4, and 5 all have information transmission requirements in order to determine that at least one destination address is destination address 1, 2, 3, 4, and 5.

[0132] For example, the first sidelink grant has requirements regarding the content of the information that can be transmitted. If the first terminal device determines that the first sidelink grant is a transmission resource in a dedicated resource pool, then the first sidelink grant cannot be used to transmit MAC CE and logical channel-related data in order to determine that at least one destination address has SL-PRS transmission requirements and that at least one destination address is destination address 1, destination address 2, and destination address 3. If the first terminal device determines that the first sidelink grant is a transmission resource in a shared resource pool, then the first sidelink grant may be available to transmit both SL-PRS and MAC CE and logical channel-related data in order to determine that at least one destination address is destination address 1, destination address 2, destination address 3, destination address 4, and destination address 5. If the first terminal device is the resource pool (discovery resource pool) used by the first sidelink grant resource to send discovery messages, and the discovery resource pool is not a shared resource pool, and the data corresponding to logical channel 1 is a discovery message, then the first terminal device determines that at least one destination address is destination address 3. If the first terminal device is the resource pool used by the first sidelink grant resource to send discovery messages, and the discovery resource pool is a shared resource pool, and the data corresponding to logical channel 1 is a discovery message, then the first terminal device determines that at least one destination address is destination address 3, destination address 1, and destination address 2, including the SL-PRS transmission requirements. When the discovery resource pool is not a shared resource pool, the transmission resources of the discovery resource pool are used only to send discovery messages, or when the discovery resource pool is a shared resource pool, the transmission resources of the discovery resource pool may be used to send discovery messages and SL-PRS.

[0133] In another example, the first sidelink grant has requirements regarding the priority of the information to be transmitted. An example is used in which the SL-PRS has eight priority levels. Correspondingly, the priority value of SL-PRS 1 is 3, the priority value of SL-PRS 2 is 5, the priority value of SL-PRS 1 is 1, the priority values ​​of MAC CE 1 and MAC CE 2 are 1, logical channel 1 is SCCH and has a priority value of 1, logical channel 2 is STCH and has a priority value of 1, logical channel 3 is STCH and has a priority of 8. For the SL-PRS priorities in this embodiment, please refer to the above description. This is not limited to the foregoing. If the first terminal device determines that the first sidelink grant is a transmit resource in the shared resource pool and supports the transmission of information with a priority equal to or greater than a threshold, for example, if the threshold is 3, then all the priority values ​​of the information that needs to be sent to destination address 2 are lower than threshold 3 (all the priority values ​​of the information that needs to be sent to destination address 2 are greater than 3) in order to determine that at least one destination address does not include destination address 2 and at least one destination address is destination address 1, destination address 3, destination address 4, and destination address 5. If the first sidelink grant is a transmit resource in the dedicated resource pool and determines that it supports the transmission of information with a priority equal to or greater than a threshold, for example, if the threshold is 3, then the first terminal device determines that the first grant resource cannot be used to transmit data corresponding to logical channels, MAC CE, and SL-PRS with a priority lower than 3 in order to determine that at least one destination address is destination address 1 and destination address 3. See the above description for requirements regarding the priority of SL-PRS whose transmission is supported by the first grant resource. The priority of an SL-PRS transmission supported by the first grant resource may, alternatively, be below a threshold or within a priority interval. This is not limited herein.

[0134] In another example, the first sidelink grant has requirements regarding the information parameters of the information that can be transmitted. For example, the first sidelink grant has requirements regarding the required bandwidth of the SL-PRS that can be transmitted, the number of time-domain symbols occupied, and the accuracy of the positioning service, and any destination address corresponding to the transmission of information parameters that do not meet the requirements cannot be determined as a destination address among at least one destination address. SL-PRS 1 requires a bandwidth of 100 MHz to ensure positioning and ranging performance, SL-PRS 2 requires a bandwidth of 40 MHz to ensure positioning and ranging performance, and SL-PRS 3 requires a bandwidth of 40 MHz to ensure positioning and ranging performance. For example, the first terminal device determines that the first sidelink grant is a transmission resource in a shared resource pool and that the maximum bandwidth of the SL-PRS that can be transmitted is 40 MHz. SL-PRS 1 that needs to be transmitted to destination address 1 does not meet this requirement, but MAC CE 1 that needs to be transmitted to destination address 1 does. In this case, at least one destination address is determined to be destination address 1, destination address 2, destination address 3, destination address 4, and destination address 5. For example, if the first terminal device determines that the first sidelink grant is a transmit resource in a dedicated resource pool and that the maximum bandwidth of the SL-PRS that can be transmitted is 40 MHz, then at least one destination address is determined to be destination address 2 and destination address 3.

[0135] In another example, the first sidelink grant has requirements regarding the information transmission time. For example, if the first sidelink grant is within the SL DRX inactive time of the terminal devices corresponding to destination addresses 1 and 2, it is determined that at least one destination address does not include destination addresses 1 and 2, and at least one destination address is destination address 3, destination address 4, and destination address 5. In this embodiment of the present application, the terminal devices corresponding to destination addresses may be understood as having the address of the terminal device as the destination address.

[0136] After determining at least one destination address, the first terminal device determines that the first destination address is associated with the first sidelink grant based on the destination address corresponding to the information with the highest priority among all the information that needs to be sent to at least one destination address. MAC CE, logical channel data, and / or SL-PRS that need to be sent to at least one destination address must satisfy the requirements of the first sidelink grant regarding the information that is supported for transmission.

[0137] For example, when the MAC layer of a first terminal device selects a destination address associated with an SL grant, the MAC layer selects a destination address associated with one of unicast, multicast, and broadcast for transmission corresponding to each part of the sidelink control information (SCI), and when an SL DRX is applied to the terminal device corresponding to the destination address, the transmission time corresponding to the SL grant must be within the active time of the terminal device corresponding to the destination address. The destination address has at least one of the highest priority MAC CE, the highest priority logical channel, and the highest priority SL-PRS.

[0138] 1. Logical channels and MAC CEs (if MAC CEs exist) must satisfy all of the following conditions, namely: (1) SL data is available for transmission. (2) If any logical channel exists with SBj > 0, then SBj > 0, where SBj is the token bucket information held for the logical channel j. (3) sl-configuredGrantType1Allowed is set to true if configured, when the SL grant is configured grant type 1. (4) The sl-AllowedCG-List, if configured, includes the configured grant index associated with the SL grant. (5) If the physical layer sidelink feedback channel (PSFCH) is not configured for the SL grant associated with the SCI, sl-HARQ-FeedbackEnabled is set to disabled, and (6) SL grant is either not a resource in a dedicated resource pool, or SL grant is a resource in a shared resource pool.

[0139] 2. SL-PRS meets the following conditions, namely, (1) SL-PRS is required for transmission, and (2) If an SL-PRS priority that can be supported by SL grant is configured, for example, a priority threshold for information whose transmission is supported by SL grant, then the SL-PRS must satisfy the threshold requirement (see above for details), or if a priority list for SL-PRS that can be supported by SL grant is configured, then the priority list must include the SL-PRS priority, or if another parameter requirement for SL-PRS is configured, for example, the requested bandwidth for SL-PRS, the number of time-domain symbols occupied, or the accuracy requirement for a positioning service that can be supported by SL grant, then the SL-PRS must satisfy the corresponding parameter requirement.

[0140] An SL grant associated with an SCI can be either a shared resource pool grant opportunity or a dedicated resource pool grant opportunity.

[0141] For example, when the MAC layer of the first terminal device selects a destination address associated with an SL grant for transmission corresponding to each part of the SCI, the MAC layer When a discovery resource pool is configured, and the discovery resource pool is a shared resource pool, and the SL grant associated with the SCI is an SL grant of the discovery resource pool, the destination address associated with the SL discovery message will be selected. When an SL DRX is applied to a terminal device corresponding to the destination address, the transmission time corresponding to the SL grant must be within the active time of the terminal device corresponding to the destination address.

[0142] 1. A logical channel satisfies all of the following conditions, namely, (1) SL discovery messages are available for transmission. (2) If any logical channel exists with SBj > 0, then SBj > 0, where SBj is the token bucket information held for the logical channel j. (3) sl-configuredGrantType1Allowed is set to true if configured, when SL grant is configured grant type 1. (4) The sl-AllowedCG-List, if configured, includes the configured grant index associated with the SL grant, and (5) If PSFCH is not configured for an SL grant associated with an SCI, sl-HARQ-FeedbackEnabled is set to disabled.

[0143] 2. SL-PRS meets the following conditions, namely, (1) SL-PRS is required for transmission, and (2) If an SL-PRS priority that can be supported by SL grant is configured, for example, a priority threshold for information whose transmission is supported by SL grant, then the SL-PRS must satisfy the threshold requirement (see above for details), or if a priority list for SL-PRS that can be supported by SL grant is configured, then the priority list must include the SL-PRS priority, or if another parameter requirement for SL-PRS is configured, for example, the requested bandwidth for SL-PRS, the number of time-domain symbols occupied, or the accuracy requirement for a positioning service that can be supported by SL grant, then the SL-PRS must satisfy the corresponding parameter requirement.

[0144] When a discovery resource pool is configured, and the discovery resource pool is not a shared resource pool, and the SL grant associated with the SCI is the SL grant of the discovery resource pool, if a destination address associated with the SL discovery message is selected and the SL DRX is applied to the terminal device corresponding to the destination address, the transmission time corresponding to the SL grant must be within the active time of the terminal device corresponding to the destination address.

[0145] 1. A logical channel satisfies all of the following conditions, namely, (1) SL discovery messages are available for transmission. (2) If any logical channel exists with SBj > 0, then SBj > 0, where SBj is the token bucket information held for the logical channel j. (3) sl-configuredGrantType1Allowed is set to true if configured, when SL grant is configured grant type 1. (4) The sl-AllowedCG-List, if configured, includes the configured grant index associated with the SL grant, and (5) If PSFCH is not configured for an SL grant associated with an SCI, sl-HARQ-FeedbackEnabled is set to disabled.

[0146] Optionally, if multiple logical channels that need to be sent to multiple destination addresses have the same priority, and the SL-PRS has the same priority, and / or the MAC CE has the same priority, the first terminal device may randomly select one of the multiple destination addresses as the first destination address.

[0147] Optionally, after determining that a first destination address is associated with a first sidelink grant, the first terminal device selects the logical channel, MAC CE, and / or SL-PRS to be sent to the first destination address. After determining the first destination address based on the priority of all information that needs to be sent to at least one destination address, the first terminal device may understand that it needs to further select information to be sent to the first destination address based on the priority of the information that needs to be sent to the first destination address and the size of the transmission resources of the first sidelink grant. The selected logical channel, MAC CE, and / or SL-PRS are used for subsequent allocation of transmission resources of the first sidelink grant.

[0148] For example, the first terminal device selects a logical channel and / or SL-PRS that meets the following conditions:

[0149] 1. A logical channel satisfies the following conditions, namely: (1) SL data is available for transmission. (2) sl-configuredGrantType1Allowed is set to true if configured, when the SL grant is of the configured grant type 1. (3) The sl-AllowedCG-List, if configured, includes the configured grant index associated with the SL grant, and (4) sl-HARQ-FeedbackEnabled is set to a value that satisfies the following conditions, i.e., (i) PSFCH is configured for SL grant associated with SCI, the first terminal device is capable of PSFCH reception, sl-HARQ-FeedbackEnabled is set to enabled, and sl-HARQ-FeedbackEnabled is enabled for the highest priority logical channel that satisfies the above conditions, or (ii) PSFCH is configured for SL grant associated with SCI, the first terminal device is capable of PSFCH reception, sl-HARQ-FeedbackEnabled is set to disabled, and sl-HARQ-FeedbackEnabled is disabled for the highest priority logical channel that satisfies the above conditions, or (iii) PSFCH is not configured for the SL grant associated with the SCI, or the first terminal device does not have the capability to receive PSFCH, and sl-HARQ-FeedbackEnabled is set to disabled.

[0150] 2. SL-PRS meets the following conditions, namely, (1) Among the SL-PRS requested for transmission, there is an SL-PRS with the highest priority, and (2) If an SL-PRS priority that can be supported by SL grant is configured, for example, a priority threshold for information whose transmission is supported by SL grant, then the SL-PRS must satisfy the threshold requirement (see above for details), or if a priority list for SL-PRS that can be supported by SL grant is configured, then the priority list must include the SL-PRS priority, or if another parameter requirement for SL-PRS is configured, for example, the requested bandwidth for SL-PRS, the number of time-domain symbols occupied, or the accuracy requirement for a positioning service that can be supported by SL grant, then the SL-PRS must satisfy the corresponding parameter requirement.

[0151] 320: The first terminal device transmits the first information and / or a data packet corresponding to the first information to the second terminal device via the first sidelink grant, the address of the second terminal device being the first destination address. Specifically, the physical layer of the first terminal device transmits the first information and / or a data packet corresponding to the first information to the second terminal device via the first sidelink grant. The data packet corresponding to the first information can be understood as a MAC PDU formed by the data packets corresponding to the first information.

[0152] In the technical solution provided in this embodiment of the present application, a first terminal device may determine from at least one destination address based on the priority of SL-PRS, MAC CE, and / or logical channel that a first destination address is associated with a first sidelink grant, and the first destination address has first information having the highest priority. At the first sidelink grant, the first terminal device transmits the first information and / or a data packet corresponding to the first information to a second terminal device corresponding to the first destination address. In this technical solution, it may be determined that a first destination address is associated with a first sidelink grant and that the first destination address has first information having the highest priority among at least one destination address. This allows the first information having the highest priority at the first sidelink grant to be transmitted preferentially, thereby improving the reliability of information transmission.

[0153] When the first information is SL-PRS, there are three implementation forms in which the first terminal device transmits the first information and / or data packets corresponding to the first information to the second terminal device via the first sidelink grant.

[0154] In one implementation, when the first information is SL-PRS, the first terminal device transmits a data packet to the second terminal device via the first sidelink grant, corresponding to the SL-PRS and the third information, where the third information includes a data packet corresponding to the non-SL-PRS information at the first destination address. The third information includes a data packet corresponding to the non-SL-PRS information of the information that needs to be sent to the first destination address, and it can be understood that the non-SL-PRS information of the information that needs to be sent to the first destination address may be a MAC CE and / or a logical channel. The MAC layer of the first terminal device generates a data packet, such as a MAC PDU, based on a logical channel and / or MAC CE that meet the requirements of the information that needs to be sent to the first destination address. Optionally, the MAC PDU may be generated by the MAC layer of the first terminal device based on the transport block size (TBS) provided by the physical layer, or it may be generated by the MAC layer of the first terminal device based on the size of the MAC PDU, inferred from the TBS. The MAC layer of the first terminal device performs packet assembly of the MAC PDU based on logical channel prioritization (LCP) and the acquired TBS and logical channel priority order. For specific generation methods, refer to the method in Section 5.22.1.4.1.3 of TS 38.321.

[0155] Optionally, the MAC layer of the first terminal device generates a MAC PDU based on the TBS provided by the physical layer.

[0156] For example, the MAC layer of a first terminal device selects a modulation and coding scheme (MCS), decides to transmit an SL-PRS in the first sidelink grant, informs the physical layer of the MCS and SL-PRS selected by the MAC layer, the physical layer calculates the TBS based on the MCS and SL-PRS information selected by the MAC layer, and then notifies the MAC layer of the TBS. The information about the SL-PRS transmitted in the first sidelink grant may include one or more of the following: that the MAC layer has decided that the physical layer needs to transmit an SL-PRS, the number of time-domain symbols occupied by the SL-PRS, or the priority of the SL-PRS. The information about the SL-PRS notified to the physical layer by the MAC layer can be used by the physical layer to determine what TBS can be further carried in the first sidelink grant after the transmission resources occupied by the SL-PRS have been removed based on the information about the SL-PRS. For example, the physical layer may determine, based on information about MCS and SL-PRS provided by the MAC layer, that an SL-PRS needs to be transmitted in a first sidelink grant, and the physical layer may determine the number of time-domain symbols occupied by the SL-PRS, based on congestion information of the resource pool where the first sidelink grant resides, to determine which TBS can be further carried in the first sidelink grant. In another example, the MAC layer may notify the physical layer of the priority of the SL-PRS that needs to be transmitted in the first sidelink grant, and the physical layer may determine the number of time-domain symbols occupied by the SL-PRS, based on the priority of the SL-PRS, to determine which TBS can be further carried in the first sidelink grant. In yet another example, the MAC layer may notify the physical layer of the number of time-domain symbols occupied by the SL-PRS that need to be transmitted in the first sidelink grant, and the physical layer may determine which TBS can be further carried in the first sidelink grant, based on the number of time-domain symbols occupied by the SL-PRS provided by the MAC layer. The MAC layer generates MAC PDUs of the corresponding size based on the TBS.

[0157] For example, before the MAC layer of the first terminal device provides the physical layer with information about the SL-PRS, the physical layer provides the MAC layer with a TBS that does not remove the transmission resources occupied by the SL-PRS. Based on the determined information about the SL-PRS, the MAC layer of the first terminal device may instruct the physical layer to recalculate the TBS that can be further carried in the first sidelink grant. For calculation methods, please refer to the possible methods described above.

[0158] Optionally, the MAC layer of the first terminal device consists of a MAC PDU, which is generated based on a size estimated from the TBS. For example, before the MAC layer of the first terminal device provides the physical layer with information about SL-PRS, the physical layer provides the MAC layer with a TBS in which the transmission resources occupied by SL-PRS are not removed. The MAC layer of the first terminal device may estimate the size of the MAC PDU based on the TBS and the information about SL-PRS, and generate the MAC PDU.

[0159] In this implementation, the first sidelink grant is a sidelink grant for a shared resource pool. The information to be sent to the first destination address includes SL-PRS and second information, or the first destination address has SL-PRS and second information, and the second information is MAC CE and / or logical channel data.

[0160] Specifically, the MAC layer of the first terminal device forms a MAC PDU using data packets corresponding to the third information and delivers the MAC PDU to the physical layer of the first terminal device. The physical layer of the first terminal device transmits the MAC PDU and SL-PRS to the second terminal device using the first sidelink grant.

[0161] In another implementation, when the first information is SL-PRS, the first terminal device does not need to send the SL-PRS and the corresponding data packets to the second terminal device in the first sidelink grant, but does not need to send the MAC CE and the data packets corresponding to the logical channel. In this implementation, the first sidelink grant is a sidelink grant of a shared resource pool. The information that needs to be sent to the first destination address includes only SL-PRS, or the information that is sent to the first destination address and satisfies the transmission requirements includes only SL-PRS, or the information that needs to be sent to the first destination address includes SL-PRS and the second information. However, after the transmission resources occupied by SL-PRS are deemed to be removed, the transmission resources of the first sidelink grant are insufficient to send the data packets corresponding to the MAC CE or the logical channel of the second information.

[0162] Specifically, the MAC layer of the first terminal device forms a MAC PDU using data packets corresponding to SL-PRS and delivers the MAC PDU to the physical layer of the first terminal device. The physical layer of the first terminal device transmits the MAC PDU and SL-PRS to the second terminal device using the first sidelink grant.

[0163] Optionally, the absence of MAC SDU and MAC CE in data packets corresponding to SL-PRS may be understood as the absence of MAC SDU and MAC CE in data packets corresponding to logical channels, or the absence of MAC PDU subheaders in data packets corresponding to SL-PRS, or the absence of MAC PDU subheaders and padding bits in data packets corresponding to SL-PRS, or the absence of MAC SDU and MAC CE in data packets corresponding to SL-PRS. Specifically, the absence of MAC SDU and MAC CE in data packets corresponding to SL-PRS may be understood as the absence of MAC SDU and MAC CE in data packets corresponding to SL-PRS, or the absence of MAC PDU subheaders and MAC CE in data packets corresponding to SL-PRS, or the absence of MAC PDU subheaders and padding bits in data packets corresponding to SL-PRS, or the absence of MAC PDU subheaders and padding bits in data packets corresponding to SL-PRS, or the absence of MAC CE in data packets corresponding to SL-PRS.

[0164] Currently, during packet assembly of a MAC PDU, the MAC layer must include data corresponding to the logical channel or MAC SDU that needs to be transmitted, or a MAC CE. Restrictions on MAC layer generation regarding MAC PDU generation still exist. For example, if a MAC PDU contains zero MAC service data units (SDUs) and the MAC layer does not generate a MAC CE for this SL-SCH transmission, the data in the MAC PDU does not need to be transmitted, and the MAC PDU is not generated. In this embodiment of the present application, since an SL-PRS is transmitted and the SL-PRS is transmitted in a shared resource pool, the first destination address must be indicated using address information contained in the MAC PDU subheader so that the second terminal device can determine that the SL-PRS is information transmitted to the second terminal device.

[0165] To enable the MAC layer to generate MAC PDUs, for example, if only SL-PRS is transmitted, a MAC CE associated with SL-PRS may be generated, and the MAC CE associated with SL-PRS and SL-PRS may be transmitted together. In this case, the conditions that restrict the MAC layer from generating MAC PDUs include, namely, (1) No sidelink CSI report MAC CE was generated for this PSSCH transmission. (2) No sidelink DRX command MAC CE was generated for this PSSCH transmission. (3) No MAC CE sidelink terminal-to-terminal device coordination request was generated in response to this PSSCH transmission. (4) No MAC CE (Sidelink Terminal-to-Terminal Device Coordination Information) is generated for this PSSCH transmission. (5) There is no MAC CE associated with this sidelink grant or SL-PRS generated for this PSSCH transmission, and (6) A MAC PDU contains zero MAC SDUs. PSSCH is the physical layer channel corresponding to SL-SCH.

[0166] For example, if only SL-PRS is transmitted, a MAC PDU containing only the MAC PDU subheader or the MAC PDU subheader and padding bits may be generated, and the SL-PRS may be transmitted together with the MAC PDU containing the MAC PDU subheader or the MAC PDU subheader and padding bits. In this case, the conditions that restrict the MAC layer from generating the MAC PDU include, namely, (1) No sidelink CSI report MAC CE was generated for this PSSCH transmission. (2) No sidelink DRX command MAC CE was generated for this PSSCH transmission. (3) No MAC CE sidelink terminal-to-terminal device coordination request was generated in response to this PSSCH transmission. (4) There is no MAC CE sidelink terminal-to-terminal device coordination information generated for this PSSCH transmission, and (5) MAC PDU contains zero MAC SDUs, and MAC PDU is not associated with SL-PRS.

[0167] In another implementation, when the first information is an SL-PRS, the first terminal device transmits the SL-PRS to the second terminal device using the first sidelink grant. In this example, the first sidelink grant is a dedicated resource pool sidelink grant, which is used only to transmit SL-PRS, and the information that needs to be sent to the first destination address includes an SL-PRS, the first destination address has an SL-PRS, or the information that is sent to the first destination address and satisfies the transmission requirements of the first sidelink grant includes an SL-PRS. Specifically, the physical layer of the first terminal device transmits the SL-PRS to the second terminal device by using the first sidelink grant.

[0168] Optionally, before the first terminal device transmits the first information and / or the data packet corresponding to the first information to the second terminal device, if the first destination address has an SL-PRS and the first information is not an SL-PRS, the first terminal device decides whether to transmit an SL-PRS on the first sidelink grant. Specifically, the MAC layer of the first terminal device decides whether to transmit an SL-PRS on the first sidelink grant. Having an SL-PRS on the first destination address can be understood as the information that needs to be sent to the first destination address includes an SL-PRS, or the information that is sent to the first destination address and satisfies the transmission requirements of the first sidelink grant includes an SL-PRS. When the first destination address has an SL-PRS and the first information is not an SL-PRS, the priority of the first information is higher than the priority of the SL-PRS, and the first information is a MAC CE or a logical channel.

[0169] In one implementation, when the first destination address has an SL-PRS and the first information is not an SL-PRS, it is decided to send an SL-PRS in the first sidelink grant. In this implementation, if the first destination address has the requirements for sending an SL-PRS, the MAC layer of the first terminal device decides to send an SL-PRS in the first sidelink grant.

[0170] For example, when the first destination address has an SL-PRS and the first information is not an SL-PRS, the MAC layer of the first terminal device notifies the physical layer of the first terminal device that an SL-PRS needs to be transmitted. The MAC layer determines the number of time-domain symbols occupied by the SL-PRS based on the priority of the SL-PRS, and as a result, the physical layer determines which TBS can be further carried on the first sidelink grant after considering that the transmission resources occupied by the SL-PRS have been removed. Alternatively, the physical layer of the first terminal device determines the number of symbols occupied by the SL-PRS and determines which TBS can be further carried on the first sidelink grant after considering that the transmission resources occupied by the SL-PRS have been removed. Based on the TBS determined by the physical layer, the MAC layer selects a logical channel and / or MAC CE that meet the transmission requirements and prepares for packet assembly of the MAC PDU. The logical channel and / or MAC CE that meet the transmission requirements include the first information. Optionally, if the size of the transmission resources occupied by both the first information and SL-PRS is smaller than the size of the transmission resources of the first sidelink grant, and the first destination address contains additional information other than the first information and SL-PRS, then a logical channel and / or MAC CE that satisfies the transmission requirements may contain additional information. For further details, see the scheme for generating data packets when the first information is SL-PRS.

[0171] In another implementation, when the first destination address has an SL-PRS and the first information is not an SL-PRS, it is decided not to send an SL-PRS in the first sidelink grant. Specifically, if the priority of the first information is greater than or equal to the priority of the SL-PRS, the MAC layer of the first terminal device decides not to send an SL-PRS in the first sidelink grant, or if the priority of the SL-PRS is greater than or equal to the priority of the first information, the MAC layer of the first terminal device decides to send an SL-PRS in the first sidelink grant. In this implementation, since the priority of the first information is higher than the priority of the SL-PRS, the MAC layer of the first terminal device decides not to send an SL-PRS in the first sidelink grant. For details, please refer to the method for generating data packets when the first information is an SL-PRS.

[0172] In another implementation, when the first destination address has an SL-PRS and the first information is not an SL-PRS, the decision to send an SL-PRS in the first sidelink grant is made based on the size of the transmission resources occupied by the information whose priority is higher than the priority of the SL-PRS at the first destination address, the size of the transmission resources occupied by the SL-PRS, and the size of the transmission resources in the first sidelink grant.

[0173] For example, if the sum of the size of the transmission resources occupied by information with a higher priority than the SL-PRS priority at the first destination address, and the size of the transmission resources occupied by SL-PRS, is less than or equal to the size of the transmission resources of the first sidelink grant, then it is decided to send SL-PRS at the first sidelink grant. Alternatively, if the sum of the size of the transmission resources occupied by information with a higher priority than the SL-PRS priority at the first destination address, and the size of the transmission resources occupied by SL-PRS, is greater than or equal to the size of the transmission resources of the first sidelink grant, then it is decided not to send SL-PRS at the first sidelink grant. Information with a higher priority than the SL-PRS priority at the first destination address can be understood as information with a higher priority than the SL-PRS priority among information that needs to be sent to the first destination address. For example, the physical layer may provide a transport block size (denoted as TBS 1) that can be supported when the transmit resources of the first sidelink grant are not used for transmitting SL-PRS, and a transport block size (denoted as TBS 2) that can be supported when the transmit resources of the first sidelink grant are used for transmitting SL-PRS. If the packet assembly size of information with a higher priority than that of the SL-PRS at the first destination address is TBS 1 or greater, it is determined that the SL-PRS will not be transmitted on the first sidelink grant; or if the packet assembly size of information with a higher priority than that of the SL-PRS at the first destination address is TBS 2 or greater, it is determined that the SL-PRS will be transmitted on the first sidelink grant.

[0174] Optionally, when the first destination address has an SL-PRS and it is decided that the first information will not be an SL-PRS but will be transmitted as an SL-PRS in the first sidelink grant, the data packet and SL-PRS corresponding to the first information are transmitted to the second terminal device in the first sidelink grant. Specifically, the MAC layer of the first terminal device forms a MAC PDU using the data packet corresponding to the first information and delivers the MAC PDU to the physical layer of the first terminal device. The physical layer of the first terminal device transmits the MAC PDU and SL-PRS to the second terminal device using the first sidelink grant. For example, if the size of the transmission resources occupied by both the first information and the SL-PRS is smaller than the size of the transmission resources of the first sidelink grant, and the first destination address has additional information other than the first information and the SL-PRS, any other information that satisfies the transmission requirements may be further transmitted to the second terminal device in the first sidelink grant. For details, please refer to the method for generating data packets when the first piece of information is SL-PRS.

[0175] Optionally, when the first destination address has SL-PRS and it is determined that the first information is not SL-PRS and that the first sidelink grant does not transmit SL-PRS, the data packet corresponding to the first information is transmitted to the second terminal device via the first sidelink grant. Specifically, the MAC layer of the first terminal device forms a MAC PDU using the data packet corresponding to the first information and delivers the MAC PDU to the physical layer of the first terminal device. The physical layer of the first terminal device transmits the MAC PDU to the second terminal device via the first sidelink grant. For example, if the size of the transmission resources occupied by the first information is smaller than the size of the transmission resources of the first sidelink grant, and the first destination address has additional information other than the first information and SL-PRS, any other information that satisfies the transmission requirements may be further transmitted to the second terminal device via the first sidelink grant. For details, see the method for generating data packets when the first information is SL-PRS.

[0176] In another implementation, if the first information is not an SL-PRS and the first destination address does not have an SL-PRS, the first terminal device determines that the first sidelink grant will not be used to transmit an SL-PRS. The MAC layer selects an MCS associated with the first sidelink grant and informs the physical layer of the MCS. The physical layer calculates the TBS based on the MCS selected by the MAC layer and then notifies the MAC layer of the TBS. The MAC layer selects a logical channel based on logical channel prioritization (LCP). The MAC layer assembles the MAC PDU packet based on the acquired TBS and logical channel priority order. For specific generation methods, see the method in section 5.22.1.4.1.3 of TS 38.321. Figure 4 is a schematic flowchart of MAC PDU packet assembly based on logical channel priority.

[0177] Based on the aforementioned technical solution, the first terminal device may determine a first destination address associated with the first sidelink grant based on the priority of SL-PRS, MAC CE, and / or logical channels, and send information to the first destination address based on the requirements to determine whether to send SL-PRS and data packets on the first sidelink grant, thereby determining the method of sending information on the first sidelink grant.

[0178] The information transmission method provided in the embodiments of this application will be described below with reference to specific examples.

[0179] Figure 5 is an interaction flowchart of an example of an information transmission method according to one embodiment of this application.

[0180] 510: The first terminal device acquires the first sidelink grant. Specifically, the MAC layer of the first terminal device acquires the first sidelink grant.

[0181] In one implementation, the network device transmits a DCI to the first terminal device, as shown in step 511, and the DCI indicates the first sidelink grant. In response, the first terminal device receives the DCI from the network device and determines the first sidelink grant.

[0182] In another implementation, the network device sends an RRC message or system message to a first terminal device, as shown in step 511, the RRC message or system message carrying configuration information, which indicates a first sidelink grant. Correspondingly, the first terminal device receives the RRC message or system message from the network device and determines the first sidelink grant based on the configuration information. For example, the configuration information includes resource pool information for sidelink transmission. The first terminal device determines the sidelink transmission resource pool based on the received resource pool information and determines the first sidelink grant through resource selection. In another example, the configuration information may further include periodic information for the first sidelink grant to indicate that the sidelink transmission resources indicated by the first sidelink grant occur periodically. The first terminal device determines the first sidelink grant based on the received periodic information for the first sidelink grant. Optionally, the first sidelink grant received by the first terminal device is in an inactive state and can only be used after an activation command sent by the network device is subsequently received.

[0183] In another implementation, the first terminal device obtains the first sidelink grant from a pre-configured resource pool.

[0184] In another implementation, the first terminal device sends a resource request message to the network device, which requests the acquisition of a sidelink grant available for sending an SL-PRS, and the resource request message may be a MAC CE or RRC message as shown in step 512, the network device receives the resource request message from the first terminal device and sends a DCI to the first terminal device, which indicates a first sidelink grant as shown in step 513, the first terminal device receives the DCI from the network device and determines the first sidelink grant based on the DCI.

[0185] In another implementation, the first terminal device sends a resource request message to the network device, which requests the activation or deactivation of a sidelink grant configured for SL-PRS transmission, which may be a MAC CE or RRC message as shown in step 512, the network device receives the resource request message from the first terminal device and sends a DCI to the first terminal device, which indicates the activation or deactivation of the first sidelink grant as shown in step 513, the first terminal device receives the DCI from the network device and determines the first sidelink grant based on the DCI.

[0186] In another implementation, the first terminal device sends an RRC message to the network device requesting to obtain a sidelink grant available for sending an SL-PRS, which may be UE support information, as shown in step 512, and the network device receives the RRC message from the first terminal device, as shown in step 513, and sends an RRC reconfiguration message to the first terminal device, the fifth information carried in the RRC reconfiguration message indicating a first sidelink grant, and the first terminal device receives the RRC reconfiguration message from the network device and determines the first sidelink grant based on the fifth information carried in the RRC reconfiguration message.

[0187] Step 511 is an optional step and is typically applicable to mode 1 or scheme 1, which is based on network scheduling. Step 513 is an optional step and is typically applicable to mode 2 or scheme 2, which is based on resource selection of terminal devices. Step 512 is an optional step and may be performed before step 511 or step 513. The order of steps 511 and 513 is not limited. Steps 511 and 513 may be performed simultaneously, or step 511 may be performed before step 513, or step 513 may be performed before step 511. The order of steps 511, 512, 513, and 510 is not limited. If present, steps 511, 512, and 513 may be performed before step 510, after step 510, or simultaneously with step 510.

[0188] For further implementation configurations, please refer to the implementation configuration in the embodiment shown in Figure 3 in which the first terminal device acquires the first side link grant.

[0189] 520: The MAC layer of the first terminal device selects a first destination address associated with a first sidelink grant from at least one destination address, wherein the first destination address has first information having the highest priority among the at least one destination address, and one of the at least one destination address has SL-PRS or one of the at least one destination address has SL-PRS and second information, the second information including one or two of MAC CE and logical channels. For example, the first terminal device determines that at least one destination address has SL-PRS based on the presence of SL-PRS transmissions performed on the first sidelink grant acquired in step 510. The destination address among the at least one destination address may further have MAC CE and / or logical channels. This is not limited herein.

[0190] 530: The MAC layer of the first terminal device determines whether to send an SL-PRS at the first sidelink grant. If the first information is an SL-PRS, the first terminal device sends an SL-PRS at the first sidelink grant. If the first destination address has an SL-PRS and the first information is not an SL-PRS, the first terminal device determines whether to send an SL-PRS at the first sidelink grant. For specific implementation details, please refer to step 420 of the embodiment in Figure 4. Details will not be repeated here.

[0191] 540: The MAC layer of the first terminal device generates a MAC PDU based on the information determined to be transmitted by the first sidelink grant. Step 540 is an optional step. For example, if the first sidelink grant is a dedicated resource pool, no MAC PDU is generated.

[0192] 550: The MAC layer of the first terminal device delivers the formed MAC PDU to the physical layer of the first terminal device, and the physical layer of the first terminal device transmits the MAC PDU and / or SL-PRS to the second terminal device via the first sidelink grant. For example, the physical layer of the first terminal device transmits the SL-PRS to the second terminal device via the first sidelink grant.

[0193] When a terminal device performs a sidelink transmission, the sidelink grant is a resource selected by the terminal device from the resource pool, and therefore, network devices cannot know the transmission time of the terminal device on the sidelink. At the same time, the terminal device may be scheduled by the network device to perform an uplink transmission. Some terminal devices do not have the ability to transmit on both the uplink and sidelink simultaneously. Therefore, when uplink transmissions and sidelink SL-PRS transmissions coexist, a method for resolving current transmission conflicts is a problem that needs to be solved.

[0194] Figure 6 is an interaction flowchart of another example of an information transmission method according to one embodiment of the present application. In this example, when uplink transmission and sidelink SL-PRS transmission coexist, in order to resolve conflicts between uplink transmission and sidelink SL-PRS transmission, it may be determined whether the transmission of the first sidelink grant takes precedence over the transmission of the first uplink grant, based on the priority of SL-PRS at the first destination address.

[0195] 601: The network device transmits configuration information to the first terminal device, and the configuration information is used to configure the first SL priority threshold. In response, the first terminal device receives the configuration information from the network device.

[0196] 602: The first terminal device acquires a first sidelink grant, which is used to send an SL-PRS to a first destination address. For a specific method, see the method for acquiring the first sidelink grant in the embodiment shown in Figure 3.

[0197] 603: The network device transmits a first uplink grant to a first terminal device. In response, the first terminal device receives a first uplink grant from the network device. Optionally, the first terminal device does not have the ability to use the first uplink grant and the first sidelink grant simultaneously. Optionally, the transmission time for the first uplink grant is equal to or close to the transmission time for the first sidelink grant.

[0198] 604: The first terminal device determines, based on the priority of the SL-PRS, whether transmission on the first sidelink grant takes precedence over transmission on the first uplink grant. For a method of determining whether to transmit the SL-PRS on the first sidelink grant, see the description of the embodiment in Figure 3 or the embodiment in Figure 5.

[0199] Specifically, the first terminal device determines whether transmission at the first sidelink grant takes precedence over transmission at the first uplink grant, based on the result of a comparison between the priority of the SL-PRS and the first SL priority threshold. For example, if the priority of the SL-PRS transmitted at the first sidelink grant is equal to or greater than the first SL priority threshold, it is determined that transmission at the first sidelink grant takes precedence over transmission at the first uplink grant. For example, if the priority of the SL-PRS at the first destination address is less than or equal to the first SL priority threshold, it is determined that transmission at the first uplink grant takes precedence over transmission at the first sidelink grant, or that transmission at the first sidelink grant does not take precedence over transmission at the first uplink grant.

[0200] The above describes the information transmission method provided in the embodiments of this application. Below, entities for implementing the above-described information transmission method will be described.

[0201] Figure 7 is a block diagram of a communication device 700 according to one embodiment of the present application. This device may be used or deployed in the first terminal device in the embodiment of the method shown in Figure 3. The communication device 700 is A processing unit 710 configured to select a first destination address associated with a first sidelink grant from at least one destination address, wherein the first destination address has first information having the highest priority among the at least one destination address, one of the at least one destination address has a sidelink positioning reference signal SL-PRS, or one of the at least one destination address has SL-PRS and second information, the second information including one or two of media access control control elements MAC CE and logical channels, and A transceiver unit 720 configured to transmit first information and / or data packets corresponding to the first information to a second terminal device in a first sidelink grant, wherein the address of the second terminal device is the first destination address. The transceiver unit in this embodiment of the application includes a receiving unit and a transmitting unit. The receiving unit and the transmitting unit may belong to the same module or different modules.

[0202] Optionally, the processing unit 710 is further configured to determine whether to send an SL-PRS in the first sidelink grant when the first destination address has an SL-PRS and the first information is not an SL-PRS.

[0203] Optionally, when the first destination address has an SL-PRS and the first information is not an SL-PRS, the processing unit 710 is configured to decide, specifically, to send an SL-PRS in the first sidelink grant.

[0204] Optionally, when the first destination address has an SL-PRS and the first information is not an SL-PRS, the processing unit 710 is configured to decide not to send an SL-PRS in the first sidelink grant.

[0205] Optionally, when the first destination address has an SL-PRS and the first information is not an SL-PRS, the processing unit 710 is configured to determine whether to send an SL-PRS in the first sidelink grant, specifically based on the size of the transmission resources occupied by the information whose priority is higher than the priority of the SL-PRS in the first destination address, the size of the transmission resources occupied by the SL-PRS, and the size of the transmission resources in the first sidelink grant.

[0206] Optionally, the processing unit 710 is, specifically, If the sum of the size of the transmission resources occupied by information with a higher priority than the SL-PRS priority at the first destination address, and the size of the transmission resources occupied by SL-PRS, is less than or equal to the size of the transmission resources of the first sidelink grant, then it is decided to send SL-PRS on the first sidelink grant, or The system is configured to decide not to send SL-PRS on the first sidelink grant if the sum of the size of the transmission resources occupied by information with a higher priority than the SL-PRS priority at the first destination address, and the size of the transmission resources occupied by SL-PRS, is greater than the size of the transmission resources on the first sidelink grant.

[0207] Optionally, the transceiver unit 720 is, specifically, When the first destination address has an SL-PRS and it is determined that the first information is not an SL-PRS but that the first sidelink grant will transmit an SL-PRS, the first sidelink grant will send a data packet and an SL-PRS corresponding to the first information to the second terminal device, or When the first destination address has an SL-PRS, and the first information is not an SL-PRS, and it is determined that the first sidelink grant will not send an SL-PRS, the first sidelink grant sends a data packet corresponding to the first information to the second terminal device, or When the first information is SL-PRS, the first sidelink grant sends a data packet corresponding to the SL-PRS and the third information to the second terminal device, and the third information includes some or all of the information other than SL-PRS at the first destination address, or When the first information is SL-PRS, the first sidelink grant sends SL-PRS and a data packet corresponding to SL-PRS to the second terminal device, or When the first piece of information is SL-PRS, the first sidelink grant is configured to transmit SL-PRS to the second terminal device.

[0208] Optionally, data packets corresponding to SL-PRS may not include a MAC Service Data Unit (SDU) or MAC CE, or data packets corresponding to SL-PRS may include a MAC Protocol Data Unit (PDU) subheader, or data packets corresponding to SL-PRS may include a MAC PDU subheader and padding bits, or data packets corresponding to SL-PRS may include a MAC CE associated with SL-PRS.

[0209] Optionally, the transceiver unit 720 is further configured to acquire a first sidelink grant.

[0210] Optionally, the transceiver unit 720 is configured to receive configuration information from a network device, which indicates a first sidelink grant.

[0211] Optionally, the configuration information may include one or more of the following: Priority information of information supported by the first sidelink grant, Priority information of SL-PRS whose transmission is supported by the first sidelink grant, The transmission is supported by the first sidelink grant, and the requested bandwidth information of the SL-PRS, or This is information regarding the number of time-domain symbols occupied by the SL-PRS, which is supported by the first sidelink grant.

[0212] Optionally, the transceiver unit 720 is, specifically, The fourth piece of information is to be sent to the network device, and the fourth piece of information is to request the acquisition of a sidelink grant available for SL-PRS transmission, and The system is configured to receive a fifth piece of information from a network device, and for this fifth piece of information to indicate a first sidelink grant.

[0213] Optionally, the fifth piece of information may include one or more of the following: Priority information of information supported by the first sidelink grant, Priority information of SL-PRS whose transmission is supported by the first sidelink grant, Requested bandwidth information for SL-PRS, which is supported by the first sidelink grant for transmission. Information regarding the number of time-domain symbols occupied by SL-PRS supported by the first sidelink grant, or This is experience requirements information for positioning services supported by the first sidelink grant.

[0214] Figure 8 is a block diagram of another communication device 800 according to one embodiment of the present application. The communication device 800 includes at least one processor 810, memory 820, and a communication interface 830. At least one processor is connected to the memory 820.

[0215] Memory 820 is configured to store computer programs or executable instructions.

[0216] The processor 810 is coupled to the memory 820 through a communication interface 830. The processor 810 is configured to call and execute computer programs or executable instructions in the memory 820 in order to perform the method according to the embodiments of this application. In the embodiments of this application, the communication device may be used as a first terminal device or a network device. Optionally, the processor 810 and the memory 820 are integrated together.

[0217] The processor 810 may be an integrated circuit chip and may have signal processing capabilities. During implementation, the steps in the embodiments of the method described above may be performed by using instructions in the form of the processor's hardware integrated logic circuits or software. The processor described above may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or another programmable logic device, discrete gate or transistor logic device, or discrete hardware component. The processor may implement or perform the methods, steps, and logic block diagrams disclosed in embodiments of this application. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor, etc. The steps of the methods disclosed with reference to embodiments of this application may be performed and executed directly by a hardware decoding processor, or by using a combination of hardware modules and software modules within the decoding processor. The software modules may be located in mature storage media in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. The storage medium is placed in memory, and the processor reads the information in memory and performs the steps of the method described above in combination with the processor's hardware.

[0218] Optionally, one embodiment of this application further provides a communication device. The communication device includes an input / output interface and logic circuits. The input / output interface is configured to acquire input information and / or output information. The logic circuits are configured to perform the method in the embodiments of the method described above and to process and / or generate output information based on the input information.

[0219] One embodiment of the present application further provides a communication system, which includes a first terminal device, another communication device communicating with the first terminal device, a network device, and another communication device communicating with the network device, in an information transmission method provided in an embodiment of the present application.

[0220] One embodiment of this application further provides a computer-readable storage medium. The computer-readable storage medium stores computer code or instructions for performing the method in the embodiments of the method described above. When the computer code or instructions are executed by a processor, it causes a computer to perform the method of the embodiments of the method described above.

[0221] One embodiment of this application further provides a computer program product, which includes computer code or instructions. When the computer code or instructions are executed, the method in the embodiment of the method described above is performed.

[0222] One embodiment of the present application further provides a chip including a processor. The processor is connected to a memory, which is configured to store computer code or instructions, and the processor is configured to execute the computer code or instructions stored in the memory in order to cause the chip to perform the method in the embodiment of the method described above.

[0223] In the embodiments of this application, unless otherwise specified or unless there is a logical inconsistency, the terminology and / or descriptions between different embodiments are consistent and may be referenced to one another, and the technical features of different embodiments may be combined on the basis of their internal logical relationships to form new embodiments.

[0224] In the embodiments of this application, numbers such as "First," "Second," etc., are used solely to distinguish different subjects, for example, different terminal devices or different information, and should be understood as not limiting the scope of the embodiments of this application. The embodiments of this application are not limited thereto.

[0225] In addition, the term "and / or" in this application describes only the relationship between related subjects and indicates that three relationships may exist. For example, A and / or B may represent the following three cases: A alone exists, both A and B exist, and B alone exists. In addition, the letter " / " in this specification usually indicates an "or" relationship between related subjects. The term "at least one" in this application may represent "one" and "two or more". For example, A, B, and C may represent the following seven cases: only A exists, only B exists, only C exists, both A and B exist, both A and C exist, both C and B exist, and all A, B, and C exist.

[0226] Those skilled in the art will recognize, in combination with the examples described in the embodiments disclosed herein, that units and algorithmic steps can be implemented using electronic hardware or a combination of computer software and electronic hardware. Whether a function is performed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may implement the functions described using various methods for specific applications, but such implementation should not be considered to exceed the scope of this application.

[0227] For the sake of simplicity, it will be readily apparent to those skilled in the art that, for specific operating processes of the aforementioned systems, devices, and units, we refer to the corresponding processes in the embodiments of the methods described above. Details are not repeated here.

[0228] In some embodiments provided in this application, it should be understood that the disclosed systems, apparatus, and methods may be implemented in other ways. For example, the embodiments of the apparatus described are merely examples. For example, the unit division is merely a logical functional division and may be other divisions in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the presented or described mutual coupling or direct coupling or communication connection may be implemented through some interfaces. Indirect coupling or communication connection between apparatus or units may be implemented electronically, mechanically, or in other forms.

[0229] Units described as separate components may or may not be physically separate, and components presented as units may or may not be physical units; in other words, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected based on the actual requirements for achieving the objectives of the solution of the embodiment.

[0230] In addition, the functional units in the embodiments of this application may be integrated into a single processing unit, or each unit may exist physically independently, or two or more units may be integrated into a single unit.

[0231] When functions are implemented in the form of software function units and sold or used as independent products, those functions may be stored on a computer-readable storage medium. Based on this understanding, the technical solutions of this application, or parts of the technical solutions that contribute to the prior art, or parts of the technical solutions, may be implemented in the form of a software product. The computer software product is stored on a storage medium and includes several instructions for instructing a computer device (which may be a personal computer, server, network device, etc.) to perform all or part of the steps of the method described in the embodiments of this application. The aforementioned storage medium includes any medium capable of storing program code, such as a USB flash drive, removable hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0232] The foregoing description is merely a specific implementation of the present application and is not intended to limit the scope of protection of this application. Any modifications or substitutions readily conceivable by a person skilled in the art within the scope of the art disclosed herein shall fall within the scope of protection of this application. Accordingly, the scope of protection of this application shall be subject to the scope of protection of the claims. [Explanation of Symbols]

[0233] 300 Information Transmission Methods 700 Communication equipment 710 Processing Unit 720 Transceiver Unit 800 Communication equipment 810 processor 820 memory 830 Communication Interface

Claims

1. An information transmission method applicable to a first terminal device, A step of selecting a first destination address associated with a first sidelink grant from at least one destination address, wherein the first destination address has first information having the highest priority among the at least one destination address, and one of the at least one destination address has a sidelink positioning reference signal (SL-PRS), or one of the at least one destination address has an SL-PRS and second information, wherein the second information includes one or two of a media access control control element (MAC CE) and a logical channel, A step of transmitting the first information and / or a data packet corresponding to the first information to a second terminal device via the first sidelink grant, wherein the address of the second terminal device is the first destination address. Methods that include...

2. The aforementioned method, The method according to claim 1, further comprising the step of determining whether to transmit the SL-PRS in the first sidelink grant when the first destination address has the SL-PRS and the first information is not the SL-PRS.

3. The step of determining whether to transmit the SL-PRS in the first sidelink grant when the first destination address has the SL-PRS and the first information is not the SL-PRS is: The method according to claim 2, further comprising the step of determining to transmit the SL-PRS at the first sidelink grant when the first destination address has the SL-PRS and the first information is not the SL-PRS.

4. The step of determining whether to transmit the SL-PRS in the first sidelink grant when the first destination address has the SL-PRS and the first information is not the SL-PRS is: The method according to claim 2, further comprising the step of determining not to transmit the SL-PRS in the first sidelink grant when the first destination address has the SL-PRS and the first information is not the SL-PRS.

5. The step of determining whether to transmit the SL-PRS in the first sidelink grant when the first destination address has the SL-PRS and the first information is not the SL-PRS is: The method according to claim 2, wherein the first destination address has the SL-PRS and the first information is not the SL-PRS, the method further comprising the step of determining whether to transmit the SL-PRS at the first sidelink grant based on the size of the transmission resources occupied by information having a higher priority than the priority of the SL-PRS at the first destination address, the size of the transmission resources occupied by the SL-PRS, and the size of the transmission resources at the first sidelink grant.

6. If the sum of the size of the transmission resource occupied by the information whose priority is higher than the priority of the SL-PRS at the first destination address, and the size of the transmission resource occupied by the SL-PRS, is less than or equal to the size of the transmission resource of the first sidelink grant, then it is decided to transmit the SL-PRS at the first sidelink grant, or The method according to claim 5, wherein if the sum of the size of the transmission resources occupied by the information whose priority is higher than the priority of the SL-PRS at the first destination address and the size of the transmission resources occupied by the SL-PRS is greater than the size of the transmission resources of the first sidelink grant, it is decided not to transmit the SL-PRS at the first sidelink grant.

7. The step of transmitting the first information and / or the data packet corresponding to the first information to the second terminal device via the first sidelink grant is: When the first destination address has the SL-PRS, and the first information is not the SL-PRS, and it is determined that the SL-PRS will be transmitted on the first sidelink grant, the steps of transmitting the data packet and the SL-PRS corresponding to the first information to the second terminal device on the first sidelink grant, or When the first destination address has the SL-PRS, and the first information is not the SL-PRS, and it is determined that the first sidelink grant does not transmit the SL-PRS, the first sidelink grant transmits the data packet corresponding to the first information to the second terminal device, or When the first information is the SL-PRS, the step of transmitting a data packet corresponding to the SL-PRS and the third information to the second terminal device via the first sidelink grant, wherein the third information includes some or all of the information other than the SL-PRS in the first destination address, or When the first information is the SL-PRS, the first sidelink grant transmits the SL-PRS and the data packet corresponding to the SL-PRS to the second terminal device, or When the first information is the SL-PRS, the first sidelink grant transmits the SL-PRS to the second terminal device. The method according to any one of claims 1 to 6, including the method described in any one of claims 1 to 6.

8. The data packet corresponding to the SL-PRS does not include a MAC Service Data Unit (SDU) or MAC CE, or The data packet corresponding to the SL-PRS includes a MAC protocol data unit (PDU) subheader, or The data packet corresponding to the SL-PRS includes a MAC PDU subheader and padding bits, or The method according to claim 7, wherein the data packet corresponding to the SL-PRS includes a MAC CE associated with the SL-PRS.

9. The method according to any one of claims 1 to 8, wherein the method further comprises the step of obtaining the first side link grant.

10. The step of obtaining the first side link grant is, The method according to claim 9, comprising the step of receiving configuration information from a network device, wherein the configuration information indicates the first sidelink grant.

11. The aforementioned configuration information is as follows: The transmission is priority information of the information supported by the first sidelink grant, The transmission of SL-PRS priority information supported by the first sidelink grant, The requested bandwidth information of the SL-PRS, which is supported by the first sidelink grant, The periodic information of the first side link grant, or Information regarding the number of time-domain symbols occupied by the SL-PRS supported by the first sidelink grant. The method according to claim 10, comprising one or more of the above.

12. The step of obtaining the first side link grant is, A step of transmitting a fourth piece of information to a network device, wherein the fourth piece of information is for requesting the acquisition of a sidelink grant available for SL-PRS transmission, A step of receiving a fifth piece of information from the network device, wherein the fifth piece of information indicates the first side link grant. The method according to claim 9, including the method described in claim 9.

13. The fourth or fifth piece of information is, namely, The transmission is priority information of the information supported by the first sidelink grant, The transmission of SL-PRS priority information supported by the first sidelink grant, The requested bandwidth information of the SL-PRS, which is supported by the first sidelink grant, The transmission contains information regarding the number of time-domain symbols occupied by the SL-PRS supported by the first sidelink grant, Index information corresponding to the first side link grant, The index information of the resource pool where the first sidelink grant exists, or Experience requirements information for positioning services supported by the first sidelink grant The method according to claim 12, comprising one or more of the above.

14. A communication device, A processing unit configured to select a first destination address associated with a first sidelink grant from at least one destination address, wherein the first destination address has first information having the highest priority among the at least one destination address, one of the at least one destination address has a sidelink positioning reference signal (SL-PRS), or one of the at least one destination address has an SL-PRS and second information, the second information including one or two of a media access control control element (MAC CE) and a logical channel, A transceiver unit configured to transmit the first information and / or data packets corresponding to the first information to a second terminal device via the first sidelink grant, wherein the address of the second terminal device is the first destination address. A communication device equipped with the following features.

15. The apparatus according to claim 14, wherein the processing unit is further configured to determine whether to transmit the SL-PRS in the first sidelink grant when the first destination address has the SL-PRS and the first information is not the SL-PRS.

16. The apparatus according to claim 15, wherein, when the first destination address has the SL-PRS and the first information is not the SL-PRS, the processing unit is configured to specifically decide to transmit the SL-PRS in the first sidelink grant.

17. The apparatus according to claim 15, wherein, when the first destination address has the SL-PRS and the first information is not the SL-PRS, the processing unit is configured to specifically decide not to transmit the SL-PRS in the first sidelink grant.

18. The apparatus according to claim 15, wherein, when the first destination address has the SL-PRS and the first information is not the SL-PRS, the processing unit is configured to determine whether to transmit the SL-PRS at the first sidelink grant, specifically based on the size of the transmission resources occupied by information having a higher priority than the priority of the SL-PRS at the first destination address, the size of the transmission resources occupied by the SL-PRS, and the size of the transmission resources at the first sidelink grant.

19. The processing unit, specifically, If the sum of the size of the transmission resources occupied by the information whose priority is higher than the priority of the SL-PRS at the first destination address, and the size of the transmission resources occupied by the SL-PRS, is less than or equal to the size of the transmission resources of the first sidelink grant, then it is decided to transmit the SL-PRS at the first sidelink grant, or If the sum of the size of the transmission resources occupied by the information whose priority is higher than the priority of the SL-PRS at the first destination address, and the size of the transmission resources occupied by the SL-PRS, is greater than the size of the transmission resources of the first sidelink grant, then it is decided not to transmit the SL-PRS in the first sidelink grant. The apparatus according to claim 18, configured as described above.

20. The aforementioned transceiver unit is, specifically, When the first destination address has the SL-PRS, and the first information is not the SL-PRS, and it is determined that the SL-PRS will be transmitted on the first sidelink grant, the data packet and the SL-PRS corresponding to the first information are transmitted to the second terminal device on the first sidelink grant, or When the first destination address has the SL-PRS, and the first information is not the SL-PRS, and it is determined that the first sidelink grant will not transmit the SL-PRS, the data packet corresponding to the first information is transmitted to the second terminal device via the first sidelink grant, or When the first information is the SL-PRS, a data packet corresponding to the SL-PRS and the third information is transmitted to the second terminal device via the first sidelink grant, and the third information includes some or all of the information other than the SL-PRS in the first destination address, or When the first information is the SL-PRS, the SL-PRS and the data packet corresponding to the SL-PRS are transmitted to the second terminal device via the first sidelink grant, or When the first information is the SL-PRS, the first sidelink grant transmits the SL-PRS to the second terminal device. The apparatus according to any one of claims 14 to 19, configured as described above.

21. The data packet corresponding to the SL-PRS does not include a MAC Service Data Unit (SDU) or MAC CE, or The data packet corresponding to the SL-PRS includes a MAC protocol data unit (PDU) subheader, or The data packet corresponding to the SL-PRS includes a MAC PDU subheader and padding bits, or The apparatus according to claim 20, wherein the data packet corresponding to the SL-PRS includes a MAC CE associated with the SL-PRS.

22. The apparatus according to any one of claims 14 to 21, wherein the transceiver unit is further configured to acquire the first side link grant.

23. The apparatus according to claim 22, wherein the transceiver unit is specifically configured to receive configuration information from a network device, the configuration information indicating the first sidelink grant.

24. The aforementioned configuration information is as follows: The transmission is priority information of the information supported by the first sidelink grant, The transmission of SL-PRS priority information supported by the first sidelink grant, The requested bandwidth information of the SL-PRS, which is supported by the first sidelink grant, The periodic information of the first side link grant, or Information regarding the number of time-domain symbols occupied by the SL-PRS supported by the first sidelink grant. The apparatus according to claim 23, comprising one or more of the following.

25. The aforementioned transceiver unit is, specifically, It is configured to transmit a fourth piece of information to a network device, the fourth piece of information being used to request the acquisition of a sidelink grant available for SL-PRS transmission, The apparatus according to claim 22, configured to receive a fifth piece of information from the network device, wherein the fifth piece of information indicates the first sidelink grant.

26. The fourth or fifth piece of information is, namely, The transmission is priority information of the information supported by the first sidelink grant, The transmission of SL-PRS priority information supported by the first sidelink grant, The requested bandwidth information of the SL-PRS, which is supported by the first sidelink grant, The transmission contains information regarding the number of time-domain symbols occupied by the SL-PRS supported by the first sidelink grant, Index information corresponding to the first side link grant, The index information of the resource pool where the first sidelink grant exists, or Experience requirements information for positioning services supported by the first sidelink grant The apparatus according to claim 25, comprising one or more of the following.

27. A communication device comprising at least one processor, wherein the at least one processor is connected to a memory, the memory is configured to store a computer program, and the at least one processor is configured to execute the computer program stored in the memory to cause the communication device to perform the method according to any one of claims 1 to 13.

28. A computer-readable storage medium, The computer-readable storage medium stores computer code or instructions. A computer-readable storage medium in which the method according to any one of claims 1 to 13 is performed when the computer code or instruction is executed by the processor.

29. A computer program product comprising computer code or instructions, wherein when the computer code or instructions are executed, the method according to any one of claims 1 to 13 is performed.