A method, apparatus and system for processing side link resources

By processing sidelink resources according to HARQ parameters by the TX terminal, the transmission reliability problem caused by the inability of the TX terminal to send HARQ information is solved, and the correct reception of data packets and efficient utilization of resources are achieved.

CN116192343BActive Publication Date: 2025-11-14HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211247106.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-16
Publication Date
2025-11-14
Estimated Expiration
2039-08-16

AI Technical Summary

Technical Problem

In LTE or NR systems, when the TX terminal is unable to send HARQ information to the network device or the network device is unable to receive HARQ information, the existing technology does not describe how the TX terminal handles the subsequent HARQ process, leading to reliability issues in sidelink data transmission.

Method used

The TX terminal processes the side link resources according to the HARQ parameters, including determining whether the data packet is received correctly, using the new data to instruct the NDI and HARQ process number to process resources, avoiding unnecessary retransmissions or new transmissions, and ensuring reasonable resource utilization when the data packet is received correctly.

Benefits of technology

It improves the reliability of sidelink transmission, avoids unnecessary transmission and feedback, and ensures the correct reception of data packets and efficient utilization of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116192343B_ABST
    Figure CN116192343B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, and system for processing sidelink resources, relating to the field of communication technology. It is used to process sidelink resources allocated for retransmitting data packets when a first terminal does not send HARQ information to a network device. The first terminal determines that it has not sent confirmation information for a first sidelink Hybrid Automatic Repeat Request (HARQ) process to the network device at a first moment; the confirmation information is used to indicate whether a second terminal has correctly received the first data packet of the first sidelink HARQ process sent by the first terminal to the second terminal on the first sidelink resource; the first terminal determines a second sidelink resource; the HARQ parameters of the second sidelink resource include a New Data Indicator (NDI) and a HARQ process number; if the confirmation information indicates that the second terminal has correctly received the first data packet, the first terminal processes the second sidelink resource according to the HARQ parameters. This solution can be applied to fields such as autonomous driving, automatic driving, assisted driving, intelligent driving, connected driving, intelligent connected driving, car sharing, and artificial intelligence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a method, apparatus and system for processing sidelink resources. Background Technology

[0002] In Long Time Evolution (LTE) or New Radio (NR) systems, the communication interface between terminals can be called the PC5 interface. The PC5 interface is generally used in vehicle-to-everything (V2X) or device-to-device (D2D) scenarios where direct communication between devices is possible. On the PC5 interface, the TX terminal can transmit sidelink data to the RX terminal via the sidelink (SL). To ensure the reliability of sidelink data transmission, the RX terminal can send HARQ information corresponding to the Hybrid Autonomous Repeat Request (HARQ) process to the TX terminal. This HARQ information indicates whether the sidelink data has been correctly received by the RX terminal.

[0003] After receiving a HARQ message, the TX terminal can send the HARQ message to the network device. If the network device determines, based on the HARQ message, that the sidelink data has not been correctly received, it will reallocate sidelink resources for the TX terminal to retransmit the sidelink data. If the network device determines, based on the HARQ message, that the sidelink data has been correctly received, it will allocate sidelink resources for the TX terminal to transmit other sidelink data.

[0004] However, the TX terminal may be unable to send the HARQ information to the network device, or the network device may be unable to receive the HARQ information. In such cases, the prior art does not describe how the TX terminal handles the subsequent HARQ process. Summary of the Invention

[0005] This application provides a method, apparatus, and system for sending sidelink resources, used to process allocated sidelink resources for retransmitting data packets when a first terminal does not send HARQ information to a network device.

[0006] To achieve the above objectives, the embodiments of this application provide the following technical solutions:

[0007] In a first aspect, embodiments of this application provide a method for processing side-link resources, comprising: a first terminal determining that it has not sent confirmation information for a first side-link Hybrid Automatic Repeat Request (HARQ) process to a network device at a first moment. This confirmation information is used to indicate whether a second terminal has correctly received a first data packet of the first side-link HARQ process sent by the first terminal to the second terminal on the first side-link resource. The first terminal determines a second side-link resource. If the confirmation information indicates that the second terminal has correctly received the first data packet, the first terminal processes the second side-link resource according to the HARQ parameters of the second side-link resource. The HARQ parameters of the second side-link resource include a New Data Indication (NDI) and a HARQ process number.

[0008] This application provides a method for processing side-link resources. In this method, if a first terminal, after determining that it did not send an acknowledgment to the network device at a first moment, and that the acknowledgment indicated that a second terminal correctly received a first data packet, receives second side-link resources, the first terminal can process these resources according to the HARQ parameters. Since the HARQ parameters of the second side-link resources include an NDI indicator (typically used to indicate retransmission or newtransmission), the first terminal can process these resources based on the HARQ parameters. Because the first data packet was correctly received by the second terminal, the first terminal does not need to retransmit it. Processing the second side-link resources avoids unnecessary transmissions by the first terminal and unnecessary feedback from the second terminal.

[0009] In conjunction with the first aspect, in a first possible implementation of the first aspect, the first terminal processes the second-side traversal channel resources according to the HARQ parameters of the second-side traversal channel resources, including: the first terminal transmitting a second data packet on the second-side traversal channel resources according to the HARQ parameters of the second-side traversal channel resources. This facilitates the first terminal using the second-side traversal channel resources for new transmission if the first data packet is correctly received.

[0010] In conjunction with the first aspect or the first possible implementation of the first aspect, in the first possible implementation of the first aspect, the first terminal processes the second-side traversal resource according to the HARQ parameters of the second-side traversal resource, including: the first terminal ignoring the second-side traversal resource according to the HARQ parameters of the second-side traversal resource. This facilitates avoiding retransmission on the second-side traversal resource if the first data packet is correctly received.

[0011] In conjunction with the first aspect and the second possible implementation of the first aspect, in the third possible implementation of the first aspect, the HARQ parameter further includes a HARQ process number. The method provided in this application embodiment further includes: associating a first variable with the first-side transit HARQ process, the value of the first variable being a first parameter value or a second parameter value. The first parameter value indicates that the second terminal correctly received the first data packet, and the second parameter value indicates that the second terminal did not correctly receive the first data packet. The first terminal ignores the second-side transit resource based on the HARQ parameter of the second-side transit resource, including: when NDI indicates retransmission, and the HARQ process number is the process number of the first-side transit HARQ process, and the value of the first variable is the first parameter value, the first terminal ignores the second-side transit resource. If NDI indicates retransmission and the HARQ process number is the process number of the first-side transit HARQ process, the first terminal can determine that the second-side transit resource is used to retransmit the first data packet, but since the first data packet has already been correctly received by the second terminal, the first terminal can ignore the second-side transit resource.

[0012] In conjunction with the first aspect to the third possible implementation of the first aspect, in the fourth possible implementation of the first aspect, the first terminal ignores the second-side traversal resource based on the HARQ parameters of the second-side traversal resource, including: when NDI indicates retransmission, and the HARQ process number is the process number of the first-side traversal HARQ process, and the HARQ buffer of the first-side traversal HARQ process is empty, the first terminal ignores the second-side traversal resource. If NDI indicates retransmission and the HARQ process number is the process number of the first-side traversal HARQ process, the first terminal can determine that the second-side traversal resource is used to retransmit the first data packet, but since the HARQ buffer of the first-side traversal HARQ process is empty, the first terminal can ignore the second-side traversal resource.

[0013] In conjunction with the first aspect to the fourth possible implementation of the first aspect, in the fifth possible implementation of the first aspect, the method provided in this application embodiment further includes: the first terminal determines that the first data packet has been successfully received by the second terminal, and the first terminal clears the HARQ cache of the first side link HARQ process.

[0014] In conjunction with the first to fifth possible implementations of the first aspect, in the sixth possible implementation of the first aspect, the first terminal transmits a second data packet on the second-side traversal link resource according to the HARQ parameters of the second-side traversal link resource. This includes: when the NDI indicates a new transmission, the HARQ process number is the process number of the first-side traversal link HARQ process, and the value of the first variable is the value of the first parameter, the first terminal transmits the second data packet on the second-side traversal link resource. This allows the first terminal to transmit the second data packet on the second-side traversal link resource if the second-side traversal link resource is used for a new transmission, provided that the first data packet has been successfully received.

[0015] In conjunction with the first aspect to the sixth possible implementation of the first aspect, in the seventh possible implementation of the first aspect, the first terminal transmits a second data packet on the second side traversal resource according to the HARQ parameters of the second side traversal resource, including: when NDI indicates a new transmission, the first terminal transmits a second data packet on the second side traversal resource.

[0016] In conjunction with the seventh possible implementation of the first aspect, in the eighth possible implementation of the first aspect, the determination that the first terminal did not send acknowledgment information to the network device at the first moment includes: the first terminal determining that the moment of sending acknowledgment information and the moment of sending the first message are both the first moment. If the priority of the physical uplink channel carrying the acknowledgment information is lower than the priority of the first message, or the priority of the physical uplink channel carrying the acknowledgment information is lower than the priority of the sidelink channel carrying the first message, the first terminal determines that it did not send acknowledgment information to the network device at the first moment. Since the moment of sending acknowledgment information is the same as the moment the first terminal sends the first message, the moment of sending acknowledgment information conflicts with the moment the first terminal sends the first message, and the priority of the physical uplink channel carrying the acknowledgment information is lower than the priority of the first message or the priority of the sidelink channel carrying the first message, therefore the first terminal may discard the acknowledgment information not sent to the network device at the first moment.

[0017] In conjunction with the eighth possible implementation of the first aspect, in the ninth possible implementation of the first aspect, the first message is a message sent by the first terminal to the network device during the random access process.

[0018] In conjunction with the ninth possible implementation of the first aspect, in the tenth possible implementation of the first aspect, the physical uplink channel is a physical uplink control channel, the first message is a sidelink SL Media Access Control MAC Protocol Data Unit (PDU), the sidelink channel carrying the first message is a sidelink shared channel SL-SCH, and the first terminal determines that it has not sent acknowledgment information to the network device at the first moment based on the priority of the physical uplink channel carrying acknowledgment information and the priority of the sidelink channel carrying the first message, including: if the priority of the physical uplink control channel carrying acknowledgment information at the first moment is lower than the priority of the physical sidelink shared channel PSSCH mapped by the sidelink shared channel, the first terminal determines that it has not sent acknowledgment information to the network device at the first moment.

[0019] In conjunction with the first aspect to the tenth possible implementation of the first aspect, in the eleventh possible implementation of the first aspect, the priority of the highest priority sidelink logical channel in the SL MAC PDU corresponding to the acknowledgment information is lower than the priority of the highest priority sidelink logical channel in the SL MAC PDU transmitted on the SL-SCH, and the first terminal determines that the priority of the physical uplink control channel carrying the acknowledgment information is lower than the priority of the PSSCH mapped by the SL-SCH carrying the SL MAC PDU.

[0020] In conjunction with the eleventh possible implementation of the first aspect, in the twelfth possible implementation of the first aspect, the physical uplink channel is the Physical Uplink Shared Channel (PUSCH), the first message is the Sidelink SL Media Access Control (MAC) Protocol Data Unit (PDU), and the sidelink channel carrying the first message is the Sidelink Shared Channel (SL-SCH). Based on the priority of the uplink channel carrying the acknowledgment information and the priority of the sidelink channel carrying the first message, the first terminal does not send acknowledgment information to the network device at the first moment, including: if the priority of the PUSCH is lower than the priority of the SL-SCH, the first terminal determines that it has not sent acknowledgment information to the network device at the first moment.

[0021] In conjunction with the first aspect to the twelfth possible implementation of the first aspect, in the thirteenth possible implementation of the first aspect, if the priority of the highest-priority uplink logical channel in the MAC PDU transmitted on the PUSCH is lower than the priority of the highest-priority sidelink logical channel in the MAC PDU transmitted on the SL-SCH, then the first terminal determines that the priority of the PUSCH is lower than the priority of the SL-SCH.

[0022] In conjunction with the first aspect to the thirteenth possible implementation of the first aspect, in the fourteenth possible implementation of the first aspect, if the priority of the highest priority sidelink logical channel in the SL MAC PDU corresponding to the confirmation information and the priority of the highest priority uplink logical channel in the MAC PDU transmitted on PUSCH are both lower than the priority of the highest priority sidelink logical channel in the MAC PDU transmitted on SL-SCH, then the first terminal determines that the priority of PUSCH is lower than the priority of SL-SCH.

[0023] In conjunction with the first aspect to the fourteenth possible implementation of the first aspect, in the fifteenth possible implementation of the first aspect, the method provided by the embodiments of this application further includes: when the priority of the physical uplink channel carrying the confirmation information is higher than the priority of the first message, or when the priority of the physical uplink channel carrying the confirmation information is higher than the priority of the sidelink channel carrying the first message, the first terminal determines to send the confirmation information to the network device at a first moment.

[0024] Secondly, embodiments of this application provide a method for processing side-link resources, comprising: a first terminal determining that it has not sent confirmation information for a first side-link Hybrid Automatic Repeat Request (HARQ) process to a network device at a first moment. This confirmation information is used to indicate whether a second terminal has correctly received a first data packet of the first side-link HARQ process sent by the first terminal to the second terminal on the first side-link resource. If the confirmation information indicates that the second terminal has not correctly received the first data packet, the first terminal determines a third side-link resource for retransmitting the first data packet. The first terminal then sends the first data packet to the second terminal through the third side-link resource.

[0025] This application provides a method for processing sidelink resources. In this method, if a first terminal determines that it has not sent an acknowledgment message to the network device at a first moment, and the acknowledgment message indicates that a second terminal has not correctly received a first data packet, the first terminal determines a third sidelink resource for retransmitting the first data packet. Then, it sends the first data packet to the second terminal on the third sidelink resource. This improves the reliability of sidelink transmission.

[0026] In conjunction with the second aspect, in a first possible implementation of the second aspect, in one possible implementation, the first terminal determines a third-side traverse resource for retransmitting the first data packet, including: the first terminal receiving a second-side traverse resource from a network device, the second-side traverse resource being associated with the first-side traverse HARQ process. The first terminal determines the second-side traverse resource as a third-side traverse resource. Accordingly, the first terminal sends the first data packet to the second terminal through the third-side traverse resource, including: the first terminal sending the first data packet to the second terminal through the second-side traverse resource.

[0027] In a second possible implementation of the second aspect, in conjunction with the second aspect or the first possible implementation of the second aspect, the first terminal determines a third-side traverse link resource for retransmitting the first data packet, including: the first terminal determines the first-side traverse link resource as the third-side traverse link resource. Correspondingly, the first terminal sends the first data packet to the second terminal via the third-side traverse link resource, including: the first terminal sends the first data packet to the second terminal via the first-side traverse link resource. This facilitates the first terminal retransmitting the first data packet using the first-side traverse link resource from which it previously sent the first data packet.

[0028] In conjunction with the second aspect to the second possible implementation, in the third possible implementation of the second aspect, the first terminal sends a first data packet to the second terminal through the third side traversal link resources, including: the first terminal sends the first data packet to the second terminal using the first side traversal link resources at a second time, the second time being obtained from the first time and a preset offset value.

[0029] In conjunction with the second aspect to the third possible implementation of the second aspect, in the fourth possible implementation of the second aspect, the method provided in this application embodiment further includes: a first terminal receiving indication information from a network device, the indication information being used to instruct the first terminal to determine the third-side hop link resource using a first method or a second method. The first method involves the first terminal determining the second-side hop link resource reallocated to it by the network device as the third-side hop link resource. The second method involves the first terminal determining the first-side hop link resource as the third-side hop link resource.

[0030] In the second aspect, the method by which the first terminal determines that it has not sent confirmation information to the network device at the first moment can be referred to the relevant description in the first aspect, and will not be repeated here.

[0031] Thirdly, this application provides a communication device that can implement the methods in the first aspect or any possible implementation of the first aspect, and therefore can also achieve the beneficial effects of the first aspect or any possible implementation of the first aspect. The communication device can be a first terminal, or it can be an apparatus that supports the first terminal in implementing the methods in the first aspect or any possible implementation of the first aspect, such as a chip applied in the first terminal. The device can implement the above methods through software, hardware, or by hardware executing corresponding software.

