A communication method, apparatus and system

By selecting side link resources located in the receiving terminal side line link discontinuous reception-activation time in V2X communication for data transmission, the problems of data reception failure and power consumption waste are solved, and the reliability of data transmission and efficient utilization of resources are achieved.

CN114286310BActive Publication Date: 2025-06-13HUAWEI TECH CO LTD

Patent Information

Application Number
CN202011116071.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-09-28
Filing Date
2020-10-16
Publication Date
2025-06-13
Estimated Expiration
2040-10-16

AI Technical Summary

Technical Problem

In V2X communication, the sender terminal mainly considers its own transmission needs when selecting side link resources, resulting in the receiving terminal failing to receive data due to various factors, resulting in waste of power consumption of the sender terminal.

Method used

The first terminal determines one or more side link resources, including at least a resource located in the side link discontinuous reception-activation time of the second terminal, and sends data to the second terminal on the resource to ensure that the receiver is in an activated state.

Benefits of technology

By ensuring that data is sent within the activation period of the receiver terminal, data transmission failure is avoided and power consumption waste of the sender terminal is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114286310B_ABST
    Figure CN114286310B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a communication method, device, and system, relating to the field of communication technologies. The method is used to solve the problems of how to avoid packet transmission failures and avoid power consumption waste of the sending terminal. The method includes: a first terminal determines one or more sidelink resources. At least one of the one or more sidelink resources includes a sidelink resource within the sidelink discontinuous reception - activation time of a second terminal. The first terminal sends data to the second terminal on a first sidelink resource among the one or more sidelink resources, and the first sidelink resource is within the sidelink discontinuous reception - activation time of the second terminal. This solution can be applied to fields such as driverless, autonomous driving, assisted driving, intelligent driving, connected driving, intelligent connected driving, car sharing, etc.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims the priority of a Chinese patent application with the application number 202011042899.5 and the application title "A Resource Selection and Usage Method under SL DRX" submitted to the National Intellectual Property Administration on September 28, 2020, the entire content of which is incorporated herein by reference. Technical Field

[0002] The embodiments of the present application relate to the field of communication technologies, and in particular, to a communication method, apparatus, and system. Background Art

[0003] With the evolution of communication technologies, the Internet of Everything is also accelerating. During the 14th version (Release, Rel-14) and Release 15 of the 3rd Generation Partnership Project (3GPP), support for vehicle-to-vehicle (V2V) and vehicle-to-everything (V2X) services was introduced in Long Term Evolution (LTE) to extend the 3GPP platform to the automotive industry. The sensing mechanism proposed by Rel-14 V2X allows a terminal to sense the usage of the spectrum as a basis for the terminal to select sidelink resources for transmitting data on the sidelink resources subsequently.

[0004] Although the sender terminal can sense sidelink resources to obtain one or more sidelink resources, and then the sender terminal can determine the sidelink resource carrying the data when sending data to the receiver terminal from the one or more sidelink resources. However, when the sender terminal selects sidelink resources, it mostly considers its own transmission requirements. For the sender terminal, although it can successfully send data, for the receiver terminal, the data may fail to be received due to various factors, which will inevitably waste the power consumption of the sender terminal. Summary of the Invention

[0005] The embodiments of the present application provide a communication method, apparatus, and system, which are used to solve the problems of how to avoid packet transmission failure and avoid wasting the power consumption of the sender terminal.

[0006] To solve the above technical problems, the embodiments of the present application provide the following technical solutions:

[0007] In a first aspect, an embodiment of the present application provides a communication method. This method is applied to a first terminal and includes: The first terminal determines one or more sidelink resources. Among them, at least one of the one or more sidelink resources is a sidelink resource located within the sidelink discontinuous reception - activation time of the second terminal. The first terminal sends data to the second terminal on a first sidelink resource among the one or more sidelink resources. This first sidelink resource is located within the sidelink discontinuous reception - activation time.

[0008] An embodiment of the present application provides a communication method. In this method, the first terminal first determines one or more sidelink resources. Then the first terminal sends data to the second terminal on a first sidelink resource among the one or more sidelink resources. Since this first sidelink resource is located within the sidelink discontinuous reception - activation time of the second terminal, and the second terminal is in an active state during the sidelink discontinuous reception - activation time of the second terminal. In this way, it can be ensured that when the first terminal sends data on this first sidelink resource, the second terminal is in a state where it can receive the data, which can not only avoid data transmission failures but also avoid wasting the power consumption caused by the first terminal sending data.

[0009] In a possible implementation manner of the present application, the number of sidelink resources located within a first time period among the one or more sidelink resources is greater than or equal to a first threshold. Among them, the start time of the first time period is the start time corresponding to the candidate resource set, or the start time of the first time period is the start time of the sidelink discontinuous reception - activation time, and the end time of the first time period is the end time of the sidelink discontinuous reception - activation time. In this way, it can be ensured that there is a certain number of sidelink resources available for the first terminal to select as resources for transmitting this data during the sidelink discontinuous reception - activation time.

[0010] In a possible implementation manner of the present application, the one or more sidelink resources are sidelink resources determined from a candidate resource set, and the start time corresponding to the candidate resource set is later than or equal to the start time of the sidelink discontinuous reception - activation time. Since the start time corresponding to the candidate resource set is later than or equal to the start time of the sidelink discontinuous reception - activation time, it can be ensured that the sidelink resources in the candidate resource set are after the start time of the sidelink discontinuous reception - activation time. In addition, since the one or more sidelink resources are sidelink resources determined from the candidate resource set, it can be ensured that the one or more sidelink resources determined by the first terminal include resources located within the sidelink discontinuous reception - activation time.

[0011] In a possible implementation manner of the present application, the deadline corresponding to the candidate resource set is later than or equal to the end time of the sidelink discontinuous reception - activation time, so as to ensure that one or more sidelink resources determined by the first terminal include resources located within the sidelink discontinuous reception - activation time.

[0012] In a possible implementation manner of the present application, one or more sidelink resources are sidelink resources determined from a candidate resource set, and the deadline corresponding to the candidate resource set is earlier than or equal to the end time of the retransmission of data. Since the deadline corresponding to the candidate resource set is earlier than or equal to the end time of the retransmission of data, this can ensure that the first terminal selects resources for retransmitting data from the candidate resource set.

[0013] In a possible implementation manner of the present application, the first terminal determines one or more sidelink resources, including: the physical layer of the first terminal determines one or more sidelink resources from candidate sidelink resources. The physical layer reports one or more sidelink resources to the media access control entity of the first terminal. The method provided by the embodiments of the present application may further include: the media access control entity selects a first sidelink resource located within the sidelink discontinuous reception - activation time of the second terminal from one or more sidelink resources.

[0014] In a possible implementation manner of the present application, the method provided by the embodiments of the present application further includes: the media access control entity sends first information to the physical layer. The first information includes: information for indicating the end time of the sidelink discontinuous reception - activation time, or information for indicating the remaining time of the sidelink discontinuous reception - activation time. The physical layer of the first terminal determines one or more sidelink resources from candidate sidelink resources, including: the physical layer determines one or more sidelink resources from candidate sidelink resources according to the first information. So that when the physical layer of the first terminal reports one or more sidelink resources to the media access control entity of the first terminal, it can refer to the first information, so that there are sidelink resources located within the sidelink discontinuous reception - activation time among the reported one or more sidelink resources.

[0015] In a possible implementation manner of the present application, the media access control entity sends first information to the physical layer, including: when the remaining time of the sidelink discontinuous reception - activation time is less than or equal to the remaining packet delay budget, the media access control entity sends first information to the physical layer.

[0016] In a possible implementation manner of the present application, the media access control entity does not send the first information to the physical layer. In this way, the physical layer can determine candidate sidelink resources according to the candidate resource set, and then determine one or more sidelink resources from the candidate sidelink resources. At this time, among the one or more sidelink resources reported by the physical layer, since the first information is not referenced, there may be one or more sidelink resources that include resources located at the sidelink discontinuous reception - activation time, or there may be sidelink resources that do not include resources located at the sidelink discontinuous reception - activation time. And it is determined by the media access control entity whether there are resources located at the sidelink discontinuous reception - activation time according to the sidelink discontinuous reception - activation time of the second terminal.

[0017] In a possible implementation manner of the present application, when the remaining time of the sidelink discontinuous reception - activation time is greater than or equal to the remaining packet delay budget, the media access control entity does not send the first information to the physical layer.

[0018] In a possible implementation manner of the present application, the first information further includes: information for indicating the start time of the sidelink discontinuous reception - activation time. This facilitates the physical layer to determine the start time of the sidelink discontinuous reception - activation time, so as to ensure as much as possible that the sidelink resources reported to the media access control entity are within the sidelink discontinuous reception - activation time. For example, one or more sidelink resources include resources whose distance from the start time of the sidelink discontinuous reception - activation time is less than the first time threshold.

[0019] In a possible implementation manner of the present application, when time unit 1 is before the start time of the sidelink discontinuous reception - activation time, the media access control entity of the first terminal sends the information for indicating the start time of the sidelink discontinuous reception - activation time to the physical layer of the first terminal, and time unit 1 is the moment when the physical layer of the first terminal determines to sense the sidelink resources.

[0020] In a possible implementation manner of the present application, the method provided in the embodiments of the present application further includes: the media access control entity of the first terminal does not send the information for indicating the start time of the sidelink discontinuous reception - activation time to the physical layer of the first terminal.

[0021] In a possible implementation manner of the present application, when time unit 1 is within the start time of the sidelink discontinuous reception - activation time, the media access control entity of the first terminal does not send the information for indicating the start time of the sidelink discontinuous reception - activation time to the physical layer of the first terminal, and time unit 1 is the moment when the physical layer of the first terminal determines to sense the sidelink resources.

[0022] In a possible implementation of the present application, the method provided by the present application may further include: the first terminal determines the retransmission end time of the data or the remaining retransmission time of the data. The first terminal determines the deadline corresponding to the candidate resource set according to the retransmission end time or the remaining retransmission time, and the deadline corresponding to the candidate resource set is earlier than or equal to the remaining retransmission time.

[0023] In a possible implementation of the present application, the method provided by the present application may further include: the media access control entity of the first terminal sends second information to the physical layer. The second information is used to indicate the retransmission end time of the data or to indicate the remaining retransmission time of the data. The first terminal determines the retransmission end time of the data or the remaining retransmission time of the data, including: the physical layer of the first terminal determines the retransmission end time or the remaining retransmission time according to the second information.

[0024] In a possible implementation of the present application, the second information is the retransmission end time or the remaining retransmission time. The process of the physical layer calculating the retransmission end time or the remaining retransmission time is omitted.

[0025] In a possible implementation of the present application, the second information is at least one of the number of retransmissions of the data, the duration of the RTT timer, and the duration of the retransmission timer. In this solution, the physical layer calculates the retransmission end time or the remaining retransmission time.

[0026] In a possible implementation of the present application, the retransmission end time is equal to the end time of the sidelink discontinuous reception - activation time + (RTT timer duration + retransmission timer duration) * number of retransmissions. Alternatively, the retransmission end time is equal to the end time of the sidelink discontinuous reception - activation time + retransmission timer duration * number of retransmissions.

[0027] In a possible implementation of the present application, if the remaining packet delay budget is less than the first value, or the remaining packet delay budget is less than the remaining retransmission time, the media access control entity provides the minimum value between the remaining packet delay budget and the retransmission end time to the physical layer.

[0028] In a possible implementation of the present application, the method provided by the embodiments of the present application further includes: if the number of sidelink resources within the first time period is less than or equal to the first threshold, then update the threshold for whether the candidate sidelink resources are excluded. The first terminal determines one or more sidelink resources from the candidate sidelink resources according to the updated threshold. This can ensure that the number of sidelink resources within the first time period is greater than or equal to the first threshold.

[0029] In a possible implementation of the present application, the number of sidelink resources within a second time period among one or more sidelink resources is greater than or equal to a second threshold; the second time period is determined by the end time of the sidelink discontinuous reception - activation time and the end time corresponding to the candidate resource set.

[0030] In a possible implementation of the present application, the first sidelink resource is used for initial transmission of data. The method provided by the embodiments of the present application further includes: a first terminal determines a second sidelink resource for retransmitting the data. The second sidelink resource is within the sidelink discontinuous reception - activation time or within a third time period. Wherein, the third time period is determined according to the first sidelink resource. In this way, it can be ensured that when the data transmission fails, the first terminal can retransmit the data using the second sidelink resource, improving the success rate of data transmission.

[0031] In a possible implementation of the present application, the time interval between the first sidelink resource and the second sidelink resource is greater than or equal to a minimum time interval.

[0032] In a possible implementation of the present application, when the resource pool where the first sidelink resource and the second sidelink resource are located is configured with physical sidelink feedback control channel resources, the time interval between the first sidelink resource and the second sidelink resource is greater than or equal to a minimum time interval.

[0033] In a possible implementation of the present application, when there is no sidelink resource for transmitting the data within the sidelink discontinuous reception - activation time, the first terminal triggers a process of selecting / reselecting sidelink resources.

[0034] In a possible implementation of the present application, when there is no sidelink resource for transmitting the data within the sidelink discontinuous reception - activation time and there is also no sidelink resource for retransmitting the data, the first terminal triggers a process of selecting / reselecting sidelink resources.

[0035] In a possible implementation of the present application, when there is no sidelink resource for retransmitting the data within the sidelink discontinuous reception - activation time, the first terminal triggers a process of selecting / reselecting sidelink resources.

[0036] In a possible implementation of the present application, if the sidelink resource for initial transmission of data is not within the sidelink discontinuous reception - activation time, the first sidelink resource is the sidelink resource for retransmitting the data.

[0037] In a possible implementation of the present application, the method provided by the embodiments of the present application further includes: If the sidelink resource for initial transmission of data is not within the sidelink discontinuous reception - activation time, the first terminal abandons sending data on the sidelink resource for initial transmission of data and the second sidelink resource for retransmission of data.

[0038] In a possible implementation of the present application, the method provided by the embodiments of the present application further includes: The first terminal determines a second terminal.

[0039] In a possible implementation of the present application, the first terminal determines the second terminal, including: The first terminal determines the second terminal from multiple terminals that need to receive the data sent by the first terminal.

[0040] In a possible implementation, the second terminal is the terminal with the highest priority among the above-mentioned multiple terminals. Or the priority of the data sent by the first terminal to the second terminal is higher than the priority of the data sent by the first terminal to the multiple terminals other than the second terminal.

[0041] In a possible implementation of the present application, the first terminal determines the second terminal, including: The first terminal determines a first sidelink resource from one or more sidelink resources. The first terminal determines the second terminal according to the first sidelink resource.

[0042] In a possible implementation of the present application, the first terminal determines the second terminal according to the first sidelink resource, including: The first terminal determines the terminal whose sidelink discontinuous reception - activation time includes the time domain position of the first sidelink resource as the second terminal.

[0043] In a second aspect, the embodiments of the present application provide a method, which includes: The first terminal determines a first sidelink resource for initial transmission of data. If the first terminal determines that the first sidelink resource is not within the sidelink DRX - activation time of the second terminal, the first terminal abandons sending data to the second terminal on the second sidelink resource for retransmitting the data.

[0044] In the embodiments of the present application, the abandonment of sending data to the second terminal on the second sidelink resource for retransmitting the data can also be understood as not using the sidelink grant, which means not sending data on the second sidelink resource indicated by the sidelink grant (for example, PSCCH and / or PSSCH).

[0045] Among them, the first authorization is the initial transmission authorization. For example, the sidelink resources determined by the first authorization are used for initial transmission data. The second authorization is the retransmission authorization. The sidelink resources indicated by the second authorization are used for retransmitting data. The second authorization corresponding to the first authorization is a grant used to transmit the same MAC PDU / transport block as the initial transmission grant.

[0046] In a possible implementation manner of the present application, the first terminal determining the first sidelink resources for initial transmission data may include: the first terminal determining the first authorization for initial transmission data, and the first terminal determining the sidelink resources indicated by the first authorization as the first sidelink resources for initial transmission data.

[0047] In a possible implementation manner of the present application, the method provided by the embodiments of the present application may further include: the first terminal determining second sidelink resources.

[0048] In a possible implementation manner of the present application, the first terminal determining second sidelink resources includes: the first terminal determining the second authorization corresponding to the first authorization. The first terminal determines the sidelink resources indicated by the second authorization as the second sidelink resources.

[0049] In a possible implementation manner of the present application, the first terminal abandoning sending data to the second terminal on the second sidelink resources for retransmitting the data includes: if the second sidelink resources are not within the DRX-active time of the second terminal, the first terminal abandons sending data to the second terminal on the sidelink resources indicated by the second authorization corresponding to the first authorization.

[0050] In a possible implementation manner of the present application, the method provided by the embodiments of the present application may further include: if the first terminal determines that the second sidelink resources are within the DRX-active time of the second terminal, then the first terminal sends data to the second terminal on the second sidelink resources for retransmitting the data.

[0051] In a possible implementation manner of the present application, the second terminal is any one of the multiple terminals with data to be transmitted, or the second terminal is the terminal with the highest priority among the multiple terminals with data to be transmitted.

[0052] In a third aspect, the embodiments of the present application provide a method, and the method includes: the first terminal determining the first sidelink resources for initial transmission data. If the first terminal determines that the first sidelink resources are not within the sidelink DRX-active time of the second terminal, then the first terminal sends data to the second terminal on the second sidelink resources for retransmitting the data.

[0053] In a possible implementation of the present application, the first terminal determining the first sidelink resource for initial transmission of data may include: the first terminal determining a first grant for initial transmission of data, and the first terminal determining the sidelink resource indicated by the first grant as the first sidelink resource for initial transmission of data.

[0054] In a possible implementation of the present application, the method provided by the embodiments of the present application may further include: the first terminal determining a second sidelink resource.

[0055] In a possible implementation of the present application, the first terminal determining a second sidelink resource includes: the first terminal determining a second grant corresponding to the first grant. The first terminal determines the sidelink resource indicated by the second grant as the second sidelink resource.

[0056] Wherein, the first grant is an initial transmission grant. For example, the sidelink resource determined by the first grant is used for initial transmission of data. The second grant is a retransmission grant. The sidelink resource indicated by the second grant is used for retransmission of data. The second grant corresponding to the first grant is a grant used to transmit the same MAC PDU / transport block as the initial transmission grant.

[0057] In a possible implementation of the present application, the first terminal sending data to the second terminal on the second sidelink resource for retransmitting the data includes: if the second sidelink resource is within the DRX-active time of the second terminal, the first terminal sends data to the second terminal on the second sidelink resource.

[0058] In a possible implementation of the present application, the second terminal is any one of multiple terminals that need to receive the data sent by the first terminal, or the second terminal is the terminal with the highest priority among the multiple terminals that need to receive the data sent by the first terminal.

[0059] Fourthly, the embodiments of the present application provide a method, which includes: if there is no sidelink resource for retransmitting data and / or sidelink resource for initial transmission of data within the sidelink discontinuous reception-active time of the second terminal, the first terminal triggers a process of selecting / reslecting a sidelink resource.

[0060] It should be noted that the technical solutions described in the above first aspect to fourth aspect can be used in combination or separately, and the embodiments of the present application do not make any limitations in this regard.

[0061] Fifth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction runs on a computer, the computer is caused to execute a communication method described in any possible implementation manner of the first aspect to the first aspect. The computer may be a first terminal.

[0062] Sixth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction runs on a computer, the computer is caused to execute a communication method described in any possible implementation manner of the second aspect to the second aspect. The computer may be a first terminal.

[0063] Seventh aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction runs on a computer, the computer is caused to execute a communication method described in any possible implementation manner of the third aspect to the third aspect. The computer may be a first terminal.

[0064] Eighth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction runs on a computer, the computer is caused to execute a communication method described in any possible implementation manner of the fourth aspect to the fourth aspect. The computer may be a first terminal.

[0065] Ninth aspect, an embodiment of the present application provides a computer program product including instructions. When the instructions run on a computer, the computer is caused to execute a communication method described in the first aspect or various possible implementation manners of the first aspect.

[0066] Tenth aspect, an embodiment of the present application provides a computer program product including instructions. When the instructions run on a computer, the computer is caused to execute a communication method described in the second aspect or various possible implementation manners of the second aspect.

[0067] Eleventh aspect, an embodiment of the present application provides a computer program product including instructions. When the instructions run on a computer, the computer is caused to execute a communication method described in the third aspect or various possible implementation manners of the third aspect.

[0068] Twelfth aspect, an embodiment of the present application provides a computer program product including instructions. When the instructions run on a computer, the computer is caused to execute a communication method described in the fourth aspect or various possible implementation manners of the fourth aspect.

[0069] In a thirteenth aspect, embodiments of the present application provide a communication device for implementing various methods in any of the various possible designs of the above-mentioned first aspect to the first aspect. The communication device may be the above-mentioned first terminal, or a device including the above-mentioned first terminal, or a component (such as a chip) applied to the first terminal. The communication device includes corresponding modules and units for implementing the above methods. The modules and units may be implemented by hardware, software, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.

[0070] In a fourteenth aspect, embodiments of the present application provide a communication device for implementing various methods in any of the various possible designs of the above-mentioned second aspect to the second aspect. The communication device may be the above-mentioned first terminal, or a device including the above-mentioned first terminal, or a component (such as a chip) applied to the first terminal. The communication device includes corresponding modules and units for implementing the above methods. The modules and units may be implemented by hardware, software, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.

[0071] In a fifteenth aspect, embodiments of the present application provide a communication device for implementing various methods in any of the various possible designs of the above-mentioned third aspect to the third aspect. The communication device may be the above-mentioned first terminal, or a device including the above-mentioned first terminal, or a component (such as a chip) applied to the first terminal. The communication device includes corresponding modules and units for implementing the above methods. The modules and units may be implemented by hardware, software, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.

[0072] In a sixteenth aspect, embodiments of the present application provide a communication device for implementing various methods in any of the various possible designs of the above-mentioned third aspect to the third aspect. The communication device may be the above-mentioned first terminal, or a device including the above-mentioned first terminal, or a component (such as a chip) applied to the first terminal. The communication device includes corresponding modules and units for implementing the above methods. The modules and units may be implemented by hardware, software, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.

[0073] In a seventeenth aspect, an embodiment of the present application provides a communication device, which includes a transceiver and at least one processor. Among them, the at least one processor communicates with the transceiver. When the communication device runs, the at least one processor executes computer-executable instructions or programs stored in a memory, so that the communication device executes the method according to any one of the various possible designs in the first aspect or any aspect of the first aspect described above. For example, the communication device may be a first terminal or a chip applied to the first terminal.

[0074] In an eighteenth aspect, an embodiment of the present application provides a communication device, which includes a transceiver and at least one processor. Among them, the at least one processor is coupled to the transceiver. When the communication device runs, the at least one processor executes computer-executable instructions or programs stored in a memory, so that the communication device executes the method according to any one of the various possible designs in the second aspect or any aspect of the second aspect described above. For example, the communication device may be a first terminal or a chip applied to the first terminal.

[0075] In a nineteenth aspect, an embodiment of the present application provides a communication device, which includes a transceiver and at least one processor. Among them, the at least one processor is coupled to the transceiver. When the communication device runs, the at least one processor executes computer-executable instructions or programs stored in a memory, so that the communication device executes the method according to any one of the various possible designs in the third aspect or any aspect of the third aspect described above. For example, the communication device may be a first terminal or a chip applied to the first terminal.

[0076] In a twentieth aspect, an embodiment of the present application provides a communication device, which includes a transceiver and at least one processor. Among them, the at least one processor is coupled to the transceiver. When the communication device runs, the at least one processor executes computer-executable instructions or programs stored in a memory, so that the communication device executes the method according to any one of the various possible designs in the fourth aspect or any aspect of the fourth aspect described above. For example, the communication device may be a first terminal or a chip applied to the first terminal.

[0077] In a possible implementation manner, the communication devices described in the seventeenth aspect and the eighteenth aspect may further include a memory. Among them, the memory is used to store computer-executable instructions or programs.

[0078] The memory described in any one of the seventeenth aspect to the twentieth aspect may also be replaced with a storage medium, and the embodiments of the present application do not limit this.

[0079] In a possible implementation, the memory described in either the seventeenth aspect or the eighteenth aspect may be an internal memory of the communication device. Of course, the memory may also be located outside the communication device, but at least one processor can still execute the computer-executable instructions or programs stored in the memory.

[0080] In a twenty-first aspect, an embodiment of the present application provides a communication device, which includes one or more modules for implementing the method in any one of the first aspect, the second aspect, the third aspect, and the fourth aspect. The one or more modules may correspond to each step in the method in any one of the first aspect, the second aspect, the third aspect, and the fourth aspect.

[0081] In a twenty-second aspect, an embodiment of the present application provides a chip, which includes a processor for reading and executing a computer program stored in a memory to execute the method in the first aspect and any possible implementation thereof.

[0082] In a twenty-third aspect, an embodiment of the present application provides a chip, which includes a processor for reading and executing a computer program stored in a memory to execute the method in the second aspect and any possible implementation thereof.

[0083] In a twenty-fourth aspect, an embodiment of the present application provides a chip, which includes a processor for reading and executing a computer program stored in a memory to execute the method in the third aspect and any possible implementation thereof.

[0084] In a twenty-fifth aspect, an embodiment of the present application provides a chip, which includes a processor for reading and executing a computer program stored in a memory to execute the method in the fourth aspect and any possible implementation thereof.

[0085] Optionally, the chip may be a single chip or a chip module composed of multiple chips.

[0086] Optionally, the chip system further includes a memory, and the memory is connected to the processor through a circuit or a wire.

[0087] Further optionally, the chip system further includes a communication interface. The communication interface is used for communicating with other modules outside the chip.

[0088] In a twenty-sixth aspect, an embodiment of the present application provides a communication system, which includes: a first terminal and a second terminal. Among them, the first terminal is used to execute the method in the first aspect and any possible implementation thereof, and the second terminal is used to receive data from the first terminal on a first sidelink resource within the sidelink discontinuous reception - activation time located at the second terminal.

[0089] Any of the devices, computer-readable storage media, computer program products, chips, or communication systems provided above is used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding solutions in the corresponding methods provided above, which will not be elaborated here. Description of the Drawings

[0090] Figure 1 It is an architecture diagram of a communication system provided by an embodiment of the present application;

[0091] Figure 2 It is a schematic structural diagram of a communication device provided by an embodiment of the present application;

[0092] Figure 3 It is a schematic diagram of the DRX cycle of a terminal on the Uu interface provided by an embodiment of the present application;

[0093] Figure 4 It is a schematic diagram of another DRX cycle of a terminal on the Uu interface provided by an embodiment of the present application;

[0094] Figure 5 It is a schematic flowchart of a communication method provided by an embodiment of the present application;

[0095] Figure 6 It is a schematic diagram of the relationship between the time domain position of a sidelink resource and the DRX cycle of a second terminal provided by an embodiment of the present application;

[0096] Figure 7 It is a schematic diagram of the internal interaction of a first terminal provided by an embodiment of the present application;

[0097] Figure 8 It is a schematic diagram that the moment n when the MAC entity triggers the physical layer to sense the sidelink resource is before the activation time provided by an embodiment of the present application;

[0098] Figure 9 It is a schematic diagram that the moment n when the MAC entity triggers the physical layer to sense the sidelink resource is within the activation time provided by an embodiment of the present application;

[0099] Figure 10 It is a schematic diagram of another situation that the moment n when the MAC entity triggers the physical layer to sense the sidelink resource is within the activation time provided by an embodiment of the present application;

[0100] Figures 11 to 12 It is a schematic diagram of the relationship between the moment n when the MAC entity triggers the physical layer to sense the sidelink resource and the activation time provided by another embodiment of the present application;

[0101] Figure 13Schematic diagram of the relationship between the resource selection window and the activation time provided by the embodiment of the present application;

[0102] Figure 14 Another schematic diagram of the activation time provided by the embodiment of the present application;

[0103] Figure 15 Schematic diagram of a method for selecting sidelink resources provided by the embodiment of the present application;

[0104] Figure 16 Another schematic diagram of a method for selecting sidelink resources provided by the embodiment of the present application;

[0105] Figure 17 Schematic diagram of the initial transmission resource being within the activation time provided by the embodiment of the present application;

[0106] Figure 18 Schematic diagram of the initial transmission resource being outside the activation time and the retransmission resource being within the activation time provided by the embodiment of the present application;

[0107] Figure 19 Schematic diagram of the initial transmission resource being within the activation time and the retransmission resource being outside the activation time provided by the embodiment of the present application;

[0108] Figure 20 Another schematic diagram of the initial transmission resource being outside the activation time and the retransmission resource being within the activation time provided by the embodiment of the present application;

[0109] Figure 21 Schematic diagram of the structure of a communication device provided by the embodiment of the present application;

[0110] Figure 22 Schematic diagram of the structure of a chip provided by the embodiment of the present application. Detailed implementation manners

[0111] Currently, two terminals can directly transmit data on the sidelink without passing through a base station for relaying. Taking two terminals as Terminal A and Terminal B as an example, before Terminal A sends data to Terminal B on the sidelink, Terminal A can sense the sidelink resources and then select a sidelink resource from the sensed sidelink resources. Then Terminal A sends data to Terminal B on the selected sidelink resource via the sidelink. Currently, in order to reduce the power consumption of Terminal B, a DRX mechanism can be configured for Terminal B, that is, Terminal B can be in an active state to receive data for a period of time and in a sleep state for another period of time. When Terminal B is in the sleep state, Terminal B may not be able to receive data sent by other terminals to Terminal B. Therefore, if the time range indicated by the sidelink resource selected by Terminal A is within the time period when Terminal B is in the sleep state, when Terminal A sends data to Terminal B on the selected sidelink resource, Terminal B may not be able to correctly receive the data, resulting in the failure of the data transmission from Terminal A to Terminal B. In addition, the power consumption brought by Terminal A when sending data is also wasted.

[0112] Based on this, an embodiment of the present application provides a communication method. In this method, the first terminal first determines one or more sidelink resources. Then the first terminal sends data to the second terminal on a first sidelink resource among the one or more sidelink resources. Since the first sidelink resource is within the discontinuous reception - active time of the second terminal, and the second terminal is in an active state during the discontinuous reception - active time of the second terminal. This can ensure that when the first terminal sends data on the first sidelink resource, the second terminal is in a state where it can receive the data, which can not only avoid data transmission failure but also avoid wasting the power consumption brought by the first terminal when sending data.

[0113] For the convenience of clearly describing the technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and roles. For example, the first terminal and the second terminal are only used to distinguish different terminals and do not limit their sequence. Those skilled in the art can understand that terms such as "first" and "second" do not limit the quantity and execution order, and "first", "second", etc. do not necessarily limit being different.

[0114] It should be noted that in the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Exactly speaking, using words such as "exemplary" or "for example" aims to present relevant concepts in a specific manner.

[0115] In this application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the relationship between associated objects and indicates that there can be three relationships. For example, A and / or B can represent the following situations: A exists alone, both A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one (item)" or its similar expression refers to any combination of these items, including any combination of single item (item) or plural items (items). For example, at least one (item) of a, b, or c can represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, and c can be single or multiple.

[0116] The technical solutions of this application can be applied to various communication systems, such as: Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD) system, Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication system, Public Land Mobile Network (PLMN) system, Device-to-Device (D2D) network system, or Machine-to-Machine (M2M) network system, as well as the 5th generation (5G) mobile communication technology system, etc.

[0117] The network architecture and service scenarios described in the embodiments of this application are to more clearly illustrate the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those of ordinary skill in the art know that with the evolution of the network architecture and the emergence of new service scenarios, the technical solutions provided by the embodiments of this application are equally applicable to similar technical problems.

[0118] Before introducing the embodiments of this application, first introduce the terms involved in the embodiments of this application:

[0119] 1) The sidelink (SL) refers to: It is defined for direct communication between terminals. That is, the link for direct communication between terminals without passing through the base station for forwarding.

[0120] 2) The sidelink resource refers to the resource used by terminal 1 to transmit sidelink information to terminal 2 on the sidelink.

[0121] 3) The sidelink information refers to the sidelink data or control information transmitted between any two terminals on the sidelink, which can also be referred to as data packets or V2X services.

[0122] 4) Discontinuous reception (DRX) means that the terminal only turns on the receiver to enter the active state (which can also be called the active state) at necessary times to receive data and signaling, and turns off the receiver to enter the sleep state (which can also be called the inactive state) at other times. When the terminal is in the sleep state, the terminal stops receiving data and signaling. DRX is a working mode for the terminal to save power consumption. DRX is divided into idle-state DRX and connected-state DRX. Since there is no RRC connection and terminal-specific bearer in idle-state DRX, it is achieved by sensing the paging channel. Taking this DRX mechanism as an example of the DRX mechanism on Uu, connected-state DRX refers to the DRX characteristics when the terminal is in the RRC connected state, which is achieved by listening to the Physical Downlink Control Channel (PDCCH).

[0123] Typical application scenarios of DRX include the following categories: services that are not sensitive to latency and do not require data reception and transmission most of the time, such as web browsing, email, and FTP. Services that generate rare small packets, such as Presence services. Periodic continuous small packet services, such as Voice over IP (VoIP) services and Automatic Neighbour Relation (ANR) measurements.

[0124] Taking this DRX mechanism as an example of the DRX mechanism on Uu, the terminal listens to the PDCCH during the active time, including the time when drx-onDurationTimer runs at the start of a DRX cycle defined in the standard. The terminal is in the active state (which can also be called the wake-up state or active state) during the active time.

[0125] Taking this DRX mechanism as an example of the DRX mechanism on Uu, the terminal does not need to listen to the PDCCH during the inactive time (which can also be called the sleep period), and the terminal can be in the inactive state (which can also be called the sleep state or inactive state) during the inactive time.

[0126] 5) Active state. Taking the DRX mechanism on Uu as an example of the DRX mechanism, it refers to the state in which the terminal can monitor service data / PDCCH, that is, the state when receiving data / PDCCH. It is a variable concept. When in the active state, the terminal needs to detect the PDCCH.

[0127] 6) Sleep state. Taking the DRX mechanism on Uu as an example of the DRX mechanism, it means that the terminal cannot monitor service data / PDCCH. In the sleep state, the terminal does not perform PDCCH detection to save power.

[0128] Device-to-Device (D2D) communication based on cellular networks, also known as Proximity Service (ProSe) in 3GPP, is a technology that enables direct communication between terminals under the control of the network. It can increase the spectrum efficiency of cellular communication systems, reduce the transmit power of terminals, and to a certain extent solve the problem of scarce spectrum resources in wireless communication systems.

[0129] ProSe Direct Communication: Direct communication between two or more adjacent ProSe UEs without passing through any network nodes.

[0130] ProSe Direct Communication is implemented through the access stratum functions of sidelink communication. Sidelink communication refers to direct communication between two or more adjacent terminals without passing through any network nodes. ProSe Direct Communication is achieved by establishing a direct link through the PC5 interface between two terminals.

[0131] Sidelink communication uses E-UTRA technology or NR technology. NR sidelink communication: Refers to sidelink communication using NR technology, enabling the access stratum functions of V2X communication. NR sidelink communication can also enable ProSe Direct Communication, including 5G ProSe Direct Communication.

[0132] V2X communication: Communication that supports V2X services using the Uu and / or PC5 reference points / interfaces. V2X services are realized through various types of V2X applications, such as Vehicle-to-Vehicle (V2V), Vehicle-to-Pedestrian (V2P), Vehicle-to-Infrastructure (V2I), and Vehicle-to-Network (V2N). V2X communication is implemented through the access stratum functions of sidelink communication.

[0133] To enhance the safety and intelligence of the transportation system, the concept of intelligent transportation systems has gradually emerged. Recently, the development of intelligent transportation systems will mainly focus on the field of intelligent road transportation systems, which is commonly known as vehicle-to-everything (V2X). V2X communication includes Vehicle-to-Vehicle (V2V) communication, Vehicle-to-Infrastructure (V2I) communication, and Vehicle-to-People (V2P) communication. V2X applications will improve driving safety, reduce congestion and vehicle energy consumption, and enhance traffic efficiency. For example, communication with facilities such as traffic lights, school areas, and railway crossings. The vehicle-to-everything system is a sidelink transmission technology based on Long Term Evaluation (LTE) V2V or New Radio (NR) V2V. Different from the way that communication data is received or sent through network devices in traditional LTE systems or NR, the vehicle-to-everything system uses the direct communication method from terminal to terminal.

[0134] Such as Figure 1 shown Figure 1 As shown, an embodiment of the present application relates to a communication system applicable to a communication method. The system includes: terminal 100 and terminal 200. Among them, terminal 100 and terminal 200 can use sidelink resources to perform data transmission on the sidelink existing between them.

[0135] Optionally, the system may further include network device 300. Terminal 100 and network device 300 communicate through the Uu interface. Network device 300 can allocate sidelink resources for terminal 100 to perform sidelink transmission.

[0136] Terminal 200 is the terminal that performs sidelink communication with terminal 100. Terminal 200 can be regarded as the receiving terminal (Rx UE), and terminal 100 can be regarded as the transmitting terminal (Tx UE).

[0137] Among them, there is a first interface for direct communication between the terminal 100 and the terminal 200, and this first interface can be called the PC5 interface. The transmission link for the communication between the terminal 100 and the terminal 200 on the PC5 interface can be called the sidelink.

[0138] For example, the PC5 interface can adopt a dedicated frequency band (such as 5.9 GHz).

[0139] The terminal 100 and the terminal 200 can communicate directly through the PC5 interface. Sidelink communication and / or sidelink discovery are carried out between the terminal 200 and the terminal 100. The terminal 200 can also be connected / communicated with the network device, or can be not connected / communicated with the network device. The terminal 100 can also perform SL communication with other terminals except the terminal 200, considering the scenario where other terminals are Rx UEs and the terminal 100 is a Tx UE. The terminal 100 and other terminals can communicate directly through the PC5 interface. Sidelink communication and / or sidelink discovery are carried out between the terminal 100 and other terminals. Other terminals are terminals outside the coverage of the network device 300. The method of establishing a sidelink between the terminal 100 and the terminal 200 can refer to the description in the prior art and will not be elaborated here.

[0140] Sidelink transmission is carried out between a pair of source device and destination. The source can be identified by the source layer-2 ID. The destination can be identified by the destination layer-2 ID. The source layer-2 ID identification refers to the sender of the data in sidelink communication. The destination layer-2 ID identification refers to the target or receiver of the data in sidelink communication.

[0141] Taking the terminal 100 as the sending terminal and the terminal 200 as the receiving terminal as an example, that is to say, the terminal 100 refers to the source of sidelink communication (or a MAC PDU), and the receiving terminal refers to the destination of sidelink communication (or a MAC PDU).

[0142] The PC5 - Radio Resource Control (RRC) connection is a logical connection between two terminals corresponding to a source and a destination pair. After the establishment of a PC5 unicast link, the corresponding PC5 RRC connection is established. There is a one - to - one correspondence between the PC5 - RRC connection and the PC5 unicast link. The PC5 - RRC connection can be used to transmit the capabilities of the transmitting terminal and / or sidelink configurations, such as SL - Data Radio Bearer (DRB) configurations, from the transmitting terminal to the receiving terminal during the PC5 - RRC procedure.

[0143] The terminal 10 or terminal 20 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 ships, etc.). It can also be deployed in the air (such as airplanes, balloons, satellites, etc.). The terminal is also known as user equipment (UE), mobile station (MS), mobile terminal (MT), and terminal device, etc. It is a device that provides voice and / or data connectivity to users. For example, the terminal includes handheld devices with wireless connection capabilities, vehicle-mounted devices, etc. Currently, the terminal can be: mobile phone, tablet computer, laptop computer, palmtop computer, mobile internet device (MID), wearable device (such as smart watch, smart bracelet, pedometer, etc.), vehicle-mounted device (such as car, bicycle, electric vehicle, airplane, ship, train, high-speed train, etc.), virtual reality (VR) device, augmented reality (AR) device, wireless terminal in industrial control, smart home device (such as refrigerator, TV, air conditioner, electric meter, etc.), smart robot, workshop device, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, or wireless terminal in smart home, flying device (such as smart robot, hot air balloon, drone, airplane), etc. In a possible application scenario of this application, the terminal is a terminal that often works on the ground, such as a vehicle-mounted device. In this application, for the convenience of description, the chip deployed in the above devices, such as System-On-a-Chip (SOC), baseband chip, etc., or other chips with communication capabilities can also be called a terminal.

[0144] The terminal can be a vehicle with corresponding communication capabilities, or a vehicle-mounted communication device, or other embedded communication devices, or a user's handheld communication device, including mobile phones, tablet computers, etc.

[0145] As an example, in the embodiments of the present application, the terminal may also be a wearable device. A wearable device, also known as a wearable intelligent device, is a general term for devices developed by applying wearable technologies to the intelligent design of daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that can be directly worn on the body or integrated into the user's clothes or accessories. A wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable intelligent devices include those with complete functions and large sizes that can realize complete or partial functions without relying on a smart phone, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to cooperate with other devices such as smart phones, such as various smart bracelets and smart jewelry for physical sign monitoring.

[0146] When the various solutions described in the embodiments of the present application are applied to the V2X scenario, they can be applicable to the following fields: unmanned driving, automated driving / ADS, driver assistance / ADAS, intelligent driving, connected driving, Intelligent network driving, car sharing. Of course, the various solutions described in the embodiments of the present application can also be applied to the interaction between a bracelet and a mobile phone, and between a VR glasses and a mobile phone.

[0147] The above-mentioned terminal 100 and terminal 200 can communicate through resources on the sidelink between terminal 100 and terminal 200. In the embodiments of the present application, the scenario where terminal 100 and terminal 200 communicate on the sidelink can be referred to as: Sidelink communication scenario. As an example, in the embodiments of the present application, the resources used by terminal 100 and terminal 200 to communicate on the sidelink can be referred to as: sidelink resources. The embodiments of the present application do not limit the specific names of the resources and can be set according to needs.

[0148] When terminals communicate on the sidelink, sidelink resources are required. Taking the example that terminal 100 uses sidelink resources to send data to terminal 200, terminal 100 can currently obtain sidelink resources through the following methods.

[0149] Mode 1, a resource allocation mode scheduled by the base station, which means that the sidelink resources of the terminal 100 are received by the terminal 100 from the base station. For example, the base station sends a sidelink grant (SL grant) to the terminal 100. The SL grant contains information such as sidelink resource allocation. The terminal 100 can use the sidelink resources indicated / assigned by the SL grant to transmit on the SL. The SL grant contains / indicates / schedules the time-frequency resources for transmitting the Physical Sidelink Control Channel (PSCCH) and / or the Physical Sidelink Shared Channel (PSSCH). For example, an SL grant may include information on at least one sidelink resource.

[0150] Mode 1: When the terminal 100 is in the radio resource control (RRC) connected state and transmits data with the network device, the network device communicating with the terminal 100 can schedule the sidelink resources for the terminal 100 to transmit sidelink service data. For example, the terminal 100 sends a scheduling request (SR) and a sidelink buffer status report (BSR) to the network device. Among them, the sidelink BSR is used to determine the amount of sidelink communication data of the terminal 100. Based on the sidelink BSR, the network device can determine the amount of sidelink communication data of the terminal 100 and schedule the sidelink resources required for the terminal 100 to transmit sidelink service data. Among them, the network device uses the configured sidelink radio network temporary identity (SL-RNTI) to schedule the sidelink resources for sidelink communication.