[0032] In one example, the communication device includes: a communication unit for sending and receiving information; and a processing unit for determining that, at a first moment, the communication unit has not performed the action of sending acknowledgment information for a first-side crosslink HARQ process to a network device. The acknowledgment information is used to indicate whether a second terminal has correctly received a first data packet from the first-side crosslink HARQ process sent by the communication device to the second terminal on the first-side crosslink resource. The processing unit is further configured to determine a second-side crosslink resource. If the acknowledgment information indicates that the second terminal has correctly received the first data packet, the processing unit is further configured to process the second-side crosslink resource according to HARQ parameters of the second-side crosslink resource. The HARQ parameters of the second-side crosslink resource include a new data indication.

[0033] In conjunction with the third aspect, in a first possible implementation of the third aspect, the processing unit is used to process the second-side traversal resource according to the HARQ parameters of the second-side traversal resource as follows: it is used to transmit a second data packet on the second-side traversal resource according to the HARQ parameters of the second-side traversal resource.

[0034] In conjunction with the third aspect or the first possible implementation of the third aspect, in the second possible implementation of the third aspect, the processing unit is used to process the second-side traversal resource according to the HARQ parameters of the second-side traversal resource as follows: it is used to ignore the second-side traversal resource according to the HARQ parameters of the second-side traversal resource.

[0035] In conjunction with the second possible implementation of the third aspect, in the third possible implementation of the third aspect, the HARQ parameter further includes a HARQ process number. The first-side cross-link HARQ process is associated with a first variable, and the value of the first variable is either a first parameter value or a second parameter value. The first parameter value indicates that the second terminal correctly received the first data packet, and the second parameter value indicates that the second terminal did not correctly receive the first data packet. The processing unit is configured to ignore the second-side cross-link resources based on the HARQ parameters of the second-side cross-link resources: When NDI indicates a retransmission, the HARQ process number is the process number of the first-side cross-link HARQ process, and the value of the first variable is the first parameter value, the second-side cross-link resources are ignored.

[0036] In conjunction with the third aspect to the third possible implementation, in the fourth possible implementation of the third aspect, the processing unit is specifically used to ignore the second-side cross-link resources when the NDI indicates retransmission, the HARQ process number is the process number of the first-side cross-link HARQ process, and the HARQ buffer of the first-side cross-link HARQ process is empty.

[0037] In conjunction with the third aspect to the fourth possible implementation of the third aspect, in the fifth possible implementation of the third aspect, the processing unit is further configured to determine that the first data packet has been successfully received by the second terminal and clear the HARQ cache of the first side link HARQ process.

[0038] In conjunction with the third aspect to the fifth possible implementation of the third aspect, in the sixth possible implementation of the third aspect, the processing unit is used to transmit the second data packet on the second side traversal resource according to the HARQ parameters of the second side traversal resource: when the NDI indicates a new transmission, and the HARQ process number is the process number of the first side traversal HARQ process, and the value of the first variable is the value of the first parameter, the second data packet is transmitted on the second side traversal resource.

[0039] In conjunction with the seventh possible implementation of the third aspect, in the eighth possible implementation of the third aspect, the processing unit is used to transmit the second data packet on the second side traversal resource according to the HARQ parameters of the second side traversal resource: it is used to transmit the second data packet on the second side traversal resource when NDI indicates a new transmission.

[0040] In conjunction with the eighth possible implementation of the third aspect, in the ninth possible implementation of the third aspect, the processing unit is specifically configured to determine that the communication unit did not perform the action of sending confirmation information to the network device at the first moment by: determining that the moment of sending confirmation information and the moment when the first terminal sends the first message are both the first moment. If the priority of the physical uplink channel carrying the confirmation information is lower than the priority of the first message, or if the priority of the physical uplink channel carrying the confirmation information is lower than the priority of the sidelink channel carrying the first message, then it is determined that the communication unit did not perform the action of sending confirmation information to the network device at the first moment.

[0041] In conjunction with the third aspect to the ninth possible implementation of the third aspect, in the tenth possible implementation of the third aspect, the first message is the message sent by the communication unit to the network device during the random access process.

[0042] In conjunction with the third aspect to the tenth possible implementation of the third aspect, in the eleventh possible implementation of the third aspect, the physical uplink channel is the physical uplink control channel, the first message is the sidelink SL Media Access Control MAC Protocol Data Unit (PDU), the sidelink channel carrying the first message is the sidelink shared channel SL-SCH, and the processing unit is used to determine, based on the priority of the physical uplink channel carrying the acknowledgment information and the priority of the sidelink channel carrying the first message, that the communication unit did not send acknowledgment information to the network device at the first moment: if the priority of the physical uplink control channel carrying the acknowledgment information at the first moment is lower than the priority of the physical sidelink shared channel PSSCH mapped by the sidelink shared channel, then the communication unit is used to determine that the communication unit did not send acknowledgment information to the network device at the first moment.

[0043] In conjunction with the eleventh possible implementation of the third aspect, in the twelfth possible implementation of the third aspect, the priority of the highest-priority sidelink logical channel in the SL MAC PDU corresponding to the acknowledgment information is lower than the priority of the highest-priority sidelink logical channel in the SL MAC PDU transmitted on the SL-SCH. The processing unit is used to determine that the priority of the physical uplink control channel carrying the acknowledgment information is lower than the priority of the PSSCH mapped by the SL-SCH carrying the SL MAC PDU.

[0044] In conjunction with the twelfth possible implementation of the third aspect, in the thirteenth possible implementation of the third aspect, the physical uplink channel is the Physical Uplink Shared Channel (PUSCH), the first message is the Sidelink SL Media Access Control (MAC) Protocol Data Unit (PDU), and the sidelink channel carrying the first message is the Sidelink Shared Channel (SL-SCH). The processing unit is configured to determine, based on the priority of the uplink channel carrying the acknowledgment information and the priority of the sidelink channel carrying the first message, that the communication unit did not send acknowledgment information to the network device at the first moment. If the priority of PUSCH is lower than the priority of SL-SCH, it is determined that the communication unit did not send acknowledgment information to the network device at the first moment.

[0045] In conjunction with the third aspect to the thirteenth possible implementation of the third aspect, in the fourteenth possible implementation of the third aspect, if the priority of the highest-priority uplink logical channel in the MAC PDU transmitted on the PUSCH is lower than the priority of the highest-priority sidelink logical channel in the MAC PDU transmitted on the SL-SCH, then the processing unit is used to determine that the priority of the PUSCH is lower than the priority of the SL-SCH.

[0046] In conjunction with the third aspect to the fourteenth possible implementation of the third aspect, in the fifteenth possible implementation of the third aspect, if the priority of the highest priority sidelink logical channel in the SL MAC PDU corresponding to the confirmation information and the priority of the highest priority uplink logical channel in the MAC PDU transmitted on PUSCH are both lower than the priority of the highest priority sidelink logical channel in the MAC PDU transmitted on SL-SCH, then the processing unit is used to determine that the priority of PUSCH is lower than the priority of SL-SCH.

[0047] In conjunction with the third aspect to the fifteenth possible implementation of the third aspect, in the sixteenth possible implementation of the third aspect, the processing unit is further configured to send confirmation information to the network device at the first moment through the communication unit when the priority of the physical uplink channel carrying confirmation information is higher than the priority of the first message, or the priority of the physical uplink channel carrying confirmation information is higher than the priority of the side link channel carrying the first message.

[0048] In another example, embodiments of this application provide a communication device, which may be a first terminal or a chip within the first terminal. When the communication device is a first terminal, the communication unit may be a transceiver or include one or more modules with information transmission and reception functions, and the processing unit may be a processor or include one or more modules with processing capabilities. The communication device may also include a storage unit. The storage unit may be a memory. The storage unit is used to store computer program code, which includes instructions. The processing unit executes the instructions stored in the storage unit to cause the first terminal to implement a method for processing side-link resources as described in the first aspect or any possible implementation of the first aspect. When the communication device is a chip within the first terminal, the processing unit may be a processor, and the communication unit may be collectively referred to as a communication interface. For example, the communication interface may be an input / output interface, pins, or circuits, etc. The processing unit executes the computer program code stored in the storage unit to enable the first terminal to implement a method for processing side-link resources as described in the first aspect or any possible implementation of the first aspect. The storage unit may be a storage unit within the chip (e.g., registers, caches, etc.) or a storage unit located outside the chip within the first terminal (e.g., read-only memory, random access memory, etc.).

[0049] Optionally, the processor, communication interface / transceiver, and memory are coupled together.

[0050] Fourthly, this application provides a communication device that can implement the methods of the first aspect or any possible implementation of the first aspect, and therefore can also achieve the beneficial effects of the second aspect or any possible implementation of the second aspect. The communication device can be a first terminal, or an apparatus that can support the first terminal in implementing the methods of the first aspect or any possible implementation of the first aspect, such as a chip applied in the first terminal. The device can implement the above methods through software, hardware, or by hardware executing corresponding software.

[0051] In one example, the communication apparatus includes: a processing unit configured to determine that, at a first moment, acknowledgment information regarding a first-side traverse hybrid automatic repeat request (HARQ) process was not sent to a network device. This acknowledgment information is used to indicate whether a second terminal correctly received a first data packet from the first-side traverse HARQ process sent to the second terminal by the first terminal on the first-side traverse resource. If the acknowledgment information indicates that the second terminal did not correctly receive the first data packet, the processing unit is further configured to determine a third-side traverse resource for retransmitting the first data packet. A communication unit is configured to send the first data packet to the second terminal via the third-side traverse resource.

[0052] In conjunction with the fourth aspect, in a first possible implementation of the fourth aspect, the communication unit is further configured to receive second-side traverse resources from the network device, the second-side traverse resources being associated with the first-side traverse HARQ process. The processing unit is further configured to determine the third-side traverse resources used for retransmitting the first data packet as follows: the second-side traverse resources are determined to be third-side traverse resources. Correspondingly, the communication unit is configured to send the first data packet to the second terminal via the third-side traverse resources as follows: the first data packet is sent to the second terminal via the second-side traverse resources.

[0053] In conjunction with the fourth aspect or the first possible implementation of the fourth aspect, in the second possible implementation of the fourth aspect, the processing unit is further configured to determine the third-side traverse resource for retransmitting the first data packet by: determining the first-side traverse resource as the third-side traverse resource. Correspondingly, the communication unit is configured to send the first data packet to the second terminal via the third-side traverse resource by: sending the first data packet to the second terminal via the first-side traverse resource.

[0054] In conjunction with the second possible implementation of the fourth aspect, in the third possible implementation of the fourth aspect, the communication unit is used to send the first data packet to the second terminal through the third side cross link resources, and is used to send the first data packet to the second terminal at the second time using the first side cross link resources, the second time being obtained from the first time and the preset offset value.

[0055] In conjunction with the third possible implementation of the fourth aspect, in the fourth possible implementation of the fourth aspect, the communication unit is further configured to receive indication information from the network device, which instructs the first terminal to determine the third side-link resource using either the first method or the second method. The first method involves the first terminal determining the second side-link resource reallocated to it by the network device as the third side-link resource. The second method involves the first terminal determining the first side-link resource as the third side-link resource. Alternatively, the first terminal may autonomously select the third side-link resource from a pre-configured side-link resource pool.

[0056] In the fourth aspect, the method by which the processing unit determines that the device has not sent confirmation information to the network device at the first moment can be referred to the relevant description in the third aspect, and will not be repeated here.

[0057] In another example, embodiments of this application provide a communication device, which can be a first terminal or a chip within the first terminal. When the communication device is a first terminal, the communication unit can be a transceiver. The processing unit can be a processor. The communication device may also include a storage unit. The storage unit can be a memory. The storage unit is used to store computer program code, which includes instructions. The processing unit executes the instructions stored in the storage unit to cause the first terminal to implement a method for processing side-link resources as described in the second aspect or any possible implementation of the second aspect. When the communication device is a chip within the first terminal, the processing unit can be a processor, and the communication unit can be collectively referred to as a communication interface. For example, the communication interface can be an input / output interface, pins, or circuits. The processing unit executes the computer program code stored in the storage unit to cause the first terminal to implement a method for processing side-link resources as described in the second aspect or any possible implementation of the second aspect. The storage unit can be a storage unit within the chip (e.g., a register, cache, etc.) or a storage unit located outside the chip within the first terminal (e.g., a read-only memory, random access memory, etc.).

[0058] Optionally, the processor, communication interface / transceiver, and memory are coupled together.

[0059] Fifthly, embodiments of this application provide a method for processing side-link resources, comprising: a first terminal sending confirmation information for a first side-link Hybrid Automatic Repeat Request (HARQ) process to a network device at a first moment. This confirmation information is used to instruct a second terminal to correctly receive the first data packet of the first side-link HARQ process sent by the first terminal to the second terminal on the first side-link resource. If the first terminal then receives a second side-link resource from the network device, and the confirmation information indicates that the second terminal has correctly received the first data packet, the first terminal processes the second side-link resource according to the HARQ parameters of the second side-link resource. The HARQ parameters of the second side-link resource include a New Data Indicator (NDI).

[0060] The fifth aspect of the solution applies to situations where the first terminal sends confirmation information for the first-side crosslink hybrid automatic repeat request (HARQ) process to the network device, but the network device does not receive the confirmation information.

[0061] In conjunction with the fifth aspect, in a first possible implementation of the fifth aspect, the first terminal processes the second-side traversal resource according to the HARQ parameters of the second-side traversal resource, including: the first terminal transmitting a second data packet on the second-side traversal resource according to the HARQ parameters of the second-side traversal resource.

[0062] In conjunction with the fifth aspect or the first possible implementation of the fifth aspect, in the second possible implementation of the fifth aspect, the first terminal processes the second-side traversal resource according to the HARQ parameters of the second-side traversal resource, including: the first terminal ignores the second-side traversal resource according to the HARQ parameters of the second-side traversal resource.

[0063] In conjunction with the second possible implementation of the fifth aspect, in the third possible implementation of the fifth aspect, the HARQ parameter further includes a HARQ process number. The method provided in this application embodiment further includes: associating a first variable with the first-side cross-link HARQ process, the value of the first variable being either a first parameter value or a second parameter value. The first parameter value indicates that the second terminal correctly received the first data packet, and the second parameter value indicates that the second terminal did not correctly receive the first data packet. The first terminal ignores the second-side cross-link resource based on the HARQ parameter of the second-side cross-link resource, including: when NDI indicates retransmission, and the HARQ process number is the process number of the first-side cross-link HARQ process, and the value of the first variable is the first parameter value, the first terminal ignores the second-side cross-link resource.

[0064] In conjunction with the third possible implementation of the fifth aspect, in the fourth possible implementation of the fifth aspect, the first terminal ignores the second-side traversal link resource according to the HARQ parameters of the second-side traversal link resource, including: when NDI indicates retransmission, and the HARQ process number is the process number of the first-side traversal link HARQ process, and the HARQ buffer of the first-side traversal link HARQ process is empty, the first terminal ignores the second-side traversal link resource.

[0065] In conjunction with the fifth aspect to the fourth possible implementation of the fifth aspect, in the fifth possible implementation of the fifth aspect, the method provided in the embodiments of this application further includes: the first terminal determines that the first data packet has been successfully received by the second terminal, and the first terminal clears the HARQ cache of the first side link HARQ process.

[0066] In conjunction with the fifth possible implementation of the fifth aspect to the fifth possible implementation, in the sixth possible implementation of the fifth aspect, the first terminal transmits a second data packet on the second side traversal link resource according to the HARQ parameters of the second side traversal link resource, including: when NDI indicates a new transmission, and the HARQ process number is the process number of the first side traversal link HARQ process, and the value of the first variable is the value of the first parameter, the first terminal transmits a second data packet on the second side traversal link resource.

[0067] In conjunction with the fifth aspect to the sixth possible implementation of the fifth aspect, in the seventh possible implementation of the fifth aspect, the first terminal transmits a second data packet on the second side traversal link resource according to the HARQ parameters of the second side traversal link resource, including: when NDI indicates a new transmission, the first terminal transmits a second data packet on the second side traversal link resource.

[0068] In conjunction with the seventh possible implementations of the fifth aspect, in the eighth possible implementation of the fifth aspect, the first terminal has sent acknowledgment information to the network device at the first moment, including: the first terminal determines that the moment of sending the acknowledgment information and the moment of sending the first message are both the first moment. If the priority of the physical uplink channel carrying the acknowledgment information is higher than the priority of the first message, or the priority of the physical uplink channel carrying the acknowledgment information is higher than the priority of the sidelink channel carrying the first message, the first terminal determines that it has sent acknowledgment information to the network device at the first moment. Since the moment of sending the acknowledgment information is the same as the moment the first terminal sends the first message, the moment of sending the acknowledgment information conflicts with the moment the first terminal sends the first message. Furthermore, since the priority of the physical uplink channel carrying the acknowledgment information is higher than the priority of the first message or the priority of the sidelink channel carrying the first message, the first terminal may prioritize sending the acknowledgment information to the network device at the first moment.

[0069] In conjunction with the fifth aspect to the seventh possible implementation of the fifth aspect, in the eighth possible implementation of the fifth aspect, the first message is a message sent by the first terminal to the network device during the random access process.

[0070] In conjunction with the eighth possible implementation of the fifth aspect, in the ninth possible implementation of the fifth aspect, the physical uplink channel is the physical uplink control channel, the first message is the sidelink SL Media Access Control MAC Protocol Data Unit (PDU), the sidelink channel carrying the first message is the sidelink shared channel SL-SCH, and the first terminal sends the acknowledgment information to the network device at the first moment according to the priority of the physical uplink channel carrying the acknowledgment information and the priority of the sidelink channel carrying the first message, including: when the priority of the physical uplink control channel carrying the acknowledgment information at the first moment is higher than the priority of the physical sidelink shared channel PSSCH mapped by the sidelink shared channel, the first terminal sends the acknowledgment information to the network device at the first moment.

[0071] In conjunction with the fifth aspect to the ninth possible implementation of the fifth aspect, in the tenth possible implementation of the fifth aspect, the priority of the highest priority sidelink logical channel in the SL MAC PDU corresponding to the acknowledgment information is higher than the priority of the highest priority sidelink logical channel in the SL MAC PDU transmitted on the SL-SCH, and the first terminal determines that the priority of the physical uplink control channel carrying the acknowledgment information is higher than the priority of the PSSCH mapped by the SL-SCH carrying the SL MAC PDU.

[0072] In conjunction with the fifth aspect to the tenth possible implementation, in the eleventh possible implementation of the fifth aspect, the physical uplink channel is the Physical Uplink Shared Channel (PUSCH), the first message is the sidelink SL Media Access Control (MAC) Protocol Data Unit (PDU), and the sidelink channel carrying the first message is the Sidelink Shared Channel (SL-SCH). The first terminal sends acknowledgment information to the network device at a first moment based on the priority of the uplink channel carrying the acknowledgment information and the priority of the sidelink channel carrying the first message, including: if the priority of PUSCH is higher than the priority of SL-SCH, the first terminal sends acknowledgment information to the network device at the first moment.

[0073] In conjunction with the eleventh possible implementation of the fifth aspect, in the twelfth possible implementation of the fifth aspect, if the priority of the highest-priority uplink logical channel in the MAC PDU transmitted on the PUSCH is higher than the priority of the highest-priority sidelink logical channel in the MAC PDU transmitted on the SL-SCH, then the first terminal determines that the priority of the PUSCH is higher than the priority of the SL-SCH.

[0074] In conjunction with the twelfth possible implementation of the fifth aspect, in the thirteenth possible implementation of the fifth aspect, if the priority of the highest-priority sidelink logical channel in the SL MAC PDU corresponding to the confirmation information and the priority of the highest-priority uplink logical channel in the MAC PDU transmitted on PUSCH are both higher than the priority of the highest-priority sidelink logical channel in the MAC PDU transmitted on SL-SCH, then the first terminal determines that the priority of PUSCH is higher than the priority of SL-SCH.

[0075] In conjunction with the fifth aspect to the thirteenth possible implementation of the fifth aspect, in the fourteenth possible implementation of the fifth aspect, the method provided in this application embodiment further includes: when the priority of the physical uplink channel carrying the confirmation information is lower than the priority of the first message, or when the priority of the physical uplink channel carrying the confirmation information is lower than the priority of the sidelink channel carrying the first message, the first terminal determines to send the first message to the network device at a first moment.

[0076] Sixthly, embodiments of this application provide a method for processing sidelink resources, comprising: a first terminal sending confirmation information of a first sidelink Hybrid Automatic Repeat Request (HARQ) process to a network device at a first moment. This confirmation information indicates that a second terminal has not correctly received a first data packet from the first sidelink HARQ process sent by the first terminal to the second terminal on the first sidelink resource. If the first terminal does not receive a second sidelink resource from the network device, the first terminal determines that the first sidelink resource is designated as a sidelink resource for retransmitting the first data packet. The first terminal retransmits the first data packet to the second terminal using the first sidelink resource.

[0077] This application provides a method for processing sidelink resources. In this method, a first terminal can send an acknowledgment message to a network device at a certain first moment. This acknowledgment message indicates that a second terminal has not correctly received a first data packet. However, if the first terminal does not receive second sidelink resources from the network device, it may indicate that the network device has not received the acknowledgment message indicating that the second terminal has not correctly received the first data packet. Therefore, the first terminal can utilize the first sidelink resources to retransmit the first data packet. This ensures the reliability of sidelink transmission.

[0078] In conjunction with the sixth aspect, in the first possible implementation of the sixth aspect, the first terminal retransmits the first data packet to the second terminal through the first side traversal link resources, including: the first terminal retransmits the first data packet to the second terminal at a second time using the first side traversal link resources, the second time being obtained from the first time and a preset offset value.

[0079] The specific process of the first terminal sending the confirmation information of the first side link hybrid automatic repeat request (HARQ) process to the network device at the first moment in the sixth aspect can be referred to the description in the fifth aspect, and will not be repeated here.

[0080] Seventhly, this application provides a communication device that can implement the methods in the fifth aspect or any possible implementation of the fifth aspect, and thus also achieve the beneficial effects of the fifth aspect or any possible implementation of the fifth aspect. The communication device can be a first terminal, or an apparatus that can support the first terminal in implementing the methods in the fifth aspect or any possible implementation of the fifth aspect, such as a chip applied in the first terminal. The device can implement the above methods through software, hardware, or by hardware executing corresponding software.

[0081] One example of a communication device includes: a processing unit configured to determine, at a first moment, that a communication unit of the communication device sends acknowledgment information regarding a first-side crosslink Hybrid Automatic Repeat Request (HARQ) process to a network device. This acknowledgment information is used to instruct a second terminal to correctly receive a first data packet from the communication unit sent to the second terminal on the first-side crosslink resource via the first-side crosslink HARQ process. The processing unit is configured to, upon receiving a second-side crosslink resource from the network device and upon the acknowledgment information indicating that the second terminal has correctly received the first data packet, process the second-side crosslink resource according to HARQ parameters of the second-side crosslink resource. The HARQ parameters of the second-side crosslink resource include a New Data Indication (NDI) and a HARQ process number.

[0082] The seventh aspect applies to situations where the communication unit of the communication device sends confirmation information for the first-side cross-link HARQ process to the network device, but the network device does not receive the confirmation information.

[0083] In conjunction with the seventh aspect, in a first possible implementation of the seventh aspect, the processing unit is used to process the second-side traversal resource according to the HARQ parameters of the second-side traversal resource, namely: to transmit the second data packet on the second-side traversal resource according to the HARQ parameters of the second-side traversal resource.

[0084] In conjunction with the seventh aspect or the first possible implementation of the seventh aspect, in the second possible implementation of the seventh aspect, the processing unit is used to process the second-side traversal resource according to the HARQ parameters of the second-side traversal resource as follows: it is used to ignore the second-side traversal resource according to the HARQ parameters of the second-side traversal resource.

[0085] In conjunction with the second possible implementation of aspects seven to seven, in the third possible implementation of aspect seven, the HARQ parameter further includes a HARQ process number. The first-side cross-link HARQ process is associated with a first variable, the value of which is either a first parameter value or a second parameter value. The first parameter value indicates that the second terminal correctly received the first data packet, and the second parameter value indicates that the second terminal did not correctly receive the first data packet. The processing unit is configured to ignore the second-side cross-link resources when NDI indicates a retransmission, the HARQ process number is the process number of the first-side cross-link HARQ process, and the value of the first variable is the first parameter value.

[0086] In conjunction with the third possible implementation of the seventh aspect, in the fourth possible implementation of the seventh aspect, the processing unit is used to ignore the second-side cross-link resource according to the HARQ parameters of the second-side cross-link resource: when NDI indicates retransmission, and the HARQ process number is the process number of the first-side cross-link HARQ process, and the HARQ buffer of the first-side cross-link HARQ process is empty, the second-side cross-link resource is ignored.

[0087] In conjunction with the fourth possible implementation of the seventh aspect, in the fifth possible implementation of the seventh aspect, the processing unit is further configured to determine that the first data packet has been successfully received by the second terminal and clear the HARQ cache of the first side link HARQ process.

[0088] In conjunction with the fifth possible implementation of the seventh aspect, in the sixth possible implementation of the seventh aspect, the processing unit is used to transmit the second data packet on the second-side traversal resource according to the HARQ parameters of the second-side traversal resource: when the NDI indicates a new transmission, and the HARQ process number is the process number of the first-side traversal HARQ process, and the value of the first variable is the value of the first parameter, the second data packet is transmitted on the second-side traversal resource.

[0089] In conjunction with the sixth possible implementation of the seventh aspect, in the seventh possible implementation of the seventh aspect, the communication unit is used to transmit the second data packet on the second side traversal resource according to the HARQ parameters of the second side traversal resource: it is used to transmit the second data packet on the second side traversal resource when NDI indicates a new transmission.

[0090] In conjunction with the seventh possible implementations of aspects seven to seven, in the eighth possible implementation of aspect seven, the processing unit is configured to determine that both the time of sending the acknowledgment information and the time of sending the first message are the first moment. If the priority of the physical uplink channel carrying the acknowledgment information is higher than the priority of the first message, or if the priority of the physical uplink channel carrying the acknowledgment information is higher than the priority of the sidelink channel carrying the first message, the processing unit is further configured to determine that the device sends the acknowledgment information to the network device at the first moment.

[0091] In conjunction with the seventh aspect to the eighth possible implementation of the seventh aspect, in the ninth possible implementation of the seventh aspect, the first message is a message sent by the device to the network device during the random access process.

[0092] In conjunction with the seventh aspect to the ninth possible implementation of the seventh aspect, in the tenth possible implementation of the seventh aspect, the physical uplink channel is a physical uplink control channel, the first message is a sidelink SL media access control MAC protocol data unit (PDU), the sidelink channel carrying the first message is a sidelink shared channel SL-SCH, and the processing unit is used to determine, based on the priority of the physical uplink channel carrying the acknowledgment information and the priority of the sidelink channel carrying the first message, whether the device should send acknowledgment information to the network device at the first moment. Specifically, if the priority of the physical uplink control channel carrying the acknowledgment information at the first moment is higher than the priority of the physical sidelink shared channel PSSCH mapped by the sidelink shared channel, the processing unit is used to determine whether the device should send acknowledgment information to the network device at the first moment.

[0093] In conjunction with the seventh aspect to the tenth possible implementation of the seventh aspect, in the eleventh possible implementation of the seventh aspect, the priority of the highest priority sidelink logical channel in the SL MAC PDU corresponding to the acknowledgment information is higher than the priority of the highest priority sidelink logical channel in the SL MAC PDU transmitted on the SL-SCH. The processing unit is used to determine that the priority of the physical uplink control channel carrying the acknowledgment information is higher than the priority of the PSSCH mapped by the SL-SCH carrying the SL MAC PDU.

[0094] In conjunction with the eleventh possible implementation of aspects seven to seven, in the twelfth possible implementation of aspect seven, the physical uplink channel is the Physical Uplink Shared Channel (PUSCH), the first message is the Sidelink SL Media Access Control (MAC) Protocol Data Unit (PDU), and the sidelink channel carrying the first message is the Sidelink Shared Channel (SL-SCH). The processing unit is configured to determine, based on the priority of the uplink channel carrying the acknowledgment information and the priority of the sidelink channel carrying the first message, whether to send acknowledgment information to the network device at the first moment. Specifically, if the priority of PUSCH is higher than the priority of SL-SCH, the unit determines whether to send acknowledgment information to the network device at the first moment.

[0095] In conjunction with the seventh aspect to the twelfth possible implementation of the seventh aspect, in the thirteenth possible implementation of the seventh aspect, if the priority of the highest-priority uplink logical channel in the MAC PDU transmitted on the PUSCH is higher than the priority of the highest-priority sidelink logical channel in the MAC PDU transmitted on the SL-SCH, then the processing unit is used to determine that the priority of the PUSCH is higher than the priority of the SL-SCH.

[0096] In conjunction with the seventh aspect to the thirteenth possible implementation, in the fourteenth possible implementation of the seventh aspect, if the priority of the highest-priority sidelink logical channel in the SL MAC PDU corresponding to the confirmation information and the priority of the highest-priority uplink logical channel in the MAC PDU transmitted on the PUSCH are both higher than the priority of the highest-priority sidelink logical channel in the MAC PDU transmitted on the SL-SCH, then the processing unit is used to determine that the priority of the PUSCH is higher than the priority of the SL-SCH.

[0097] In conjunction with the seventh aspect to the fourteenth possible implementation of the seventh aspect, in the fifteenth possible implementation of the seventh aspect, when the priority of the physical uplink channel carrying the confirmation information is lower than the priority of the first message, or when the priority of the physical uplink channel carrying the confirmation information is lower than the priority of the side link channel carrying the first message, the communication unit is used to determine to send the first message to the network device at the first moment.

[0098] In another example, embodiments of this application provide a communication device, which can be a first terminal or a chip within the first terminal. When the communication device is a first terminal, the communication unit can be a transceiver. The processing unit can be a processor. The communication device may also include a storage unit. The storage unit can be a memory. The storage unit is used to store computer program code, which includes instructions. The processing unit executes the instructions stored in the storage unit to cause the first terminal to implement a method for processing side-link resources as described in the fifth aspect or any possible implementation of the fifth aspect. When the communication device is a chip within the first terminal, the processing unit can be a processor, and the communication unit can be collectively referred to as a communication interface. For example, the communication interface can be an input / output interface, pins, or circuits. The processing unit executes the computer program code stored in the storage unit to cause the first terminal to implement a method for processing side-link resources as described in the fifth aspect or any possible implementation of the fifth aspect. The storage unit can be a storage unit within the chip (e.g., a register, cache, etc.) or a storage unit located outside the chip within the first terminal (e.g., a read-only memory, random access memory, etc.).

[0099] Optionally, the processor, communication interface / transceiver, and memory are coupled together.

[0100] Eighthly, this application provides a communication device that can implement the methods in the sixth aspect or any possible implementation of the sixth aspect, and thus also achieve the beneficial effects of the sixth aspect or any possible implementation of the sixth aspect. The communication device can be a first terminal, or an apparatus that can support the first terminal in implementing the methods in the sixth aspect or any possible implementation of the sixth aspect, such as a chip applied in the first terminal. The device can implement the above methods through software, hardware, or by hardware executing corresponding software.

[0101] One example of the communication apparatus includes: a communication unit for sending and receiving information; and a processing unit for determining, at a first moment, that the communication unit sends an acknowledgment message for a first side-link HARQ process to a network device. This acknowledgment message indicates that a second terminal has not correctly received a first data packet from the first terminal sent to the second terminal via the first side-link resource for the first side-link HARQ process. If the processing unit determines that the communication unit has not received a second side-link resource from the network device, it designates the first side-link resource as a side-link resource for retransmitting the first data packet. The communication unit is also configured to send the first data packet to the second terminal via the first side-link resource.

[0102] In one possible implementation, the communication unit is used to send a first data packet to the second terminal via side link resources. Specifically, the communication unit is used to send the first data packet to the second terminal at a second time using a first side link resource. The second time is obtained from the first time and a preset offset value.

[0103] The specific process by which the processing unit in the eighth aspect determines the confirmation information of the first side link HARQ process sent by the device to the network device at the first moment can be referred to the description in the sixth aspect, and will not be repeated here.

[0104] In another example, embodiments of this application provide a communication device, which can be a first terminal or a chip within the first terminal. When the communication device is a first terminal, the communication unit can be a transceiver. The processing unit can be a processor. The communication device may also include a storage unit. The storage unit can be a memory. The storage unit is used to store computer program code, which includes instructions. The processing unit executes the instructions stored in the storage unit to cause the first terminal to implement a method for processing side-link resources as described in the sixth aspect or any possible implementation of the sixth aspect. When the communication device is a chip within the first terminal, the processing unit can be a processor, and the communication unit can be collectively referred to as a communication interface. For example, the communication interface can be an input / output interface, pins, or circuits. The processing unit executes the computer program code stored in the storage unit to cause the first terminal to implement a method for processing side-link resources as described in the sixth aspect or any possible implementation of the sixth aspect. The storage unit can be a storage unit within the chip (e.g., a register, cache, etc.) or a storage unit located outside the chip within the first terminal (e.g., a read-only memory, random access memory, etc.).