[0151] In mode 1, the physical downlink control channel (PDCCH) can be used to schedule the transmission of the terminal on the SL. The downlink control information (DCI) on the PDCCH includes the SL grant. In mode 1, dynamic grant, configured grant type 1, and configured grant type 2 are supported. Dynamic grant means that the SL grant is received by the terminal dynamically on the PDCCH. Configured grant type 1 and configured grant type 2 mean that the base station semi-statically configures the configured grant for the terminal through RRC signaling. The base station can configure multiple SL configured grant configurations (SL-ConfiguredGrantConfig) for the terminal. For example, the base station configures a list of SL configured grant configurations for the terminal. The SL configured grant configuration list includes SL configured grant configurations that can be released, increased, or modified. Each SL configured grant configuration corresponds to an index, and the index can be included in the SL configured grant configuration. The SL configured grant configuration includes SL configured grant period indication information. For configured grant type 1, the time-domain resource location information, frequency-domain resource location information, etc. of the SL grant are included in the configured grant configuration. This facilitates the terminal to determine the time-domain position and frequency-domain position of the SL grant. Among them, the SL configured grant period indication information is used to indicate the period of the SL grant.

[0152] For configured grant type 2, the configured SL grant is activated / deactivated by the DCI transmitted on the PDCCH. The DCI includes the configured grant configuration index information, the time-domain resource location information, the frequency-domain resource location information, etc. of the SL grant.

[0153] It should be noted that for the configured grant type 2, it is activated by DCI when the base station determines that the terminal needs to use the configured SL grant. After activation, the terminal can use the activated configured SL grant.

[0154] Mode 2, the resource selection mode independently selected by the terminal. In other words, it means that the SL grant is independently selected by the terminal. The SL grant contains information such as resource allocation. The terminal can use the sidelink resources indicated / assigned by the SL grant to transmit on the SL. The SL grant contains / indicates / schedules the time-frequency resources for transmitting the physical sidelink control channel (PSCCH) and / or the physical sidelink shared channel (PSSCH).

[0155] Mode 2, the terminal 100 selects sidelink resources from a resource pool that usually includes one or more sidelink resources. That is, the terminal 100 selects an SL grant from one or more SL grants and determines the sidelink resources according to the selected SL grant.

[0156] For example, when the terminal 100 is within the network coverage area, the resource pool is the resource broadcast by the network device in the system information. When the terminal 100 is outside the network coverage area, the resource pool is the resource pre-configured for the terminal 100. The resource pool can be a specific resource pool for the terminal 100, that is, only the terminal 100 can select sidelink resources in the resource pool. Or the resource pool can be a resource pool shared by multiple terminals including the terminal 100, that is, the remaining terminals other than the terminal 100 can also select resources in the resource pool. For the latter, then when the terminal 100 independently selects resources in the resource pool, the terminal 10 can perform listening on the resource pool to select sidelink resources.

[0157] Sidelink transmission is based on a resource pool. A resource pool is a logical concept. A resource pool includes multiple physical resources, and any one of the physical resources is used for data transmission. When a terminal performs data transmission, it can use a resource from the resource pool for transmission.

[0158] Specifically, to ensure the quality of the sidelink resources used for the sidelink service data sent by the terminal 100 and avoid resource collisions caused by multiple terminals randomly selecting sidelink resources from the resource pool when the terminal 100 autonomously selects sidelink resources, that is, to prevent the resources selected by the terminal 100 from being occupied by multiple other terminals, thereby reducing the communication quality. Then the terminal 100 can listen to predict the occupancy of sidelink resources within a future time period 1 and use the occupancy of sidelink resources within the time period 1 as the listening result. The so-called occupancy of sidelink resources may include: whether other terminals have occupied the sidelink resources within the future time period 1, and / or the received power or received strength of the signals sent by other terminals that occupy the sidelink resources within the future time period 1. Therefore, based on the listening result, the terminal 100 can select or reserve sidelink resources within the time period 1 to ensure its own communication quality. In addition, the sidelink resources reserved by the terminal 100 through listening are time-limited. For example, in 5G NR, the time limits of the listening results for periodic services and non-periodic services are different, both within a certain number of milliseconds.

[0159] In LTE- or NR-based V2X communication, the terminal 100 can use or be based on the listening process defined in the LTE Release 14 standard protocol to obtain the listening result. Exemplarily, the listening result of the sidelink resources can be used to indicate any one or more of the following: the identity or location of a specific sidelink resource in the resource pool, the signal strength on the sidelink resource, the signal power on the sidelink resource, the channel busy ratio (CBR) of the sidelink resource.

[0160] For mode 2, for each sidelink process, after there is data on the logical channel, resource selection / reselection check is triggered. If the check result is to trigger resource selection / reselection, the MAC entity of the terminal notifies the PHY layer of the terminal to provide a set of sidelink resources. Then the MAC entity randomly selects a sidelink resource from the set of sidelink resources provided by the PHY layer. If the MAC entity selects reselection at least once, the MAC entity continues to randomly select sidelink resources from the other resources in the set of sidelink resources provided by the PHY layer except the above-selected sidelink resources. Among the multiple sidelink resources selected by the MAC entity, the sidelink resource earliest in the time domain is the initial transmission resource, and the sidelink resources after the initial transmission resource can be regarded as retransmission resources. The transmission opportunity corresponding to the multiple sidelink resources selected by the MAC entity is the selected SL grant. If the MAC entity selects to create a selected SL grant for transmitting multiple MAC PDUs. Then the MAC entity selects a sidelink resource A from the set of sidelink resources provided by the PHY layer. The MAC entity determines a set of periodic sidelink resources according to the sidelink resource A. The transmission opportunity corresponding to the sidelink resource A and the set of periodic resources selected according to this resource A is used as the selected SL grant. Each transmission opportunity corresponds to an SL grant. For each SL grant, the MAC entity delivers each SL grant, the modulation and coding scheme (MCS), and the hybrid automatic repeat request (HARQ) information associated with each SL grant to the sidelink HARQ entity.

[0161] For each SL grant, if the SL grant is used for initial transmission, the sidelink HARQ entity obtains the MAC PDU to be sent from the Multiplexing and assembly entity. If a MAC protocol data unit (PDU) is obtained, the sidelink HARQ entity sends the MAC PDU, the SL grant, and the sidelink transmission information to the associated sidelink process. The sidelink HARQ entity notifies the sidelink process to trigger a new transmission (a new transmission means triggering the transmission of a data packet, and this data packet is the first / first transmission data packet). If the sidelink HARQ entity does not obtain the MAC PDU, the HARQ buffer of the sidelink process is flushed. If the SL grant is used for retransmission, the sidelink HARQ entity delivers the SL grant to the sidelink process associated with the SL grant, and notifies the sidelink process to trigger a retransmission (a retransmission means triggering the transmission of a data packet, and this data packet is the c-th transmission data packet, where c is an integer greater than or equal to 2 and less than or equal to the maximum retransmission times of the terminal. Or c is less than or equal to the maximum retransmission times of the sidelink HARQ process of this data packet.).

[0162] The sidelink process is associated with a HARQ buffer. If the sidelink HARQ entity requests a new transmission, the sidelink process stores the MAC PDU in the associated HARQ buffer, stores the SL grant, and generates a transmission. If the sidelink HARQ entity requests a retransmission, the sidelink process stores the SL grant and generates a transmission. The sidelink process generating a transmission includes: notifying the physical layer to transmit the sidelink control information (SCI) according to the stored SL grant, and generating a transmission.

[0163] The sidelink HARQ entity obtains the MAC PDU to be sent from the Multiplexing and assembly entity, specifically including: the Multiplexing and assembly entity selects a destination for the SL grant associated with the SCI according to the rules for each newly transmitted SCI. Then, the Multiplexing and assembly entity selects the logical channel belonging to the destination. The Multiplexing and assembly entity allocates resources to the selected logical channel. The rule for selecting the destination is that the destination has at least one of the logical channel (logical channel, LCH) and the medium access control (medium access control, MAC) control element (control elements, CE) with the highest priority among all logical channels and MAC CEs that meet the conditions. There may be one or more LCHs for each destination, and each LCH has a corresponding priority. MAC CE also has a corresponding priority.

[0164] Figure 2 FIG. 1 shows a schematic diagram of the hardware structure of a communication device provided in an embodiment of the present application. The hardware structure of the first terminal and the second terminal in the embodiment of the present application can refer to FIG. Figure 2 The communication device includes a processor 21, a communication line 24 and at least one transceiver ( Figure 2 The description is merely illustrative and takes the transceiver 23 as an example).

[0165] The processor 21 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0166] The communication link 24 may include a pathway for transmitting information between the above-mentioned components.

[0167] The transceiver 23 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.

[0168] Optionally, the communication device may further include a memory 22.

[0169] The memory 22 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or may be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor through the communication line 24. The memory 22 may also be integrated with the processor 21.

[0170] Among them, the memory 22 is used to store computer execution instructions for executing the solution of this application, and is controlled by the processor 21 to execute. The processor 21 is used to execute the computer execution instructions stored in the memory 22, so as to implement the communication method provided in the following embodiments of this application.

[0171] Optionally, the computer execution instructions in the embodiments of this application may also be referred to as application program codes, and the embodiments of this application do not make specific limitations thereto.

[0172] In a specific implementation, as an embodiment, the processor 21 may include one or more CPUs, such as Figure 2 CPU0 and CPU1 in

[0173] In a specific implementation, as an embodiment, the communication device may include multiple processors, such as Figure 2 processor 21 and processor 25 in

[0174] The following will describe the process in which the terminal senses and selects sidelink resources involved in this application:

[0175] The PHY layer of the terminal receives a notification from the MAC entity at the nth time unit (e.g., time slot) to determine a set of sidelink resources. The PHY layer takes the sidelink resources within [n + T1, n + T2] in the sensed sidelink resources as candidate sidelink resources. Among them, the candidate sidelink resources within [n + T1, n + T2] form a candidate resource set.

[0176] It can be understood that [n + T1, n + T2] is the resource selection window of this terminal.

[0177] Among them, T1 satisfies The value of T1 depends on the implementation of the terminal. Among them, The unit of is time slot, as defined in Table 1 below, where μ SL is the SCS configuration. If the minimum value of T2 is less than the remaining packet delay budget (PDB) (unit: time slot), then the value of T2 depends on the implementation of the terminal and satisfies T2min ≤ T2 ≤ P, where P represents the remaining PDB. Otherwise, T2 is equal to the remaining PDB. The remaining PDB is provided by the MAC entity to the PHY layer.

[0178] Table 1

[0179]

[0180] The PHY layer determines one or more sidelink resources from the candidate resource set according to certain rules and reports them to the MAC entity.

[0181] As an example, taking the sidelink resource m in one or more sidelink resources as an example, the terminal determines whether the sidelink resource k in the candidate resource set is excluded according to the reference signal receiving power (RSRP) of the demodulation reference signal (DMRS) received on the sidelink resource m. Among them, k is determined by m.

[0182] For example, if the RSRP of the DMRS of the PSCCH / PSSCH received on the sidelink resource m is greater than threshold 1 and other conditions are met, the physical layer of the terminal determines that the sidelink resource k should be excluded. Finally, the physical layer determines that the sidelink resource k is not included in one or more sidelink resources. If the number of one or more sidelink resources finally determined by the physical layer is less than the total number of sidelink resources in the candidate resource set multiplied by M, the terminal determines whether the sidelink resource k should be excluded according to threshold 2. Among them, threshold 2 is greater than threshold 1. For example, threshold 2 is threshold 1 plus a preset value. For example, the preset value is 3 dB.

[0183] Currently, when the terminal communicates with the network device, in order to save unnecessary power consumption of the terminal and reduce the monitoring time of the terminal, the terminal can apply the discontinuous reception mechanism on the Uu interface (the interface between the terminal and the network device) to help the terminal in the radio resource control (RRC) connected state save energy. The basic principle of DRX is that when the terminal communicates with the network device, the network device may have data transmission for a period of time, and then may have no data to transmit to the terminal for a relatively long period of time. In the case where the network device has no data to send to the terminal, if the terminal still maintains the monitoring state, it is very power-consuming for the terminal. Therefore, when the terminal has no data reception, the power consumption of the terminal can be reduced by making the terminal stop monitoring the physical downlink control channel (PDCCH), thereby increasing the battery usage time of the terminal.

[0184] In NR, when the terminal is in the RRC connected state, in order to save unnecessary power consumption, the Discontinuous Reception (DRX) function is defined. The terminal using the DRX mechanism monitors the PDCCH in some time periods and does not monitor the PDCCH in other time periods. Therefore, DRX reduces the terminal power consumption by controlling the terminal not to monitor the PDCCH in some time periods.

[0185] In NR, the DRX mechanism configured by the network device for the terminal also includes corresponding DRX parameters. For example, in the 5G NR version, the main parameters included in the DRX mechanism and the functions of the parameters are as follows:

[0186] - DRX On-Duration Timer: The duration at the beginning of a DRX Cycle. At the start of a DRX cycle, during the duration of onduration, the terminal can be considered to be in an active state while the DRX On-Duration Timer is running.

[0187] - DRX Slot Offset: The time delay before the drx-OnDurationTimer is started.

[0188] - DRX Inactivity Timer: The length of time the terminal remains in an active state after successfully decoding a PDCCH that schedules the initial transmission of new data on the Uu interface. That is, when the terminal is scheduled, the drx-InactivityTimer should be started to extend the time the terminal remains in an active state. The corresponding scenario can be understood as when the terminal is currently scheduled, it is very likely to be scheduled in the next time period, so the terminal needs to remain active to wait for data reception.

[0189] - DRX Long Cycle Start Offset: Represents the Long DRX Cycle and the drx Start Offset. Among them, the Long DRX Cycle specifies the number of subframes / milliseconds occupied by the long cycle, and the drx-StartOffset specifies the starting subframe of the long DRX cycle and the short DRX cycle.

[0190] - DRX Downlink Retransmission Timer (drx-RetransmissionTimerDL) (for each HARQ process except the broadcast process): The maximum duration before the terminal receives downlink retransmission data on the Uu interface. During the operation of the drx-RetransmissionTimerDL, the terminal waits to receive downlink retransmission data from the network device.

[0191] - DRX Uplink Retransmission Timer (drx-RetransmissionTimerUL) (for each uplink HARQ process): The maximum duration until a grant for UL retransmission is received. During the operation of the drx-RetransmissionTimerUL, the terminal retransmits uplink data.

[0192] - DRX Short Cycle (drx-ShortCycle) (optional): That is, the time length of the short DRX cycle (Short DRX cycle), with the unit of subframe / millisecond.

[0193] - DRX Downlink HARQ Round-Trip Time Timer (drx-HARQ-RoundTripTime-TimerDL, drx-HARQ-RTT-TimerDL) (for each downlink HARQ process except the broadcast process): The duration until the terminal expects to receive downlink HARQ retransmission data on the Uu interface. It can be understood as a time window within which the base station will not perform downlink retransmission for the currently transmitted failed data packet. After the drx-HARQ-RTT-TimerDL times out, the terminal can continue to receive the downlink retransmission data of this data packet. When the drx-HARQ-RTT-TimerDL of the terminal times out, the terminal can start to receive downlink retransmission data, and then the drx-RetransmissionTimerDL is started. That is, the minimum duration before a downlink allocation for HARQ retransmission may occur.

[0194] - DRX Uplink HARQ Round-Trip Time Timer (drx-HARQ-RTT-TimerUL) (for each uplink HARQ process): The duration until the terminal expects to receive uplink HARQ retransmission resources on the Uu interface. It can be understood as a time window within which the terminal cannot perform uplink retransmission for the currently transmitted failed data packet. After the drx-HARQ-RTT-TimerUL times out, the terminal can continue to upload the data of this data packet. When the drx-HARQ-RTT-TimerUL of the terminal times out, the terminal can start uplink retransmission, and then the drx-RetransmissionTimerUL is started. That is, the minimum duration before an uplink HARQ retransmission grant may occur.

[0195] Therefore, after the terminal configures the DRX mechanism, the cases where the terminal is in the DRX-active time mainly include the following:

[0196] Case 1: Any one of the timers, namely, drx-onDurationTimer, drx-InactivityTimer, drx-RetransmissionTimerDL, drx-RetransmissionTimerUL, or the random access contention resolution timer (ra-ContentionResolutionTimer), is in the running state. Among them, ra-ContentionResolutionTimer refers to the timer used by the terminal during the random access process and is used for the terminal to wait for obtaining the access resources of the base station.

[0197] Case 2: The terminal has sent a scheduling request (SR) on the physical uplink control channel (PUCCH), and the SR is currently in the pending state. Pending can be understood as the terminal is ready but has not yet sent the SR to the network device.

[0198] Case 3: Similar to ra-ContentionResolutionTimer, the terminal successfully receives a random access response (RAR) for responding to the preamble of the non-terminal-selected contention-based random access, but does not receive a PDCCH indicating the initial transmission (using the cell radio network temporary identifier (C-RNTI)).

[0199] Accordingly, in any one or more of the above three cases, the terminal needs to detect the PDCCH. Detecting the PDCCH includes detecting the PDCCH corresponding to the following radio network temporary identifiers (RNTIs): cell radio network temporary identifier (C-RNTI), configured scheduling RNTI (CS-RNTI), interruption RNTI (INT-RNTI), slot format indicator RNTI (SFI-RNTI), semi-persistent channel state information RNTI (SP-CSI-RNTI), PUCCH transmit power control RNTI (TPC-PUCCH-RNTI), PUSCH transmit power control RNTI (TPC-PUSCH-RNTI), transmit power control-sounding reference signal RNTI (TPC-SRS-RNTI).

[0200] In the above text, the PDCCH corresponding to the RNTI may refer to the cyclic redundancy check (CRC) bits of the DCI carried by the PDCCH scrambled with the RNTI.

[0201] It should also be noted that in addition to covering the above several cases, the above activation time may also include other cases specified in future communication protocols, and the embodiments of the present application do not make specific limitations on this.

[0202] Once the various timers described in the embodiments of the present application are started, the timer is in the running state until the timer stops or times out; otherwise, the timer is not in the running state. If the timer is not in the running state, the timer can be started. After the timer stops or times out, the timer is not in the running state until the timer is started. If the timer is in the running state, the timer can be restarted. The time length of the timer can be understood as the time length from when the timer is started or restarted until it times out. The value of the timer is its initial value when it is started or restarted. The initial value of the timer can be the time length of the timer. The value of the timer is the time length of the timer when it is started or restarted.

[0203] The names of the timers in each embodiment are for illustration only. The DRX parameters / timers hereinafter are the DRX parameters / timers on the SL.

[0204] When the DRX cycle is configured or DRX is configured, the activation time includes the time when drx-onDurationTimer or drx-InactivityTimer or drx-RetransmissionTimerDL or drx-RetransmissionTimerUL is running. During the active time, the terminal needs to monitor the PDCCH. Outside the active time, the terminal does not need to monitor the PDCCH, so the terminal can refrain from monitoring the PDCCH.

[0205] The DRX cycle is as Figure 3 shown. The On Duration is periodically repeated, and the DRX cycle is the period for the repetition of the On Duration. The drx-onDurationTimer starts at the start moment of the On Duration, and the duration of the drx-onDurationTimer is the duration of the On Duration, that is, the On Duration is the period during which the drx-onDurationTimer runs. The Opportunity for DRX is a period of inactivity. If there are no other timers causing the DRX activation time to run, this period belongs to the sleep period.

[0206] The start time of the Drx-onDurationTimer is determined according to drx-StartOffset and drx-SlotOffset. Specifically, the subframe at which the drx-onDurationTimer starts is determined according to drx-StartOffset, and it starts after drx-SlotOffset from the start of the subframe.

[0207] As Figure 4 shown, if the terminal receives an indication of a new PDCCH during the On Duration, the drx-InactivityTimer is started or restarted at the first symbol after the end of the PDCCH reception. Then as Figure 4 shown, the activation time of the terminal is determined by the start moment of the On Duration and the end moment of the drx-InactivityTimer. That is, the start moment of the activation time of the terminal is the start moment of the On Duration, and the end moment of the activation time of the terminal is the end moment of the drx-InactivityTimer.

[0208] If a terminal receives a MAC PDU in a configured downlink allocation, the drx-HARQ-RTT-TimerDL of the corresponding HARQ process is started at the first symbol after the transmission of the downlink HARQ feedback is completed, and the drx-RetransmissionTimerDL of the corresponding HARQ process is stopped. If a PDCCH indicating a downlink transmission is received, the drx-HARQ-RTT-TimerDL of the corresponding HARQ process is started at the first symbol after the transmission of the downlink HARQ feedback is completed, and the drx-RetransmissionTimerDL of the corresponding HARQ process is stopped. If the drx-HARQ-RTT-TimerDL expires, if the data of the corresponding HARQ process is not successfully decoded, the drx-RetransmissionTimerDL of the corresponding HARQ process is started at the first symbol after the drx-HARQ-RTT-TimerDL expires.

[0209] When sidelink communication is performed between the current transmitting terminal (Tx UE) and the receiving terminal (Rx UE), the specific scenarios that can be considered include but are not limited to sidelink-related communication scenarios such as V2X communication, device to device (D2D), public safety, and commercial communication. When the Rx UE does not use the DRX mechanism, the Rx UE continuously monitors the PSCCH sent by the Tx UE throughout the entire time period, and the Rx UE remains continuously active and can receive the scheduling data sent by the Tx UE. However, the Tx UE does not always send data to the receiving terminal. Therefore, if the Rx UE continuously monitors the PSCCH sent by the Tx UE throughout the entire time period, it will inevitably waste the power consumption of the Rx UE.