[0105] Optionally, the processor, communication interface / transceiver, and memory are coupled together.

[0106] Ninthly, embodiments of this application provide a computer-readable storage medium storing a computer program or instructions that, when executed on a computer, cause the computer to perform a method for processing side-link resources as described in any of the possible implementations of the first aspect.

[0107] In a tenth aspect, embodiments of this application provide a computer-readable storage medium storing a computer program or instructions that, when executed on a computer, cause the computer to perform a method for processing side-link resources as described in any of the possible implementations of the second aspect.

[0108] Eleventhly, embodiments of this application provide a computer-readable storage medium storing a computer program or instructions that, when executed on a computer, cause the computer to perform a method for processing side-link resources as described in any of the possible implementations of the fifth aspect to the fifth aspect.

[0109] Twelfth, embodiments of this application provide a computer-readable storage medium storing a computer program or instructions that, when executed on a computer, cause the computer to perform a method for processing side-link resources as described in any of the possible implementations of the sixth aspect to the sixth aspect.

[0110] In a thirteenth aspect, embodiments of this application provide a computer program product including instructions that, when executed on a computer, cause the computer to perform a method for processing sidelink resources as described in the first aspect or various possible implementations of the first aspect.

[0111] In a fourteenth aspect, this application provides a computer program product including instructions that, when executed on a computer, cause the computer to perform a method for processing sidelink resources as described in the second aspect or various possible implementations of the second aspect.

[0112] In a fifteenth aspect, embodiments of this application provide a computer program product including instructions that, when executed on a computer, cause the computer to perform a method for processing sidelink resources as described in the fifth aspect or various possible implementations of the fifth aspect.

[0113] In a sixteenth aspect, this application provides a computer program product including instructions that, when executed on a computer, cause the computer to perform a method for processing sidelink resources as described in the sixth aspect or various possible implementations of the sixth aspect.

[0114] In a seventeenth aspect, embodiments of this application provide a communication system comprising: one or more communication devices as described in the third aspect, and a network device. Optionally, the communication system may further comprise: a second terminal.

[0115] In an eighteenth aspect, embodiments of this application provide a communication system comprising: one or more communication devices as described in the fourth aspect, and a network device. Optionally, the communication system may further include: a second terminal.

[0116] In a nineteenth aspect, embodiments of this application provide a communication system comprising: one or more communication devices described in the seventh aspect, and a network device. Optionally, the communication system may further include: a second terminal.

[0117] In a twentieth aspect, embodiments of this application provide a communication system comprising: one or more communication devices as described in the eighth aspect, and a network device. Optionally, the communication system may further include: a second terminal.

[0118] In a twentieth aspect, embodiments of this application provide a communication device including a processor and a storage medium, the storage medium storing instructions that, when executed by the processor, implement the method for processing side-link resources as described in the first aspect or various possible implementations of the first aspect.

[0119] In a twentieth aspect, embodiments of this application provide a communication device including a processor and a storage medium, the storage medium storing instructions that, when executed by the processor, implement the method for processing side-link resources as described in the second aspect or various possible implementations of the second aspect.

[0120] In a twentieth aspect, embodiments of this application provide a communication device including a processor and a storage medium storing instructions that, when executed by the processor, implement the method for processing side-link resources as described in the fifth aspect or various possible implementations of the fifth aspect.

[0121] In a twentieth aspect, embodiments of this application provide a communication device including a processor and a storage medium storing instructions that, when executed by the processor, implement the method for processing side-link resources as described in the sixth aspect or various possible implementations of the sixth aspect.

[0122] In a twentieth aspect, embodiments of this application provide a communication device comprising one or more modules for implementing the methods of the first, second, fifth, and sixth aspects described above. The one or more modules may correspond to each step in the methods of the first, second, fifth, and sixth aspects described above.

[0123] In a twenty-sixth aspect, embodiments of this application provide a chip including a processor and a communication interface coupled to the processor. The processor is configured to run computer programs or instructions to implement a method for processing side-link resources as described in the first aspect or various possible implementations of the first aspect. The communication interface is used to communicate with other modules outside the chip.

[0124] In a twentieth aspect, embodiments of this application provide a chip including a processor and a communication interface coupled to the processor. The processor is used to execute computer programs or instructions to implement a method for processing side-link resources as described in the second aspect or various possible implementations of the second aspect. The communication interface is used to communicate with other modules outside the chip.

[0125] In a twentieth aspect, embodiments of this application provide a chip including a processor and a communication interface coupled to the processor. The processor is used to execute computer programs or instructions to implement a method for processing sidelink resources as described in the fifth aspect or various possible implementations of the fifth aspect. The communication interface is used to communicate with other modules outside the chip.

[0126] In a twentieth aspect, embodiments of this application provide a chip including a processor and a communication interface coupled to the processor. The processor is used to execute computer programs or instructions to implement a method for processing side-link resources as described in the sixth aspect or various possible implementations of the sixth aspect. The communication interface is used to communicate with other modules outside the chip.

[0127] Specifically, the chip provided in this application embodiment also includes a memory for storing computer programs or instructions.

[0128] Any of the devices, computer storage media, computer program products, chips, or communication systems provided above are used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects of the corresponding solutions in the corresponding methods provided above, and will not be repeated here. Attached Figure Description

[0129] Figure 1 An architecture diagram of a communication system provided in an embodiment of this application;

[0130] Figure 2 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application;

[0131] Figures 3a-3d A diagram illustrating the feedback confirmation information between network devices and terminals;

[0132] Figures 4-9 A flowchart illustrating a method for transmitting cross-link resources provided in an embodiment of this application;

[0133] Figure 10 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application;

[0134] Figure 11 This is a schematic diagram of the structure of another communication device provided in the embodiments of this application;

[0135] Figure 12 This is a schematic diagram of the structure of a chip provided in an embodiment of this application. Detailed Implementation

[0136] To facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and role. For example, "first terminal" and "second terminal" are only used to distinguish different terminals and do not limit their order. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.

[0137] It should be noted that, in this application, the terms "exemplary" or "for example" are used to indicate that something is being described as an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0138] In this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0139] The technical solution of this application can be applied to various communication systems, such as: Long Time Evolution (LTE) systems, LTE Frequency Division Duplex (FDD) systems, LTE Time Division Duplex (TDD) systems, Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication systems, Public Land Mobile Network (PLMN) systems, Device to Device (D2D) network systems, Machine to Machine (M2M) network systems, and future 5G communication systems, etc.

[0140] The network architecture and service scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of network architecture and the emergence of new service scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems. The embodiments of this application use the application of the provided method in an NR system or a 5G network as an example for illustration.

[0141] Before introducing the embodiments of this application, let's first introduce the terms involved in the embodiments of this application:

[0142] 1) Sidelink (SL) refers to a link defined for direct communication between terminals. That is, a link where terminals communicate directly without going through a base station.

[0143] 2) Sidelink resources refer to the resources used by terminal 1 to transmit sidelink information with terminal 2 on the sidelink.

[0144] 3) Sidelink information refers to the sidelink data or control information transmitted between any two terminals on the sidelink, which can also be called the first data packet or V2X service.

[0145] The technical solutions in this application will now be described with reference to the accompanying drawings.

[0146] like Figure 1 As shown, Figure 1This application illustrates a communication system used in a method for transmitting cross-link resources according to an embodiment of the present application. The communication system includes one or more network devices (e.g., Figure 1 The network device 10 shown), one or more terminals (e.g., Figure 1 The first terminal 20, the second terminal 30, and the third terminal 40 are shown. Figure 1 Taking vehicles as an example, the terminal in China and Israel.

[0147] In this configuration, the first terminal 20 communicates with the network device 10, and the first terminal 20 communicates with the second terminal 30, and the second terminal 30 communicates with the third terminal 40. Of course, the second terminal 30 and the third terminal 40 can also communicate with the network device 10.

[0148] It should be noted that, Figure 1 The communication system shown may further include: a core network. Network device 10 can connect to this core network. The core network can be a 4G core network (e.g., evolved packet core (EPC)) or a 5G core network (5G core, 5GC), or the core network of various future communication systems. It also includes roadside units (RSUs). RSUs can provide various service information and data network access to each terminal in the system. For example, taking a vehicle as an example, the RSU can also provide functions such as non-stop toll collection and in-vehicle entertainment to each terminal in the system, greatly improving traffic intelligence.

[0149] Taking a 4G core network as an example, network device 10 can be an evolved Node B (eNB or eNodeB) in a 4G system. The first terminal 20 is a terminal capable of transmitting information with the eNB. The eNB accesses the EPC network through the S1 interface.

[0150] Taking a 5G core network as an example, network device 10 can be a next-generation node B (gNB) in the NR system, and the first terminal 20 is a terminal that can transmit information with the gNB. The gNB accesses the 5GC through the NG interface.

[0151] Of course, network device 10 can also be a 3rd generation partnership project (3GPP) protocol base station, or it can be a non-3GPP protocol base station.

[0152] The network device 10 and the first terminal 20 have a first transmission link. For example, the first transmission link can be a Uu link. The first terminal 20 and the second terminal 30 have a second transmission link. For example, the second transmission link can be a sidelink. The Uu link is used to transmit Uu services (information or data) sent by the network device 10 to the first terminal 20.

[0153] The first terminal 20 and the second terminal 30 can transmit V2X services to each other on the sidelink, which can also be referred to as the first data packet or sidelink information. The first terminal 20 can transmit uplink (UL) Uu services to the network device 10 on the Uu link, and can also receive downlink (DL) Uu services sent by the network device 10 on the Uu link.

[0154] The interface through which the first terminal 20 and the second terminal 30 communicate directly can be interface 1. For example, interface 1 can be called the PC5 interface, using a dedicated frequency band for vehicle networking (such as 5.9GHz). The interface between the first terminal 20 and the network device 10 can be called interface 2 (for example, the Uu interface), using a cellular network frequency band (such as 1.8GHz). The PC5 interface is generally used in scenarios such as V2X or D2D where direct communication between devices is possible.

[0155] The names of Interface 1 and Interface 2 mentioned above are merely examples, and the embodiments of this application do not limit the names of Interface 1 and Interface 2.

[0156] like Figure 1 As shown, Figure 1 This application illustrates a scenario provided by an embodiment, such as... Figure 1As shown, taking the first terminal 20 as vehicle X (hereinafter referred to as vehicle X) as an example, if vehicle X decides to perform an overtaking operation, vehicle X can send the first data packet in dialog box 50 (for example, the first data packet can be an overtaking instruction and vehicle X's current speed (for example, 75 km / h)) to the second terminal 30 located in front of it (for example, vehicle Y) on the first side traversal resource. This allows vehicle Y to receive X's current speed and overtaking instruction and then slow down to allow X to overtake safely. If vehicle Y receives X's current speed and overtaking instruction, vehicle Y can send back the information from dialog box 60 to vehicle X. After receiving the information from vehicle Y, vehicle X, upon confirming that vehicle Y has correctly received the overtaking instruction and vehicle X's current speed, can send back an ACK as confirmation information to network device 10. This allows network device 10 to confirm that the overtaking instruction and vehicle X's current speed sent to vehicle Y on the first side traversal resource have been correctly received by vehicle Y. However, since the timing of vehicle X sending an ACK to network device 10 may conflict with the random access message sent by vehicle X, vehicle X will prioritize sending a random access message to network device 10 and give up sending an ACK to network device 10.

[0157] Figure 1 The scenario shown is merely an example; other scenarios involving communication between terminals are also applicable to the solution in this application.

[0158] Normally, V2X services are transmitted on sidelink resources on sidelinks, while Uu services are transmitted on Uu resources on Uu links.

[0159] There are two ways for the first terminal 20 to obtain sidelink resource allocation. One is based on the resource allocation method scheduled by the network device 10, where the network device 10 schedules sidelink resources for the first terminal 20. The first terminal 20 can then transmit sidelink data or sidelink information to the second terminal 30 on the sidelink resources. The other method is for the first terminal 20 to autonomously select resource allocation from the resource pool. In this case, the first terminal 20 autonomously selects sidelink resources from the resource pool configured or pre-configured by the network device 10 through system messages or dedicated signaling, and then transmits sidelink data or sidelink information to the second terminal 30 on the autonomously selected sidelink resources.

[0160] The first terminal 20 or the second terminal 30 is a device with wireless communication capabilities that can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted. It can also be deployed on water (such as on ships) or in the air (e.g., on airplanes, balloons, and satellites). A terminal, also known as user equipment (UE), mobile station (MS), mobile terminal (MT), or terminal device, is a device that provides voice and / or data connectivity to a user. For example, terminals include handheld devices and vehicle-mounted devices with wireless connectivity. Currently, terminals can be: mobile phones, tablets, laptops, PDAs, mobile internet devices (MIDs), wearable devices (such as smartwatches, smart bracelets, pedometers, etc.), in-vehicle devices (such as cars, bicycles, electric vehicles, airplanes, ships, trains, high-speed trains, etc.), virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, smart home devices (such as refrigerators, televisions, air conditioners, electricity meters, etc.), intelligent robots, workshop equipment, wireless terminals in self-driving vehicles, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, or wireless terminals in smart homes, and flying equipment (such as intelligent robots, hot air balloons, drones, airplanes), etc. In one possible application scenario of this application, the terminal device is a terminal device that frequently operates on the ground, such as an in-vehicle device. In this application, for ease of description, the chip deployed in the above-mentioned device, such as a system-on-a-chip (SOC), a baseband chip, or other chip with communication functions, may also be referred to as a terminal.

[0161] The terminal can be a vehicle with corresponding communication functions, or an in-vehicle communication device, or other embedded communication device, or a user's handheld communication device, including mobile phones, tablets, etc.

[0162] Currently, vehicles can obtain real-time traffic information or receive information services through vehicle-to-vehicle (V2V), vehicle-to-infrastructure (V2I) communication (e.g., roadside units (RSUs)), vehicle-to-pedestrian (V2P) communication, or vehicle-to-network (V2N) communication. These communication methods can be collectively referred to as V2X communication (where X represents anything). The networks used for V2X communication are usually called vehicle-to-everything (V2X) networks.

[0163] When the various solutions described in the embodiments of this application are applied to V2X scenarios, they can be applied to the following fields: unmanned driving, automated driving (ADS), driver assistance (ADAS), intelligent driving, connected driving, intelligent network driving, and car sharing.

[0164] As an example, in this embodiment, the terminal can also be a wearable device. Wearable devices, also known as wearable smart devices, are a general term for devices that utilize wearable technology to intelligently design and develop everyday wearables, such as glasses, gloves, watches, clothing, and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not merely hardware devices; they achieve powerful functions through software support, data interaction, and cloud interaction. Broadly defined, wearable smart devices include those that are feature-rich, large in size, and can achieve complete or partial functionality without relying on a smartphone, such as smartwatches or smart glasses, as well as those that focus on a specific application function and require the use of other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.

[0165] Network device 10 is an entity used in conjunction with the first terminal 20 to transmit or receive signals. For example, it can be an access point (AP) in a WLAN, an evolved Node B (eNB or eNodeB) in LTE, a relay station or access point, or a vehicle-mounted device, wearable device, or a network device in a future 5G network or a network device in a future evolved PLMN network, etc.

[0166] Furthermore, in this embodiment of the invention, the network device provides services to a cell, and the terminal communicates with the network device through the transmission resources used by the cell (e.g., time-domain resources, frequency-domain resources, or time-frequency resources). The cell can be a cell corresponding to a network device (e.g., a base station). The cell can belong to a macro base station or a base station corresponding to a small cell. Small cells can include: metro cells, micro cells, pico cells, femto cells, etc. These small cells have the characteristics of small coverage area and low transmission power, making them suitable for providing high-speed data transmission services.

[0167] Figure 2 This diagram illustrates the hardware structure of a communication device according to an embodiment of this application. The hardware structures of the first terminal 20, the second terminal 30, and the network device 10 in this embodiment can be referenced as follows: Figure 2 The structure shown is that the communication device includes a processor 41, a communication line 44, and at least one transceiver. Figure 2 (The illustration is merely exemplary, using transceiver 43 as an example only).

[0168] Processor 41 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of programs according to the present application.

[0169] Communication line 44 may include a path for transmitting information between the aforementioned components.

[0170] Transceiver 43, using any transceiver-like device, is used to communicate with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.

[0171] Optionally, the communication device may also include a memory 42.

[0172] The memory 42 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory may exist independently and be connected to the processor via communication line 44. The memory may also be integrated with the processor.

[0173] The memory 42 stores computer execution instructions for implementing the scheme of this application, and the processor 41 controls the execution. The processor 41 executes the computer execution instructions stored in the memory 42, thereby implementing the strategy control method provided in the following embodiments of this application.

[0174] Optionally, the computer execution instructions in the embodiments of this application may also be referred to as application code, and the embodiments of this application do not specifically limit this.

[0175] In a specific implementation, as one example, processor 41 may include one or more CPUs, for example... Figure 2 CPU0 and CPU1 in the CPU.

[0176] In a specific implementation, as one example, the communication device may include multiple processors, for example... Figure 2 Processors 41 and 45 are included. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor here may refer to one or more devices, circuits, and / or processing cores used to process data (e.g., computer program instructions).

[0177] The following will combine Figures 4 to 5 This application provides a detailed description of a method for transmitting cross-link resources according to an embodiment.

[0178] It should be noted that the message names between network elements or the names of parameters in the messages in the following embodiments of this application are just examples. Other names may be used in the specific implementation. This application does not limit them in this respect.

[0179] It should be noted that the various embodiments of this application can be referenced or learned from each other. For example, the same or similar steps, method embodiments, communication system embodiments and device embodiments can be referenced from each other without limitation.

[0180] like Figure 3a As shown, on a Uu link, one way to ensure the reliability of data transmission between the terminal and network devices is to perform HARQ retransmission. The basic process of HARQ for uplink data transmission on a Uu link is as follows: Figure 3a As shown: 1. Network device 10 sends a Physical Downlink Control Channel (PDCCH) to the first terminal 20. This PDCCH schedules the first terminal 20 to transmit new uplink data. 2. The first terminal 20 sends uplink data to network device 10. 3. After receiving the uplink data, if network device 10 fails to decode it, it sends a PDCCH to the first terminal 20. This PDCCH is used to schedule the first terminal 20 to retransmit the uplink data that was not successfully decoded by network device 10 in the above steps. 4. After determining the retransmission resource location based on the PDCCH, the first terminal 20 retransmits the uplink data on the retransmission resource.

[0181] like Figure 3b As shown, the basic process of HARQ for downlink data transmission on the Uu link is as follows: 1. Network device 10 sends downlink data to the first terminal 20. 2. After receiving the downlink data, if decoding fails, the first terminal 20 sends a NACK to network device 10. 3. Upon receiving the NACK, network device 10 retransmits the downlink data. This allows the first terminal 20 to re-receive downlink data on a new physical downlink shared channel (PDSCH) according to the retransmission instruction. Network device 10 performs the downlink data retransmission. 4. If the first terminal 20 successfully decodes the downlink data, it sends an ACK to network device 10.

[0182] Network device 10 performs downlink data retransmission, including: network device 10 instructs the resource location of PDSCH through PDCCH, and PDSCH carries the retransmitted downlink data.

[0183] Currently in LTE systems, the basic HARQ process for sidelink data transmission is as follows: Figure 3cAs shown: 1. The first terminal 20 sends sidelink data (including new and retransmitted data) to the second terminal 30. 2. The second terminal 30 decodes the sidelink data. Since the first terminal 20 broadcasts sidelink data in the current LTE system, the second terminal 30 does not send ACK / NACK feedback to the first terminal 20 regardless of whether it successfully decodes the sidelink data. Because the first terminal 20 does not receive the ACK from the second terminal 30, it may mistakenly believe that the second terminal 30 has failed to decode the data. In subsequent processes, it may continue to retransmit the sidelink data to the second terminal 30 as in steps 2-M. However, since the second terminal 30 has successfully decoded the sidelink data, it will not decode the retransmitted sidelink data again. This causes the first terminal 20 to repeatedly send sidelink data, resulting in a waste of sidelink resources.

[0184] In the NR system, Sidelink supports unicast, multicast, and broadcast transmissions. For unicast and multicast transmissions, a retransmission mechanism based on HARQ feedback is supported. Under the resource allocation method based on network device scheduling, the HARQ process for sidelink data transmission is as follows: Figure 3d As shown:

[0185] 1. Network device 10 sends a PDCCH to the first terminal 20 to schedule the retransmission of sidelink data from the first terminal 20. 2. The first terminal 20 sends sidelink data to the second terminal 30. 3. After receiving the sidelink data, if decoding fails, the second terminal 30 sends a NACK to the first terminal 20. 4. The first terminal 20 sends a NACK to network device 10. 5. Network device 10 sends a PDCCH to the first terminal 20 to schedule the first terminal 20 to retransmit the sidelink data that the second terminal 30 failed to decode, i.e., sidelink data retransmission. 6. The first terminal 20 performs the sidelink retransmission.

[0186] However, the first terminal 20 may not receive the confirmation information from the second terminal 30. In this case, the first terminal 20 may be unsure whether the second terminal 30 has correctly received the sidelink data. Consequently, the first terminal 20 is unsure how to process the sidelink data subsequently.

[0187] However, as Figure 1As shown, when the first terminal 20 needs to send ACK / NACK confirmation information for sidelink data transmission to the network device 10, there may be a time conflict or overlap with other transmissions. For example, the time when the first terminal 20 sends ACK / NACK to the network device 10 may be the same as the time when the first terminal 20 sends the first message to the network device 10 or the first message to the second terminal 30, which can be called a conflict. If a conflict occurs, the first terminal 20 may discard the ACK / NACK sent to the network device 10. In this case, the network device 10 will not be able to receive the ACK / NACK from the first terminal 20, and therefore the network device 10 may not be able to know whether the sidelink data sent by the first terminal 20 to the second terminal 30 has been correctly received. If the network device 10 has not configured retransmission sidelink resources for the first terminal 20, the sidelink data that was not correctly received may not be retransmitted. Alternatively, if network device 10 blindly reallocates sidelink resources for retransmission to the first terminal 20 without knowing whether the sidelink data sent by the first terminal 20 to the second terminal 30 has been correctly received, but the sidelink data is correctly received by the second terminal 30, then how the first terminal 20 handles the sidelink resources for retransmission in this case is a problem that needs to be solved.

[0188] Based on this, in this embodiment, if the first terminal 20 determines that it did not send an acknowledgment message to the network device 10 at the first moment, and the acknowledgment message indicates that the second terminal 30 correctly received the first data packet, and if the first terminal 20 receives second-side traversal resources for retransmitting the first data packet in the first-side traversal HARQ process, as well as a new data indicator (NDI), then when this occurs, the first terminal 20 can process the second-side traversal resources according to the information from the first HARQ. Since the first data packet was correctly received by the second terminal 30, the first terminal 20 does not need to retransmit the first data packet on the second-side traversal resources. The first terminal can avoid unnecessary transmissions by ignoring the second-side traversal resources or transmitting other data packets besides the first data packet (e.g., the second data packet), and avoid unnecessary feedback from the second terminal 30.

[0189] This application provides a method for processing sidelink resources, wherein the execution subject of the method is a first communication device. The first communication device can be a first terminal 20 or a chip disposed in the first terminal 20. The second communication device in the method can be a second terminal 30 or a chip disposed in the second terminal 30. The following embodiment takes the first communication device as the first terminal 20 and the second communication device as the second terminal 30 as an example.

[0190] Figure 4 This application illustrates a method for processing side-link resources according to an embodiment of the present application. The method includes:

[0191] Step 401: The first terminal 20 determines that it did not send confirmation information for the first side-link HARQ process to the network device 10 at the first moment. This confirmation information is used to indicate whether the second terminal 30 has correctly received the first data packet of the first side-link HARQ process sent by the first terminal 20 to the second terminal 30 on the first side-link resource.

[0192] For example, the acknowledgment information can be HARQ information. The acknowledgment information can be either NACK or ACK. ACK indicates that the second terminal 30 correctly received the first data packet. NACK indicates that the second terminal 30 did not correctly receive the first data packet. Specifically, the first data packet can be a data packet sent by the first terminal 20 to the second terminal 30 via a sidelink on a first sidelink resource. This sidelink refers to the sidelink between the first terminal 20 and the second terminal 30. The first sidelink HARQ process is one or more sidelink HARQ processes of the first terminal 20 used for transmitting the first data packet.

[0193] It should be understood that the method provided in this application embodiment further includes, before step 401: the first terminal 20 sends a first data packet to the second terminal 30 on the first side of the crosslink resources. If the second terminal 30 correctly receives the first data packet, the second terminal 30 sends an ACK to the first terminal 20. If the second terminal 30 does not correctly receive the first data packet, the second terminal 30 sends a NACK to the first terminal 20.

[0194] The acknowledgment information of the first side-link HARQ process indicates that the acknowledgment information is used to reflect whether the first data packet associated with the first side-link HARQ process was correctly received.

[0195] It is understood that in the embodiments of this application, "correct reception" can also be replaced with "successful reception" or "successful decoding." In the embodiments of this application, "incorrect reception" can also be replaced with "unsuccessful reception" or "successful decoding." The following embodiments use "correct reception" and "incorrect reception" as examples.

[0196] In this embodiment, the first sidelink resource is the sidelink resource configured by network device 10 for the first terminal 20 to transmit the first data packet. Alternatively, the first sidelink resource is the sidelink resource selected by the first terminal 20 from the sidelink resource pool for transmitting the first data packet.

[0197] It is understandable that the first data packet can be a newly transmitted data packet. A newly transmitted data packet is the data packet that the first terminal 20 transmits to the second terminal 30 for the first time. Alternatively, the first data packet can be a retransmitted data packet. A retransmitted data packet is the data packet that the first terminal 20 transmits to the second terminal 30 for the Mth time. In other words, a retransmitted data packet is also a data packet that the first terminal 20 transmits to the second terminal 30 for a period of time. M is an integer greater than or equal to 2, and M is less than or equal to the maximum number of retransmissions of the first terminal 20. Or M is less than or equal to the maximum number of retransmissions of the first side link HARQ process.

[0198] The first moment is the moment when the first terminal 20 sends confirmation information to the network device 10.

[0199] The failure of the first terminal in this embodiment to send confirmation information of the first side-link HARQ process to the network device can also be understood as: the confirmation information cannot be transmitted, or the first terminal 20 gives up sending confirmation information to the network device 10.

[0200] Step 402: The first terminal 20 determines the second-side traversal link resources. The HARQ parameters of the second-side traversal link resources include the new data indicator (NDI).

[0201] Optionally, the HARQ parameter may also include the process ID (HARQ Process ID).

[0202] For example, the second-side hop link resource can be configured by network device 10 to the first terminal 20. That is, if the first terminal 20 does not send an acknowledgment message to the second terminal 30 at the first moment, and if network device 10 does not receive an acknowledgment message, network device 10 configures the second-side hop link resource for the first terminal 20.

[0203] For example, network device 10 sends a PDCCH to first terminal 20. This PDCCH is used to schedule the first terminal 20 to retransmit the first data packet, and it also indicates the location of the second-side traversal resource and the corresponding HARQ process ID. For instance, the downlink control information (DCI) carried by the PDCCH is used to schedule the SL grant, as well as the NDI and HARQ process ID corresponding to the SL grant. The SL grant is used to determine the location of the second-side traversal resource.

[0204] The second side link resource can be received by the first terminal 20 at a third time, which is after the first time.

[0205] It is understandable that the first terminal 20 receives the acknowledgment information when the second-side hop link resource is ACK and the first terminal 20 does not send acknowledgment information to the network device 10 at the first moment.

[0206] Step 403: If the confirmation information indicates that the second terminal 30 has correctly received the first data packet, the first terminal 20 processes the second-side link resources according to the HARQ parameters.

[0207] This application provides a method for processing side-link resources. In this method, if a first terminal, after determining that it did not send an acknowledgment to the network device at a first moment, and that the acknowledgment indicated that a second terminal correctly received a first data packet, receives second side-link resources, the first terminal can process these resources according to the HARQ parameters. Since the HARQ parameters of the second side-link resources include an NDI indicator (typically used to indicate retransmission or newtransmission), the first terminal can process these resources based on the HARQ parameters. Because the first data packet was correctly received by the second terminal, the first terminal does not need to retransmit it. Processing the second side-link resources avoids unnecessary transmissions by the first terminal and unnecessary feedback from the second terminal.

[0208] As another embodiment of this application, such as Figure 5 As shown, step 401 in this embodiment can be implemented in the following ways:

[0209] Step 4011: The first terminal 20 determines that the time to send the confirmation information and the time to send the first message are both the first moment.

[0210] That is, the time when the confirmation message is sent is the same as the time when the first terminal 20 sends the first message, meaning that the time when the confirmation message is sent and the time when the first terminal 20 sends the first message conflict or overlap in time.

[0211] The first terminal 20 can determine whether it failed to send acknowledgment information to the network device 10 at the first moment by comparing the priority of the physical uplink channel carrying the acknowledgment information with the priority of the first message, or by comparing the priority of the physical uplink channel carrying the acknowledgment information with the priority of the sidelink channel carrying the first message. For example, this can be achieved through step 4012:

[0212] Step 4012: If the priority of the physical uplink channel carrying the confirmation information is lower than the priority of the first message, or if the priority of the physical uplink channel carrying the confirmation information is lower than the priority of the sidelink channel carrying the first message, the first terminal 20 determines that it did not send the confirmation information to the network device 10 at the first moment.

[0213] For example, the time conflict or overlap between the time of sending the confirmation information and the time of sending the first message by the first terminal 20 includes the following:

[0214] Example 1-1) The first message is the message sent by the first terminal 20 to the network device 10 during the random access process.

[0215] For example, the first message can be message 1 (Msg1) during the random access procedure. Message 1 is sent via the physical random access channel (PRACH). Alternatively, the first message can be message 3 (Msg3) during the random access procedure. Message 3 is sent via the physical uplink shared channel (PUSCH).

[0216] In other words, if the first terminal 20 transmits the acknowledgment information via the physical uplink channel at the same time as sending message 1 or message 3 during the random access process, then the physical uplink channel carrying the acknowledgment information has a lower priority than message 1 or message 3. Therefore, the first terminal 20 prioritizes transmitting message 1 or message 3 and abandons transmitting the acknowledgment information. Consequently, the first terminal 20 does not send acknowledgment information to the network device 10 at the first moment.

[0217] (Example 1-2) The physical uplink channel is the physical uplink control channel (PUCCH), the first message is a sidelink medium access control (MAC) protocol data unit (PDU), and the sidelink channel carrying the first message is the sidelink shared channel (SL-SCH). That is, at the first moment, when the first terminal 20 needs to send acknowledgment information to the network device 10 via the PUCCH, it also needs to send an SL MAC PDU to the second terminal 20 or other terminals on the sidelink SL. This SL MAC PDU typically includes SL MAC service data units (SDUs) from one or more different sidelink logical channels. These different sidelink logical channels have different priorities.

[0218] Accordingly, in step 4012 of this application embodiment, the first terminal 20 determines that it has not sent confirmation information to the network device 10 at the first moment based on the priority of the physical uplink channel carrying confirmation information and the priority of the sidelink channel carrying the first message. This includes: if the priority of the PUCCH carrying confirmation information is lower than the priority of the physical sidelink shared channel (PSSCH) mapped by the SL-SCH at the first moment, the first terminal 20 has not sent confirmation information to the network device 10 at the first moment.

[0219] That is, if the priority of the PUCCH carrying the acknowledgment information is lower than the priority of the SL-SCH transmission, then the first terminal 20 will prioritize transmitting the SL-SCH / PSSCH and abandon the transmission of the PUCCH. Therefore, the first terminal 20 determines that it did not send the acknowledgment information to the network device 10 at the first moment.

[0220] In Examples 1-2), SL-SCH / PSSCH is transmitted first, while PUCCH transmission is abandoned and performed by the physical layer of the first terminal.

[0221] In this embodiment, the priority of the PUCCH carrying the acknowledgment information and the priority of the PSSCH mapped by the SL-SCH depend on the comparison between the priority of the highest priority sidelink logical channel in the SL MAC PDU corresponding to the acknowledgment information and the priority of the highest priority sidelink logical channel in the SL MAC PDU to be transmitted by the SL-SCH.