[0210] Based on the above description, the introduction of DRX in sidelink is discussed in 3GPP Release 17. The SL DRX timer can refer to the DRX timer on Uu. For example, the drx-onDurationTimer, drx-InactivityTimer, drx-HARQ-RTT-TimerSL, and drx-RetransmissionTimerSL are also adopted on SL. To facilitate the distinction from the various timers on the above-mentioned Uu interface, in the embodiments of this application, the various timers adopted on SL can be distinguished by adding "SL" to their names. For example, the drx-onDurationTimer adopted on SL can be named: drx-onDurationTimer-SL. The drx-InactivityTimer adopted on SL can be named: drx-InactivityTimer-SL.

[0211] The SL DRX-active time includes the time during which the drx-onDurationTimer-SL (DRX On Duration Timer - SL), drx-InactivityTimer-SL (DRX Inactivity Timer - SL), or drx-RetransmissionTimer-SL (DRX Retransmission Timer - SL) is running. The receiving terminal (Rx UE) listens for / receives PSCCH, PSSCH, SCI, or MAC PDU during the SL DRX-active time. One possible way is that each source and destination pair corresponds to one SL DRX-active time. Each source and destination pair corresponds to a set of SL DRX timers.

[0212] The drx-onDudrationTimer-SL is used to indicate the duration at the start of the sidelink DRX cycle, that is, the "On Duration" of the DRX cycle. That is, "On Duration" represents a time period, which is determined by the drx-onDurationTimerPC5 and has a length equal to the size of the drx-onDudrationTimer-SL. At the start moment of the sidelink DRX cycle, the terminal starts the drx-onDudrationTimer-SL, that is, enters the "On Duration", and when the drx-onDudrationTimer-SL starts running, it enters the sidelink DRX active time;

[0213] The drx-InactivityTimer-SL (which can also be referred to as: drx-InactivityTimerPC5) is used to indicate the duration after the transmission of a PSCCH, PSSCH, SCI, or MAC PDU. Among them, the SCI includes a first-level SCI, a second-level SCI, or both the first-level SCI and the second-level SCI. The first-level SCI can be carried on the PSCCH, and the second-level SCI can be carried on the PSSCH. The PSSCH transmission can be a new transmission. Correspondingly, the PSCCH or SCI is used to schedule a new transmission. Or, the PSSCH transmission can be a new transmission or a retransmission, and the PSCCH or SCI is used to schedule a new transmission or a retransmission. For example, if during the sidelink DRX activation time, the terminal device receives a PSCCH or SCI indicating a new sidelink data transmission, the terminal device will start or restart the drx-InactivityTimerPC5, so that the terminal always remains in the sidelink DRX activation time. It can be understood that the original duration of the terminal device in the sidelink DRX active state is the duration of "On Duration". Running the drx-InactivityTimerPC5 can extend the time for the terminal device to be in the sidelink DRX active state until the drx-InactivityTimerPC5 times out, or the terminal device receives relevant MACCE signaling to stop the drx-onDurationTimerPC5 and the drx-InactivityTimerPC5. For example, the DRXCommand PC5 MAC CE, then the terminal ends the sidelink DRX activation time and enters the sidelink DRX inactive time, that is, the terminal changes from the sidelink DRX active state to the sidelink DRX inactive state;

[0214] The drx-RetransmissionTimer-SL (which can also be referred to as: drx-RetransmissionTimerPC5) is used to indicate the maximum duration before receiving a sidelink HARQ retransmission or scheduling an SCI for a sidelink HARQ retransmission. Among them, different sidelink processes can correspond to different drx-RetransmissionTimerPC5;

[0215] The drx-HARQ-RTT-Timer-SL can also be referred to as drx-HARQ-RTT-TimerPC5, which is used to indicate the minimum duration before expecting a sidelink HARQ retransmission or scheduling an SCI for a sidelink HARQ retransmission. Among them, different sidelink processes can correspond to different drx-HARQ-RTT-TimerPC5.

[0216] The embodiments of this application do not limit the names of the various timers used on the SL. The above names are only examples.

[0217] Since the existing technology's mode 2 resource selection mechanism does not consider SL DRX, the sender terminal selects the destination for the SL grant according to the above rules. However, the time-domain position of the sidelink resources corresponding to / indicated by / allocated by the SL grant may not be within the SL DRX-active time of the destination. If the terminal sends PSCCH, PSSCH, SCI, or MAC PDU to the destination on the sidelink resources corresponding to / indicated by / allocated by the SL grant, and the destination does not listen for / receive the PSCCH, PSSCH, SCI, or MAC PDU, then the transmission of the PSCCH, PSSCH, SCI, or MAC PDU fails, and the Tx UE also wastes power in vain. Based on this, the embodiments of the present application solve how to avoid packet transmission failure and avoid power consumption waste of the Tx UE through the following Figure 5 described solution.

[0218] In the embodiments of the present application, the specific structure of the execution subject of a communication method is not particularly limited in the embodiments of the present application. As long as it can communicate according to a communication method of the embodiments of the present application by running a program recording the code of a communication method of the embodiments of the present application. For example, the execution subject of a communication method provided in the embodiments of the present application can be a functional module in the first terminal that can call and execute the program function, or a communication device applied to the first terminal, such as a chip, a chip system, an integrated circuit, etc. These chips, chip systems, and integrated circuits can be disposed inside the first terminal or independent of the first terminal, and the embodiments of the present application do not make limitations.

[0219] As Figure 5 shown, Figure 5 illustrates a communication method provided in the embodiments of the present application. The method includes:

[0220] Step 501, the first terminal determines one or more sidelink resources.

[0221] The one or more sidelink resources can be used to transmit data sent by the first terminal to the second terminal, that is, the first terminal can send data to the second terminal on the resources in the one or more sidelink resources. Among them, there are sidelink resources located in the sidelink discontinuous reception - active time of the second terminal among the one or more sidelink resources. The second terminal is in an active state within the sidelink discontinuous reception - active time of the second terminal.

[0222] As described above, the sidelink discontinuous reception - activation time of the second terminal includes: the time during the operation of any one or more of the drx - onDurationTimer - SL, drx - InactivityTimer - SL, or drx - RetransmissionTimer - SL of the second terminal. For example, when any one or more of the drx - InactivityTimer - SL or drx - RetransmissionTimer - SL of the second terminal are not running, the sidelink discontinuous reception - activation time of the second terminal includes at least the time during the operation of the drx - onDurationTimer - SL. When any one or more of the drx - InactivityTimer - SL or drx - RetransmissionTimer - SL of the second terminal are running, the active state of the second terminal is maintained. At this time, the sidelink discontinuous reception - activation time of the second terminal is determined by the drx - onDurationTimer - SL and the running duration of any one or more of the drx - InactivityTimer - SL or drx - RetransmissionTimer - SL.

[0223] In the embodiments of the present application, the first terminal and the second terminal can use sidelink resources on the sidelinks they have to perform data transmission.

[0224] In an embodiment of the present application, the one or more sidelink resources can be resources dedicated to sending specific data, or the one or more sidelink resources can be resources for sending any data. The embodiments of the present application do not make any limitations in this regard.

[0225] In an embodiment of the present application, the above - mentioned one or more sidelink resources can be obtained by the first terminal through sensing (also referred to as: listening, English: sensing) from a resource pool. For example, if the first terminal needs to send data, then the first terminal can perform sensing technology in the resource pool to determine one or more sidelink resources.

[0226] In an embodiment of the present application, the above - mentioned one or more sidelink resources can be idle resources, that is, resources not used or reserved by other terminals except the second terminal. The above - mentioned one or more sidelink resources can also be non - idle resources, that is, resources used or reserved by other terminals except the second terminal. Or, through sensing, the second terminal anticipates that the signal reception power or signal strength on the above - mentioned one or more sidelink resources is small, even if other terminals except the second terminal send data on the above - mentioned one or more sidelink resources, the signal reception power or signal strength measured by the second terminal is small.

[0227] In one embodiment of the present application, the above one or more sidelink resources may be sidelink resources that are recommended or scheduled by other terminals except the second terminal to the first terminal and can be used for data transmission. Since other terminals except the second terminal may not know the time when the second terminal is in the active state and the dormant state, the sidelink resources that may be recommended or scheduled may include sidelink resources whose time range is within the sidelink discontinuous reception - active time of the second terminal.

[0228] In one embodiment of the present application, the above one or more sidelink resources may be sidelink resources allocated by the base station accessed by the first terminal to the first terminal and can be used for data transmission. That is, the above one or more sidelink resources may be sidelink resources obtained by the first terminal in the above manner 1.

[0229] The second terminal in the embodiments of the present application adopts the DRX mechanism. The second terminal is in the active state during the sidelink discontinuous reception - active time. When the second terminal is in the active state, that is, when the second terminal is in the sidelink discontinuous reception - active time, the second terminal listens for / receives PSCCH, PSSCH, SCI or MAC PDU, that is, it can receive data from other terminals.

[0230] The time outside the sidelink discontinuous reception - active time of the second terminal is the discontinuous reception - inactive time, which can also be called: the sidelink discontinuous reception - dormant period.

[0231] The second terminal is in the inactive state during the sidelink discontinuous reception - inactive time, which can also be called the dormant state. When the second terminal is in the dormant state, that is, when the second terminal is not in the sidelink discontinuous reception - active time, the second terminal may not listen for / receive PSCCH, PSSCH, SCI or MAC PDU. When the second terminal is in the sidelink discontinuous reception - inactive time, the second terminal may also listen for / receive PSCCH, PSSCH, SCI or MAC PDU, and the embodiments of the present application do not make any limitations in this regard.

[0232] Exemplarily, the data sent by the first terminal to the second terminal may be one or more of PSCCH, PSSCH, SCI or MAC PDU sent by the first terminal to the second terminal on the sidelink. Among them, SCI includes the first - level SCI, or SCI includes the first - level SCI and the second - level SCI. The PSCCH is used to indicate the time - frequency domain resource location of the PSSCH transmission, the modulation and coding mode, and the priority of the data carried in the Physical Sidelink Shared Channel (PSSCH), and the PSSCH is used to carry data.

[0233] When the second terminal in the embodiment of the present application performs sidelink communication scenarios on the PC5 interface, the discontinuous reception mechanism adopted can be referred to as: sidelink disconnected reception mechanism (SL DRX).

[0234] The SL DRX of the terminal in the embodiment of the present application can be understood as the SL DRX when the terminal is the receiving terminal, or can be understood as the SL DRX between the terminal as the sending terminal and the receiving terminal, or the SL DRX between a pair of source and destination. Among them, source is the sending terminal identified by source layer-2ID, destination is the receiving terminal identified by destination layer-2ID, or source is the sending terminal identified by sourcelayer-1ID, and destination is the receiving terminal identified by destination layer-1ID.

[0235] When the receiving terminal device is in the SL DRX active state, that is, it listens or receives PSCCH, PSSCH, SCI or MAC PDU during the SL DRX active period.

[0236] The second terminal can also be understood as the destination, the terminal identified by destination layer-2ID or destinationlayer-1ID. The first terminal can also be understood as the source, the terminal identified by source layer-2ID or sourcelayer-1ID.

[0237] Step 502: The first terminal sends data to the second terminal on the first sidelink resource among one or more sidelink resources. Correspondingly, the second terminal receives data from the first terminal on the first sidelink resource. The first sidelink resource is within the sidelink discontinuous reception - active time of the second terminal.

[0238] In the embodiment of the present application, that the first sidelink resource is within the sidelink discontinuous reception - active time of the second terminal can mean that the time domain position of the first sidelink resource is within the sidelink discontinuous reception - active time, that is, the first sidelink resource is entirely within the sidelink discontinuous reception - active time from the start position to the end position. Or, a partial time domain position of the first sidelink resource is within the sidelink discontinuous reception - active time. For example, the first sidelink resource is within the sidelink discontinuous reception - active time from the start position to a certain intermediate position, and the remaining time domain position is not within the sidelink discontinuous reception - active time.

[0239] For example, as Figure 6 shown, taking the case where the drx-onDurationTimer-SL of the second terminal during operation includes time slot 1 and time slot 2 as an example, the one or more sidelink resources include sidelink resource 1, sidelink resource 2, and sidelink resource 3. Among them, sidelink resource 1 is located in time slot 1. Sidelink resource 2 and sidelink resource 3 are located in time slot 4 and time slot 5 respectively. Since sidelink resource 1 is located within the sidelink discontinuous reception - activation time, the first terminal can determine sidelink resource 1 as the first sidelink resource.

[0240] As an example, when the number of sidelink resources within the sidelink discontinuous reception - activation time of the second terminal is multiple, the first terminal can determine the first sidelink resource according to the priorities of the multiple sidelink resources. For example, determine the sidelink resource with the highest priority among the multiple sidelink resources within the sidelink discontinuous reception - activation time as the first sidelink resource. Of course, the first terminal can also randomly select a sidelink resource from the multiple sidelink resources within the sidelink discontinuous reception - activation time and determine it as the first sidelink resource. The embodiments of the present application do not limit this.

[0241] The embodiments of the present application provide a communication method. In this method, the first terminal first determines one or more sidelink resources. Then the first terminal sends data to the second terminal on the first sidelink resource among the one or more sidelink resources. Since the first sidelink resource is located within the sidelink discontinuous reception - activation time of the second terminal, and the second terminal is in an active state during the sidelink discontinuous reception - activation time of the second terminal, this can ensure that when the first terminal sends data on the first sidelink resource, the second terminal is in a state where it can receive the data, which can not only avoid data transmission failure but also avoid wasting the power consumption caused by the first terminal sending data.

[0242] In an embodiment of the present application, before step 502 of the method provided by the embodiments of the present application, it may further include: the first terminal determines the sidelink discontinuous reception - activation time of the second terminal.

[0243] Regarding how the first terminal determines the sidelink discontinuous reception - activation time of the second terminal, it can be achieved in the following ways:

[0244] Way 1: The first terminal obtains the sidelink discontinuous reception - activation time of the second terminal from the second terminal.

[0245] The first terminal obtains the side-link discontinuous reception (SL-DRX) activation time of the second terminal from the second terminal, which can be divided into active acquisition and passive acquisition. Active acquisition means that the first terminal first sends a first request message to the second terminal, and this first request message is used to request the SL-DRX activation time of the second terminal. Then the second terminal sends the DRX configuration information of the second terminal to the first terminal, and the DRX configuration information includes information for determining the SL-DRX activation time of the second terminal. For example, the information for determining the SL-DRX activation time of the second terminal is the discontinuous reception related parameters of the second terminal, such as the DRX cycle, drx-onDurationTimer-SL duration, drx-InactivityTimer-SL duration, drx-RetransmissionTimer-SL duration, and DRX starting offset. In this way, the first terminal can determine the SL-DRX activation time of the second terminal according to the discontinuous reception related parameters.

[0246] Passive acquisition means that the first terminal does not need to send the first request message to the second terminal, but the second terminal actively sends the DRX configuration information of the second terminal to the first terminal. For example, before the second terminal determines that it needs to receive data from the first terminal, it can first send the DRX configuration information of the second terminal to the first terminal.

[0247] Method 2: The first terminal obtains the SL-DRX activation time of the second terminal from a communication device that configures the DRX mechanism for the second terminal.

[0248] For example, the communication device can be a base station or a terminal that configures the DRX mechanism. The embodiments of the present application do not limit this.

[0249] Regarding the acquisition of the SL-DRX activation time of the second terminal by the first terminal from the communication device in Method 2, it can also be divided into active acquisition and passive acquisition. The specific implementation method can refer to the method of the first terminal obtaining the SL-DRX activation time of the second terminal from the second terminal above, and will not be elaborated here.

[0250] To ensure that the first terminal can select a sidelink resource from one or more sidelink resources that is located within the sidelink discontinuous reception - activation time of the second terminal and to ensure the reliability of data transmission from the first terminal to the second terminal, in the embodiments of the present application, the number of sidelink resources within the first time period among the one or more sidelink resources is greater than or equal to the first threshold. Wherein, the start time of the first time period is the start time corresponding to the candidate resource set, or the start time of the first time period is the start time of the sidelink discontinuous reception - activation time or later than the start time of the sidelink discontinuous reception - activation time. The end time of the first time period is the end time of the sidelink discontinuous reception - activation time.

[0251] In an embodiment of the present application, the first threshold may be a value predefined by the protocol. For example, the first threshold is a fixed value such as 2, 3, 4, 5, etc.

[0252] In an embodiment of the present application, the first threshold is determined according to the total number of candidate sidelink resources in the first time period. For example, the first threshold is the total number of candidate sidelink resources in the first time period multiplied by M. Wherein, M is greater than 0 and less than or equal to 1. This M can be determined by the first terminal itself, or predefined by the protocol, or configured by the network device, or pre - configured. The embodiments of the present application do not limit this. For example, the first time period is [T1 + n, T3], and the first threshold is determined by multiplying the total number of candidate sidelink resources located in [T1 + n, T3] in the candidate resource set by M. This M can be determined by the first terminal itself, or predefined by the protocol, or configured by the network device, or pre - configured. The embodiments of the present application do not limit this. Wherein, n represents the moment when the MAC entity of the first terminal notifies the physical layer to sense sidelink resources, that is, the PHY layer of the first terminal receives a request from the MAC entity at time slot n to determine one or more sidelink resources. T3 represents the end time of the discontinuous reception - activation time. T1 + n represents the start time corresponding to the candidate resource set.

[0253] The candidate resource set in the embodiments of the present application includes s candidate sidelink resources, where s is an integer greater than or equal to 1. The following will describe how the first terminal determines the candidate resource set.

[0254] For example, the first terminal determines s candidate sidelink resources from the sidelink resources according to the resource selection window of the first terminal as the candidate resource set. Then, the start time corresponding to the candidate resource set is the start time of the resource selection window of the first terminal. Correspondingly, the start time of the sidelink resource with the earliest time domain position in the candidate resource set is later than or equal to the start time of the resource selection window. The end time corresponding to the candidate resource set is the end time of the resource selection window of the first terminal (for example, T2 + n), that is, the end time of the sidelink resource with the latest time domain position in the candidate resource set should be earlier than or equal to the T2 + n.

[0255] For example, taking [T1 + n, T2 + n] as the resource selection window of the first terminal, the first terminal can determine s sidelink resources located in [T1 + n, T2 + n] as candidate sidelink resources. T2 + n represents the end time of the resource selection window, that is, the end time of the sidelink resource with the latest time domain position in the candidate resource set should be earlier than or equal to the T2 + n. The s sidelink resources include all sidelink resources in [T1 + n, T2 + n], and a sidelink resource is the resource of a frequency unit in a time slot. Alternatively, the s sidelink resources include some sidelink resources in [T1 + n, T2 + n], for example, the resources of some frequency units in some time slots. The frequency unit can be L consecutive subchannels, and L is an integer greater than or equal to 1.

[0256] Among them, the conditions satisfied by T1 and T2 can refer to the description in Table 1 above, or can be the conditions described below, which will not be elaborated here.

[0257] As a specific implementation, step 501 in the embodiments of the present application can be implemented in the following manner: The first terminal uses all sidelink resources within the resource selection window (for example, [T1 + n, T2 + n]) as the candidate resource set. Then, the first terminal determines one or more sidelink resources from the candidate resource set. Specifically, the physical layer of the first terminal determines the candidate resource set and determines one or more sidelink resources from the candidate resource set.

[0258] In an embodiment of the present application, when T2 + n is greater than or equal to T3, that is, when the end time corresponding to the candidate resource set is later than or equal to the end time of the sidelink discontinuous reception - activation time, the number of sidelink resources located in the first time period among the one or more sidelink resources is greater than or equal to the first threshold.

[0259] For example, the candidate resource set includes 10 sidelink resources, and the total number of sidelink resources located in [T1 + n, T3] among the 10 sidelink resources is 6, M = 0.5. Then, the number of sidelink resources located in [T1 + n, T3] among one or more sidelink resources should be greater than or equal to 3.

[0260] In a possible embodiment of the present application, one or more sidelink resources are sidelink resources determined from a candidate resource set, and the start time corresponding to the candidate resource set is later than or equal to the start time of sidelink discontinuous reception - activation time, or stated as: the start time of sidelink discontinuous reception - activation time is earlier than or equal to the start time corresponding to the candidate resource set. In this solution, in order for the first terminal to ensure that there are sidelink resources in the candidate resource set that are located in the sidelink discontinuous reception - activation time, so as to ensure that there are sidelink resources in one or more sidelink resources determined from the candidate resource set that are located in the sidelink discontinuous reception - activation time, the first terminal can update the start time corresponding to the candidate resource set.

[0261] For example, the first terminal sets the start time corresponding to the candidate resource set to be later than or equal to the start time of discontinuous reception - activation time. Since the start time corresponding to the candidate resource set is determined by T1 + n, the first terminal can adjust the condition that T1 satisfies from to where T4 is less than If T4 is greater than or equal to T1 = T4 - n. Where T4 represents the start time of discontinuous reception - activation time.

[0262] In a possible embodiment of the present application, the end time corresponding to the candidate resource set is earlier than or equal to the end time of sidelink discontinuous reception - activation time. This can ensure that the sidelink resources in the candidate resource set are earlier than or equal to the end time of sidelink discontinuous reception - activation time.

[0263] It should be noted that the candidate resource set satisfies one or more of the following conditions: that is, the start time is later than or equal to the start time of sidelink discontinuous reception - activation time, or, the end time is earlier than or equal to the end time of sidelink discontinuous reception - activation time.