[0222] It should be understood that network device 10 can pre-configure resources for sending acknowledgment information on PUCCH for the first terminal 20.

[0223] The SL MAC PDU corresponding to the confirmation message refers to the SL MAC PDU to which the confirmation message is targeted.

[0224] For example, the highest priority sidelink logical channel in the SL MAC PDU corresponding to the acknowledgment information has a lower priority than the highest priority sidelink logical channel in the SL MAC PDU transmitted on the SL-SCH. The first terminal 20 determines that the priority of the uplink physical control channel transmitting the acknowledgment information is lower than the priority of the PSSCH mapped by the SL-SCH carrying the SL MAC PDU.

[0225] Example 1-3) The physical uplink channel is the physical uplink shared channel (PUSCH), the first message is the SL MAC PDU, and the sidelink channel carrying the first message is the SL-SCH.

[0226] The first terminal 20 determines whether to send confirmation information to the network device 10 at the first moment based on the priority of the physical uplink channel carrying the confirmation information and the priority of the side link channel carrying the first message. For example, the first terminal 20 determines that it does not send confirmation information to the network device 10 at the first moment based on the priority of the physical uplink channel carrying the confirmation information and the priority of the side link channel carrying the first message.

[0227] Accordingly, in step 4012 of this application embodiment, the first terminal 20 determines, based on the priority of the physical uplink channel carrying the confirmation information and the priority of the sidelink channel carrying the first message, that 20 did not send confirmation information to the network device 10 at the first moment, including:

[0228] If the priority of PUSCH is lower than the priority of SL-SCH, the first terminal 20 determines whether to send an acknowledgment message to the network device 10 at the first moment. For example, if the priority of PUSCH is lower than the priority of SL-SCH, the first terminal 20 determines that it did not send an acknowledgment message to the network device 10 at the first moment.

[0229] Since PUSCH can typically be used to transmit MAC PDUs sent by the first terminal 20 to the network device 10, when the acknowledgment information and the MAC PDUs transmitted on the PUSCH can reuse the PUSCH, regardless of whether the acknowledgment information to be transmitted on the PUSCH is ACK or NACK, the priority of PUSCH and SL-SCH can be determined by comparing the priority of the highest priority uplink logical channel in the MAC PDUs transmitted on the PUSCH with the highest priority sidelink logical channel in the MAC PDUs transmitted on the SL-SCH.

[0230] Optionally, the comparison and processing of the priority of PUSCH and SL-SCH in Examples 1-3 is performed by the MAC layer of the first terminal 20.

[0231] Referring to a possible example 1-3-1, if the priority of the highest-priority uplink logical channel in the MAC PDU transmitted on PUSCH is lower than the priority of the highest-priority sidelink logical channel in the MAC PDU transmitted on SL-SCH, then the first terminal determines that the priority of PUSCH is lower than the priority of SL-SCH.

[0232] It is understood that the MAC PDU transmitted on the PUSCH includes MAC SDUs from one or more uplink logical channels, which may have the same or different priorities. Similarly, the MAC PDU transmitted on the SL-SCH may also include MAC SDUs from one or more sidelink logical channels, which may have the same or different priorities.

[0233] For example, the highest priority uplink logical channel in the MAC PDU transmitted on PUSCH is uplink logical channel 1. The highest priority sidelink logical channel in the MAC PDU transmitted on SL-SCH is sidelink logical channel 1. If the priority of sidelink logical channel 1 is higher than the priority of uplink logical channel 1, then the first terminal 20 determines that the priority of PUSCH is lower than the priority of SL-SCH.

[0234] Referring to a possible example 1-3-2, if the priority of the highest-priority sidelink logical channel in the SL MAC PDU corresponding to the confirmation information and the priority of the highest-priority uplink logical channel in the MAC PDU transmitted on PUSCH are both lower than the priority of the highest-priority sidelink logical channel in the MAC PDU transmitted on SL-SCH, then the first terminal 20 determines that the priority of PUSCH is lower than the priority of SL-SCH.

[0235] For example, a) represents the priority of the highest-priority sidelink logical channel in the SL MAC PDU corresponding to the acknowledgment information. b) represents the priority of the highest-priority uplink logical channel in the MAC PDU transmitted on PUSCH. c) represents the priority of the highest-priority sidelink logical channel in the MAC PDU transmitted on SL-SCH. If the priority of a) or b) is higher than the priority of c), then the first terminal 20 determines that the priority of PUSCH is higher than the priority of SL-SCH / PSSCH, that is, PUSCH is transmitted, and the transmission of SL-SCH / PSSCH is abandoned. If the priorities of a) and b) are both lower than the priority of c), then the first terminal 20 determines that the priority of PUSCH is lower than the priority of SL-SCH / PSSCH, that is, SL-SCH / PSSCH is transmitted, and the transmission of PUSCH is abandoned.

[0236] Optionally, in Example 1-3-2, the comparison and processing of the priority of PUSCH and SL-SCH is performed by the MAC layer of the first terminal 20.

[0237] Alternatively, in this embodiment of the application, the first terminal 20 sends an acknowledgment message to the network device 10, but the network device 10 does not receive the acknowledgment message correctly. In this case, the first terminal 20 determines that it did not send an acknowledgment message to the network device 10.

[0238] As another embodiment of this application, such as Figure 5 or Figure 6 As shown, the method provided in this application embodiment further includes:

[0239] Based on a comparison of the priority of the physical uplink channel carrying the confirmation information, the priority of the first message, or the priority of the physical uplink channel carrying the confirmation information and the priority of the sidelink channel of the first message, the first terminal 20 prioritizes sending the confirmation information to the network device 10 at the first moment.

[0240] Specifically, in step 404, if the priority of the physical uplink channel carrying the confirmation information is higher than the priority of the first message, or if the priority of the physical uplink channel carrying the confirmation information is higher than the priority of the side link channel carrying the first message, the first terminal 20 determines to send the confirmation information to the network device 10 at the first moment.

[0241] For example, in this embodiment of the application, the first terminal 20 can determine that the priority of the physical uplink channel carrying the confirmation information is higher than the priority of the first message in the following way: if the priority of the physical uplink channel carrying the confirmation information is higher than the priority of message 1 or message 3, the first terminal 20 determines that the priority of the uplink channel carrying the confirmation information is higher than the priority of the first message.

[0242] For example, in this embodiment of the application, the first terminal 20 determines that the priority of the physical uplink channel carrying the acknowledgment information is higher than the priority of the side link channel carrying the first message in the following way: if the priority of the PUCCH carrying the acknowledgment information is higher than the priority of the SL-SCH transmission, the first terminal 20 determines that the priority of the physical uplink channel carrying the acknowledgment information is higher than the priority of the side link channel carrying the first message.

[0243] For example, if the priority of the highest-priority sidelink logical channel in the SL MAC PDU corresponding to the acknowledgment information is higher than the priority of the highest-priority sidelink logical channel in the SL MAC PDU transmitted on the SL-SCH, the first terminal 20 determines that the priority of the PUCCH carrying the acknowledgment information is higher than the priority of the SL-SCH transmission.

[0244] Referring to this implementation, in this embodiment of the application, the first terminal 20 determines that the priority of the physical uplink channel carrying the acknowledgment information is higher than the priority of the side link channel carrying the first message in the following way: if the priority of PUSCH is higher than the priority of SL-SCH, the first terminal 20 determines that the priority of the physical uplink channel carrying the acknowledgment information is higher than the priority of the side link channel carrying the first message.

[0245] For example, if the highest priority uplink logical channel in the MAC PDU transmitted on PUSCH has a higher priority than the highest priority sidelink logical channel in the MAC PDU transmitted on SL-SCH, then the first terminal determines that the priority of PUSCH is higher than the priority of SL-SCH.

[0246] For example, in Example 1-3-2, if the priority of a) or b) is higher than the priority of c), then the first terminal 20 determines that the priority of PUSCH is higher than the priority of SL-SCH / PSSCH, that is, transmit PUCCH and abandon the transmission of SL-SCH / PSSCH.

[0247] As another embodiment of this application, such as Figure 5 As shown, step 403 in this embodiment can be implemented through step 4031 or step 4032:

[0248] Step 4031: The first terminal transmits the second data packet on the second-side link resource according to the HARQ parameters.

[0249] The second data packet differs from the first data packet. The second data packet can be a newly transmitted data packet or a retransmitted data packet.

[0250] It should be noted that in this embodiment, the first terminal 20 may also associate a first variable (e.g., defined as SL_HARQ_Feedback) with each of the one or more sidelink HARQ processes of the first terminal 20. The first variable associated with any sidelink HARQ process reflects whether the data packets sent by the first terminal 20 to that sidelink HARQ process are correctly received by the other side. For example, in this embodiment, each sidelink HARQ process has a process ID. Associating each sidelink HARQ process with a first variable means that the process ID of each sidelink HARQ process is associated with a first variable.

[0251] For example, the method provided in this application embodiment further includes: the first terminal 20 determines a first variable associated with the first side-link HARQ process based on the process number carried in the HARQ parameters, where the process number is the process number of the first side-link HARQ process. This first variable reflects whether the second terminal 30 correctly received the first data packet. The value of the first variable can be a first parameter value or a second parameter value. The first parameter value indicates that the second terminal 30 correctly received the first data packet, and the second parameter value indicates that the second terminal 30 did not correctly receive the first data packet. That is, if the first terminal 20 determines that the second terminal 30 correctly received the first data packet, and if the first terminal 20 then receives a second side-link resource, the first terminal 20 can determine the value of the first variable of the HARQ process corresponding to the second side-link resource through the process number of the HARQ parameters corresponding to the second side-link resource. If the value of the first variable of the HARQ process corresponding to the second side-link resource is the first parameter value, the first terminal 20 determines that the second side-link resource is a resource for which retransmission of the first data packet is not required.

[0252] One possible implementation of step 4031 in this application embodiment is as follows: When NDI indicates a new transmission and the HARQ process number is the process number of the second-side crosslink HARQ process, if the value of the first variable associated with the first-side crosslink HARQ process is the first parameter value, the first terminal 20 transmits the second data packet to the second terminal 30 on the second-side crosslink resources. That is, the network device 10 instructs the first terminal 20 to transmit the second data packet to the second terminal 30 on the second-side crosslink resources via NDI.

[0253] Another possible implementation of step 4031 in this embodiment is as follows: When NDI indicates a new transmission and the HARQ process number is the process number of the second-side crosslink HARQ process, the first terminal 20 transmits a second data packet to the second terminal 30 on the second-side crosslink resources. This second data packet corresponds to the second-side crosslink HARQ process. That is, if network device 10 instructs the first terminal 20 to perform a new transmission via NDI, the first terminal 20 can transmit the second data packet corresponding to the second-side crosslink HARQ process on the second-side crosslink resources.

[0254] Furthermore, it can be understood that if the first terminal 20 determines that the HARQ buffer of the first side link HARQ process is empty when NDI indicates a new transmission, then the first terminal 20 can transmit the second data packet on the second side link resources.

[0255] It should be noted that if NDI indicates retransmission and the value of the first variable is the value of the second parameter, the first terminal 20 needs to retransmit the first data packet on the second-side link resources.

[0256] If NDI indicates a retransmission and the HARQ buffer of the first-side traversal link HARQ process is not empty, the first terminal 20 needs to transmit the first data packet on the second-side traversal link resources.

[0257] Step 4032: The first terminal ignores the second-side link resources according to the HARQ parameters.

[0258] In this embodiment of the application, the first terminal ignoring the second-side cross-link resources can be understood as: the first terminal does not use the second-side cross-link resources to transmit the first data packet.

[0259] Accordingly, as a possible implementation, step 4032 in this embodiment can be implemented in the following way: when NDI indicates retransmission, and the HARQ process number is the process number of the first side link HARQ process, and the value of the first variable associated with the first side link HARQ process is the first parameter value, the first terminal 20 ignores the second side link resources.

[0260] It should be noted that, since the network device 10 provides a process number to the first terminal 20 when allocating the second-side crosslink resources, if the HARQ process number included in the HARQ parameter is the same as the process number of the first-side crosslink HARQ process, the first terminal 20 can determine the parameter value of the first variable associated with the first-side crosslink HARQ process based on the process number of the first-side crosslink HARQ process.

[0261] It should be noted that the method provided in this application embodiment further includes: the first terminal 20 determining the value of the first variable associated with the first side link HARQ process based on the confirmation information from the second terminal 30.

[0262] Specifically, if the confirmation message is ACK, the first terminal determines that the value of the first variable associated with the HARQ process on the first side of the network is the first parameter value. If the confirmation message is NACK, the first terminal determines that the value of the first variable associated with the HARQ process on the first side of the network is the second parameter value.

[0263] As another possible implementation, step 4032 in this embodiment can be implemented in the following way: when NDI indicates retransmission and the HARQ(buffer) buffer of the first side link HARQ process is empty, the first terminal 20 ignores the second side link resources.

[0264] It is understood that the method provided in this application embodiment further includes: the first terminal 20 determines that the first data packet of the first side-link HARQ process has been successfully received by the second terminal 30, and the first terminal 20 clears the HARQ buffer of the first side-link HARQ process.

[0265] The above steps 401-404 mainly describe the process by which the first terminal 20 processes the second-side traversal resource according to its HARQ parameters when the first terminal 20 does not send an acknowledgment to the network device 10 at the first moment, and the acknowledgment indicates that the second terminal 30 has correctly received the first data packet. However, in practice, the second terminal 30 may have correctly received the first data packet, i.e., the acknowledgment is NACK. In this case, the first terminal 20 needs to retransmit the first data packet and needs to send a NACK back to the network device 10 at the first moment so that the network device 10 can determine that the first data packet was not correctly received and can allocate the second-side traversal resource for retransmission of the first data packet to the first terminal 20. However, since the first terminal 20 did not send a NACK back to the network device 10, the first terminal 20 can also process the first data packet through the following embodiment.

[0266] Combination Figure 6 This application provides a method for transmitting cross-link resources, comprising:

[0267] Step 601: The first terminal 20 determines that it did not send confirmation information for the first side-link HARQ process to the network device 10 at the first moment. This confirmation information is used to indicate whether the second terminal 30 has correctly received the first data packet of the first side-link HARQ process sent by the first terminal 20 to the second terminal 30 on the first side-link resource.

[0268] The specific implementation of step 601 can be found in the descriptions of steps 401, 4011 and 4012 above, and will not be repeated here.

[0269] Step 602: The first terminal 20 determines the third-side cross-link resources for retransmitting the first data packet.

[0270] For example, the third-side traversal resource used for retransmitting the first data packet can be obtained by the first terminal 20 from the network device 10. Alternatively, the third-side traversal resource used for retransmitting the first data packet can be selected by the first terminal 20.

[0271] Step 603: If the confirmation information indicates that the second terminal 30 has not correctly received the first data packet, the first terminal 20 sends the first data packet to the second terminal 30 through the third-side crosslink resources.

[0272] That is, if the confirmation information is NACK, the first terminal 20 needs to retransmit the third-side traverse link resources of the first data packet and then use those third-side traverse link resources to retransmit the first data packet.

[0273] Specifically, after the first moment, the first terminal 20 can send the first data packet to the second terminal 30 via the side link between the first terminal 20 and the second terminal 30 using the third side link resources.

[0274] This application provides a method for transmitting sidelink resources. In this method, if a first terminal determines that it has not sent an acknowledgment message to the network device at a first moment, it can determine the sidelink resources for retransmitting sidelink services and use the sidelink resources to retransmit the sidelink services to a second terminal. Compared with the prior art, where the first terminal is unsure how to handle sidelink services when it has not sent an acknowledgment message to the network device, this method can improve the reliability of sidelink data transmission.

[0275] Referring to another embodiment of this application, if the sidelink resources used for retransmitting the first data packet are configured by a network device, then as follows Figure 7 As shown, the method provided in this application embodiment may further include the following steps before step 602:

[0276] Step 604: The first terminal 20 receives second-side traversal resources from network device 10. The second-side traversal resources are associated with the first-side traversal HARQ process. This association means that the process ID corresponding to the second-side traversal resources is the same as the process ID of the first-side traversal HARQ process.

[0277] Specifically, the second-side traversing link resource is associated with the first-side traversing link HARQ process, which means that the HARQ process number contained in the down control information (DCI) of the second-side traversing link resource is the process number of the first-side traversing link HARQ process.

[0278] Accordingly, step 602 can be implemented in the following way: the first terminal 20 determines that the second-side traversal link resource is the third-side traversal link resource.

[0279] Accordingly, step 603 in this application embodiment can be implemented in the following way: the first terminal 20 sends the first data packet to the second terminal 30 on the second side link resource after the first moment.

[0280] Understandably, when the first terminal 20 needs to retransmit the first data packet of the first sidelink HARQ process m, it needs to send a NACK to the network device 10 for the first sidelink HARQ process m so that the network device 10 can determine that the first data packet was not received correctly based on the received NACK, and then decide whether to schedule second sidelink resources for the first terminal 20. However, since the first terminal 20 does not send a NACK to the network device 10 for the first sidelink HARQ process m at time n, the first terminal 20 can wait for the second sidelink resources (sidelink grant) scheduled by the network device 10 for the retransmission of the first data packet of the first sidelink HARQ process m. When the first terminal 20 receives the sidelink grant, the first terminal 30 uses the sidelink grant to retransmit the first data packet of the first sidelink HARQ process m to the second terminal.

[0281] If the sideline resources used for retransmitting the first data packet are determined by the first terminal 20, as a possible embodiment of this application, step 602 provided in this application embodiment can be implemented in the following way: when the confirmation information indicates that the second terminal 30 has not correctly received the first data packet, the first terminal 20 determines the first sideline resource as the third sideline resource.

[0282] The first sidelink resource can be the sidelink resource configured by network device 10 for the first terminal 20 to transmit the first data packet. Alternatively, the first sidelink resource can be the sidelink resource that the first terminal 20 selects autonomously from a pre-configured sidelink resource pool.

[0283] Accordingly, step 603 provided in this application embodiment can be implemented in the following way: the first terminal sends a first data packet to the second terminal using the first side link resources at a second time. The second time is after the first time.

[0284] For example, the second moment is obtained from the first moment and the preset offset value.

[0285] For example, the preset offset value in the embodiments of this application can be configured by the network device 10 to the first terminal 20, or the preset offset value can be determined by the first terminal 20 based on a predefined protocol.

[0286] For example, when the first terminal 20 determines that it needs to retransmit the first data packet of the first side-link HARQ process m, it needs to send a NACK to the network device 10 at time n. This allows the network device 10 to determine that the first data packet was not received correctly based on the received NACK, and then decide whether to schedule second-side-link resources for the first terminal 20. However, since the first terminal 20 does not send a NACK to the network device 10 at time n, the first terminal 20 can utilize the first-side-link resources from the previous transmission of the first data packet to retransmit the first data packet to the second terminal 30 at time n+X. Here, X represents a preset offset value, and n represents the first time.

[0287] In this embodiment, the first terminal 20 can determine whether to use a first method or a second method to determine the third-side crosslink resources through a predefined protocol. Of course, the first terminal 20's use of the first method or the second method to determine the crosslink resources can also be configured by the network device 10. When the network device 10 configures the first terminal 20 to use the first method or the second method to determine the third-side crosslink resources, it combines... Figure 7 The method provided in this application embodiment may further include the following before step 601:

[0288] Step 605: Network device 10 sends an instruction message to first terminal 20. This instruction message instructs first terminal 20 to determine the side-link resources using either a first method or a second method. The first method involves first terminal 20 determining the second side-link resource reallocated by network device 10 as the third side-link resource. The second method involves first terminal 20 determining the first side-link resource as the third side-link resource.

[0289] It is understandable that in the first mode, the first terminal 20 waits for the network device 10 to reallocate the second-side traversal link resources for the first terminal 20, and then determines the second-side traversal link resources as the third-side traversal link resources. If configured in the first mode, the first terminal 20 and the network device 10 negotiate in advance. If the first terminal 20 does not send an acknowledgment message to the network device 10, that is, if the network device 10 does not receive an acknowledgment message, the network device 10 assumes that the first data packet was not successfully received, and then the network device 10 can determine that it needs to allocate the second-side traversal link resources for the first terminal 20.

[0290] It is understandable that the second method involves the first terminal 20 retransmitting the first data packet using the first-side crosslink resources from the previous transmission of the first data packet after the first moment. If configured in the second method, the first terminal 20 and the network device 10 agree in advance that if the first terminal 20 does not send an acknowledgment message to the network device 10, that is, if the network device 10 does not receive an acknowledgment message, then the network device 10 determines that it does not need to allocate second-side crosslink resources for the first terminal 20. In this way, the first terminal 20 can use the first-side crosslink resources to retransmit the first data packet.

[0291] Step 606: The first terminal 20 receives instruction information from the network device 10.

[0292] Accordingly, the first terminal 20 determines, based on the instruction information, whether to use the first method or the second method to determine the side link resources.

[0293] It should be noted that if the first terminal 20 and the network device 10 have agreed in advance to determine the sidelink resources using either the first method or the second method, then steps 605 and 606 can be omitted. That is, steps 605 and 606 are optional steps.

[0294] It is understood that, in the embodiments of this application Figure 4 or Figure 5 The described solution can be combined with Figure 6 and Figure 7 The described solution is implemented as a complete solution, of course. Figure 4 or Figure 5 The described scheme can be implemented as a scheme to describe how the first terminal 20 handles the second-side traversal resources when the first terminal 20 does not send an acknowledgment message to the network device 10, and when the acknowledgment message indicates that the first data packet was correctly received, and the network device 10 reschedules the second-side traversal resources for the first terminal 20. Figure 6 and Figure 7 The described scheme is implemented as a scheme to describe how, when the first terminal 20 fails to send an acknowledgment message to the network device 10, and when the acknowledgment message indicates that the first data packet was not received correctly, the first terminal 20 re-determines the side link resources for retransmission to retransmit the first data packet to the second terminal 30.

[0295] like Figure 8 As shown, Figure 8 This application illustrates an embodiment of a method for processing side-link resources, including:

[0296] Step 801: The first terminal 20 sends an acknowledgment message for the first-side crosslink Hybrid Automatic Repeat Request (HARQ) process to the network device 10 at a first moment. This acknowledgment message is used to instruct the second terminal 30 to correctly receive the first data packet of the first-side crosslink HARQ process sent by the first terminal 20 to the second terminal 30 on the first-side crosslink resource.

[0297] Step 802: If the first terminal 20 receives a second-side crosslink resource from the network device 10.

[0298] Step 803: If the first terminal 20 determines that the second terminal 30 has correctly received the first data packet, the first terminal 20 processes the second-side traversal link resources according to the HARQ parameters of the second-side traversal link resources. The HARQ parameters of the second-side traversal link resources include NDI.

[0299] Figure 8 The proposed solution applies to situations where the first terminal 20 sends confirmation information for the first side crosslink HARQ process to the network device 10, but the network device 10 does not receive the confirmation information and then allocates second side crosslink resources to the first terminal 20.

[0300] Referring to one implementation of this application, step 803 in the embodiment of this application can be implemented in the following way: refer to step 4031 above, which will not be repeated here.

[0301] Referring to one implementation of this application, step 803 in the embodiment of this application can be implemented in the following way: step 4032 above can be referred to, and will not be repeated here.

[0302] Referring to another embodiment of this application, such as Figure 8 As shown, the method provided in this application embodiment further includes: the first terminal 20 determines that the first data packet has been successfully received by the second terminal 30, and the first terminal 20 clears the HARQ cache of the first side-link HARQ process.

[0303] For example, the first terminal transmits a second data packet on the second-side traversal link resource according to the HARQ parameters of the second-side traversal link resource, including: when NDI indicates a new transmission, and the HARQ process number is the process number of the first-side traversal link HARQ process, and the value of the first variable is the value of the first parameter, the first terminal transmits a second data packet on the second-side traversal link resource.

[0304] For example, step 801 can be implemented in the following way: the first terminal 20 determines that the time to send the confirmation information and the time to send the first message are both the first moment. If the priority of the physical uplink channel carrying the confirmation information is higher than the priority of the first message, or if the priority of the physical uplink channel carrying the confirmation information is higher than the priority of the sidelink channel carrying the first message, the first terminal 20 determines to send the confirmation information to the network device 10 at the first moment.

[0305] For example, the first message is the message sent by the first terminal 20 to the network device 10 during the random access process.

[0306] For example, the physical uplink channel is the physical uplink control channel, the first message is the sidelink SL Media Access Control MAC Protocol Data Unit (PDU), and the sidelink channel carrying the first message is the sidelink shared channel SL-SCH. The first terminal determines to send acknowledgment information to the network device at the first moment based on the priority of the physical uplink channel carrying the acknowledgment information and the priority of the sidelink channel carrying the first message. This includes: if the priority of the physical uplink control channel carrying the acknowledgment information at the first moment is higher than the priority of the physical sidelink shared channel PSSCH mapped by the sidelink shared channel, the first terminal determines to send acknowledgment information to the network device at the first moment.

[0307] For example, the highest priority sidelink logical channel in the SL MAC PDU corresponding to the acknowledgment information has a higher priority than the highest priority sidelink logical channel in the SL MAC PDU transmitted on the SL-SCH. The first terminal determines that the priority of the physical uplink control channel carrying the acknowledgment information is higher than the priority of the PSSCH mapped by the SL-SCH carrying the SL MAC PDU.

[0308] For example, the physical uplink channel is the Physical Uplink Shared Channel (PUSCH), the first message is the Sidelink SL Media Access Control (MAC) Protocol Data Unit (PDU), and the sidelink channel carrying the first message is the Sidelink Shared Channel (SL-SCH). The first terminal determines to send acknowledgment information to the network device at the first moment based on the priority of the uplink channel carrying the acknowledgment information and the priority of the sidelink channel carrying the first message. This includes: if the priority of PUSCH is higher than the priority of SL-SCH, the first terminal determines to send acknowledgment information to the network device at the first moment.

[0309] For example, if the highest priority uplink logical channel in the MAC PDU transmitted on the PUSCH has a higher priority than the highest priority sidelink logical channel in the MAC PDU transmitted on the SL-SCH, then the first terminal determines that the priority of the PUSCH is higher than the priority of the SL-SCH.

[0310] For example, if the priority of the highest-priority sidelink logical channel in the SL MAC PDU corresponding to the confirmation information and the priority of the highest-priority uplink logical channel in the MAC PDU transmitted on PUSCH are both higher than the priority of the highest-priority sidelink logical channel in the MAC PDU transmitted on SL-SCH, then the first terminal determines that the priority of PUSCH is higher than the priority of SL-SCH.

[0311] In another embodiment of this application, the method provided by this application further includes: when the priority of the physical uplink channel carrying the acknowledgment information is lower than the priority of the first message, or when the priority of the physical uplink channel carrying the acknowledgment information is lower than the priority of the sidelink channel carrying the first message, the first terminal prioritizes sending the first message at a first moment. That is, the acknowledgment information is abandoned.

[0312] like Figure 9 As shown, as another possible embodiment of this application, such as Figure 9 As shown, this application embodiment provides a method for processing side-link resources, including:

[0313] Step 901: The first terminal 20 determines to send an acknowledgment message for the first-side crosslink Hybrid Automatic Repeat Request (HARQ) process to the network device 10 at a first moment. This acknowledgment message is used to indicate that the second terminal 30 did not correctly receive the first data packet of the first-side crosslink HARQ process sent by the first terminal 20 to the second terminal 30 on the first-side crosslink resource.

[0314] The specific implementation of step 901 can be found in the description at step 801, and will not be repeated here.

[0315] Step 902: If the first terminal 20 does not receive the second-side traverse resource from the network device 10, the first terminal 20 determines that the first-side traverse resource is a third-side traverse resource.

[0316] The first sidelink resource can be the sidelink resource configured by network device 10 for the first terminal 20 to transmit the first data packet. Alternatively, the first sidelink resource can be the sidelink resource that the first terminal 20 selects autonomously from a pre-configured sidelink resource pool.

[0317] Specifically, the first terminal 20 is pre-configured to determine the side-link resources using the second method, or the first terminal 20 determines from the network device 10 to determine the side-link resources using the second method. The second method is: the first terminal 20 determines the first side-link resource as the third side-link resource.

[0318] Step 903: The first terminal 20 retransmits the first data packet to the second terminal 30 through the first side link resources.

[0319] The specific implementation of step 903 can be referred to step 603. It can be implemented in the following ways, which will not be elaborated here.

[0320] It should be understood that Figure 8 and Figure 9 If the content involved is related to Figures 5-7 If the contents are the same, then Figure 8 and Figure 9 The content mentioned above can be referenced. Figures 5-7 The description is already provided, so it will not be repeated here.

[0321] The above mainly describes the solutions of the embodiments of this application from the perspective of interaction between various network elements. It is understood that each network element, such as the first terminal, includes corresponding hardware structures and / or software modules to execute the above functions in order to achieve them. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0322] This application embodiment can divide the first terminal into functional units according to the method example described above. For example, each function can be divided into its own functional unit, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0323] The above combination Figures 1 to 9The methods of the embodiments of this application have been described. The apparatus for executing the above-described method for transmitting-side cross-link resources, provided in the embodiments of this application, will now be described. Those skilled in the art will understand that the methods and apparatus can be combined with and referenced in each other. The apparatus for transmitting-side cross-link resources provided in the embodiments of this application can execute the steps performed by the first terminal in the above-described method for transmitting-side cross-link resources.

[0324] When using integrated units, Figure 10 An apparatus for transmitting cross-link resources according to the above embodiments is shown. The apparatus may include a processing unit 101. Optionally, the apparatus may further include a communication unit 102.

[0325] In one example, the device for transmitting the cross-link resources is a first terminal, or a chip applied in the first terminal. In this case, the processing unit 101 is used to support the device for transmitting the cross-link resources in performing the actions performed by the first terminal in the above embodiments. Figure 4 Steps 401, 402, and 402 in the process.

[0326] In one possible embodiment, the processing unit 101 is further configured to support the means of transmitting side cross-link resources in executing steps 4011, 4012, 4031, and 4032 executed by the first terminal in the above embodiments. The communication unit 102 is further configured to support the means of transmitting side cross-link resources in executing step 404 executed by the first terminal in the above embodiments.

[0327] In another example, the device for transmitting the cross-link resources is a first terminal, or a chip applied in the first terminal. In this case, the processing unit 101 is used to support the device for transmitting the cross-link resources in performing steps 601 and 602 performed by the first terminal in the above embodiments. The communication unit 102 is used to support the device for transmitting the cross-link resources in performing step 603 performed by the first terminal in the above embodiments.

[0328] In one possible embodiment, the communication unit 102, the means for supporting the transmitting side link resources, executes steps 604 and 606 performed by the first terminal in the above embodiment.

[0329] In another example, the device for transmitting the cross-link resources is a first terminal, or a chip applied in the first terminal. In this case, the communication unit 102 is used to support the device for transmitting the cross-link resources in performing steps 801 and 802 performed by the first terminal in the above embodiments. The processing unit 101 is used to support the device for transmitting the cross-link resources in performing step 803 performed by the first terminal in the above embodiments.

[0330] In another example, the device for transmitting the cross-link resources is a first terminal, or a chip applied in the first terminal. In this case, the communication unit 102 is used to support the device for transmitting the cross-link resources in performing steps 901 and 903 performed by the first terminal in the above embodiments. The processing unit 101 is used to support the device for transmitting the cross-link resources in performing step 902 performed by the first terminal in the above embodiments.

[0331] When using integrated units, Figure 11 A schematic diagram of a possible logical structure of the apparatus for transmitting cross-link resources involved in the above embodiments is shown. The apparatus for transmitting cross-link resources includes a processing module 112 and a communication module 113. The processing module 112 is used to control and manage the operation of the apparatus for transmitting cross-link resources; for example, the processing module 112 is used to execute steps for information / data processing in the apparatus for transmitting cross-link resources. The communication module 113 is used to support the apparatus for transmitting cross-link resources in transmitting or receiving information / data.

[0332] In one possible embodiment, the means for transmitting side-link resources may further include a storage module 111 for storing program code and data that the means for transmitting side-link resources may contain.

[0333] In one example, the device for transmitting the cross-link resources is a first terminal, or a chip applied in the first terminal. In this case, the processing module 112 is used to support the device for transmitting the cross-link resources in performing the actions performed by the first terminal in the above embodiments. Figure 4 Steps 401, 402, and 402 in the process.

[0334] In one possible embodiment, the processing module 112 is further configured to support the means of transmitting side cross-link resources in executing steps 4011, 4012, 4031, and 4032 executed by the first terminal in the above embodiments. The communication module 113 is further configured to support the means of transmitting side cross-link resources in executing step 404 executed by the first terminal in the above embodiments.