[0264] When the start time corresponding to the candidate resource set is later than or equal to the start time of sidelink discontinuous reception - activation time, and the end time corresponding to the candidate resource set is earlier than or equal to the end time of sidelink discontinuous reception - activation time, it can be ensured that the sidelink resources in the candidate resource set are all located within the sidelink discontinuous reception - activation time.

[0265] As an example, the first terminal determines the start time of the resource selection window according to the start time of the discontinuous reception - activation time of the first terminal. Then, the first terminal determines s candidate sidelink resources within the resource selection window from the sidelink resources as the candidate resource set according to the start time and end time of the resource selection window. The end time of the resource selection window is determined by T2 + n.

[0266] In an embodiment of the present application, one or more sidelink resources are sidelink resources determined from the candidate resource set. The cut-off time corresponding to the candidate resource set is earlier than or equal to the end time of the retransmission of the data. This can ensure that there are sidelink resources for retransmitting the data in the candidate resource set. For example, the possible end time of retransmission can be determined according to at least one of the number of retransmissions, the duration of the RTT timer, the duration of the retransmission timer, and the end time of the discontinuous reception - activation time. Among them, the RTT timer can be drx - HARQ - RTT - Timer - SL. The retransmission timer can be drx - RetransmissionTimer - SL.

[0267] For example, the first terminal sets the cut-off time corresponding to the candidate resource set to be earlier than or equal to the end time of the retransmission of the data. Since the cut-off time corresponding to the candidate resource set is determined by T2 + n, the first terminal can adjust the condition that T2 satisfies from T2min ≤ T2 ≤ P to T2min ≤ T2 ≤ end time of retransmission - n or, T2min ≤ T2 ≤ min(end time of retransmission - n, P), where, T2min < end time of retransmission - n. If T2min is greater than or equal to end time of retransmission - n, T2 = end time of retransmission - n, or, T2 = the minimum value of (end time of retransmission - n, P).

[0268] The above describes the conditions satisfied by one or more sidelink resources and the start time and cut-off time satisfied by the candidate resource set. The following will describe how the physical (PHY) layer and the Medium Access Control (MAC) layer in the first terminal interact to determine one or more sidelink resources.

[0269] In an embodiment of the present application, the first terminal has a physical layer and a MAC entity. Correspondingly, as Figure 7 shown, step 501 in the embodiment of the present application can be implemented in the following manner:

[0270] Step 701: The physical layer of the first terminal determines one or more sidelink resources from the candidate resource set.

[0271] In a possible embodiment of the present application, before step 701, the method provided by the embodiments of the present application may further include: the media access control entity of the first terminal sends a sensing notification to the physical layer, and the sensing notification is used to notify the physical layer to sense the sidelink resources. The media access control entity of the first terminal sending a sensing notification to the physical layer can also be understood as the MAC entity requesting the physical layer to determine one or more sidelink resources. The physical layer senses the sidelink resources according to the sensing notification. The physical layer may determine candidate sidelink resources from the sidelink resources. In the embodiments of the present application, the physical layer may sense the sidelink resources immediately after receiving the sensing notification, or may sense the sidelink resources after a preset time, or may have sensed the sidelink resources before receiving the sensing notification. The preset time may be determined by the first terminal or predefined by the protocol, and the embodiments of the present application do not limit this.

[0272] For example, the media access control entity of the first terminal sends a sensing notification to the physical layer of the first terminal in time unit 1. For example, time unit 1 is the above-mentioned n.

[0273] In a possible embodiment of the present application, the physical layer may actively sense the sidelink resources. For example, when the physical layer determines that data needs to be transmitted, it may determine to sense the sidelink resources.

[0274] The following will describe the present application by taking whether the media access control entity notifies the physical layer to sense the sidelink resources and provides the first information to the physical layer as an example:

[0275] Example 1): The media access control entity provides the first information to the physical layer.

[0276] In Example 1), as a possible embodiment of the present application, before step 701, the method provided by the embodiments of the present application may further include: the media access control entity of the first terminal sends the first information to the physical layer of the first terminal. Correspondingly, the physical layer of the first terminal receives the first information from the media access control entity of the first terminal.

[0277] Among them, the first information is used to determine the end time of the sidelink discontinuous reception - activation time of the second terminal.

[0278] As an example, the first information is one or more of the information for indicating the end time of the sidelink discontinuous reception - activation time, or the information for indicating the remaining time of the sidelink discontinuous reception - activation time.

[0279] As an example, the first information and the sensing notification may be carried in the same message and sent to the PHY layer. For example, both the first information and the sensing notification are carried in message 1 to achieve simultaneous sending of the first information and the sensing notification to the PHY layer.

[0280] As another example, the first information and the sensing notification may also be carried in different messages and sent to the PHY layer, which is not limited in the embodiments of the present application. For example, the MAC entity first notifies the PHY layer of the sidelink resource on the sensing side, and then provides the first information to the PHY layer. Of course, the MAC entity may also first provide the first information to the PHY layer and then notify the PHY layer of the sidelink resource on the sensing side.

[0281] For example, the information for indicating the end time of the sidelink discontinuous reception - activation time may be the cut-off time of the sidelink discontinuous reception - activation time, or the time length L. By providing the time length L, it is convenient for the physical layer to determine the end time of the sidelink discontinuous reception - activation time according to the current time (for example, time unit 1) and the time length L. Herein, the current time can be understood as the time when the physical layer receives the time length L, and it can be considered that the time when the media access control entity sends the time length L to the physical layer is the time when the physical layer receives the time length L, and the error between reception and transmission therebetween can be ignored.

[0282] For example, the information for indicating the remaining time of the sidelink discontinuous reception - activation time may be: the remaining time, or the cut-off time of the sidelink discontinuous reception - activation time. By providing the cut-off time of the sidelink discontinuous reception - activation time, it is convenient for the PHY layer to select the sidelink resource before the cut-off time of the sidelink discontinuous reception - activation time from the candidate resource set.

[0283] Illustratively, the MAC entity requests the physical layer to determine a set of sidelink resources in the nth time slot. For example, the MAC entity provides the time Q to the physical layer, where Q is the remaining time of the sidelink discontinuous reception - activation time, and n + Q is the end time of the sidelink discontinuous reception - activation time. It should be noted that the remaining time of the sidelink discontinuous reception - activation time can be understood as the remaining time of the sidelink discontinuous reception - activation time determined at the current time. Further, it is a continuous period of discontinuous reception - activation time.

[0284] For example, based on the DRX cycle, DRX start offset, and drx-onDurationTimer-SL duration of the second terminal, the first terminal can obtain the time when the periodic drx-onDurationTimer-SL runs.

[0285] Such as Figure 8As shown, at time slot n, the second terminal is in the dormant period, that is, the second terminal is not within the sidelink discontinuous reception - activation time. However, within the time periods from T4 to T3 and from T5 to T6, the drx-onDurationTimer-SL of the second terminal will run. Therefore, the second terminal is within the sidelink discontinuous reception - activation time during the time periods from T4 to T3 and from T5 to T6, specifically within the discontinuous reception - activation period, and the second terminal is in the active state. At time slot n, the MAC entity provides T3 or T3 - n to the physical layer. Among them, T3 and T6 represent the end time of the sidelink discontinuous reception - activation time, and T3 - n represents the remaining time of the sidelink discontinuous reception - activation time. In Figure 8 the embodiment shown, the sidelink discontinuous reception - activation time is the discontinuous reception - activation period.

[0286] As Figure 9 shown, at time slot n, the drx-onDurationTimer-SL of the second terminal is running, that is, the moment when the MAC entity provides T3 or T3 - n to the physical layer is within the sidelink discontinuous reception - activation time of the second terminal. At time slot n, the MAC entity of the first terminal provides the time T3 or T3 - n to the physical layer.

[0287] As Figure 10 shown, at time slot n, the drx-onDurationTimer-SL (DRX on - duration timer - SL) of the second terminal is running, and the drx-InactivityTimer-SL (DRX inactivity timer - SL) is also running. Time period 1 is the running time determined by the drx-InactivityTimer-SL at time slot n. If the drx-InactivityTimer-SL is not restarted after time slot n, the drx-InactivityTimer-SL times out after T3. The discontinuous reception - activation time of the second terminal ends at T3. At time slot n, the MAC entity provides the time T3 or T3 - n to the physical layer.

[0288] Again, as Figure 11 shown, at time slot n, the drx-onDurationTimer-SL is running, and the drx-InactivityTimer-SL is also running. Time period 2 is the running time determined by the drx-InactivityTimer-SL at time slot n. At time slot n, it can be determined that the drx-RetransmissionTimer-SL will run within the dashed box. Then the first terminal can determine at time slot n that the second terminal is not within the discontinuous reception - activation time after T3. At time slot n, the MAC entity provides the time T3 or T3 - n to the physical layer.

[0289] In one embodiment of the present application, when the MAC entity determines that physical layer sensing sidelink resources are required, the MAC entity provides the first terminal with one or more of the information indicating the end time of the sidelink discontinuous reception - activation time, or the information indicating the remaining time of the sidelink discontinuous reception - activation time.

[0290] In another embodiment of the present application, the MAC entity may determine whether to provide the physical layer with one or more of the information indicating the end time of the sidelink discontinuous reception - activation time, or the information indicating the remaining time of the sidelink discontinuous reception - activation time, according to the relationship between the remaining time of the sidelink discontinuous reception - activation time and the remaining PDB.

[0291] For example, when the remaining time (T3 - n) of the sidelink discontinuous reception - activation time is greater than or equal to the remaining PDB, the MAC entity does not provide the physical layer with one or more of the information indicating the end time of the sidelink discontinuous reception - activation time, or the information indicating the remaining time of the sidelink discontinuous reception - activation time. The reason for not providing the information is that T2 is less than or equal to the remaining PDB. Therefore, the end of the resource selection window is earlier than the end of the sidelink discontinuous reception - activation time. Therefore, this information does not need to be provided. The remaining PDB in the embodiments of the present application may refer to the data sent by the first terminal to the second terminal on the sidelink.

[0292] For example, when the remaining time (T3 - n) of the sidelink discontinuous reception - activation time is less than or equal to the remaining PDB, the MAC entity provides the physical layer with one or more of the information indicating the end time of the sidelink discontinuous reception - activation time, or the information indicating the remaining time of the sidelink discontinuous reception - activation time.

[0293] In the case where the media access control entity provides the physical layer with the relevant information of the sidelink discontinuous reception - activation time, it is convenient for the physical layer to select the sidelink resources within the sidelink discontinuous reception - activation time from the candidate resource set. This avoids the situation where the media access control entity cannot determine the first sidelink resource for transmitting data because one or more of the sidelink resources reported by the physical layer to the media access control entity do not include the sidelink resources within the sidelink discontinuous reception - activation time, which may lead to the inability to perform data transmission.

[0294] In Example 1), step 701 provided by the embodiments of the present application may be implemented in the following manner: The physical layer determines one or more sidelink resources from the candidate resource set according to the first information.

[0295] As an example, the physical layer determines one or more sidelink resources from a candidate resource set according to the first information, including: the physical layer selects sidelink resources located before the end time of the sidelink discontinuous reception - activation time from the candidate resource set and determines them as one or more sidelink resources.

[0296] It should be noted that in the embodiments of the present application, when the media access control entity provides the first information to the physical layer, the physical layer selects one or more sidelink resources from the candidate resource set with reference to the first information. Therefore, one or more sidelink resources include sidelink resources located before T3 and sidelink resources located after T3. Or all sidelink resources in one or more sidelink resources are located before T3.

[0297] Further optionally, the sidelink resources included in one or more sidelink resources also need to satisfy being located after time unit 1. This is because the physical layer determines that it is necessary to sense sidelink resources at time unit 1, so providing sidelink resources located before time unit 1 to the MAC entity of the first terminal may have no reference value. Therefore, the physical layer may not provide sidelink resources located before time unit 1 to the MAC entity of the first terminal. For example, time unit 1 may be time slot n.

[0298] In an embodiment of the present application, the above one or more sidelink resources may be all sidelink resources in the candidate resource set, or part of the sidelink resources. The embodiments of the present application do not limit this. The one or more sidelink resources may be reported by the PHY layer to the MAC entity one by one, or the one or more sidelink resources may be reported by the PHY layer to the MAC entity uniformly. The embodiments of the present application do not limit this.

[0299] To facilitate the PHY layer of the first terminal to clarify the start time of the sidelink discontinuous reception - activation time of the second terminal, so as to ensure that there are sidelink resources located in the sidelink discontinuous reception - activation time among the one or more sidelink resources provided by the PHY layer to the MAC entity. Then in a possible embodiment of the present application, the first information further includes: information for indicating the start time of the sidelink discontinuous reception - activation time.

[0300] As an example, the information for indicating the start time of the sidelink discontinuous reception - activation time may be the start time of the sidelink discontinuous reception - activation time, or the information for indicating the start time of the sidelink discontinuous reception - activation time may be the current time + L1. Wherein, L1 represents the time length from the current time to the start time of the sidelink discontinuous reception - activation time.

[0301] In a possible embodiment of the present application, when the first information further includes information for indicating the start time of the sidelink discontinuous reception - activation time, step 701 can be implemented through the following steps: The physical layer determines the sidelink discontinuous reception - activation time according to the first information. Then, the physical layer determines one or more sidelink resources from the candidate resource set according to the sidelink discontinuous reception - activation time.

[0302] In a possible embodiment of the present application, the MAC entity can provide the physical layer with one or more of the information for indicating the start time of the sidelink discontinuous reception - activation time and the information for determining the end time of the sidelink discontinuous reception - activation time.

[0303] In a possible embodiment of the present application, when the MAC entity determines that the physical layer needs to sense the sidelink resources, it provides the physical layer with the information for indicating the start time of the sidelink discontinuous reception - activation time.

[0304] In a possible embodiment of the present application, the MAC entity determines whether to send the information for indicating the start time of the sidelink discontinuous reception - activation time to the physical layer of the first terminal according to the relationship between time unit 1 and the start time of the sidelink discontinuous reception - activation time. Time unit 1 is the moment when the physical layer of the first terminal determines to sense the sidelink resources.

[0305] For example, when time unit 1 is before the start time of the sidelink discontinuous reception - activation time or time unit 1 is the start time of the sidelink discontinuous reception - activation time, the media access control entity of the first terminal sends the information for indicating the start time of the sidelink discontinuous reception - activation time to the physical layer of the first terminal. At this time, since when time unit 1 is before the start time of the sidelink discontinuous reception - activation time, it means that when the MAC entity notifies the PHY to sense the sidelink, the second terminal is still in the sleep state and has not entered the active state from the sleep state. If the start time of the sidelink discontinuous reception - activation time is not provided to the PHY layer of the first terminal, it may cause one or more sidelink resources provided by the subsequent PHY layer to the MAC entity to include sidelink resources before the start time of the sidelink discontinuous reception - activation time. However, the sidelink resources before the start time of the sidelink discontinuous reception - activation time cannot carry the data sent to the second terminal.

[0306] Combined with Figure 8, for example, the first terminal can obtain the running time of the periodic drx-onDurationTimer-SL based on the DRX cycle, DRX start offset, and drx-onDurationTimer-SL duration. At time slot n, the second terminal is not within the SL active time (i.e., the sidelink discontinuous reception - activation time mentioned above), but it is known that the drx-onDurationTimer-SL of the second terminal will run during the time periods T4 - T3 and T5 - T6. Therefore, the second terminal is within the sidelink discontinuous reception - activation time during the time periods T4 - T3 and T5 - T6. Then at time slot n, the MAC entity provides T4 or T4 - n to the physical layer. T4 - n represents the time length from time slot n to the start time of the sidelink discontinuous reception - activation time.

[0307] For example, when time unit 1 is after the start time of the sidelink discontinuous reception - activation time or time unit 1 is the start time of the sidelink discontinuous reception - activation time, the media access control entity of the first terminal does not send information indicating the start time of the sidelink discontinuous reception - activation time to the physical layer of the first terminal. At this time, since time unit 1 being after the start time of the sidelink discontinuous reception - activation time means that when the MAC entity notifies the PHY layer to sense the sidelink, the second terminal is already in the active state. Therefore, the possibility that one or more sidelink resources provided by the subsequent PHY layer to the MAC entity include sidelink resources before time unit 1 is relatively small.

[0308] Another example Figure 9 As shown, at time slot n, the drx-onDurationTimer-SL is running, that is, the second terminal is within the sidelink discontinuous reception - activation time at time slot n. Then at time slot n, the MAC entity provides the time T4 or T4 - n or 0 to the physical layer, or the MAC entity does not provide the start time of the sidelink discontinuous reception - activation time to the physical layer.

[0309] Example 2): The media access control entity does not provide the first information to the physical layer.

[0310] When the media access control entity does not provide the first information to the physical layer, the physical layer will not consider the first information when selecting one or more sidelink resources from the candidate resource set. Therefore, there may be sidelink resources within the sidelink discontinuous reception - activation time among the one or more sidelink resources reported by the physical layer to the MAC entity. It is also possible that there are no sidelink resources within the sidelink discontinuous reception - activation time among the one or more sidelink resources reported by the physical layer to the MAC entity.

[0311] If there is no sidelink resource within the sidelink discontinuous reception - activation time among one or more sidelink resources reported by the physical layer to the MAC entity, then the MAC entity cannot select a resource within the sidelink discontinuous reception - activation time, and thus the MAC entity does not select the initial transmission resource and the retransmission resource. Alternatively, the MAC entity may notify the physical layer to re - report the sensed sidelink resources, and the embodiments of the present application do not limit this.

[0312] In an embodiment of the present application, if the MAC entity requests the physical layer to determine the time unit 1 of a set of sidelink resources such that n + T1 is not earlier than the start time of the sidelink discontinuous reception - activation time. In this way, the MAC entity does not need to provide the physical layer with the start time information of the sidelink discontinuous reception - activation time. Specifically as follows:

[0313] As Figure 12 shown, taking time unit 1 as time slot n, time slot n is within the discontinuous reception - activation time. As Figure 12 can be seen, the start time (n + T1) of the candidate resource set is after the start time of the discontinuous reception - activation time.

[0314] As Figure 13 shown, time slot n is later than or equal to the time slot T1 before the start of the discontinuous reception - activation time. For example, Figure 13 in, time slot n is equal to the time slot T1 before the start of the active time.

[0315] As a possible embodiment of the present application, it is described above that the PHY layer of the first terminal can determine one or more sidelink resources to be reported to the MAC entity from s candidate sidelink resources. Then, when the PHY layer determines one or more sidelink resources to be reported to the MAC entity from s candidate sidelink resources, the following rules can be referred to, so that the number of sidelink resources within the first time period in the finally determined one or more sidelink resources is greater than or equal to the first threshold.

[0316] For example, if n + T2 is greater than or equal to T3 (i.e., the deadline of the candidate resource set is later than the end time of the discontinuous reception - activation time), then among one or more sidelink resources reported by the physical layer to the MAC entity, the number of sidelink resources located in [n + T1, T3] should reach a certain value (the first threshold). For example, the first threshold can be obtained by multiplying the total number of candidate sidelink resources located in [n + T1, T3] in the candidate resource set by M. If the physical layer determines that the number of sidelink resources located in [n + T1, T3] among one or more sidelink resources is less than the first threshold, the PHY layer increases the RSRP threshold for determining whether the candidate sidelink resources are excluded. The PHY layer determines one or more sidelink resources reported to the MAC entity according to the increased RSRP threshold. The PHY layer can continuously increase the RSRP threshold until the resources of one or more sidelink resources determined by the physical layer in [n + T1, T3] reach this value.

[0317] Optionally, among one or more sidelink resources reported by the physical layer to the MAC entity, it is also required that the number of resources in [T3 + 1, n + T2] is greater than or equal to the total number of candidate resources in [T3 + 1, n + T2] multiplied by M. If not satisfied, it can also be satisfied by continuously increasing the RSRP threshold. This can ensure that there are a certain number of resources available for the MAC entity to select sidelink resources for initial transmission of data during the discontinuous reception - activation time. There are a certain number of resources available for the MAC entity to select sidelink resources for retransmission of data in the resource selection window.

[0318] Step 702: The physical layer reports information on one or more sidelink resources to the media access control entity of the first terminal.

[0319] As Figure 7 shown, step 501 in the embodiment of the present application can be implemented through the following step 703:

[0320] Step 703: The media access control entity selects a first sidelink resource located within the sidelink discontinuous reception - activation time of the second terminal from one or more sidelink resources.

[0321] In an embodiment of the present application, in order to ensure that there are sidelink resources for retransmitting data in the candidate resource set, the method provided in the embodiment of the present application further includes: The first terminal determines the retransmission end time of the data or the remaining retransmission time of the data. The first terminal determines the cut-off moment corresponding to the candidate resource set according to the retransmission end time or the remaining retransmission time, and the cut-off moment corresponding to the candidate resource set is earlier than or equal to the retransmission end time. Among them, the cut-off moment corresponding to the candidate resource set being earlier than or equal to the retransmission end time can be understood as: the cut-off moment corresponding to the candidate resource set is before the retransmission end time, or is the retransmission end time. Of course, the cut-off moment corresponding to the candidate resource set can also be after the retransmission end time, so as to fully ensure that there are sidelink resources in the candidate resource set that can be used to retransmit data before the retransmission end time. This process can be regarded as the moment when the first terminal re-determines the cut-off moment corresponding to the candidate resource set.

[0322] It should be noted that both the retransmission end time and the remaining retransmission time in the embodiment of the present application are the times estimated in advance by the first terminal, and at this time, the first terminal may not have transmitted the above data to the second terminal for the first time. The retransmission end time can also be referred to as: the possible retransmission end time or the latest retransmission end time. The retransmission end time can also be referred to as the latest retransmission time, or can be referred to as the possible latest retransmission time. The remaining retransmission time can also be referred to as the possible remaining retransmission time or the maximum remaining retransmission time. The possible remaining retransmission time is the possible retransmission end time - n.

[0323] For example, the MAC entity requires the physical layer to determine a set of sidelink resources in time slot n, and the physical layer uses the resources within [T1 + n, T2 + n] as s candidate sidelink resources. These s candidate sidelink resources constitute the candidate resource set. The physical layer determines one or more sidelink resources to be reported to the MAC entity from the candidate resource set. Among them, if T2min < retransmission end time - n, T2min ≤ T2 ≤ retransmission end time - n. Otherwise, T2 = retransmission end time - n.

[0324] Or, if T2min < retransmission end time - n, T2min ≤ T2 ≤ min(retransmission end time - n, remaining PDB). If T2min is greater than or equal to retransmission end time - n, T2min is greater than or equal to remaining PDB, T2 = min(retransmission end time - n, remaining PDB). If T2min is greater than or equal to retransmission end time - n, T2min is less than remaining PDB, T2 = retransmission end time - n, or T2 = min(retransmission end time - n, remaining PDB). If T2min < retransmission end time - n, T2min is greater than or equal to remaining PDB, T2 = remaining PDB, or T2 = min(retransmission end time - n, remaining PDB).

[0325] Alternatively, if T2min < min(retransmission end time - n, remaining PDB), then T2min ≤ T2 ≤ min(retransmission end time - n, remaining PDB). If T2min is greater than or equal to min(retransmission end time - n, remaining PDB), then T2 = min(retransmission end time - n, remaining PDB).

[0326] The following describes the process by which the first terminal determines the retransmission end time or the remaining retransmission time of data, taking the interaction between the MAC entity and the physical layer of the first terminal as an example. For instance, the media access control entity sends a second piece of information to the physical layer, where the second piece of information is used to indicate the retransmission end time of the data or to indicate the remaining retransmission time of the data. The first terminal determines the retransmission end time or the remaining retransmission time of the data, including: the physical layer of the first terminal determines the retransmission end time or the remaining retransmission time according to the second piece of information.

[0327] It is worth noting that the second piece of information may be sent by the MAC entity of the first terminal to the PHY layer at time unit 1, or may be sent by the MAC entity of the first terminal to the PHY layer after time unit 1. This second piece of information may be sent to the PHY layer together with the above-mentioned first piece of information, or may be sent to the PHY layer separately. The embodiments of the present application do not make any limitations in this regard.

[0328] As an example, the second piece of information includes the retransmission end time or the remaining retransmission time of the data. This avoids the PHY calculating the retransmission end time or the remaining retransmission time of the data by itself. At this time, the MAC entity may determine a possible retransmission end time according to at least one of the number of retransmissions, the duration of the RTT timer, the duration of the retransmission timer, and the end time of the discontinuous reception - activation time.

[0329] As another example, the second piece of information is at least one of the number of retransmissions of the data, the duration of the RTT timer, and the duration of the retransmission timer. Then, the PHY layer determining the retransmission end time or the remaining retransmission time according to the second piece of information may include: the PHY layer of the first terminal determines the retransmission end time or the remaining retransmission time of the data according to at least one of the number of retransmissions of the data, the duration of the RTT timer, and the duration of the retransmission timer. In this solution, the physical layer calculates the retransmission end time or the remaining retransmission time.

[0330] In a possible implementation of the present application, the retransmission end time is equal to the end time of the sidelink discontinuous reception - activation time + (RTT timer duration + retransmission timer duration) * number of retransmissions. Or, the retransmission end time is equal to the end time of the sidelink discontinuous reception - activation time + retransmission timer duration * number of retransmissions. Or, the retransmission end time is equal to the end time of the first data transmission + (RTT timer duration + retransmission timer duration) * number of retransmissions. Or, the retransmission end time is equal to the end time of the first data transmission + retransmission timer duration * number of retransmissions.

[0331] For example, as Figure 14 shown, the number of retransmissions is 2, T3 is the end time of the sidelink discontinuous reception - activation time, and T5 is the retransmission end time (or the latest retransmission end time). Then the cut-off time of the candidate resource set cannot exceed T5 at the latest.

[0332] In a possible embodiment of the present application, regardless of whether the remaining packet delay budget is less than a first value, that is, the MAC entity does not need to consider the relationship between the remaining packet delay budget and the first value, the media access control entity provides the physical layer with the minimum value between the remaining packet delay budget and the retransmission end time.

[0333] In a possible embodiment of the present application, the MAC entity considers the relationship between the remaining packet delay budget and the first value to determine whether to provide the physical layer with the minimum value between the remaining packet delay budget and the retransmission end time.

[0334] For example, if the remaining packet delay budget is less than the first value, or the remaining packet delay budget is less than the remaining retransmission time, the MAC entity does not provide the physical layer with the possible retransmission end time or the remaining retransmission time. The first value is the retransmission end time - n.

[0335] For example, if the remaining packet delay budget is less than the first value, or the remaining packet delay budget is less than the remaining retransmission time, the MAC entity provides the physical layer with the minimum value between the remaining PDB and the retransmission end time.

[0336] The above step 703 can be implemented in the following manner:

[0337] The MAC entity selects a first sidelink resource from one or more sidelink resources provided by the physical layer, such that the selected first sidelink resource is within the sidelink discontinuous reception - activation time. The sidelink discontinuous reception - activation time in the embodiments of this application can be understood as including the currently determined sidelink discontinuous reception - activation time and possible sidelink discontinuous reception - activation times. The possible sidelink discontinuous reception - activation times are determined based on the selected first sidelink resource. Specifically, there are several ways:

[0338] 1). If the selected initial transmission resource (e.g., the first sidelink resource) is within the currently determined sidelink discontinuous reception - activation time, and if a retransmission resource (e.g., the second sidelink resource) needs to be selected, the selected retransmission resource is within the currently determined sidelink discontinuous reception - activation time or within the possible retransmission timer running period. The possible retransmission timer running period is determined based on the resource before this resource. For example, if one initial transmission resource and two retransmission resources are selected, the running period of the first retransmission timer is determined based on the initial transmission resource, and the running period of the first retransmission timer is determined based on the first retransmission resource. For example, if one initial transmission resource and two retransmission resources are selected, the first retransmission resource can be indicated by the SCI of the initial transmission, and the second retransmission resource can be indicated by the SCI of the first retransmission resource.

[0339] Currently, the terminal can determine the time - domain and frequency - domain resources for PSSCH transmission based on the time - domain resource allocation field and frequency - domain resource allocation field included in the SCI and the resources for PSCCH transmission. Among them, the time - domain resource allocation field indicates N resources, and the time - slot offset of the resources other than the first resource among the N resources. N can be 1, 2, or 3. The time - slot where the first resource is located is the time - slot where the SCI is located, and the time - slot offset of the resources other than the first resource is the time - slot offset relative to the time - slot of the first resource. The frequency - domain resource allocation field indicates the number of consecutive sub - channels of each of the N resources, and the starting sub - channel index of the resources other than the first resource. Among them, the N resources are used for N data transmissions.

[0340] Specifically, the MAC entity selects a sidelink resource from one or more sidelink resources provided by the physical layer such that the selected initial transmission resource is within the sidelink discontinuous reception - activation time. If a retransmission resource needs to be selected, the retransmission resource can be indicated by the previous SCI, or during the currently determined sidelink discontinuous reception - activation time or during the possible retransmission timer operation. A more specific way is that the MAC entity randomly selects a resource as the first sidelink resource from the sidelink resources provided by the physical layer that are within the sidelink discontinuous reception - activation time. If at least one retransmission resource needs to be selected, then continue to select the retransmission resource from the remaining one or more sidelink resources provided by the physical layer such that the selected retransmission resource is within the sidelink discontinuous reception - activation time, and the retransmission resource can be indicated by the previous SCI, or during the currently determined sidelink discontinuous reception - activation time or during the possible retransmission timer operation. The resource earliest in time is the initial transmission resource. The selection of a resource here can be understood as selecting a resource for a transmission opportunity. The initial transmission resource can be understood as a resource for an initial transmission opportunity, and the retransmission resource can be understood as a resource for a retransmission opportunity. The resource during the possible retransmission timer operation can be understood as the transmission opportunity corresponding to the resource during the possible retransmission timer operation.

[0341] In the embodiments of the present application, the initial transmission resource is the resource used for the first transmission of the data, that is, the resource used when the data is first transmitted. The retransmission resource in the embodiments of the present application is the resource used for the second transmission of the data, that is, the resource used when the data is transmitted for the X - th time. X is greater than or equal to 2.

[0342] In the embodiments of the present application, the first terminal can determine multiple second sidelink resources, and the number of the second sidelink resources can be determined according to the number of retransmissions of the data. The embodiments of the present application do not make any limitations in this regard.

[0343] The possible running time of the retransmission timer can be determined according to the sidelink resources selected by the first terminal. For example, the start time of the running time of the retransmission timer can be the first time unit after the end of Resource A. If the retransmission timer is the timer for the first retransmission, then Resource A is the resource for the initial transmission before the first retransmission. If the retransmission timer is the timer for the gth retransmission, then Resource A is the resource for the retransmission before the gth retransmission. g is an integer greater than or equal to 2. The end time of the running time of the retransmission timer is the start of the running time of the retransmission timer + the duration of the retransmission timer - 1. The possible running time of the retransmission timer can also be determined according to the selected first sidelink resource and the RTT timer. For example, the first terminal determines the running time of the RTT timer according to the selected sidelink resource. The first time unit after the RTT timer times out is the start time of the running time of the retransmission timer. The end time of the running time of the retransmission timer is the start of the running time of the retransmission timer + the duration of the retransmission timer - 1. The first terminal determines the running time of the RTT timer according to the selected sidelink resource specifically as follows: The first terminal determines the resource carrying the transmission of the HARQ feedback according to the selected sidelink resource. The first time unit after the end of the transmission carrying the HARQ feedback is the start time of the running time of the RTT timer. The end time of the running time of the RTT timer is the start of the running time of the RTT timer + the duration of the RTT timer - 1. The time unit can be a symbol, a time slot, a subframe, a millisecond, a frame, a micro time slot, etc.

[0344] As Figure 15 shown, Sidelink Resource A, Sidelink Resource B, Sidelink Resource C, and Sidelink Resource D represent the sidelink resources selected by the MAC entity. Among them, Sidelink Resource A is the sidelink resource with the earliest time domain position among the four sidelink resources, and Sidelink Resource D is the sidelink resource with the latest time domain position among the four sidelink resources. Among them, Sidelink Resource A is the initial transmission resource. Sidelink Resources B to D are retransmission resources. Among them, Sidelink Resource A and Sidelink Resource B are within the currently determined sidelink discontinuous reception - activation time. Sidelink Resource C is within the running period of the retransmission timer determined according to Sidelink Resource B, and Sidelink Resource D is within the running period of the retransmission timer determined according to Sidelink Resource C.

[0345] The retransmission resource can be indicated by the previous SCI. Specifically, the retransmission resource can be indicated by the time-domain resource allocation field in the previous SCI. For a resource to be indicated by the previous SCI, the interval between the time-domain position of this resource and the time-domain position of the previous SCI should be less than or equal to a threshold. A possible way is that the slot where this resource is located - the slot where the previous SCI is located is less than or equal to 31.

[0346] 2) If the selected initial transmission resource is within the currently determined SL DRX-active time and a retransmission resource needs to be selected, the selected retransmission resource is within the currently determined sidelink discontinuous reception - active time or within the possible sidelink discontinuous reception - active time, and the possible sidelink discontinuous reception - active time is determined according to the resource in front of this resource. Specifically, the MAC entity selects a sidelink resource from one or more sidelink resources provided by the physical layer such that the selected initial transmission resource is within the sidelink discontinuous reception - active time. If a retransmission resource needs to be selected, the retransmission resource can be indicated by the previous SCI, or within the currently determined sidelink discontinuous reception - active time or the possible sidelink discontinuous reception - active time. A more specific way is that the MAC entity randomly selects a sidelink resource from one or more sidelink resources provided by the physical layer that are within the sidelink discontinuous reception - active time as the initial transmission resource. If at least one retransmission resource needs to be selected, then continue to select resources from the remaining sidelink resources other than the initial transmission resource among the one or more sidelink resources provided by the physical layer, such that the selected initial transmission resource is within the sidelink discontinuous reception - active time, the retransmission resource can be indicated by the previous SCI, or within the currently determined sidelink discontinuous reception - active time or the possible sidelink discontinuous reception - active time. The sidelink resource earliest in time is the initial transmission resource. Here, selecting a sidelink resource can be understood as selecting a sidelink resource for a transmission opportunity. The initial transmission resource can be understood as the sidelink resource for an initial transmission opportunity, and the retransmission resource can be understood as the sidelink resource for a retransmission opportunity. A sidelink resource within the active time can be understood as the transmission opportunity corresponding to this sidelink resource being within the sidelink discontinuous reception - active time.

[0347] The possible active time includes the period during which the possible retransmission timer in (1) runs, and the periods during which other possible timers run, for example, the period during which the possible drx-InactivityTimerSL runs. The period during which the possible drx-InactivityTimerSL runs is determined according to the selected initial transmission resource. For example, the drx-InactivityTimerSL starts / restarts at the first time unit after the end of the initial transmission resource and times out after the duration of the drx-InactivityTimerSL.

[0348] As Figure 16 shown, sidelink resources 1 to 4 are the sidelink resources selected by the MAC entity. Among them, sidelink resource 1 is the initial transmission resource. Sidelink resources 2 to 4 are retransmission resources. Among them, sidelink resources 1 and 2 are within the currently determined sidelink discontinuous reception - active time. Sidelink resource 3 is within the period during which the drx-InactivityTimerSL runs as determined by the first terminal according to sidelink resource 1. Sidelink resource 4 is within the period during which the retransmission timer runs as determined by the first terminal according to sidelink resource 3.

[0349] Optionally, the sidelink resources selected by the MAC entity from one or more sidelink resources provided by the physical layer also need to satisfy that the time interval between any two selected sidelink resources is greater than or equal to the minimum time interval. Optionally, if the resource pool where the resource is located is configured with PSFCH resources, the above condition of the minimum time interval needs to be satisfied. For example, the time interval between the first sidelink resource and the second sidelink resource is greater than or equal to the minimum time interval.

[0350] A possible situation is that the MAC entity cannot select X retransmission resources that meet the above conditions from one or more sidelink resources provided by the physical layer. Among them, X is the number of retransmissions determined by the MAC entity, and X is greater than or equal to 1. Then the MAC entity selects at most N retransmission resources that can meet the above conditions, where N is greater than or equal to 0.

[0351] In a possible embodiment of the present application, if the first terminal needs to send data to multiple destinations. Among them, the destination can be the destination selected by the first terminal for an SL grant according to the LCP process. Specifically, it is the destination with the highest priority among at least one of the logical channel (LCH) and the MAC CE in all logical channels and MAC CEs that meet the conditions. The conditions include: the SL data in this destination is transmittable.

[0352] Alternatively, the destination can be the destination for the data to be transmitted. The SL DRX-active time of the destination is determined according to the active time of at least one destination for the data to be transmitted. For example, it is the union or intersection of the active times of the destinations for the data to be transmitted.

[0353] In a possible embodiment of the present application, the first terminal may first determine the destination. For example, there are multiple destinations for the data to be transmitted, and the first terminal may select a target destination from the multiple destinations for the data to be transmitted (the multiple destinations for the data to be transmitted may belong to the same terminal or different terminals, and the embodiments of the present application do not limit this). For example, if the target destination is identified by the layer-2 ID of the second terminal, then the first terminal may determine that it is necessary to select sidelink resources to send data to the second terminal. Then, the first terminal selects sidelink resources located within the SL DRX-active time from one or more sidelink resources as the first sidelink resources according to the SL DRX-active time of the second terminal. Then, the first terminal sends data to the second terminal on the first sidelink resources. The manner in which the first terminal can select a target destination from multiple destinations for the data to be transmitted can refer to the above description, and the embodiments of the present application will not elaborate here.

[0354] It should be noted that when the second terminal has multiple destinations for the data to be transmitted, the first terminal can also select a target destination with reference to the above rules.

[0355] When the above MAC entity selects the first sidelink resource from one or more sidelink resources provided by the physical layer, the DRX parameters considered can be the DRX parameters of the destination selected for an SL grant according to the LCP process. Specifically, it is the destination with the highest priority among all logical channels and MAC CEs that satisfy the conditions in at least one of the logical channel (LCH) and MAC CE. Alternatively, the destination can be the destination of the data to be transmitted, and at least one of the resources provided by the physical layer is within the SL DRX-active time of this destination. Then, select the destination with the highest priority among all logical channels and MAC CEs that satisfy the above conditions in at least one of the logical channel (LCH) and MAC CE of this destination.

[0356] The DRX status / activation time / timer running status, etc. of the destination in this application can be understood as the DRX status / activation time / timer running status maintained by the first terminal for this destination. Further, the DRX parameters / status / activation time / timer running status, etc. of the destination can be the DRX parameters / status / activation time / timer running status, etc. of the source-destination pair.

[0357] When selecting a destination for an SL grant during the LCP process, it is also necessary to ensure that this SL grant is within the SL DRX-active time of this destination. That is, among the destinations where the SL grant is within the DRX-active time, select the destination with the highest priority among all logical channels and MAC CEs that satisfy the conditions in at least one of the LCH and MAC CE.

[0358] Such as Figure 17 As shown, taking the destinations as DES1 and DES2 as an example, if the destination selected by the first terminal is DES2, then subsequently the first terminal can select the sidelink resources within the DRX-active time of this DES2 to be used for the initial transmission of the data sent to this DES2.

[0359] In another embodiment of the present application, the first terminal may determine the second terminal in the following manner. For example, the first terminal may first select an SL grant, and then determine the first sidelink resource indicated by the SL grant from one or more sidelink resources. The first terminal determines the time range of the first sidelink resource. Then the first terminal determines the first destination from among the destinations of the multiple data to be transmitted. The active time of the first destination includes the time range of the first sidelink resource, that is, the time range of the first sidelink resource is within the SL DRX-active time of the first destination.

[0360] If there are multiple destinations that include the time range of the first sidelink resource, then the first terminal may determine the first destination from among the multiple destinations according to the priorities of the multiple destinations. It should be noted that the priority of a destination may also be regarded as the priority of the data transmitted on that destination.

[0361] For example, as Figure 18 shown, the time range of the sidelink resource (for example, the initial transmission sidelink resource 1) selected by the first terminal does not overlap with the SL DRX-active time of DES1 and DES2. That is, DES1 and DES2 are not in the SL DRX-active time within the time range of the sidelink resource selected by the first terminal, then the first terminal does not generate a MAC PDU, and thus the SL grant corresponding to the initial transmission sidelink resource 1 selected by the first terminal is not used.

[0362] In the existing standard, for a retransmission grant, the HARQ entity instructs the sidelink process to trigger a retransmission, and the sidelink process notifies the physical layer to transmit the SCI and generate a transmission. If no MAC PDU is generated during the initial transmission, then for the retransmission grant, the sidelink process cannot transmit the SCI and data. Then as Figure 18 shown, even if the retransmission sidelink resource 2 is within the SL DRX-active time of DES2, the first terminal does not transmit on the retransmission sidelink resource 2, that is, the second terminal does not use the retransmission grant corresponding to the retransmission sidelink resource 2.

[0363] If the retransmission grant is not within the active time of the destination of the MAC PDU, the transmitted SCI and data will not be received by the destination either. Therefore, if the initial transmission grant does not generate a MAC PDU, it will not be transmitted on the corresponding retransmission grant.

[0364] In another possible embodiment of the present application, as Figure 19 shown, if no MAC PDU is generated during the above initial transmission, then for the retransmission grant, if the retransmission grant is not within the SL DRX - active time of the selected destination (DES2), the retransmission grant is not used. The retransmission grant corresponding to the initial transmission grant is the grant used to transmit the same MAC PDU / TB as the initial transmission grant.

[0365] If the initial transmission grant does not generate a MAC PDU, the following processing methods are available for the retransmission grant:

[0366] 1) If the MAC entity fails to obtain the MAC PDU of the initial transmission grant, it clears the PSCCH duration and PSSCH duration corresponding to the retransmission grant associated with the initial transmission grant. Or, if the MAC entity fails to obtain the MAC PDU of the initial transmission grant, it clears the retransmission grant associated with the initial transmission grant. Or, if the MAC entity does not transmit data on the initial transmission grant, the MAC entity clears the PSCCH duration and PSSCH duration corresponding to the retransmission grant associated with the initial transmission grant. Or, if the MAC entity does not transmit data on the initial transmission grant, the MAC entity clears the retransmission grant associated with the initial transmission grant.

[0367] 2) If an SL grant is available for retransmission of a MAC PDU, and the transmission resources indicated by the SL grant are not within the SL DRX - active time of the destination corresponding to the MAC PDU, the MAC entity clears the PSCCH duration and PSSCH duration corresponding to the grant, or clears the grant.

[0368] 3) If the HARQ buffer associated with the sidelink process associated with a retransmission grant is not empty, and the transmission resources indicated by the SL grant are within the SL DRX-active time of the destination corresponding to the MAC PDU, the HARQ entity delivers the grant to the sidelink process, indicating that the sidelink process triggers a retransmission. If the HARQ buffer associated with the sidelink process associated with a retransmission grant is empty, or the transmission resources indicated by the SL grant are not within the SL DRX-active time of the destination corresponding to the MAC PDU, the HARQ entity does not deliver the grant to the sidelink process and does not indicate that the sidelink process triggers a retransmission.