[0335] In another example, the device for transmitting the cross-link resources is a first terminal, or a chip applied in the first terminal. In this case, processing module 112 is used to support the device for transmitting the cross-link resources in performing steps 601 and 602 performed by the first terminal in the above embodiments. Communication module 113 is used to support the device for transmitting the cross-link resources in performing step 603 performed by the first terminal in the above embodiments.

[0336] In one possible embodiment, the communication module 113, the means for supporting the transmitting side link resources, performs steps 604 and 606 performed by the first terminal in the above embodiment.

[0337] In another example, the device for transmitting the cross-link resources is a first terminal, or a chip applied in the first terminal. In this case, the communication module 113 is used to support the device for transmitting the cross-link resources in performing steps 801 and 802 performed by the first terminal in the above embodiments. The processing module 112 is used to support the device for transmitting the cross-link resources in performing step 803 performed by the first terminal in the above embodiments.

[0338] In another example, the device for transmitting the cross-link resources is a first terminal, or a chip applied in the first terminal. In this case, the communication module 113 is used to support the device for transmitting the cross-link resources in performing steps 901 and 903 performed by the first terminal in the above embodiments. The processing module 112 is used to support the device for transmitting the cross-link resources in performing step 902 performed by the first terminal in the above embodiments.

[0339] The processing module 112 can be a processor or controller, such as a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, etc. The communication module 113 can be a transceiver, transceiver circuitry, or a communication interface, etc. The storage module 111 can be a memory.

[0340] When the processing module 112 is a processor 41 or a processor 45, the communication module 113 is a transceiver 43, and the storage module 111 is a memory 42, the apparatus for transmitting-side link resources involved in this application can be... Figure 2 The communication device shown.

[0341] In one example, the communication device is a first terminal, or a chip applied in a first terminal. In this case, processor 41 or processor 45 is used to support the communication device in performing the actions performed by the first terminal in the above embodiments. Figure 4 Steps 401, 402, and 402 in the process.

[0342] In one possible embodiment, processor 41 or processor 45 is further configured to support the communication device in executing steps 4011, 4012, 4031, and 4032 performed by the first terminal in the above embodiments. Transceiver 43 is further configured to support the communication device in executing step 404 performed by the first terminal in the above embodiments.

[0343] In another example, the communication device is a first terminal, or a chip applied in a first terminal. In this case, processor 41 or processor 45 is used to support the communication device in performing steps 601 and 602 performed by the first terminal in the above embodiments. Transceiver 43 is used to support the communication device in performing step 603 performed by the first terminal in the above embodiments.

[0344] In one possible embodiment, transceiver 43 is used to support the communication device in performing steps 604 and 606 performed by the first terminal in the above embodiments.

[0345] In another example, the communication device is a first terminal, or a chip applied in a first terminal. In this case, transceiver 43 is used to support the communication device in performing steps 801 and 802 performed by the first terminal in the above embodiments. Processor 41 or processor 45 is used to support the communication device in performing step 803 performed by the first terminal in the above embodiments.

[0346] In another example, the communication device is a first terminal, or a chip applied in a first terminal. In this case, transceiver 43 is used to support the communication device in performing steps 901 and 903 performed by the first terminal in the above embodiments. Processor 41 or processor 45 is used to support the communication device in performing step 902 performed by the first terminal in the above embodiments.

[0347] Figure 12 This is a schematic diagram of the structure of chip 150 provided in an embodiment of this application. Chip 150 includes one or more (including two) processors 1510 and communication interfaces 1530.

[0348] Optionally, the chip 150 also includes a memory 1540, which may include read-only memory and random access memory, and provides operation instructions and data to the processor 1510. A portion of the memory 1540 may also include non-volatile random access memory (NVRAM).

[0349] In some implementations, memory 1540 stores elements such as execution modules or data structures, or subsets thereof, or extended sets thereof.

[0350] In this embodiment of the application, the corresponding operation is executed by calling the operation instructions stored in the memory 1540 (the operation instructions can be stored in the operating system).

[0351] One possible implementation is that the chips used in the first terminal have similar structures, and different devices can use different chips to achieve their respective functions.

[0352] The processor 1510 controls the processing operations of any one of the first terminals. The processor 1510 can also be called a central processing unit (CPU).

[0353] Memory 1540 may include read-only memory and random access memory, and provides instructions and data to processor 1510. A portion of memory 1540 may also include NVRAM. For example, in an application, memory 1540, communication interface 1530, and memory 1540 are coupled together via bus system 1520, which may include, in addition to data bus, power bus, control bus, and status signal bus, etc. However, for clarity, in... Figure 12 The general labeled all buses as Bus System 1520.

[0354] The methods disclosed in the embodiments of this application can be applied to or implemented by the processor 1510. The processor 1510 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in the processor 1510 or by instructions in the form of software. The processor 1510 may be a general-purpose processor, a digital signal processor (DSP), an ASIC, a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 1540. Processor 1510 reads the information in memory 1540 and, in conjunction with its hardware, completes the steps of the above method.

[0355] In one possible implementation, the communication interface 1530 is used to perform... Figures 4-9 The first terminal in the illustrated embodiment receives and transmits data. Processor 1510 is used to execute... Figures 4-9 The processing steps of the first terminal in the illustrated embodiment.

[0356] The communication unit described above can be a communication interface of the device, used to receive signals from other devices. For example, when the device is implemented as a chip, the communication unit is the communication interface used by the chip to receive or send signals from other chips or devices.

[0357] Furthermore, embodiments of this application may provide a computer-readable storage medium storing instructions that, when executed, implement... Figure 4 , Figure 5 The function of the first terminal in China.

[0358] This application provides a computer-readable storage medium storing instructions that, when executed, implement... Figure 6 , Figure 7 The function of the first terminal in China.

[0359] This application provides a computer-readable storage medium storing instructions that, when executed, implement... Figure 8 The function of the first terminal in China.

[0360] This application provides a computer-readable storage medium storing instructions that, when executed, implement... Figure 9 The function of the first terminal in China.

[0361] This application provides a computer program product including instructions. The computer program product includes instructions that, when executed, implement... Figure 8 The function of the first terminal in China.

[0362] This application provides a computer program product including instructions. The computer program product includes instructions that, when executed, implement... Figure 9 The function of the first terminal in China.

[0363] This application provides a computer program product including instructions. The computer program product includes instructions that, when executed, implement... Figure 4 or Figure 5 The function of the first terminal in China.

[0364] This application provides a computer program product including instructions. The computer program product includes instructions that, when executed, implement... Figure 6 or Figure 7 The function of the first terminal in China.

[0365] This application provides a chip used in a first terminal. The chip includes at least one processor and a communication interface. The communication interface and the at least one processor are coupled. The processor is used to execute instructions to achieve, for example... Figure 4 or Figure 5 The function of the first terminal in China.

[0366] This application provides a chip used in a first terminal. The chip includes at least one processor and a communication interface. The communication interface and the at least one processor are coupled. The processor is used to execute instructions to achieve, for example... Figure 6 , Figure 7 The function of the first terminal in China.

[0367] This application provides a chip used in a first terminal. The chip includes at least one processor and a communication interface. The communication interface and the at least one processor are coupled. The processor is used to execute instructions to achieve, for example... Figure 8 The function of the first terminal in China.

[0368] This application provides a chip used in a first terminal. The chip includes at least one processor and a communication interface. The communication interface and the at least one processor are coupled. The processor is used to execute instructions to achieve, for example... Figure 9 The function of the first terminal in China.

[0369] This application provides a computer program product including instructions. The computer program product includes instructions that, when executed, implement... Figure 4 , Figure 5 or Figure 6 The function of the first terminal in China.

[0370] This application provides a chip used in a first terminal. The chip includes at least one processor and a communication interface. The communication interface and the at least one processor are coupled. The processor is used to execute instructions to achieve, for example... Figure 4 , Figure 5 , Figure 6 The function of the first terminal in China.

[0371] This application provides a communication system, which includes a first terminal, a second terminal, and a network device 10. The first terminal is used to perform... Figures 4-9 The steps performed by the first terminal are executed by the network device 10. Figures 4-9 The steps performed by network device 10.

[0372] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of this application are performed entirely or partially. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user equipment, or other programmable device. The computer program or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video disc (DVD); or it can be a semiconductor medium, such as a solid-state drive (SSD).

[0373] Although this application has been described herein in conjunction with various embodiments, those skilled in the art, by reviewing the accompanying drawings, the disclosure, and the appended claims, will understand and implement other variations of the disclosed embodiments in carrying out the claimed application. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple instances. A single processor or other unit can implement several functions listed in the claims. While different dependent claims may recite certain measures, this does not mean that these measures cannot be combined to produce good results.

[0374] Although this application has been described in conjunction with specific features and embodiments, it is obvious that various modifications and combinations can be made thereto without departing from the spirit and scope of this application. Accordingly, this specification and drawings are merely exemplary illustrations of this application as defined by the appended claims, and are considered to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Clearly, those skilled in the art can make various alterations and modifications to this application without departing from the spirit and scope of this application. Thus, if such modifications and modifications of this application fall within the scope of the claims of this application and their equivalents, this application is also intended to include such modifications and modifications.

Claims

1. A method for processing side-link resources, characterized in that, include: The first terminal determines that it did not send the confirmation information of the first side crosslink hybrid automatic repeat request (HARQ) process to the network device at the first moment. The confirmation information is used to indicate whether the second terminal correctly received the first data packet of the first side crosslink HARQ process sent by the first terminal to the second terminal on the first side crosslink resource. The first terminal receives the second-side cross-link resources and the HARQ parameters of the second-side cross-link resources sent by the network device; The first terminal device may, based on the HARQ parameters of the second-side traversal resource, either ignore the second-side traversal resource or transmit the second data packet on the second-side traversal resource. The HARQ parameters of the second-side link resource include New Data Indicator (NDI) and HARQ process number.

2. The method according to claim 1, characterized in that, The first terminal ignores the second-side cross-link resource based on the HARQ parameters of the second-side cross-link resource, including: When the NDI indicates retransmission, and the HARQ process number is associated with the process number of the first side link HARQ process, and the value of the first variable associated with the first side link HARQ process is the value of the first parameter, the first terminal ignores the second side link resource. Wherein, the first parameter value indicates that the second terminal correctly receives the first data packet of the first side-link HARQ process sent by the first terminal.

3. The method according to claim 1, characterized in that, The first terminal ignores the second-side cross-link resource based on the HARQ parameters of the second-side cross-link resource, including: When the NDI indicates a retransmission, and the HARQ process number is associated with the process number of the first side-link HARQ process, and the HARQ cache of the first side-link HARQ process is empty, the first terminal ignores the second side-link resource.

4. The method according to claim 3, characterized in that, The method further includes: If the first data packet of the first side-link HARQ process sent by the first terminal to the second terminal has been successfully received by the second terminal, the first terminal clears the HARQ cache of the first side-link HARQ process.

5. The method according to claim 2, characterized in that, The first terminal transmits a second data packet on the second-side traversal resource according to the HARQ parameters of the second-side traversal resource, including: When the NDI indicates a new transmission, and the HARQ process number is associated with the process number of the first side-link HARQ process, and the value of the first variable of the first side-link HARQ process is the value of the first parameter, the first terminal transmits the second data packet on the second side-link resource. Alternatively, if the NDI indicates a new transmission, the first terminal transmits the second data packet on the second side link resource.

6. The method according to claim 2, characterized in that, When the NDI indicates retransmission, and the HARQ process number is associated with the process number of the first side link HARQ process, and the value of the first variable associated with the first side link HARQ process number is the value of the second parameter: the first terminal determines the third side link resources for retransmitting the first data packet. The first terminal sends the first data packet to the second terminal through the third-side cross-link resources; The second parameter value indicates that the second terminal did not correctly receive the first data packet.

7. The method according to claim 6, characterized in that, The method further includes: The first terminal receives a second-side cross-link resource from the network device, and the second-side cross-link resource is associated with the first-side cross-link HARQ process. The first terminal determines the third-side cross-link resources for retransmitting the first data packet, including: The first terminal determines that the second-side crosslink resource is the third-side crosslink resource.

8. The method according to claim 6, characterized in that, The first terminal determines the third-side cross-link resources for retransmitting the first data packet, including: The first terminal identifies the first side traverse resource as the third side traverse resource.

9. The method according to any one of claims 6-8, characterized in that, The method further includes: The first terminal receives indication information from the network device, the indication information being used to instruct the first terminal to determine the third-side link resource using a first method or a second method; The first method is as follows: the first terminal determines the second-side crosslink resource reallocated by the network device to the first terminal as the third-side crosslink resource; The second method is: the first terminal determines the first side traversal resource as the third side traversal resource.

10. A communication device, characterized in that, include: The processor is configured to determine that at a first moment the transceiver has not performed the action of sending confirmation information of the first side crosslink hybrid automatic repeat request (HARQ) process to the network device, the confirmation information being used to indicate whether the second terminal has correctly received the first data packet of the first side crosslink HARQ process sent by the communication device to the second terminal on the first side crosslink resource; A transceiver is used to receive second-side hop link resources and HARQ parameters of the second-side hop link resources sent by network devices. The processor is also configured to ignore the second-side traversal resource or transmit a second data packet on the second-side traversal resource based on the HARQ parameters of the second-side traversal resource. The HARQ parameters of the second-side link resource include New Data Indicator (NDI) and HARQ process number.

11. The apparatus according to claim 10, characterized in that, The processor is specifically configured to ignore the second-side cross-link resources when the NDI indicates a retransmission, the HARQ process number is associated with the process number of the first-side cross-link HARQ process, and the value of the first variable associated with the first-side cross-link HARQ process is a first parameter value. Wherein, the first parameter value indicates that the second terminal correctly receives the first data packet of the first side-link HARQ process sent by the first terminal.

12. The apparatus according to claim 10, characterized in that, The processor is specifically configured to ignore the second-side cross-link resources when the NDI indicates a retransmission, the HARQ process number is associated with the process number of the first-side cross-link HARQ process, and the HARQ cache of the first-side cross-link HARQ process is empty.

13. The apparatus according to claim 12, characterized in that, The processor is further configured to clear the HARQ cache of the first sidelink HARQ process if the first data packet of the first sidelink HARQ process sent by the transceiver to the second terminal has been successfully received by the second terminal.

14. The apparatus according to claim 11, characterized in that, The processor is further configured to transmit a second data packet on the second side cross-link resource via the transceiver according to the HARQ parameters of the second side cross-link resource, including: When the NDI indicates a new transmission, and the HARQ process number is associated with the process number of the first side-link HARQ process, and the value of the first variable of the first side-link HARQ process is the first parameter value, the second data packet is transmitted on the second side-link resource through the transceiver. Alternatively, it can be used to transmit the second data packet on the second side link resource via the transceiver when the NDI indicates a new transmission.

15. The apparatus according to claim 11, characterized in that, When the NDI indicates retransmission, and the HARQ process number is associated with the process number of the first side-link HARQ process, and the value of the first variable associated with the first side-link HARQ process is the value of the second parameter: the processor is further configured to determine a third side-link resource for retransmitting the first data packet. The transceiver is also used to send the first data packet to the second terminal through the third-side cross-link resources; The second parameter value indicates that the second terminal did not correctly receive the first data packet.

16. The apparatus according to claim 15, characterized in that, The transceiver is also configured to receive second-side cross-link resources from the network device, the second-side cross-link resources being associated with the first-side cross-link HARQ process; The processor is specifically configured to determine that the second-side traverse resource is the third-side traverse resource.

17. The apparatus according to claim 15, characterized in that, The processor is specifically configured to determine the first side traverse resource as the third side traverse resource.

18. The apparatus according to any one of claims 15-17, characterized in that, The transceiver is also configured to receive indication information from the network device, the indication information being used to indicate whether the third-side link resource is determined using a first method or a second method; The first method is: determining the second-side cross-link resources reallocated by the network device to the device as the third-side cross-link resources; The second method is to determine the first side traversal resource as the third side traversal resource.

19. A chip, characterized in that, The chip includes at least one processor and a communication interface coupled to the at least one processor. The at least one processor is used to run computer programs or instructions to implement the method for processing side-link resources as described in any one of claims 1-9. The communication interface is used to communicate with other modules outside the chip.

20. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed, implement the method for processing side-link resources as described in any one of claims 1-9.

21. A communication system, characterized in that, include: The communication apparatus and network device as described in any one of claims 10-18.