[0369] 4) If the HARQ buffer associated with the sidelink process is not empty, and the transmission resources indicated by the stored SL grant are within the SL DRX-active time of the destination corresponding to the MAC PDU, the sidelink process instructs the physical layer to transmit the SCI according to the stored SL grant. If the HARQ buffer associated with the sidelink process is empty, or the transmission resources indicated by the stored SL grant are not within the SL DRX-active time of the destination corresponding to the MAC PDU, the sidelink process does not instruct the physical layer to transmit the SCI according to the stored SL grant.

[0370] To enable the sidelink process to determine whether the SL grant is within the SL DRX-active time of the destination, the HARQ entity provides / delivers the Destination information of the MAC PDU to the Sidelink process, for example, destination layer-2 ID, Source and Destination pair, Source layer-2 ID and Destination layer-2 ID pair, or Source layer-1 ID and Destination layer-1 ID pair.

[0371] In the above solution, if the initial transmission grant is not used, the retransmission grant is also not used, which can avoid power consumption waste when transmitting PSCCH, PSSCH, SCI, or MAC PDU when the destination does not monitor PSCCH, PSSCH, SCI, or MAC PDU.

[0372] In another embodiment of the present application, if the time domain position of the first sidelink resource indicated by the initial transmission SL grant selected by the first terminal is not within the SL DRX-active time of the second terminal, but the time domain position of the sidelink resource indicated by the retransmission SL grant is within the SL DRX-active time of the second terminal, the first terminal may use the sidelink resource indicated by the retransmission SL grant to send data to the second terminal.

[0373] When selecting a destination for an SL grant during the LCP process, it is also necessary to ensure that at least one of the initial transmission SL grant and the corresponding retransmission SL grant is within the SL DRX-active time of the destination. That is, among the destinations where at least one of the initial transmission SL grant and the retransmission SL grant is within the SL DRX-active time, select the destination where at least one of the logical channel (LCH) and MAC CE has the highest priority among all eligible logical channels and MAC CEs. If there is no eligible destination, no MAC PDU is generated, and thus the initial transmission SL grant is not used. If a grant is not within the SL DRX-active time of the selected destination, that grant is not used.

[0374] On the other hand, if no MAC PDU is generated for the initial transmission grant, the following processing methods are applicable to the initial transmission grant and the retransmission grant:

[0375] 1) If the transmission resources indicated by the initial transmission SL grant are within the SL DRX-active time of the destination corresponding to the MAC PDU, the HARQ entity instructs the sidelink process to trigger a new transmission. If the transmission resources indicated by the initial transmission SL grant are not within the SL DRX-active time of the destination corresponding to the MAC PDU, the HARQ entity does not instruct the sidelink process to trigger a new transmission. If the transmission resources indicated by the initial transmission SL grant are not within the SL DRX-active time of the destination corresponding to the MAC PDU, the HARQ entity delivers the MAC PDU and the initial transmission SL grant to the sidelink process.

[0376] 2) If the HARQ buffer associated with the sidelink process associated with a retransmission grant is not empty and the transmission resources indicated by the SL grant are within the SL DRX-active time of the destination corresponding to the MAC PDU, the HARQ entity delivers the grant to the sidelink process and instructs the sidelink process to trigger a retransmission. If the HARQ buffer associated with the sidelink process associated with a retransmission grant is empty or the transmission resources indicated by the SL grant are not within the SL DRX-active time of the destination corresponding to the MAC PDU, the HARQ entity does not deliver the grant to the sidelink process and does not instruct the sidelink process to trigger a retransmission.

[0377] 3) If the HARQ buffer associated with the sidelink process is not empty and the transmission resources indicated by the stored SL grant are within the SL DRX-active time of the destination corresponding to the MAC PDU, the sidelink process instructs the physical layer to transmit the SCI according to the stored SL grant. If the HARQ buffer associated with the sidelink process is empty or the transmission resources indicated by the stored SL grant are not within the SL DRX-active time of the destination corresponding to the MAC PDU, the sidelink process does not instruct the physical layer to transmit the SCI according to the stored SL grant.

[0378] To enable the sidelink process to determine whether the SL grant is within the SL DRX-activation time of the destination, the HARQ entity provides / submits the destination information of the MAC PDU to the Sidelink process. For example, the destination layer-2 ID, Source and Destination pair, source layer-2 ID and destination layer-2 ID pair, or source layer-1 ID and Destination layer-1 ID pair.

[0379] As Figure 20 shown, for example, the initial transmission sidelink resources indicated by the initial transmission grant selected by the terminal are not within the SL DRX-active time of DES1, but the retransmission sidelink resources indicated by the retransmission grant selected by the terminal are within the SL DRX-active time of DES1. Although the terminal does not use the initial transmission grant for data transmission, the terminal can use the retransmission grant to transmit data.

[0380] Avoid power consumption waste by avoiding sending PSCCH, PSSCH, SCI, or MAC PDU when the destination is not listening for PSCCH, PSSCH, SCI, or MAC PDU.

[0381] In an embodiment of the present application, the embodiment of the present application provides a method for triggering resource selection / reselection, and the method includes:

[0382] Step A1: The first terminal determines one or more sidelink resources Y for initial transmission of data.

[0383] The sidelink resources Y for initial transmission of data are indicated by the initial transmission grant.

[0384] Step B1: If the first terminal determines that there is no sidelink resource in one or more sidelink resources Y whose time domain position is within the DRX-active time of the second terminal, the first terminal determines to trigger resource selection / reselection.

[0385] The above steps A1 and B1 can be regarded as the triggering conditions for Resource (re-)selection of the first terminal. The detection of the above Resource (re-)selection triggering conditions is carried out in the MAC entity. Another possible way is to check during the LCP process: If there is no sidelink resource Y for initial transmission within the DRX-active time of the destination (such as the second terminal) with data, then trigger resource selection / reselection.

[0386] It should be noted that the above second terminal can be a specific terminal. For example, if there is no sidelink resource within the DRX-active time of the second terminal, but there is a sidelink resource within the DRX-active time of other terminals, the first terminal can choose to trigger resource reselection or not trigger resource selection / reselection. However, if the second terminal represents one or more terminals, and there is no sidelink resource within the DRX-active time of any one of the one or more terminals among one or more sidelink resources Y, then the first terminal can choose to trigger resource reselection.

[0387] In an embodiment of the present application, the present application embodiment provides a method for triggering resource selection / reselection, and the method includes:

[0388] Step A2, the first terminal determines one or more sidelink resources Y for initial transmission and sidelink resources Z for retransmission.

[0389] Step B2, if the first terminal determines that there is no sidelink resource Y for initial transmission whose time domain position is within the DRX-active time of the second terminal among one or more sidelink resources Y, and there is no sidelink resource for retransmission within the DRX-active time among the sidelink resources Z for retransmission, then the first terminal determines to trigger resource selection / reselection.

[0390] The check of the resource selection / reselection (Resource (re-)selection) triggering conditions described in the above steps A2 and B2 is carried out in the MAC entity. Another possible way is to check during the LCP process: If none of the sidelink resources for initial transmission (initial transmission SL grant) and the sidelink resources for retransmission (such as the sidelink resources indicated by the retransmission SL grant) are within the SL DRX-active time of the second terminal, then trigger resource selection / reselection.

[0391] It should be noted that the solutions described in the above steps A1 to B2, or steps A2 to B2 can be used alone as an embodiment. Of course, the solutions described in the above steps A1 to B1 can also be used in combination with the Figure 5 solutions described above. The solutions described in the above steps A2 to B2 can also be used in combination with the Figure 5 solutions described above. When used in combination, the solutions described in steps A1 to B2, or steps A2 to B2 can be regarded as the conditions for the first terminal to trigger resource selection / reselection.

[0392] The above mainly introduces the solutions of the embodiments of the present application from the perspective of network elements. It can be understood that each network element, such as the first terminal, includes corresponding structures and / or software modules for implementing the above functions. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0393] The embodiments of the present application can divide functional units according to the above method examples for the first terminal. For example, each functional unit can be divided corresponding to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, only a logical function division, and there can be other division methods in actual implementation.

[0394] Above in combination with Figures 5 to 20 the method of the embodiments of the present application has been described. Next, the communication device for executing the above method provided by the embodiments of the present application will be described. Those skilled in the art can understand that the method and the device can be combined and referenced with each other. The communication device provided by the embodiments of the present application can execute the steps executed by the first terminal in the above communication method.

[0395] In the case of adopting an integrated unit, Figure 21 the communication device involved in the above embodiments is shown. The communication device may include: a communication module 2113 and a processing module 2112.

[0396] In an optional implementation manner, the communication device may further include a storage module 2111 for storing the program code and data of the communication device.

[0397] An example where the communication device is a first terminal or a chip applied to the first terminal. In this case, the communication module 2113 is used to support the communication between the communication device and an external network element (e.g., a second terminal). For example, the communication module 2113 is used to perform the transceiver operations of the first terminal in the above method embodiments. The processing module 2112 is used to perform the processing operations of the first terminal in the above method embodiments.

[0398] For example, the communication module 2113 is used to perform Figure 5 the sending action performed by the first terminal in step 501 of the above embodiments. The processing module 2112 is used to support the communication device to perform the processing actions performed by the first terminal in the above embodiments, such as step 502.

[0399] It should be noted that Figure 21 the shown communication module 2113 can also be replaced by a communication unit, and the processing module 2112 can also be replaced with reference to a processing unit. The storage module 2111 can also be replaced by a storage unit. The processing unit is used to control and manage the actions of the communication device. For example, the processing unit is used to execute the steps of information / data processing in the communication device. The communication unit is used to support the communication device to perform the steps of information / data sending or receiving.

[0400] In a possible implementation, the communication unit can include a receiving unit and a sending unit. The receiving unit is used to receive signals, and the sending unit is used to send signals.

[0401] Among them, the processing module 2112 can be a processor or a controller. For example, it can be 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 combination with the disclosure of the present application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, and so on. The communication module can be a transceiver, a transceiver circuit, or a communication interface, etc. The storage module can be a memory.

[0402] When the processing module 2112 is the processor 21 or the processor 25, and the communication module 2113 is the transceiver 23, and the storage module 2111 is the memory 22, the communication device involved in the present application can be Figure 2 the shown communication device.

[0403] The above communication module may be a communication interface of the device for receiving signals from other devices. For example, when the device is implemented in the form of a chip, the communication module is a communication interface of the chip for receiving or transmitting signals from other chips or devices.

[0404] Figure 22 It is a schematic structural diagram of chip 220 provided by an embodiment of the present application. Chip 220 includes one or more than two (including two) processors 2210 and a communication interface 2230.

[0405] Optionally, chip 220 further includes a memory 2240. The memory 2240 may include a read-only memory and a random access memory, and provide operation instructions and data to the processor 2210. A part of the memory 2240 may further include a non-volatile random access memory (NVRAM).

[0406] In some embodiments, the memory 2240 stores the following elements, execution modules or data structures, or subsets thereof, or extended sets thereof.

[0407] In the embodiment of the present application, corresponding operations are performed by calling the operation instructions stored in the memory 2240 (the operation instructions may be stored in the operating system).

[0408] The processor 2210 controls the processing operations of the first terminal. The processor 2210 may also be referred to as a central processing unit (CPU).

[0409] The memory 2240 may include a read-only memory and a random access memory, and provide instructions and data to the processor 2210. A part of the memory 2240 may further include NVRAM. For example, in the application, the memory 2240, the communication interface 2230, and the memory 2240 are coupled together through a bus system 2220. The bus system 2220 may include a power bus, a control bus, a status signal bus, etc. in addition to the data bus. However, for the sake of clarity, in Figure 22 all kinds of buses are labeled as the bus system 2220.

[0410] The method disclosed in the embodiments of the present application can be applied to or implemented by the processor 2210. The processor 2210 may be an integrated circuit chip with signal processing capabilities. During implementation, the steps of the above method can be completed by the integrated logic circuit in the hardware of the processor 2210 or instructions in software form. The above-mentioned processor 2210 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, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as being executed by the hardware decoding processor or completed by a combination of the hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory 2240, and the processor 2210 reads the information in the memory 2240 and combines its hardware to complete the steps of the above method.

[0411] In a possible implementation, the communication interface 2230 is used to execute Figure 5 or Figure 7 the receiving and sending steps of the first terminal in the embodiments shown. The processor 2210 is used to execute Figure 5 or Figure 7 the processing steps of the first terminal in the embodiments shown.

[0412] On the one hand, a computer-readable storage medium is provided. Instructions are stored in the computer-readable storage medium. When the instructions are run, the functions executed by the first terminal as shown in Figure 5 or Figure 7 are implemented.

[0413] On the one hand, a computer program product including instructions is provided. The computer program product includes instructions. When the instructions are run, the functions executed by the first terminal as shown in Figure 5 or Figure 7 are implemented.

[0414] On the one hand, a chip is provided. The chip is applied to the first terminal. The chip includes at least one processor and a communication interface. The communication interface is coupled to the at least one processor. The processor is used to run instructions to implement the functions executed by the first terminal as shown in Figure 5 or Figure 7 are implemented.

[0415] An embodiment of the present application provides a communication system, which includes: a first terminal and a second terminal. Among them, the first terminal is used to execute the functions executed by the first terminal as described in Figure 5 or Figure 7 , and the second terminal is used to receive data from the first terminal on a first sidelink resource, and the first sidelink resource is within the sidelink discontinuous reception - activation time of the second terminal.

[0416] Embodiment 1: A communication method, which is applied to a first terminal, and the method includes:

[0417] The first terminal determines one or more sidelink resources, where at least one of the one or more sidelink resources is a sidelink resource within the sidelink discontinuous reception - activation time of the second terminal;

[0418] The first terminal sends data to the second terminal on a first sidelink resource among the one or more sidelink resources, and the first sidelink resource is within the sidelink discontinuous reception - activation time.

[0419] Embodiment 2: According to the method described in Embodiment 1, the number of sidelink resources within a first time period among the one or more sidelink resources is greater than or equal to a first threshold;

[0420] Among them, the start time of the first time period is the start time corresponding to the candidate resource set, and the end time of the first time period is the end time of the sidelink discontinuous reception - activation time.

[0421] Embodiment 3: According to the method described in Embodiment 1 or Embodiment 2, the one or more sidelink resources are sidelink resources determined from a candidate resource set, and the start time corresponding to the candidate resource set is later than or equal to the start time of the sidelink discontinuous reception - activation time; or,

[0422] The one or more sidelink resources are sidelink resources determined from a candidate resource set, and the end time corresponding to the candidate resource set is earlier than or equal to the end time of the retransmission of the data.

[0423] Embodiment 4: According to any one of Embodiments 1 to 3, when the first terminal determines the one or more sidelink resources, it includes: the physical layer of the first terminal determines the one or more sidelink resources from a candidate resource set; the physical layer reports the one or more sidelink resources to the media access control entity of the first terminal;

[0424] Before the first terminal sends data to the second terminal on a first sidelink resource among the one or more sidelink resources, the method provided by the embodiments of the present application further includes: The media access control entity selects the first sidelink resource located within the sidelink discontinuous reception - activation time from the one or more sidelink resources.

[0425] Embodiment 5. The method provided by the embodiments of the present application further includes: The media access control entity sends the first information to the physical layer, where the first information includes: information for indicating the end time of the sidelink discontinuous reception - activation time, or information for indicating the remaining time of the sidelink discontinuous reception - activation time;

[0426] The physical layer of the first terminal determines the one or more sidelink resources from a candidate resource set, including:

[0427] The physical layer determines the one or more sidelink resources from the candidate resource set according to the first information.

[0428] Embodiment 6. The method according to Embodiment 5, where the media access control entity sends the first information to the physical layer, including: When the remaining time of the sidelink discontinuous reception - activation time is less than or equal to the remaining packet delay budget, the media access control entity sends the first information to the physical layer.

[0429] Embodiment 7. The method according to Embodiment 5 or Embodiment 6, where the first information further includes: information for indicating the start time of the sidelink discontinuous reception - activation time.

[0430] Embodiment 8. The method according to Embodiment 7, when time unit 1 is before the start time of the sidelink discontinuous reception - activation time, the media access control entity of the first terminal sends information for indicating the start time of the sidelink discontinuous reception - activation time to the physical layer of the first terminal, and time unit 1 is the moment when the physical layer of the first terminal determines to sense sidelink resources.

[0431] Embodiment 9. The method according to any one of Embodiments 4 to 8, the method provided by the embodiments of the present application further includes: The first terminal determines the end time of the retransmission of the data or the remaining retransmission time of the data. The first terminal determines the cut - off moment corresponding to the candidate resource set according to the end time of the retransmission or the remaining retransmission time, and the cut - off moment corresponding to the candidate resource set is earlier than or equal to the end time of the retransmission.

[0432] Embodiment 10. The method provided in the embodiments of the present application further includes: the media access control entity sends second information to the physical layer, and the second information is used to indicate the end time of the retransmission of the data or the remaining retransmission time of the data;

[0433] The first terminal determines the end time of the retransmission of the data or the remaining retransmission time of the data, including:

[0434] The physical layer determines the end time of the retransmission or the remaining retransmission time according to the second information.

[0435] Embodiment 11. The method according to Embodiment 10, characterized in that

[0436] If the remaining packet delay budget is greater than or equal to the remaining retransmission time, the media access control entity provides one or more of the end time of the retransmission or the remaining retransmission time to the physical layer, or the media access control entity provides the minimum value between the remaining packet delay budget and the end time of the retransmission to the physical layer.

[0437] Embodiment 12. The method provided in the embodiments of the present application further includes:

[0438] If the number of sidelink resources within the first time period is less than or equal to the first threshold, the first terminal updates the threshold for whether the candidate resource set is excluded;

[0439] The first terminal determines the one or more sidelink resources from the candidate resource set according to the updated threshold.

[0440] Embodiment 13. The method according to any one of Embodiments 1 to 12, the number of sidelink resources within the second time period among the one or more sidelink resources is greater than or equal to the second threshold;

[0441] The second time period is determined by the end time of the sidelink discontinuous reception - activation time and the end time corresponding to the candidate resource set.

[0442] Embodiment 14. The method according to any one of Embodiments 1 to 13, the first sidelink resource is the sidelink resource for first transmitting the data, and the method further includes:

[0443] The first terminal determines a second sidelink resource, where the second sidelink resource is a resource for retransmitting the data. The second sidelink resource is within the sidelink discontinuous reception - activation time or within a third time period, and the third time period is determined according to the first sidelink resource. For example, the first terminal may determine the second sidelink resource from one or more sidelink resources. At this time, the one or more sidelink resources may also include sidelink resources within the third time period.

[0444] Embodiment 15. The method according to Embodiment 14, wherein a time interval between the first sidelink resource and the second sidelink resource is greater than or equal to a minimum time interval.

[0445] Embodiment 16. The method according to any one of Embodiments 1 to 14, when physical sidelink feedback control channel resources are configured in a resource pool where the first sidelink resource and the second sidelink resource are located, a time interval between the first sidelink resource and the second sidelink resource is greater than or equal to a minimum time interval.

[0446] Embodiment 17. The method according to any one of Embodiments 1 to Embodiment 16, if there is no sidelink resource for initially transmitting the data within the sidelink discontinuous reception - activation time, the first terminal triggers a process of selecting / reselecting a sidelink resource.

[0447] Embodiment 18. The method according to Embodiment 17, if there is also no sidelink resource for retransmitting the data within the sidelink discontinuous reception - activation time, the first terminal triggers a process of selecting / reselecting a sidelink resource.

[0448] Embodiment 19. The method according to any one of Embodiments 1 to 13 and Embodiment 17, if a sidelink resource for initial transmission of the data is not within the sidelink discontinuous reception - activation time, the first sidelink resource is a sidelink resource for retransmitting the data.

[0449] Embodiment 20. The method according to any one of Embodiments 1 to 13 and Embodiment 17, the method further includes:

[0450] If a sidelink resource for initial transmission of the data is not within the sidelink discontinuous reception - activation time, the first terminal abandons transmitting the data on a second sidelink resource for retransmitting the data.

[0451] Embodiment 21. A communication device, which is applied to a first terminal, and the device includes:

[0452] A processor for determining one or more sidelink resources, where at least one of the one or more sidelink resources includes a sidelink resource located within the sidelink discontinuous reception - activation time of a second terminal;

[0453] A transceiver for sending data to the second terminal on a first sidelink resource among the one or more sidelink resources, where the first sidelink resource is located within the sidelink discontinuous reception - activation time.

[0454] Example 22. The apparatus according to Example 21, where the number of sidelink resources located within a first time period among the one or more sidelink resources is greater than or equal to a first threshold;

[0455] Wherein, the start time of the first time period is the start time corresponding to a candidate resource set, and the end time of the first time period is the end time of the sidelink discontinuous reception - activation time.

[0456] Example 23. The apparatus according to Example 21 or Example 22, where the one or more sidelink resources are sidelink resources determined from a candidate resource set, and the start time corresponding to the candidate resource set is later than or equal to the start time of the sidelink discontinuous reception - activation time; or,

[0457] The one or more sidelink resources are sidelink resources determined from a candidate resource set, and the end time corresponding to the candidate resource set is earlier than or equal to the end time of the retransmission of the data.

[0458] Example 24. The apparatus according to any one of Examples 21 to 23, a processor for determining the one or more sidelink resources, including: a processor for determining the one or more sidelink resources from a candidate resource set through the physical layer of the first terminal; a processor for reporting the one or more sidelink resources to the media access control entity of the first terminal through the physical layer;

[0459] The method provided in the embodiments of the present application further includes: a processor for selecting, through the media access control entity of the first terminal, the first sidelink resource located within the sidelink discontinuous reception - activation time from the one or more sidelink resources.

[0460] Example 25. The apparatus according to Example 24, the processor in the embodiments of the present application for sending the first information to the physical layer of the first terminal through the media access control entity of the first terminal, where the first information includes: information for indicating the end time of the sidelink discontinuous reception - activation time, or information for indicating the remaining time of the sidelink discontinuous reception - activation time;

[0461] A processor for determining the one or more sidelink resources from a candidate resource set through the physical layer of the first terminal, including: a processor for determining the one or more sidelink resources from the candidate resource set through the physical layer of the first terminal according to the first information.

[0462] Example 26. The apparatus according to Example 25, wherein the processor is configured to send the first information to the physical layer through a media access control entity, including: when the remaining time of the sidelink discontinuous reception - activation time is less than or equal to the remaining packet delay budget, the processor is configured to send the first information to the physical layer through the media access control entity.

[0463] Example 27. The apparatus according to Example 25 or Example 26, wherein the first information further includes: information for indicating the start time of the sidelink discontinuous reception - activation time.

[0464] Example 28. The apparatus according to Example 26, when time unit 1 is before the start time of the sidelink discontinuous reception - activation time, the media access control entity of the first terminal sends information for indicating the start time of the sidelink discontinuous reception - activation time to the physical layer of the first terminal, and the time unit 1 is the moment when the physical layer of the first terminal determines to sense the sidelink resources.

[0465] Example 29. The apparatus according to any one of Examples 24 to 28, wherein the processor is further configured to determine the retransmission end time of the data or the remaining retransmission time of the data. The processor is further configured to determine the cut - off moment corresponding to the candidate resource set according to the retransmission end time or the remaining retransmission time, and the cut - off moment corresponding to the candidate resource set is earlier than or equal to the retransmission end time.

[0466] Example 30. The apparatus according to Example 29, wherein the processor is further configured to send second information to the physical layer through a media access control entity, and the second information is used to indicate the retransmission end time of the data or to indicate the remaining retransmission time of the data;

[0467] A processor for determining the retransmission end time of the data or the remaining retransmission time of the data, including:

[0468] The processor is configured to determine the retransmission end time or the remaining retransmission time according to the second information through the physical layer.

[0469] Example 31. The apparatus according to Example 30, characterized in that

[0470] If the remaining packet delay budget is greater than or equal to the remaining retransmission time, a processor, configured to provide, via the media access control entity, to the physical layer one or more of the retransmission end time or the remaining retransmission time, or the processor, configured to provide, via the media access control entity, to the physical layer the minimum value between the remaining packet delay budget and the retransmission end time.

[0471] Embodiment 32. The apparatus according to any one of Embodiments 22 to 31,

[0472] If the number of sidelink resources within the first time period is less than or equal to the first threshold, the processor is further configured to update the threshold for whether the candidate resource set is excluded;

[0473] The processor is further configured to determine, according to the updated threshold, the one or more sidelink resources from the candidate resource set.

[0474] Embodiment 33. The apparatus according to any one of Embodiments 21 to 32, wherein the number of sidelink resources within the second time period among the one or more sidelink resources is greater than or equal to a second threshold;

[0475] The second time period is determined by the end time of the sidelink discontinuous reception - activation time and the end time corresponding to the candidate resource set.

[0476] Embodiment 34. The apparatus according to any one of Embodiments 21 to 33, wherein the first sidelink resource is a sidelink resource for initially transmitting the data, and the processor is further configured to determine a second sidelink resource, where the second sidelink resource is a resource for retransmitting the data, and the second sidelink resource is within the sidelink discontinuous reception - activation time or within a third time period, and the third time period is determined according to the first sidelink resource. For example, a first terminal may determine a second sidelink resource from one or more sidelink resources. At this time, the one or more sidelink resources may further include sidelink resources within a third time period.

[0477] Embodiment 35. The apparatus according to Embodiment 34, wherein the time interval between the first sidelink resource and the second sidelink resource is greater than or equal to a minimum time interval.

[0478] Embodiment 36. The apparatus according to any one of Embodiments 21 to 35, when the resource pool where the first sidelink resource and the second sidelink resource are located is configured with physical sidelink feedback control channel resources, the time interval between the first sidelink resource and the second sidelink resource is greater than or equal to a minimum time interval.

[0479] Embodiment 37. For the device according to any one of Embodiments 21 to 36, if there is no sidelink resource for initially transmitting the data within the sidelink discontinuous reception - activation time, the transceiver triggers a process of selecting / reslecting sidelink resources.

[0480] Embodiment 38. For the device according to Embodiment 37, if there is also no sidelink resource for retransmitting the data within the sidelink discontinuous reception - activation time, the processor triggers a process of selecting / reslecting sidelink resources.

[0481] Embodiment 39. For the device according to any one of Embodiments 21 to 33 and Embodiment 38, if the sidelink resource for initially transmitting the data is not located within the sidelink discontinuous reception - activation time, the first sidelink resource is the sidelink resource for retransmitting the data.

[0482] Embodiment 40. For the device according to any one of Embodiments 21 to 33 and Embodiment 38,

[0483] if the sidelink resource for initially transmitting the data is not located within the sidelink discontinuous reception - activation time, the processor abandons sending the data on the second sidelink resource for retransmitting the data through the transceiver.

[0484] Embodiment 41. A communication method, the method includes:

[0485] A first terminal determines a first sidelink resource for initially transmitting data.

[0486] If the first terminal determines that the first sidelink resource is not located within the SL DRX - activation time of a second terminal, then the first terminal abandons sending data to the second terminal on a second sidelink resource for retransmitting the data.

[0487] Wherein, the first authorization is an initial transmission authorization, and the sidelink resource indicated by the initial transmission authorization is used for initially transmitting data. The second authorization is a retransmission authorization, and the sidelink resource indicated by the second authorization is used for retransmitting data. The second authorization corresponding to the first authorization refers to a grant for transmitting the same data as that carried on the initial transmission grant.

[0488] Embodiment 42. For the method according to Embodiment 41, the first terminal determining a first sidelink resource for initially transmitting data may include: the first terminal determines a first authorization for initially transmitting data, and the first terminal determines the sidelink resource indicated by the first authorization as the first sidelink resource for initially transmitting data.

[0489] Example 43. For the method according to Example 41 or Example 42, the first terminal determines a second sidelink resource.

[0490] Example 44. For the method according to Example 43, the first terminal determines a second sidelink resource, including: the first terminal determines a second grant corresponding to the first grant. The first terminal determines the sidelink resource indicated by the second grant as the second sidelink resource.

[0491] Example 45. For the method according to any one of Examples 41 to 44, the first terminal abandons sending data to the second terminal on the second sidelink resource for retransmitting the data, including: if the second sidelink resource is not within the DRX-active time of the second terminal, the first terminal abandons sending data to the second terminal on the sidelink resource indicated by the second grant corresponding to the first grant.

[0492] Example 46. For the method according to any one of Examples 41 to 45, the method provided in the embodiments of the present application may further include: if the first terminal determines that the second sidelink resource is within the DRX-active time of the second terminal, the first terminal sends data to the second terminal on the second sidelink resource for retransmitting the data.

[0493] Example 47. For the method according to any one of Claims 41 to 46, the second terminal is any one of multiple terminals that need to receive data sent by the first terminal, or the second terminal is the terminal with the highest priority among multiple terminals that need to receive data sent by the first terminal.

[0494] Example 48. A communication method, the method includes: the first terminal determines a first sidelink resource for initial transmission of data. If the first terminal determines that the first sidelink resource is not within the sidelink DRX-active time of the second terminal, then the first terminal sends data to the second terminal on a second sidelink resource for retransmitting the data.

[0495] If the first terminal determines that the first sidelink resource is not within the SL DRX-active time of the second terminal, then the first terminal sends data to the second terminal on the sidelink resource indicated by the second grant corresponding to the first grant.

[0496] Wherein, the first grant is an initial transmission grant, and the sidelink resource indicated by the initial transmission grant is used for initial transmission of data. The second grant is a retransmission grant, and the sidelink resource indicated by the second grant is used for retransmitting data. The second grant corresponding to the first grant refers to a grant used to transmit the same data as that carried on the initial transmission grant.

[0497] Example 49. For the method according to Example 48, the first terminal determining the first sidelink resource for initial transmission of data may include: the first terminal determining a first grant for initial transmission of data, and the first terminal determining the sidelink resource indicated by the first grant as the first sidelink resource for initial transmission of data.

[0498] Example 50. For the method according to Example 48 or Example 49, the method provided in the embodiments of the present application may further include: the first terminal determining a second sidelink resource.

[0499] Example 51. For the method according to Example 50, the first terminal determining the second sidelink resource includes: the first terminal determining a second grant corresponding to the first grant. The first terminal determines the sidelink resource indicated by the second grant as the second sidelink resource.

[0500] Example 52. For the method according to Examples 48 to 51, the first terminal sending data to the second terminal on the second sidelink resource for retransmitting the data includes: if the second sidelink resource is within the DRX-active time of the second terminal, the first terminal sends data to the second terminal on the second sidelink resource.

[0501] Example 53. For the method according to Examples 48 to 52, the second terminal is any one of multiple terminals that need to receive data sent by the first terminal, or the second terminal is the terminal with the highest priority among the multiple terminals that need to receive data sent by the first terminal.

[0502] Example 54. A communication device, the device includes a first terminal or a chip applied to the first terminal, and the device includes:

[0503] A processor, configured to determine a first sidelink resource for initial transmission of data.

[0504] If the first terminal determines that the first sidelink resource is not within the SL DRX-active time of the second terminal, the transceiver is configured to abandon sending data to the second terminal on the second sidelink resource for retransmitting the data.

[0505] Wherein, the first grant is an initial transmission grant, and the sidelink resource indicated by the initial transmission grant is used for initial transmission of data. The second grant is a retransmission grant, and the sidelink resource indicated by the second grant is used for retransmission of data. The second grant corresponding to the first grant refers to a grant for transmitting the same data as that carried on the initial transmission grant.

[0506] Embodiment 55. For the apparatus according to Embodiment 54, the first terminal determining the first sidelink resource for initial transmission of data may include: The first terminal determines a first grant for initial transmission of data, and the first terminal determines the sidelink resource indicated by the first grant as the first sidelink resource for initial transmission of data.

[0507] Embodiment 56. For the apparatus according to Embodiment 54 or Embodiment 55, the first terminal determines a second sidelink resource.

[0508] Embodiment 57. For the apparatus according to Embodiment 56, the first terminal determining the second sidelink resource includes: The first terminal determines a second grant corresponding to the first grant. The first terminal determines the sidelink resource indicated by the second grant as the second sidelink resource.

[0509] Embodiment 58. For the apparatus according to any one of Embodiments 54 to 47, the transceiver for refraining from sending data to the second terminal on the second sidelink resource for retransmitting the data includes: If the second sidelink resource is not within the DRX-active time of the second terminal, the transceiver refrains from sending data to the second terminal on the sidelink resource indicated by the second grant corresponding to the first grant.

[0510] Embodiment 59. For the apparatus according to any one of Embodiments 54 to 58, if the processor determines that the second sidelink resource is within the DRX-active time of the second terminal, the transceiver is used to send data to the second terminal on the second sidelink resource for retransmitting the data.

[0511] Embodiment 60. For the method according to any one of Claims 54 to 59, the second terminal is any one of multiple terminals that need to receive data sent by the first terminal, or the second terminal is the terminal with the highest priority among multiple terminals that need to receive data sent by the first terminal.

[0512] Embodiment 61. A communication apparatus, the apparatus includes: A processor for determining a first sidelink resource for initial transmission of data. If the processor determines that the first sidelink resource is not within the sidelink DRX-active time of the second terminal, then a transceiver for sending data to the second terminal on the second sidelink resource for retransmitting the data.

[0513] Wherein, the first grant is an initial transmission grant, and the sidelink resource indicated by the initial transmission grant is used for initial transmission of data. The second grant is a retransmission grant, and the sidelink resource indicated by the second grant is used for retransmission of data. The second grant corresponding to the first grant refers to a grant for transmitting the same data as that carried on the initial transmission grant.

[0514] Embodiment 62. For the apparatus according to Embodiment 61, the first terminal determining the first sidelink resource for initial transmission of data may include: The first terminal determines a first grant for initial transmission of data, and the first terminal determines the sidelink resource indicated by the first grant as the first sidelink resource for initial transmission of data.

[0515] Embodiment 63. For the apparatus according to Embodiment 61 or Embodiment 62, the processor is further configured to determine a second sidelink resource.

[0516] Embodiment 64. For the apparatus according to Embodiment 63, the processor is further configured to determine a second sidelink resource, including: The processor is further configured to determine a second grant corresponding to the first grant. The processor is further configured to determine the sidelink resource indicated by the second grant as the second sidelink resource.

[0517] Embodiment 65. For the apparatus according to Embodiments 61 to 64, the transceiver is configured to send data to the second terminal on the second sidelink resource for retransmitting the data, including: If the processor determines that the second sidelink resource is within the DRX-active time of the second terminal, the transceiver is configured to send data to the second terminal on the second sidelink resource.

[0518] Embodiment 66. For the apparatus according to Embodiments 61 to 65, the second terminal is any one of multiple terminals that need to receive data sent by the first terminal, or the second terminal is the terminal with the highest priority among the multiple terminals that need to receive data sent by the first terminal.

[0519] Embodiment 67. A computer-readable storage medium stores instructions that, when executed, implement the method according to any one of Embodiments 1 to 20.

[0520] Embodiment 68. A computer-readable storage medium stores instructions that, when executed, implement the method according to any one of Embodiments 41 to 47.

[0521] Embodiment 69. A computer-readable storage medium stores instructions that, when executed, implement the method according to any one of Embodiments 48 to 53.

[0522] Embodiment 70. A chip includes a processor coupled to a communication interface. The processor is configured to run a computer program or instructions to implement the method according to any one of Embodiments 1 to 20, and the communication interface is configured to communicate with other modules outside the chip.

[0523] Embodiment 71: A chip, the chip includes a processor, the processor is coupled with a communication interface, the processor is configured to run a computer program or instruction to implement the method described in any one of Embodiments 41 to 47, and the communication interface is configured to communicate with other modules outside the chip.

[0524] Embodiment 72: A chip, the chip includes a processor, the processor is coupled with a communication interface, the processor is configured to run a computer program or instruction to implement the method described in any one of Embodiments 48 to 53, and the communication interface is configured to communicate with other modules outside the chip.

[0525] Embodiment 73: A terminal, comprising: at least one processor, the at least one processor is coupled with a memory, and the at least one processor is configured to run an instruction stored in the memory to implement the method described in any one of Embodiments 1 to 20.

[0526] Embodiment 74: A terminal, comprising: at least one processor, the at least one processor is coupled with a memory, and the at least one processor is configured to run an instruction stored in the memory to implement the method described in any one of Embodiments 41 to 47.

[0527] Embodiment 75: A terminal, comprising: at least one processor, the at least one processor is coupled with a memory, and the at least one processor is configured to run an instruction stored in the memory to implement the method described in any one of Embodiments 48 to 53.

Claims

1. A communication method, characterized in that, the method is applied to a first terminal, and the method includes: determining one or more sidelink resources, where at least one of the one or more sidelink resources is a sidelink resource located within the sidelink discontinuous reception - activation time of a second terminal; sending data to the second terminal on a first sidelink resource among the one or more sidelink resources, where the first sidelink resource is located within the sidelink discontinuous reception - activation time; wherein, determining the one or more sidelink resources includes: the physical layer of the first terminal determining the one or more sidelink resources from a candidate resource set; the physical layer reporting the one or more sidelink resources to a media access control entity of the first terminal; the method further includes: the media access control entity selecting the first sidelink resource located within the sidelink discontinuous reception - activation time from the one or more sidelink resources.

2. The method according to claim 1, characterized in that, the number of sidelink resources located within a first time period among the one or more sidelink resources is greater than or equal to a first threshold; wherein, the start time of the first time period is the start time corresponding to the candidate resource set, and the end time of the first time period is the end time of the sidelink discontinuous reception - activation time.

3. The method according to claim 1 or 2, characterized in that, the one or more sidelink resources are sidelink resources determined from a candidate resource set, and the start time corresponding to the candidate resource set is later than or equal to the start time of the sidelink discontinuous reception - activation time; or, the one or more sidelink resources are sidelink resources determined from a candidate resource set, and the end time corresponding to the candidate resource set is earlier than or equal to the end time of the retransmission of the data.

4. The method according to claim 1, characterized in that, before determining the one or more sidelink resources, the method further includes: the media access control entity sending first information to the physical layer, where the first information is used to determine the sidelink discontinuous reception - activation time; the physical layer of the first terminal determining the one or more sidelink resources from a candidate resource set includes: the physical layer determining the sidelink discontinuous reception - activation time according to the first information; the physical layer determining the one or more sidelink resources from the candidate resource set according to the sidelink discontinuous reception - activation time.

5. The method according to claim 4, characterized in that, the media access control entity sending the first information to the physical layer includes: when the remaining time of the sidelink discontinuous reception - activation time is less than or equal to the remaining packet delay budget, the media access control entity sending the first information to the physical layer.

6. The method according to claim 4 or 5, characterized in that, The first information further includes: information for indicating the start time of the sidelink discontinuous reception - activation time.

7. The method according to claim 6, wherein, when time unit 1 is before the start time of the sidelink discontinuous reception - activation time, the media access control entity of the first terminal sends information for indicating the start time of the sidelink discontinuous reception - activation time to the physical layer of the first terminal, and time unit 1 is the moment when the physical layer of the first terminal determines to sense the sidelink resources.

8. The method according to any one of claims 1, 4 to 5, wherein, the method further includes: determining the end time of retransmission of the data or the remaining retransmission time of the data; determining the cut - off moment corresponding to the candidate resource set according to the end time of retransmission or the remaining retransmission time, and the cut - off moment corresponding to the candidate resource set is earlier than or equal to the end time of retransmission.

9. The method according to claim 8, wherein, the method further includes: the media access control entity sends second information to the physical layer, and the second information is used to indicate the end time of retransmission of the data or to indicate the remaining retransmission time of the data; the determining the end time of retransmission of the data or the remaining retransmission time of the data includes: the physical layer determines the end time of retransmission or the remaining retransmission time according to the second information.

10. The method according to claim 9, wherein, if the remaining packet delay budget is greater than or equal to the remaining retransmission time, the media access control entity provides one or more of the end time of retransmission or the remaining retransmission time to the physical layer, or the media access control entity provides the minimum value between the remaining packet delay budget and the end time of retransmission to the physical layer.

11. The method according to claim 1 or 2, wherein, the method further includes: if the number of sidelink resources within the first time period is less than or equal to the first threshold, updating the threshold for whether the candidate resource set is excluded; determining the one or more sidelink resources from the candidate resource set according to the updated threshold; wherein, the start moment of the first time period is the start moment corresponding to the candidate resource set, and the cut - off moment of the first time period is the end time of the sidelink discontinuous reception - activation time.

12. The method according to claim 1 or 2, wherein, the number of sidelink resources within the second time period among the one or more sidelink resources is greater than or equal to the second threshold; the second time period is determined by the cut - off moment of the sidelink discontinuous reception - activation time and the cut - off moment corresponding to the candidate resource set.

13. The method according to claim 1 or 2, wherein, the first sidelink resource is the sidelink resource for initially transmitting the data, and the method further includes: The first terminal determines a second sidelink resource for retransmitting the data from the one or more sidelink resources, where the second sidelink resource is within the sidelink discontinuous reception - activation time or within a third time period, and the third time period is a possible running time of a sidelink retransmission timer determined according to the first sidelink resource; Send the data to the second terminal on the second sidelink resource.

14. The method according to claim 13, wherein, The start of the possible running time of the sidelink retransmission timer is the first time unit after the timeout of the sidelink hybrid automatic repeat request round - trip timer. Among them, the start of the running time of the sidelink hybrid automatic repeat request round - trip timer is the first time unit after the end of the transmission carrying the hybrid automatic repeat request feedback corresponding to the first sidelink resource.

15. The method according to claim 13, wherein, The time interval between the first sidelink resource and the second sidelink resource is greater than or equal to a minimum time interval.

16. The method according to claim 13, wherein, When the resource pool where the first sidelink resource and the second sidelink resource are located is configured with physical sidelink feedback control channel resources, the time interval between the first sidelink resource and the second sidelink resource is greater than or equal to a minimum time interval.

17. The method according to claim 1 or 2, wherein, Before determining the one or more sidelink resources, the method further includes: If there is no sidelink resource for transmitting the data within the sidelink discontinuous reception - activation time, the first terminal triggers the selection / reselection of sidelink resources.

18. The method according to claim 1 or 2, wherein, If the sidelink resource for initial transmission of the data is not within the sidelink discontinuous reception - activation time, the first sidelink resource is the sidelink resource for retransmitting the data; The method further includes: If the sidelink resource for initial transmission of the data is not within the sidelink discontinuous reception - activation time, the first terminal abandons sending the data on the second sidelink resource for retransmitting the data.

19. A computer - readable storage medium, wherein, Instructions are stored in the readable storage medium, and when the instructions are executed, the method according to any one of claims 1 - 18 is implemented.

20. A chip, wherein, The chip includes a processor, the processor is coupled with a communication interface, the processor is used to run computer programs or instructions to implement the method according to any one of claims 1 - 18, and the communication interface is used to communicate with other modules outside the chip.

21. A terminal, wherein, including: At least one processor, the at least one processor is coupled with a memory, and the at least one processor is used to run instructions stored in the memory to execute the method according to any one of claims 1 - 18.

Citation Information

Patent Citations

  • Direct link data transmission method and device, and storage medium

    CN111480391A

Cited By

  • Communication method, apparatus, and system

    EP4618688A2