Sidelink transmission block size determination method, terminal, network device and storage medium
By determining the transmission block size based on the total number of time slots and index of the MCSt resource in the unauthorized spectrum edge link, the problem of low channel access success rate is solved, and the flexibility of the transmission block size calculation method and resource utilization rate are realized. Balanced, improving communication system performance.
Patent Information
- Application Number
- CN202310486615.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-04
- Publication Date
- 2024-11-05
AI Technical Summary
In the unauthorized spectrum edge link, the UE's edge link transmission is affected by the time slot boundary, resulting in a decrease in the number of opportunities and probability of successful channel access. The prior art cannot effectively solve the resource utilization and reliability when determining the transmission block size. The balance between sexes.
By determining the calculation method of the transmission block size in the first MCSt resource based on the total number of time slots and the time slot index of the transmission block, a variety of strategies are used to use the first symbol index or the second symbol index as the transmission start position of the transmission block. , select the calculation method according to different threshold conditions to balance the reliability of data transmission and resource utilization.
It improves the reliability and resource utilization of edge link data transmission, reduces the waste of allocated resources, and enhances the performance of the communication system.
Smart Images

Figure CN118900457A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mobile communication technology, and in particular to a method for determining a side link transmission block size, a terminal, a network device, and a storage medium. Background Art
[0002] In the sidelink over unlicensed band (SL-U), the UE performs a channel listening (Listen Before Talk, LBT) process before transmitting on the sidelink. If the channel access is successful, the UE can transmit at the current transmission opportunity; otherwise, the UE cannot transmit at the current transmission opportunity. Figure 1 As shown in FIG. 1 , affected by the time slot boundary, even if the UE successfully accesses the channel in the middle of a time slot (LBT is successful), the UE needs to wait until the first symbol for SL transmission in the next time slot before starting to transmit. Figure 1 In the example, LBT succeeds in a certain time slot, but the UE starts to send SL in the next time slot (the time slot filled with shadow); if the channel access fails at the boundary of the current time slot, the UE can only wait for the boundary of the next time slot to try to access and send again. The above sending mechanism reduces the number and probability of successful UE access. Summary of the invention
[0003] At least one embodiment of the present application provides a method for determining the size of an edge link transmission block, a terminal, a network device, and a storage medium, which enhances the performance of the communication system by balancing the reliability and resource utilization of edge link data transmission.
[0004] In order to solve the above technical problems, this application is implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides a method for determining a side link transmission block size, including:
[0006] When the first terminal sends a transport block multiple times in the first MCSt resource, a calculation method for determining the current transport block size is determined according to the total number of time slots included in the first MCSt resource and / or the time slot index of the current transport block in the first MCSt resource;
[0007] The size of the current transport block is calculated according to the determined calculation method, and the current transport block is sent to the second terminal according to the calculated transport block size.
[0008] Optionally, the calculation method includes one of the following: a first method and a second method, wherein the first method is to use the first symbol index used for side link transmission in the time slot as the sending start position of the transmission block to calculate the size of the transmission block; the second method is to use the second symbol index used for side link transmission in the time slot as the sending start position of the transmission block to calculate the size of the transmission block; the first symbol index is smaller than the second symbol index.
[0009] Optionally, the transport blocks sent multiple times in the first MCSt resource are the same transport block, and the calculation method for determining the current transport block size includes:
[0010] When the total number of time slots included in the first MCSt resource is greater than or equal to the first threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the first threshold, the size of the current transmission block is calculated according to the second method.
[0011] Optionally, the transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and the same transport block is sent only once in the first MCSt resource; the calculation method for determining the current transport block size includes any one of the following:
[0012] When the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the second threshold, the size of the current transmission block is calculated according to the first method, or when the time slot index of the current transmission block in the first MCSt resource is less than the second threshold, the size of the current transmission block is calculated according to the second method;
[0013] When the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the third threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the third threshold, the size of the current transmission block is calculated according to the second method;
[0014] When the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the fourth threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the fourth threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0015] When the first difference is less than or equal to the fifth threshold, the size of the current transmission block is calculated according to the first method, or, when the first difference is greater than the fifth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0016] When the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the sixth threshold, the size of the current transmission block is calculated according to the first method, or when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the sixth threshold, the size of the current transmission block is calculated according to the second method;
[0017] When the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the seventh threshold, the size of the current transmission block is calculated according to the first method; or, when the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the seventh threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
[0018] Optionally, the transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and at least one transport block is sent at least twice in the first MCSt resource; the calculation method for determining the current transport block size includes any one of the following:
[0019] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method;
[0020] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method;
[0021] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method;
[0022] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method;
[0023] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0024] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0025] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0026] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0027] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method;
[0028] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method;
[0029] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1;
[0030] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold and the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
[0031] Optionally, the first MCSt resource is an MCSt resource initialized by the first terminal or the third terminal, wherein:
[0032] When the first MCSt resource is the MCSt resource initialized by the third terminal, the method further includes: receiving the total number of time slots included in the first MCSt resource sent by the third terminal and the time slot index of some time slots, wherein the some time slots are the time slots used for the first terminal to send the side link.
[0033] Optionally, also include:
[0034] Based on the transmission block size determined when the current transmission block is initially sent, the current resource selection information of the first terminal, the resource reservation information of the third terminal, and at least one of the channel occupancy time COT sharing information, determine whether each transmission of the current transmission block is located in the same MCSt resource.
[0035] Optionally, a resource pool used for currently sending a transport block is configured with a PSFCH; and calculating the size of the current transport block according to the determined calculation method includes:
[0036] In the process of calculating the size of the current transmission block according to the first method, As the number of symbols, calculate the number of REs in a PRB; or,
[0037] In the process of calculating the size of the current transmission block according to the second method, and The smaller one of is taken as the number of symbols and the number of REs in a PRB is calculated;
[0038] in, represents the difference between the number of all symbols used for edge link transmission in the time slot and 2, It represents the number of symbols occupied by PSFCH, and n1 and n2 are the first symbol index and the second symbol index respectively.
[0039] Optionally, also include:
[0040] Control information is sent to the second terminal, and the control information is used to indicate the calculation method of the size of the current transmission block sent in the first MCSt resource.
[0041] Optionally, the control information is side link control information SCI, and the SCI carries first indication information for indicating a calculation method of a size of a current transport block; or,
[0042] The control information includes: the first control information in the first time slot of the first MCSt resource, and the second control information corresponding to the time slot in which the current transmission block is sent, wherein the first control information carries at least one of the following information: the number of time slots included in the first MCSt resource, and the reservation information of the first MCSt resource; the second control information carries at least one of the following information: HARQ process number, new data indication NDI, target ID, number of times the current transmission block is sent, and the time slot index of the current transmission block in the first MCSt resource.
[0043] In a second aspect, an embodiment of the present application provides a method for determining a transmission block size on an edge link, including:
[0044] Receive control information sent by the first terminal, where the control information is used to indicate a calculation method for the size of a current transport block sent in the first MCSt resource;
[0045] Determine, according to the control information, a calculation method for the size of the current transport block sent by the first terminal, and calculate the size of the current transport block according to the determined calculation method;
[0046] According to the calculated size of the current transmission block, the current transmission block sent by the first terminal is received.
[0047] Optionally, the calculation method includes one of the following: a first method and a second method, wherein the first method is to use the first symbol index used for side link transmission in the time slot as the sending start position of the transmission block to calculate the size of the transmission block; the second method is to use the second symbol index used for side link transmission in the time slot as the sending start position of the transmission block to calculate the size of the transmission block; the first symbol index is smaller than the second symbol index.
[0048] Optionally, the control information is side link control information SCI, and the SCI carries first indication information for indicating a calculation method for the size of a current transmission block.
[0049] Optionally, the control information includes: first control information in the first time slot of the first MCSt resource, and second control information corresponding to the time slot in which the current transmission block is sent, wherein the first control information carries at least one of the following information: the number of time slots included in the first MCSt resource, and the reservation information of the first MCSt resource; the second control information carries at least one of the following information: HARQ process number, new data indication NDI, target ID, the number of times the current transmission block is sent, and the time slot index of the current transmission block in the first MCSt resource.
[0050] Optionally, when it is determined that the transport blocks sent multiple times in the first MCSt resource are the same transport block according to the HARQ process number and NDI carried by the second control information, the calculation method for determining the size of the current transport block sent by the first terminal includes any one of the following:
[0051] When the total number of time slots included in the first MCSt resource is greater than or equal to the first threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the first threshold, the size of the current transmission block is calculated according to the second method.
[0052] Optionally, when it is determined according to the HARQ process number and NDI carried by the second control information that the transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and the same transport block is sent only once in the first MCSt resource, the calculation method for determining the size of the current transport block sent by the first terminal includes any one of the following:
[0053] When the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the second threshold, the size of the current transmission block is calculated according to the first method, or when the time slot index of the current transmission block in the first MCSt resource is less than the second threshold, the size of the current transmission block is calculated according to the second method;
[0054] When the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the third threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the third threshold, the size of the current transmission block is calculated according to the second method;
[0055] When the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the fourth threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the fourth threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0056] When the first difference is less than or equal to the fifth threshold, the size of the current transmission block is calculated according to the first method, or, when the first difference is greater than the fifth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0057] When the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the sixth threshold, the size of the current transmission block is calculated according to the first method, or when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the sixth threshold, the size of the current transmission block is calculated according to the second method;
[0058] When the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the seventh threshold, the size of the current transmission block is calculated according to the first method; or, when the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the seventh threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
[0059] Optionally, when it is determined according to the HARQ process number and NDI carried by the second control information that the transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and at least one transport block is sent at least twice in the first MCSt resource, the calculation method for determining the size of the current transport block sent by the first terminal includes any one of the following:
[0060] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method;
[0061] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method;
[0062] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method;
[0063] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method;
[0064] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0065] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0066] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0067] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0068] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method;
[0069] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method;
[0070] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1;
[0071] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold and the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
[0072] In a third aspect, an embodiment of the present application provides a first terminal, including a transceiver and a processor, wherein:
[0073] The processor is used to determine a calculation method for the current transport block size according to the total number of time slots included in the first MCSt resource and / or the time slot index of the current transport block in the first MCSt resource when the transport block is sent multiple times in the first MCSt resource;
[0074] The transceiver is used to calculate the size of the current transport block according to the determined calculation method, and send the current transport block to the second terminal according to the calculated transport block size;
[0075] Among them, the calculation method includes a first method and a second method. The first method is to use the first symbol index used for side link transmission in the time slot as the transmission starting position of the transmission block to calculate the size of the transmission block; the second method is to use the second symbol index used for side link transmission in the time slot as the transmission starting position of the transmission block to calculate the size of the transmission block; the first symbol index is smaller than the second symbol index.
[0076] In a fourth aspect, an embodiment of the present application provides a first terminal, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the method described in the first aspect.
[0077] In a fifth aspect, an embodiment of the present application provides a second terminal, including a transceiver and a processor, wherein:
[0078] The transceiver is used to receive control information sent by the first terminal, where the control information is used to indicate a calculation method for the size of the current transport block sent in the first MCSt resource;
[0079] The processor is configured to determine, according to the control information, a calculation method for the size of the current transport block sent by the first terminal, and calculate the size of the current transport block according to the determined calculation method;
[0080] The transceiver is further configured to receive the current transmission block sent by the first terminal according to the calculated size of the current transmission block;
[0081] Among them, the calculation method includes a first method and a second method. The first method is to use the first symbol index used for side link transmission in the time slot as the transmission starting position of the transmission block to calculate the size of the transmission block; the second method is to use the second symbol index used for side link transmission in the time slot as the transmission starting position of the transmission block to calculate the size of the transmission block; the first symbol index is smaller than the second symbol index.
[0082] In a sixth aspect, an embodiment of the present application provides a second terminal, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the method described in the second aspect.
[0083] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, on which a program is stored. When the program is executed by a processor, the steps of the method described above are implemented.
[0084] Compared with the prior art, the embodiments of the present application provide a method for determining the size of a side link transmission block, a terminal, a network device, and a storage medium. The transmitting terminal (first terminal) determines the calculation method of the current transmission block size based on the total number of time slots included in the first MCSt resource and / or the time slot index of the current transmission block in the first MCSt resource, rather than directly using the second start symbol as the sending start position of the current transmission block for TBS calculation. This balances the reliability and resource utilization of side link data transmission. While ensuring transmission reliability, it can also reduce the waste of allocated resources, thereby enhancing the performance of the communication system. BRIEF DESCRIPTION OF THE DRAWINGS
[0085] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0086] Figure 1 An example diagram showing that UE LBT succeeds but delays sending SL;
[0087] Figure 2 A schematic diagram of an application scenario of an embodiment of the present application;
[0088] Figure 3 An example diagram of UE sending SL starting from the second starting symbol position;
[0089] Figure 4 An example diagram of the initial transmission and retransmission of a TB by a UE in multiple discrete time slots;
[0090] Figure 5 A schematic diagram of sending SL in multiple consecutive time slots;
[0091] Figure 6 Another schematic diagram of sending SL in multiple consecutive time slots;
[0092] Figure 7 A flow chart of a method for determining a side link transmission block size according to an embodiment of the present application;
[0093] Figure 8 An example diagram of sending the same transport block multiple times in MCSt resources;
[0094] Fig. 9An example diagram of sending different transport blocks multiple times in MCSt resources;
[0095] Fig.10 Another flow chart of the method for determining the size of an edge link transmission block according to an embodiment of the present application;
[0096] Fig.11 This is a schematic diagram of the structure of a first terminal according to an embodiment of the present application;
[0097] Fig.12 This is a schematic structural diagram of a first terminal according to another embodiment of the present application;
[0098] Fig.13 This is a schematic diagram of the structure of a second terminal according to an embodiment of the present application;
[0099] Fig.14 This is a schematic diagram of the structure of a second terminal according to another embodiment of the present application;
[0100] Fig.15 This is a schematic structural diagram of a first terminal according to another embodiment of the present application;
[0101] Fig.16 This is a schematic structural diagram of a second terminal according to another embodiment of the present application. DETAILED DESCRIPTION
[0102] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0103] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable in appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, the process, method, system, product or equipment comprising a series of steps or units need not be limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment. "And / or" in the specification and claims represents at least one of the connected objects.
[0104] The technology described herein is not limited to NR systems and Long Time Evolution (LTE) / LTE-Advanced (LTE-A) systems, and can also be used for various wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA) and other systems. The terms "system" and "network" are often used interchangeably. A CDMA system can implement radio technologies such as CDMA2000, Universal Terrestrial Radio Access (UTRA). UTRA includes Wideband Code Division Multiple Access (WCDMA) and other CDMA variants. A TDMA system can implement radio technologies such as Global System for Mobile Communication (GSM). OFDMA systems can implement radio technologies such as Ultra Mobile Broadband (UMB), Evolution-UTRA (E-UTRA), IEEE 802.21 (Wi-Fi), IEEE 802.16 (WiMAX), IEEE 802.20, Flash-OFDM, etc. UTRA and E-UTRA are parts of Universal Mobile Telecommunications System (UMTS). LTE and more advanced LTE (such as LTE-A) are new UMTS versions that use E-UTRA. UTRA, E-UTRA, UMTS, LTE, LTE-A, and GSM are described in documents from an organization named "3rd Generation Partnership Project" (3GPP). CDMA2000 and UMB are described in documents from an organization named "3rd Generation Partnership Project 2" (3GPP2).The techniques described herein may be used for the systems and radio technologies mentioned above as well as for other systems and radio technologies. However, the following description describes an NR system for example purposes and uses NR terminology in much of the following description, although the techniques may also be applicable to applications other than NR system applications.
[0105] The following description provides examples and does not limit the scope, applicability, or configuration set forth in the claims. Changes may be made to the functions and arrangements of the elements discussed without departing from the spirit and scope of the present disclosure. Various examples may appropriately omit, replace, or add various procedures or components. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
[0106] See also Figure 2 , Figure 2 A block diagram of a wireless communication system applicable to an embodiment of the present application is shown. The wireless communication system includes a terminal 11 and a network device 12. The terminal 11 may also be referred to as a user terminal or user equipment (UE, User Equipment), and the terminal 11 may be a terminal side device such as a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (Personal Digital Assistant, PDA), a mobile Internet device (Mobile Internet Device, MID), a wearable device (Wearable Device) or a vehicle-mounted device. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application. The network device 12 can be a base station and / or a core network element, wherein the above-mentioned base station can be a base station of 5G and later versions (for example: gNB, 5G NR NB, etc.), or a base station in other communication systems (for example: eNB, WLAN access point, or other access point, etc.), wherein the base station can be called a node B, an evolved node B, an access point, a base transceiver station (Base Transceiver Station, BTS), a radio base station, a radio transceiver, a basic service set (Basic Service Set, BSS), an extended service set (Extended Service Set, ESS), a B node, an evolved B node (eNB), a home B node, a home evolved B node, a WLAN access point, a WiFi node or some other suitable term in the field. As long as the same technical effect is achieved, the base station is not limited to specific technical vocabulary. It should be noted that in the embodiment of the present application, only the base station in the NR system is taken as an example, but the specific type of the base station is not limited.
[0107] The base station can communicate with the terminal 11 under the control of a base station controller, and in various examples, the base station controller can be part of the core network or certain base stations. Some base stations can communicate control information or user data with the core network via a backhaul. In some examples, some of these base stations can communicate with each other directly or indirectly via a backhaul link, which can be a wired or wireless communication link. The wireless communication system can support operations on multiple carriers (waveform signals of different frequencies). A multi-carrier transmitter can transmit modulated signals on these multiple carriers at the same time. For example, each communication link can be a multi-carrier signal modulated according to various radio technologies. Each modulated signal can be sent on a different carrier and can carry control information (e.g., reference signals, control channels, etc.), overhead information, data, etc.
[0108] The base station can communicate wirelessly with the terminal 11 via one or more access point antennas. Each base station can provide communication coverage for its respective coverage area. The coverage area of the access point can be divided into sectors that constitute only a portion of the coverage area. The wireless communication system may include different types of base stations (e.g., macro base stations, micro base stations, or micro-micro base stations). The base station may also utilize different radio technologies, such as cellular or WLAN radio access technologies. The base station may be associated with the same or different access networks or operator deployments. The coverage areas of different base stations (including coverage areas of the same or different types of base stations, coverage areas utilizing the same or different radio technologies, or coverage areas belonging to the same or different access networks) may overlap.
[0109] The communication link in the wireless communication system may include an uplink for carrying an uplink (UL) transmission (e.g., from the terminal 11 to the network device 12), or a downlink for carrying a downlink (DL) transmission (e.g., from the network device 12 to the terminal 11). UL transmission may also be referred to as reverse link transmission, and DL transmission may also be referred to as forward link transmission. Downlink transmission may be performed using a licensed frequency band, an unlicensed frequency band, or both. Similarly, uplink transmission may be performed using a licensed frequency band, an unlicensed frequency band, or both.
[0110] In the related art, for a transport block (TB) size determination process corresponding to a physical sidelink shared channel (PSSCH) transmitted on a sidelink (Sidelink), a user equipment (UE) first needs to determine the total number of resource elements (RE) N of the allocated physical resource blocks (PRB) for PSSCH resource mapping in the current slot. RE , contains the following parameters and steps:
[0111] The UE first determines the total number of REs N′ used for PSSCH mapping within a PRB. RE ,
[0112] in, is the number of subcarriers in a PRB; The symbol (number of symbols) used for PSSCH mapping, sl-LengthSymbols is the total number of symbols configured by the higher layer for Sidelink transmission; The number of symbols occupied by the Physical SideLink FeedbackChannel (PSFCH); Indicates the number of symbols used to calculate the total number of REs. Determined by the parameter sl-X-Overhead indicated by the higher layer, it is used to calculate the overhead of the CSI reference signal (CSI-RS) and the phase tracking reference signal (PT-RS); It is determined by the parameter sl-PSSCH-DMRS-TimePattern indicating the demodulation reference signal (DMRS) overhead indicated by the higher layer, and is determined by Table 1.
[0113] Table 1
[0114]
[0115] Next, the UE determines the total number N of REs used for PSSCH mapping in the allocated resources. RE ,pass in
[0116] nPRB The number of PRBs occupied by the allocated PSSCH;
[0117] is the total number of REs occupied by PSCCH and the corresponding DMRS;
[0118] It is the total number of REs used to carry 2nd sidelink control information (SCI).
[0119] like Figure 3 As shown, the related technology introduces an additional starting symbol (startingsymbol) sent by the Sidelink, so that if the UE successfully accesses the channel after the starting boundary of the current time slot and before the second starting symbol (2nd starting symbol), the UE can start sending from the second starting symbol (2nd starting symbol) of the current time slot without waiting until the starting boundary of the next time slot to start sending. Figure 3 The UE starts transmitting in the time slot where LBT is successful (the time slot portion filled with shaded space).
[0120] In Sidelink communication, if a transport block (TB) is to be sent multiple times, the sizes of the initial transmission and the retransmission TB are usually equal, and the UE needs to determine the size of the TB to be sent when or before the initial transmission. Figure 4 An example of the UE initially transmitting and retransmitting TB in multiple discrete time slots, wherein, if the UE is configured with a second starting symbol (2nd starting symbol), when or before the initial transmission is sent, the UE cannot determine whether the initial transmission or each retransmission is sent from the first starting symbol (1st starting symbol) or the second starting symbol (2nd starting symbol) for the selected initial transmission resources and retransmission resources. According to the calculation method of the UE determining the transmission block size in the background technology, the UE cannot determine the size of the calculated TB at this time. If the method of directly calculating according to the first starting symbol or the second starting symbol is used, the following two problems will arise:
[0121] 1. If the transport block size (TBS) is calculated according to the first starting symbol, and the second starting symbol is actually accessed successfully, the number of REs that can be used for resource mapping will be insufficient, the code rate will increase, and the reliability will be affected;
[0122] 2. If the TBS is calculated according to the second starting symbol, and the first starting symbol is actually accessed successfully, the number of REs actually available for resource mapping will be greater than the required number of REs, resulting in insufficient utilization of resources.
[0123] Of the above two problems, problem 1 will affect the decoding performance and may have a greater impact on transmission reliability. Therefore, a conservative approach is to calculate TBS based on the second starting symbol. However, the above is based on the consideration that the selected resources are discrete in the time domain. For some special scenarios, such as Figure 5 and Figure 6 As shown in the multi-slot continuous transmission (MCSt), the UE can send SL in multiple consecutive time slots (such as the time slots filled with shadows). If the UE successfully accesses the channel in the first time slot or an intermediate time slot, it can ensure that the subsequent time slots are accessed at the first starting symbol. Based on this, the embodiment of the present application introduces an enhanced solution that can ensure transmission reliability while not wasting the allocated resources.
[0124] Please refer to Figure 7 , an embodiment of the present application provides a method for determining a side link transmission block size, which, when applied to a first terminal side, includes:
[0125] Step 71, when the first terminal sends a transmission block multiple times in the first MCSt resource, determine the calculation method of the current transmission block size according to the total number of time slots included in the first MCSt resource and / or the time slot index of the current transmission block in the first MCSt resource.
[0126] Here, the first MCSt resource includes multiple continuous time slots. When the first terminal sends a transmission block multiple times in the first MCSt resource, the calculation method of the current transmission block size is determined according to the total number of time slots included in the first MCSt resource and / or the time slot index of the current transmission block in the first MCSt resource. Wherein, the calculation method includes one of the first method and the second method, the first method is to use the first symbol index used for edge link transmission in the time slot as the transmission start position of the current transmission block to calculate the size of the current transmission block; the second method is to use the second symbol index used for edge link transmission in the time slot as the transmission start position of the current transmission block to calculate the size of the current transmission block; the first symbol index is less than the second symbol index. In an embodiment of the present application, the terminal is configured with two starting symbols for edge link transmission in a time slot, namely the first starting symbol and the second starting symbol, wherein the first symbol index is the symbol index of the first starting symbol, and the second symbol index is the symbol index of the second starting symbol. The first symbol index and the second symbol index can be pre-configured by the terminal or configured by the network.
[0127] Step 72: Calculate the size of the current transport block according to the determined calculation method, and send the current transport block to the second terminal according to the calculated transport block size.
[0128] Through the above steps, the first terminal in the embodiment of the present application determines the calculation method of the current transmission block size based on the total number of time slots included in the first MCSt resource and / or the time slot index of the current transmission block in the first MCSt resource, rather than directly using the second start symbol as the sending start position of the current transmission block for TBS calculation, thereby balancing the reliability and resource utilization of the side link data transmission, and while ensuring transmission reliability, it can also reduce the waste of allocated resources, thereby enhancing the performance of the communication system.
[0129] It should be noted that the transmission blocks sent multiple times by the first terminal in the first MCSt resource may be the same transmission block or different transmission blocks.
[0130] The first case: the transport blocks sent multiple times in the first MCSt resource are the same transport block. That is, the first terminal needs to send the transport block multiple times in the first MCSt resource. Figure 8 As shown, the current transmission block is TB#0 and is sent 4 times on the same MCSt resource.
[0131] When the total number of continuous time slots included in the first MCSt resource is larger, the first terminal is more likely to complete channel access in the previous time slot before sending the current transmission block. At this time, the current transmission block size can be calculated according to the first method to avoid wasting the allocated resources. Otherwise, the current transmission block size is calculated according to the second method to improve transmission reliability. Therefore, in the first case, in the above step 71, the calculation method of determining the current transmission block size specifically includes:
[0132] When the total number of time slots included in the first MCSt resource is greater than or equal to the first threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the first threshold, the size of the current transmission block is calculated according to the second method. Here, the first threshold is a preset value that can be configured to the terminal by the network, for example, the network configures the first threshold in the edge link resource pool configuration. In addition, the first threshold can also be pre-configured locally in the terminal.
[0133] Specifically, the number of times N that a transmission block is sent multiple times or the number of time slots M occupied by the transmission block for multiple times is determined by the first terminal high layer, or is determined by the corresponding semi-static configuration information in the resource pool. The time length of the time slot occupied by the N transmissions is less than or equal to the maximum channel occupancy time (MCOT) occupied after channel access.
[0134] Optionally, the first threshold is configured or pre-configured in the resource pool, or the first threshold is determined according to the dynamic change of the channel busy rate (Channel Busy Ratio, CBR), such as CBR corresponds to a different threshold value in different ranges, such as {0% ~ 20%, threshold value 1}, {20% ~ 40%, threshold value 2}, and so on. The value of the first threshold is positively correlated with the CBR, that is, the larger the CBR, the larger the threshold value.
[0135] The above-mentioned first threshold can also be determined according to the value of the contention window (CW window) to determine the corresponding threshold value. The existing CW value is shown in Table 1. For example, when the corresponding channel access priority class (CAPC) level is 3, {15,31} corresponds to a threshold value of 1, {63,127} corresponds to a threshold value of 2, and so on. The larger the value of the contention window, the larger the threshold value.
[0136] Table 1
[0137]
[0138] The second situation: the transmission blocks sent multiple times in the first MCSt resource include multiple different transmission blocks, and the same transmission block is sent only once in the first MCSt resource (that is, the multiple transmissions of the same transmission block are respectively in different MCSt resources). In other words, the first terminal needs to send multiple different transmission blocks in the first MCSt resource, and each transmission block is sent only once in the first MCSt resource. Fig. 9 An example of the second case is provided, where 4 different transport blocks TB#0 to TB#3 are sent in MCSt#1, and each transport block is sent only once in MCSt#1. 4 transport blocks TB#0 to TB#3 are sent in MCSt#2, and each transport block is also sent only once in MCSt#2. Multiple transmissions of the same transport block can also be achieved through different MCSs.
[0139] When a transmission block is located later in the time slot of the first MCSt resource, the first terminal is more likely to have completed channel access in the first start symbol or the second start symbol of the previous transmission block sending time slot. At this time, the current transmission block can be preferentially sized in the first manner. Therefore, in the second case, in the above step 71, the calculation method for determining the size of the current transmission block may specifically include any of the following:
[0140] (1) when the time slot index of the current transport block in the first MCSt resource is greater than or equal to the second threshold, the size of the current transport block is calculated according to the first method, or when the time slot index of the current transport block in the first MCSt resource is less than the second threshold, the size of the current transport block is calculated according to the second method;
[0141] (2) when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the third threshold, the size of the current transmission block is calculated according to the first method, or when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the third threshold, the size of the current transmission block is calculated according to the second method;
[0142] (3) when the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the fourth threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the fourth threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0143] (4) when the first difference is less than or equal to the fifth threshold, the size of the current transmission block is calculated according to the first method, or when the first difference is greater than the fifth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0144] (5) when the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the sixth threshold, the size of the current transmission block is calculated according to the first method, or when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the sixth threshold, the size of the current transmission block is calculated according to the second method;
[0145] (6) When the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the seventh threshold, the size of the current transmission block is calculated according to the first method; or, when the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the seventh threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
[0146] Fig. 9In the embodiment, the transport block sizes of transport blocks TB#0-TB#1 are calculated according to the first method, and the transport block sizes of transport blocks TB#2-TB#3 are calculated according to the second method.
[0147] The third case: the transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and at least one transport block is sent at least twice in the first MCSt resource. That is, the first terminal needs to send multiple different transport blocks in the first MCSt resource, and one or some of the transport blocks need to be sent multiple times in the first MCSt resource. At this time, in the above step 71, the calculation method for determining the current transport block size may specifically include any of the following:
[0148] (1) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method;
[0149] (2) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method;
[0150] (3) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method;
[0151] (4) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method;
[0152] (5) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0153] (6) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0154] (7) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0155] (8) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0156] (9) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method;
[0157] (10) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method;
[0158] (11) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1;
[0159] (12) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold and the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
[0160] The second threshold to the fourteenth threshold mentioned above may be specifically configured by the network to the terminal. For example, the network configures the above thresholds in the edge link resource pool configuration.
[0161] In addition, the threshold can also be pre-configured locally in the terminal. The threshold can also be determined according to the dynamic change of CBR, such as CBR corresponds to a different threshold value in different ranges, such as {0% to 20%, threshold value 1}, {20% to 40%, threshold value 2}, and so on, and the second threshold, the third threshold, the fourth threshold, the eighth threshold, the ninth threshold, the tenth threshold, and the tenth threshold are positively correlated with CBR, that is, the larger the CBR, the larger the threshold value; the fifth threshold, the sixth threshold, the seventh threshold, the twelfth threshold, the thirteenth threshold, and the fourteenth threshold are negatively correlated with CBR, that is, the larger the CBR, the smaller the threshold value.
[0162] The above-mentioned thresholds can also determine corresponding threshold values according to the value of the contention window (CW window). The above-mentioned second threshold, third threshold, fourth threshold, eighth threshold, ninth threshold, tenth threshold and tenth threshold are positively correlated with the value of the contention window, that is, the larger the value of the contention window, the larger the threshold value; the above-mentioned fifth threshold, sixth threshold, seventh threshold, twelfth threshold, thirteenth threshold and fourteenth threshold are negatively correlated with the value of the contention window, that is, the larger the value of the contention window, the smaller the threshold value.
[0163] In an embodiment of the present application, the above-mentioned first MCSt resource can be an MCSt resource initialized by the first terminal, or it can be an MCSt resource initialized by other terminals (such as a third terminal). When the first MCSt resource is an MCSt resource initialized by the third terminal, the first terminal can also receive information such as the total number of time slots and the time slot index of some time slots included in the first MCSt resource sent by the third terminal, so as to calculate the size of the transmission block based on the above information, wherein the part of the time slot is the time slot used for the first terminal to send the side link.
[0164] In addition, the first terminal can also determine whether each transmission of the current transmission block is located in the same MCSt resource based on at least one of the transmission block size determined when the current transmission block is initially sent, the current resource selection information of the first terminal, the resource reservation information of the third terminal, and the channel occupancy time COT sharing information.
[0165] The following describes the implementation of calculating the size of the current transmission block according to the first method or the second method in the above step 72.
[0166] Assume that the resource pool used for the current transmission block is configured with PSFCH; the PSFCH period configuration can be 1 time slot, 2 time slots, or 4 time slots. When the PSFCH period is configured as 2 time slots or 4 time slots, since PSFCH is not configured in every time slot, the first terminal can carry PSFCH overhead indication information in the control information sent to the second terminal (receiving terminal) to indicate whether PSFCH exists in the current time slot. For example, PSFCH overhead indication information is carried in SCI format 1-A. When the indication information is 1, it indicates that PSFCH is configured in the current time slot. At this time, the PSFCH overhead (number of symbols) is calculated when calculating the TB size, that is, at this time The value of is 3; when the indication information is 0, it means that the current time slot is not configured with PSFCH. At this time, the PSFCH overhead (number of symbols) is calculated when calculating the TB size, that is, at this time The value of is 0. In this way, the second terminal can determine according to the above PSFCH overhead indication information The value of is used to calculate the size of the current transport block. When the PSFCH period is configured as 1 time slot, each time slot is configured with PSFCH. Therefore, the first terminal does not need to make the above indication at this time. Since each time slot is configured with PSFCH, The value of is 3.
[0167] In the process of calculating the size of the current transmission block according to the first method, As the number of symbols used to calculate the total number of REs, calculate the number of REs within a PRB; or,
[0168] In the process of calculating the size of the current transmission block according to the second method, and The smaller one of is used as the number of symbols used to calculate the total number of REs, and the number of REs in one PRB is calculated;
[0169] in, represents the difference between the number of all symbols used for edge link transmission in the time slot and 2, It represents the number of symbols occupied by PSFCH, and n1 and n2 are the first symbol index and the second symbol index respectively.
[0170] In addition, in order to help the second terminal determine the size of the transmission block sent by the first terminal, the first terminal can also send control information to the second terminal, and the control information is used to indicate the calculation method of the size of the current transmission block sent in the first MCSt resource.
[0171] Specifically, the first terminal may indicate the calculation method in an explicit manner. In this case, the control information may be side link control information (SCI), and the SCI carries first indication information (explicit) for indicating the calculation method of the size of the current transmission block.
[0172] Alternatively, the first terminal may indicate the calculation method in an implicit manner, in which case the control information includes: the first control information in the first time slot of the first MCSt resource, and the second control information corresponding to the time slot where the current transmission block is sent, wherein the first control information carries at least one of the following information: the number of time slots included in the first MCSt resource, the reservation information of the first MCSt resource; the second control information carries at least one of the following information: the HARQ process number of the sending process, the new data indication (NDI), the target ID (destination ID), the number of times the current transmission block is sent, and the time slot index of the current transmission block in the first MCSt resource. In this way, the second terminal can determine the calculation method of the size of the current transmission block sent in the first MCSt resource based on the above-mentioned first control information and second control information. Among them, the reservation information of the first MCSt resource is used to indicate the reserved resources of the first MCSt resource in subsequent time slots; the new data indication is used to indicate whether the current transmission block is an initial transmission or a retransmission; the target ID is used to indicate the receiving terminal of the current transmission block (the ID of the second terminal).
[0173] Please refer to Fig.10 The method for determining the transmission block size on the edge link provided in the embodiment of the present application, when applied to the second terminal (receiving terminal), includes:
[0174] Step 91, receiving control information sent by the first terminal, wherein the control information is used to indicate a calculation method for the size of a current transmission block sent in a first MCSt resource.
[0175] Here, the calculation method includes a first method and a second method. The first method is to use the first symbol index used for side link transmission in the time slot as the transmission starting position of the transmission block to calculate the size of the transmission block; the second method is to use the second symbol index used for side link transmission in the time slot as the transmission starting position of the transmission block to calculate the size of the transmission block; the first symbol index is smaller than the second symbol index.
[0176] Step 92: Determine a calculation method for the size of the current transmission block sent by the first terminal according to the control information, and calculate the size of the current transmission block according to the determined calculation method.
[0177] Step 93: Receive the current transmission block sent by the first terminal according to the calculated size of the current transmission block.
[0178] Through the above steps, the second terminal (receiving terminal) in the embodiment of the present application determines the calculation method of the current transmission block size sent by the first terminal according to the control information sent by the first terminal (sending target), rather than directly using the second starting symbol as the sending starting position of the current transmission block for TBS calculation, thereby balancing the reliability and resource utilization of the side link data transmission. While ensuring transmission reliability, it can also reduce the waste of allocated resources, thereby enhancing the performance of the communication system.
[0179] As an implementation manner, the control information is side link control information SCI, and the SCI carries first indication information for indicating a calculation method for the size of a current transmission block.
[0180] As another implementation method, the control information includes: first control information in the first time slot of the first MCSt resource, and second control information corresponding to the time slot in which the current transmission block is sent, wherein the first control information carries at least one of the following information: the number of time slots included in the first MCSt resource, and the reservation information of the first MCSt resource; the second control information carries at least one of the following information: HARQ process number, new data indication NDI, target ID, number of times the current transmission block is sent, and the time slot index of the current transmission block in the first MCSt resource. The second terminal can determine whether the transmission blocks sent multiple times in the first MCSt resource are the same transmission block based on the HARQ process number and NDI carried by the second control information.
[0181] Optionally, in an embodiment of the present application, when the second terminal determines that the transmission blocks sent multiple times in the first MCSt resource are the same transmission block based on the HARQ process number and NDI carried by the second control information, in the above step 92, the second terminal determines the calculation method in the following manner: when the total number of time slots included in the first MCSt resource is greater than or equal to the first threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the first threshold, the size of the current transmission block is calculated according to the second method.
[0182] Optionally, in an embodiment of the present application, when the second terminal determines, according to the HARQ process number and NDI carried by the second control information, that the transmission blocks sent multiple times in the first MCSt resource include multiple different transmission blocks, and the same transmission block is sent only once in the first MCSt resource, in the above step 92, the second terminal determines the calculation method in any of the following ways:
[0183] (1) when the time slot index of the current transport block in the first MCSt resource is greater than or equal to the second threshold, the size of the current transport block is calculated according to the first method, or when the time slot index of the current transport block in the first MCSt resource is less than the second threshold, the size of the current transport block is calculated according to the second method;
[0184] (2) when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the third threshold, the size of the current transmission block is calculated according to the first method, or when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the third threshold, the size of the current transmission block is calculated according to the second method;
[0185] (3) when the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the fourth threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the fourth threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0186] (4) when the first difference is less than or equal to the fifth threshold, the size of the current transmission block is calculated according to the first method, or when the first difference is greater than the fifth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0187] (5) when the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the sixth threshold, the size of the current transmission block is calculated according to the first method, or when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the sixth threshold, the size of the current transmission block is calculated according to the second method;
[0188] (6) When the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the seventh threshold, the size of the current transmission block is calculated according to the first method; or, when the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the seventh threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
[0189] Optionally, in an embodiment of the present application, when the second terminal determines, according to the HARQ process number and NDI carried by the second control information, that the transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and at least one transport block is sent at least twice in the first MCSt resource, in the above step 92, the second terminal determines the calculation method in any of the following ways:
[0190] (1) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method;
[0191] (2) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method;
[0192] (3) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method;
[0193] (4) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method;
[0194] (5) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0195] (6) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0196] (7) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0197] (8) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0198] (9) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method;
[0199] (10) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method;
[0200] (11) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1;
[0201] (12) When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold and the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
[0202] In addition, the specific calculation process of the second terminal calculating the size of the current transmission block can refer to the calculation process of the first terminal. For example, assuming that the resource pool used to send the current transmission block is configured with PSFCH; the PSFCH period configuration can be 1 time slot, 2 time slots, or 4 time slots. When the PSFCH period is configured as 2 time slots or 4 time slots, since not every time slot is configured with PSFCH, the second terminal can determine the size of the current transmission block based on the PSFCH overhead indication information sent by the first terminal. The value of is 0 or 3. When the PSFCH period is configured as 1 time slot, the second terminal can determine The value of is 3. Among them:
[0203] In the process of calculating the size of the current transmission block according to the first method, As the number of symbols used to calculate the total number of REs, calculate the number of REs within a PRB; or,
[0204] In the process of calculating the size of the current transmission block according to the second method, and The smaller one of is used as the number of symbols used to calculate the total number of REs, and the number of REs in one PRB is calculated;
[0205] in, represents the difference between the number of all symbols used for edge link transmission in the time slot and 2, It represents the number of symbols occupied by PSFCH, and n1 and n2 are the first symbol index and the second symbol index respectively.
[0206] The above describes various methods of the embodiments of the present application. The following further provides devices for implementing the above methods.
[0207] Please refer to Fig.11 , the embodiment of the present application further provides a first terminal, including:
[0208] The first determination module 1001 is used to determine the calculation method of the current transport block size according to the total number of time slots included in the first MCSt resource and / or the time slot index of the current transport block in the first MCSt resource when the transport block is sent multiple times in the first MCSt resource;
[0209] A first sending module 1002 is used to calculate the size of the current transport block according to the determined calculation method, and send the current transport block to the second terminal according to the calculated transport block size;
[0210] Among them, the calculation method includes a first method and a second method. The first method is to use the first symbol index used for side link transmission in the time slot as the transmission starting position of the transmission block to calculate the size of the transmission block; the second method is to use the second symbol index used for side link transmission in the time slot as the transmission starting position of the transmission block to calculate the size of the transmission block; the first symbol index is smaller than the second symbol index.
[0211] Optionally, the transmission blocks sent multiple times in the first MCSt resource are the same transmission block, and the first determination unit is also used to: when the total number of time slots included in the first MCSt resource is greater than or equal to the first threshold, calculate the size of the current transmission block according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the first threshold, calculate the size of the current transmission block according to the second method.
[0212] Optionally, the transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and the same transport block is sent only once in the first MCSt resource; the first determination unit is also used to determine the calculation method of the current transport block size according to any one of the following:
[0213] When the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the second threshold, the size of the current transmission block is calculated according to the first method, or when the time slot index of the current transmission block in the first MCSt resource is less than the second threshold, the size of the current transmission block is calculated according to the second method;
[0214] When the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the third threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the third threshold, the size of the current transmission block is calculated according to the second method;
[0215] When the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the fourth threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the fourth threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0216] When the first difference is less than or equal to the fifth threshold, the size of the current transmission block is calculated according to the first method, or, when the first difference is greater than the fifth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0217] When the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the sixth threshold, the size of the current transmission block is calculated according to the first method, or when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the sixth threshold, the size of the current transmission block is calculated according to the second method;
[0218] When the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the seventh threshold, the size of the current transmission block is calculated according to the first method; or, when the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the seventh threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
[0219] Optionally, the transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and at least one transport block is sent at least twice in the first MCSt resource; the first determination unit is further used to determine the calculation method of the current transport block size according to any one of the following:
[0220] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method;
[0221] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method;
[0222] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method;
[0223] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method;
[0224] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0225] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0226] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0227] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0228] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method;
[0229] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method;
[0230] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1;
[0231] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold and the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
[0232] Optionally, the first MCSt resource is an MCSt resource initialized by the first terminal or the third terminal, and the first terminal further includes:
[0233] The first receiving unit is used to receive the total number of time slots included in the first MCSt resource and the time slot index of some time slots sent by the third terminal when the first MCSt resource is the MCSt resource initialized by the third terminal, and the some time slots are the time slots used for the first terminal to send the side link.
[0234] Optionally, the first terminal further includes:
[0235] The second determination unit is used to determine whether each transmission of the current transmission block is located in the same MCSt resource based on at least one of the transmission block size determined when the current transmission block is initially transmitted, the current resource selection information of the first terminal, the resource reservation information of the third terminal, and the channel occupancy time COT sharing information.
[0236] Optionally, a resource pool currently used for sending a transport block is configured with a PSFCH; and the first sending unit is further used to:
[0237] In the process of calculating the size of the current transmission block according to the first method, As the number of symbols, calculate the number of REs in a PRB; or,
[0238] In the process of calculating the size of the current transmission block according to the second method, and The smaller one of is taken as the number of symbols and the number of REs in a PRB is calculated;
[0239] in, represents the difference between the number of all symbols used for edge link transmission in the time slot and 2, It represents the number of symbols occupied by PSFCH, and n1 and n2 are the first symbol index and the second symbol index respectively.
[0240] Optionally, the first terminal further includes:
[0241] The second sending unit is used to send control information to the second terminal, and the control information is used to indicate the calculation method of the size of the current transmission block sent in the first MCSt resource.
[0242] Optionally, the control information is side link control information SCI, and the SCI carries first indication information for indicating a calculation method of a size of a current transport block; or,
[0243] The control information includes: the first control information in the first time slot of the first MCSt resource, and the second control information corresponding to the time slot in which the current transmission block is sent, wherein the first control information carries at least one of the following information: the number of time slots included in the first MCSt resource, and the reservation information of the first MCSt resource; the second control information carries at least one of the following information: HARQ process number, new data indication NDI, target ID, number of times the current transmission block is sent, and the time slot index of the current transmission block in the first MCSt resource.
[0244] It should be noted that the device in this embodiment is a device corresponding to the method applied to the first terminal side, and the implementation methods in the above embodiments are all applicable to the embodiments of the device, and can also achieve the same technical effect. The above device provided in the embodiment of the present application can implement all the method steps implemented in the above method embodiment, and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment in this embodiment will not be specifically described here.
[0245] Please refer to Fig.12 , the embodiment of the present application further provides a first terminal 1100, including: a transceiver 1101 and a processor 1102;
[0246] The processor 1102 is configured to determine a calculation method for a current transport block size according to a total number of time slots included in the first MCSt resource and / or a time slot index of a current transport block in the first MCSt resource when the first terminal sends a transport block multiple times in the first MCSt resource;
[0247] The transceiver 1101 is configured to calculate the size of the current transport block according to the determined calculation method, and send the current transport block to the second terminal according to the calculated transport block size;
[0248] Among them, the calculation method includes a first method and a second method. The first method is to use the first symbol index used for side link transmission in the time slot as the transmission starting position of the transmission block to calculate the size of the transmission block; the second method is to use the second symbol index used for side link transmission in the time slot as the transmission starting position of the transmission block to calculate the size of the transmission block; the first symbol index is smaller than the second symbol index.
[0249] Optionally, the transmission blocks sent multiple times in the first MCSt resource are the same transmission block, and the processor is also used to: when the total number of time slots included in the first MCSt resource is greater than or equal to the first threshold, calculate the size of the current transmission block according to the first method, or when the total number of time slots included in the first MCSt resource is less than the first threshold, calculate the size of the current transmission block according to the second method.
[0250] Optionally, the transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and the same transport block is sent only once in the first MCSt resource; the processor is further used to determine the calculation method of the current transport block size according to any one of the following items:
[0251] When the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the second threshold, the size of the current transmission block is calculated according to the first method, or when the time slot index of the current transmission block in the first MCSt resource is less than the second threshold, the size of the current transmission block is calculated according to the second method;
[0252] When the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the third threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the third threshold, the size of the current transmission block is calculated according to the second method;
[0253] When the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the fourth threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the fourth threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0254] When the first difference is less than or equal to the fifth threshold, the size of the current transmission block is calculated according to the first method, or, when the first difference is greater than the fifth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0255] When the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the sixth threshold, the size of the current transmission block is calculated according to the first method, or when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the sixth threshold, the size of the current transmission block is calculated according to the second method;
[0256] When the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the seventh threshold, the size of the current transmission block is calculated according to the first method; or, when the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the seventh threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
[0257] Optionally, the transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and at least one transport block is sent at least twice in the first MCSt resource; the processor is further used to determine the calculation method of the current transport block size according to any one of the following items:
[0258] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method;
[0259] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method;
[0260] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method;
[0261] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method;
[0262] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0263] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0264] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0265] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0266] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method;
[0267] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method;
[0268] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1;
[0269] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold and the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
[0270] Optionally, the first MCSt resource is an MCSt resource initialized by the first terminal or the third terminal, wherein the transceiver is also used to receive the total number of time slots and the time slot index of some time slots included in the first MCSt resource sent by the third terminal when the first MCSt resource is an MCSt resource initialized by the third terminal, and the some time slots are time slots used for the first terminal to send side links.
[0271] Optionally, the processor is further configured to:
[0272] Based on the transmission block size determined when the current transmission block is initially sent, the current resource selection information of the first terminal, the resource reservation information of the third terminal, and at least one of the channel occupancy time COT sharing information, determine whether each transmission of the current transmission block is located in the same MCSt resource.
[0273] Optionally, a resource pool currently used for sending a transport block is configured with a PSFCH; and the processor is further configured to:
[0274] In the process of calculating the size of the current transmission block according to the first method, As the number of symbols, calculate the number of REs in a PRB; or,
[0275] In the process of calculating the size of the current transmission block according to the second method, and The smaller one of is taken as the number of symbols and the number of REs in a PRB is calculated;
[0276] in, represents the difference between the number of all symbols used for edge link transmission in the time slot and 2, It represents the number of symbols occupied by PSFCH, and n1 and n2 are the first symbol index and the second symbol index respectively.
[0277] Optionally, the transceiver is also used to send control information to the second terminal, and the control information is used to indicate a calculation method for the size of the current transmission block sent in the first MCSt resource.
[0278] Optionally, the control information is side link control information SCI, and the SCI carries first indication information for indicating a calculation method of a size of a current transport block; or,
[0279] The control information includes: the first control information in the first time slot of the first MCSt resource, and the second control information corresponding to the time slot in which the current transmission block is sent, wherein the first control information carries at least one of the following information: the number of time slots included in the first MCSt resource, and the reservation information of the first MCSt resource; the second control information carries at least one of the following information: HARQ process number, new data indication NDI, target ID, number of times the current transmission block is sent, and the time slot index of the current transmission block in the first MCSt resource.
[0280] It should be noted that the device in this embodiment is a device corresponding to the method applied to the first terminal side, and the implementation methods in the above embodiments are all applicable to the embodiments of the device, and can also achieve the same technical effect. The above device provided in the embodiment of the present application can implement all the method steps implemented in the above method embodiment, and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment in this embodiment will not be specifically described here.
[0281] Please refer to Fig.13 , the embodiment of the present application further provides a second terminal, including:
[0282] The first receiving module 1201 is used to receive control information sent by the first terminal, where the control information is used to indicate a calculation method for the size of the current transport block sent in the first MCSt resource;
[0283] A first determining module 1202 is configured to determine, according to the control information, a calculation method for the size of the current transport block sent by the first terminal, and calculate the size of the current transport block according to the determined calculation method;
[0284] A second receiving module 1203 is configured to receive the current transmission block sent by the first terminal according to the calculated size of the current transmission block;
[0285] Among them, the calculation method includes a first method and a second method. The first method is to use the first symbol index used for side link transmission in the time slot as the transmission starting position of the transmission block to calculate the size of the transmission block; the second method is to use the second symbol index used for side link transmission in the time slot as the transmission starting position of the transmission block to calculate the size of the transmission block; the first symbol index is smaller than the second symbol index.
[0286] Optionally, the control information is side link control information SCI, and the SCI carries first indication information for indicating a calculation method for the size of a current transmission block.
[0287] Optionally, the control information includes: first control information in the first time slot of the first MCSt resource, and second control information corresponding to the time slot in which the current transmission block is sent, wherein the first control information carries at least one of the following information: the number of time slots included in the first MCSt resource, and the reservation information of the first MCSt resource; the second control information carries at least one of the following information: HARQ process number, new data indication NDI, target ID, the number of times the current transmission block is sent, and the time slot index of the current transmission block in the first MCSt resource.
[0288] Optionally, when it is determined that the transmission blocks sent multiple times in the first MCSt resource are the same transmission block based on the HARQ process number and NDI carried by the second control information, the first determination module is also used to: when the total number of time slots included in the first MCSt resource is greater than or equal to the first threshold, calculate the size of the current transmission block according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the first threshold, calculate the size of the current transmission block according to the second method.
[0289] Optionally, when it is determined according to the HARQ process number and NDI carried by the second control information that the transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and the same transport block is sent only once in the first MCSt resource, the first determination module is further used to determine the calculation method of the size of the current transport block sent by the first terminal according to any one of the following:
[0290] When the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the second threshold, the size of the current transmission block is calculated according to the first method, or when the time slot index of the current transmission block in the first MCSt resource is less than the second threshold, the size of the current transmission block is calculated according to the second method;
[0291] When the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the third threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the third threshold, the size of the current transmission block is calculated according to the second method;
[0292] When the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the fourth threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the fourth threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0293] When the first difference is less than or equal to the fifth threshold, the size of the current transmission block is calculated according to the first method, or, when the first difference is greater than the fifth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0294] When the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the sixth threshold, the size of the current transmission block is calculated according to the first method, or when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the sixth threshold, the size of the current transmission block is calculated according to the second method;
[0295] When the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the seventh threshold, the size of the current transmission block is calculated according to the first method; or, when the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the seventh threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
[0296] Optionally, when it is determined according to the HARQ process number and NDI carried by the second control information that the transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and at least one transport block is sent at least twice in the first MCSt resource, the first determination module is further used to determine the calculation method of the size of the current transport block sent by the first terminal according to any one of the following:
[0297] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method;
[0298] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method;
[0299] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method;
[0300] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method;
[0301] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0302] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0303] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0304] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0305] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method;
[0306] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method;
[0307] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1;
[0308] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold and the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
[0309] It should be noted that the device in this embodiment is a device corresponding to the method applied to the second terminal side, and the implementation methods in the above embodiments are all applicable to the embodiments of the device, and can also achieve the same technical effect. The above device provided in the embodiment of the present application can implement all the method steps implemented in the above method embodiment, and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment in this embodiment will not be specifically described here.
[0310] Please refer to Fig.14 , the embodiment of the present application further provides a second terminal 1300, including: a transceiver 1301 and a processor 1302;
[0311] The transceiver 1301 is used to receive control information sent by the first terminal, where the control information is used to indicate a calculation method for the size of the current transport block sent in the first MCSt resource;
[0312] The processor 1302 is configured to determine, according to the control information, a calculation method for the size of the current transport block sent by the first terminal, and calculate the size of the current transport block according to the determined calculation method;
[0313] The transceiver 1301 is further configured to receive the current transmission block sent by the first terminal according to the calculated size of the current transmission block;
[0314] Among them, the calculation method includes a first method and a second method. The first method is to use the first symbol index used for side link transmission in the time slot as the transmission starting position of the transmission block to calculate the size of the transmission block; the second method is to use the second symbol index used for side link transmission in the time slot as the transmission starting position of the transmission block to calculate the size of the transmission block; the first symbol index is smaller than the second symbol index.
[0315] Optionally, the control information is side link control information SCI, and the SCI carries first indication information for indicating a calculation method for the size of a current transmission block.
[0316] Optionally, the control information includes: first control information in the first time slot of the first MCSt resource, and second control information corresponding to the time slot in which the current transmission block is sent, wherein the first control information carries at least one of the following information: the number of time slots included in the first MCSt resource, and the reservation information of the first MCSt resource; the second control information carries at least one of the following information: HARQ process number, new data indication NDI, target ID, the number of times the current transmission block is sent, and the time slot index of the current transmission block in the first MCSt resource.
[0317] Optionally, the processor 1302 is also used to: when it is determined that the transmission blocks sent multiple times in the first MCSt resource are the same transmission block based on the HARQ process number and NDI carried by the second control information, when the total number of time slots included in the first MCSt resource is greater than or equal to the first threshold, calculate the size of the current transmission block according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the first threshold, calculate the size of the current transmission block according to the second method.
[0318] Optionally, the processor 1302 is further used to determine, according to the HARQ process number and NDI carried by the second control information, that the transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and the same transport block is sent only once in the first MCSt resource, according to any one of the following items, to determine the calculation method of the size of the current transport block sent by the first terminal:
[0319] When the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the second threshold, the size of the current transmission block is calculated according to the first method, or when the time slot index of the current transmission block in the first MCSt resource is less than the second threshold, the size of the current transmission block is calculated according to the second method;
[0320] When the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the third threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the third threshold, the size of the current transmission block is calculated according to the second method;
[0321] When the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the fourth threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the fourth threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0322] When the first difference is less than or equal to the fifth threshold, the size of the current transmission block is calculated according to the first method, or, when the first difference is greater than the fifth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0323] When the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the sixth threshold, the size of the current transmission block is calculated according to the first method, or when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the sixth threshold, the size of the current transmission block is calculated according to the second method;
[0324] When the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the seventh threshold, the size of the current transmission block is calculated according to the first method; or, when the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the seventh threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
[0325] Optionally, the processor 1302 is further used to determine, according to the HARQ process number and NDI carried by the second control information, that the transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and at least one transport block is sent at least twice in the first MCSt resource, according to any one of the following items, Determine the calculation method of the size of the current transport block sent by the first terminal:
[0326] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method;
[0327] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method;
[0328] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method;
[0329] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method;
[0330] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0331] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1;
[0332] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0333] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource;
[0334] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method;
[0335] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method;
[0336] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1;
[0337] When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold and the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
[0338] It should be noted that the device in this embodiment is a device corresponding to the method applied to the second terminal side, and the implementation methods in the above embodiments are all applicable to the embodiments of the device, and can also achieve the same technical effect. The above device provided in the embodiment of the present application can implement all the method steps implemented in the above method embodiment, and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment in this embodiment will not be specifically described here.
[0339] Please refer to Fig.15 The embodiment of the present application also provides a terminal 1400, including a processor 1401, a memory 1402, and a computer program stored in the memory 1402 and executable on the processor 1401. When the computer program is executed by the processor 1401, the various processes of the embodiment of the side link transmission block size determination method executed by the first terminal are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0340] Please refer to Fig.16 The embodiment of the present application also provides a network device 1500, including a processor 1501, a memory 1502, and a computer program stored in the memory 1502 and executable on the processor 1501. When the computer program is executed by the processor 1501, the various processes of the embodiment of the side link transmission block size determination method executed by the second terminal are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0341] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned edge link transmission block size determination method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0342] It should be noted that, in this article, the terms "include", "include" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0343] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0344] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for determining the size of a side link transmission block, characterized in that: include: When the first terminal sends a transport block multiple times in the first MCSt resource, a calculation method for determining the current transport block size is determined according to the total number of time slots included in the first MCSt resource and / or the time slot index of the current transport block in the first MCSt resource; The size of the current transport block is calculated according to the determined calculation method, and the current transport block is sent to the second terminal according to the calculated transport block size.
2. The method according to claim 1, characterized in that The calculation method includes one of the following: a first method and a second method, wherein the first method is to use the first symbol index used for edge link transmission in the time slot as the transmission start position of the transmission block to calculate the size of the transmission block; the second method is to use the second symbol index used for edge link transmission in the time slot as the transmission start position of the transmission block to calculate the size of the transmission block; the first symbol index is smaller than the second symbol index.
3. The method according to claim 2, characterized in that The transport blocks sent multiple times in the first MCSt resource are the same transport block, and the calculation method for determining the current transport block size includes: When the total number of time slots included in the first MCSt resource is greater than or equal to the first threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the first threshold, the size of the current transmission block is calculated according to the second method.
4. The method according to claim 2, characterized in that The transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and the same transport block is sent only once in the first MCSt resource; the calculation method for determining the current transport block size includes any one of the following: When the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the second threshold, the size of the current transmission block is calculated according to the first method, or when the time slot index of the current transmission block in the first MCSt resource is less than the second threshold, the size of the current transmission block is calculated according to the second method; When the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the third threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the third threshold, the size of the current transmission block is calculated according to the second method; When the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the fourth threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the fourth threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1; When the first difference is less than or equal to the fifth threshold, the size of the current transmission block is calculated according to the first method, or, when the first difference is greater than the fifth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource; When the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the sixth threshold, the size of the current transmission block is calculated according to the first method, or when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the sixth threshold, the size of the current transmission block is calculated according to the second method; When the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the seventh threshold, the size of the current transmission block is calculated according to the first method; or, when the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the seventh threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
5. The method according to claim 2, characterized in that The transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and at least one transport block is sent at least twice in the first MCSt resource; the calculation method for determining the current transport block size includes any one of the following: When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold and the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
6. The method according to claim 1, characterized in that The first MCSt resource is an MCSt resource initialized by the first terminal or the third terminal, wherein: When the first MCSt resource is the MCSt resource initialized by the third terminal, the method further includes: receiving the total number of time slots included in the first MCSt resource sent by the third terminal and the time slot index of some time slots, wherein the some time slots are the time slots used for the first terminal to send the side link.
7. The method according to claim 6, characterized in that Also includes: Based on the transmission block size determined when the current transmission block is initially transmitted, the current resource selection information of the first terminal, the resource reservation information of the third terminal, and at least one of the channel occupancy time COT sharing information, determine whether each transmission of the current transmission block is located in the same MCSt resource.
8. The method according to claim 2, characterized in that The resource pool used for currently sending the transport block is configured with a PSFCH; and calculating the size of the current transport block according to the determined calculation method includes: In the process of calculating the size of the current transmission block according to the first method, As the number of symbols, calculate the number of REs in a PRB; or, In the process of calculating the size of the current transmission block according to the second method, and The smaller one of is taken as the number of symbols and the number of REs in a PRB is calculated; in, represents the difference between the number of all symbols used for edge link transmission in the time slot and 2, It represents the number of symbols occupied by PSFCH, and n1 and n2 are the first symbol index and the second symbol index respectively.
9. The method according to claim 2, characterized in that Also includes: Control information is sent to the second terminal, and the control information is used to indicate the calculation method of the size of the current transmission block sent in the first MCSt resource.
10. The method according to claim 9, characterized in that The control information is side link control information SCI, and the SCI carries first indication information for indicating a calculation method of a size of a current transport block; or, The control information includes: the first control information in the first time slot of the first MCSt resource, and the second control information corresponding to the time slot in which the current transmission block is sent, wherein the first control information carries at least one of the following information: the number of time slots included in the first MCSt resource, and the reservation information of the first MCSt resource; the second control information carries at least one of the following information: HARQ process number, new data indication NDI, target ID, number of times the current transmission block is sent, and the time slot index of the current transmission block in the first MCSt resource.
11. A method for determining a transmission block size on an edge link, characterized in that: include: Receive control information sent by the first terminal, where the control information is used to indicate a calculation method for the size of a current transport block sent in the first MCSt resource; Determine, according to the control information, a calculation method for the size of the current transport block sent by the first terminal, and calculate the size of the current transport block according to the determined calculation method; According to the calculated size of the current transmission block, the current transmission block sent by the first terminal is received.
12. The method according to claim 11, characterized in that The calculation method includes one of the following: a first method and a second method, wherein the first method is to use the first symbol index used for edge link transmission in the time slot as the transmission start position of the transmission block to calculate the size of the transmission block; the second method is to use the second symbol index used for edge link transmission in the time slot as the transmission start position of the transmission block to calculate the size of the transmission block; the first symbol index is smaller than the second symbol index.
13. The method according to claim 11, characterized in that The control information is side link control information SCI, and the SCI carries first indication information for indicating a calculation method of a size of a current transmission block.
14. The method according to claim 11, characterized in that The control information includes: the first control information in the first time slot of the first MCSt resource, and the second control information corresponding to the time slot in which the current transmission block is sent, wherein the first control information carries at least one of the following information: the number of time slots included in the first MCSt resource, and the reservation information of the first MCSt resource; the second control information carries at least one of the following information: HARQ process number, new data indication NDI, target ID, number of times the current transmission block is sent, and the time slot index of the current transmission block in the first MCSt resource.
15. The method according to claim 14, characterized in that When it is determined that the transport blocks sent multiple times in the first MCSt resource are the same transport block according to the HARQ process number and the NDI carried by the second control information, the calculation method for determining the size of the current transport block sent by the first terminal includes: When the total number of time slots included in the first MCSt resource is greater than or equal to the first threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the first threshold, the size of the current transmission block is calculated according to the second method.
16. The method according to claim 14, characterized in that When it is determined, according to the HARQ process number and NDI carried by the second control information, that the transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and the same transport block is sent only once in the first MCSt resource, the calculation method for determining the size of the current transport block sent by the first terminal includes any one of the following: When the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the second threshold, the size of the current transmission block is calculated according to the first method, or when the time slot index of the current transmission block in the first MCSt resource is less than the second threshold, the size of the current transmission block is calculated according to the second method; When the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the third threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the third threshold, the size of the current transmission block is calculated according to the second method; When the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the fourth threshold, the size of the current transmission block is calculated according to the first method, or, when the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the fourth threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1; When the first difference is less than or equal to the fifth threshold, the size of the current transmission block is calculated according to the first method, or, when the first difference is greater than the fifth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource; When the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the sixth threshold, the size of the current transmission block is calculated according to the first method, or when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the sixth threshold, the size of the current transmission block is calculated according to the second method; When the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the seventh threshold, the size of the current transmission block is calculated according to the first method; or, when the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the seventh threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
17. The method according to claim 14, characterized in that When it is determined, according to the HARQ process number and NDI carried by the second control information, that the transport blocks sent multiple times in the first MCSt resource include multiple different transport blocks, and at least one transport block is sent at least twice in the first MCSt resource, the calculation method for determining the size of the current transport block sent by the first terminal includes any one of the following: When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the time slot index of the current transmission block in the first MCSt resource is greater than or equal to the ninth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the time slot index of the current transmission block in the first MCSt resource is less than the ninth threshold, the size of the current transmission block is calculated according to the second method; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is greater than or equal to the tenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and when the ratio of the time slot index of the current transmission block in the first MCSt resource to the total number of time slots in the first MCSt resource is less than the tenth threshold, the size of the current transmission block is calculated according to the second method; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first sum value to the total number of time slots in the first MCSt resource is greater than or equal to the eleventh threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first sum value to the total number of time slots in the first MCSt resource is less than the eleventh threshold, the size of the current transmission block is calculated according to the second method, wherein the first sum value is the sum of the time slot index of the current transmission block in the first MCSt resource and 1; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the first difference is less than or equal to the twelfth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the first difference is greater than the twelfth threshold, the size of the current transmission block is calculated according to the second method, wherein the first difference is the time slot index difference between the time slot corresponding to the current transmission block in the first MCSt resource and the last time slot in the first MCSt resource; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, when the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the first difference to the total number of time slots in the first MCSt resource is less than or equal to the thirteenth threshold, the size of the current transmission block is calculated according to the first method; or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, and the ratio of the first difference to the total number of time slots in the first MCSt resource is greater than the thirteenth threshold, the size of the current transmission block is calculated according to the second method; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, and the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold, or, the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1; When the total number of time slots included in the first MCSt resource is greater than or equal to the eighth threshold, or the ratio of the second sum value to the total number of time slots in the first MCSt resource is less than or equal to the fourteenth threshold, the size of the current transmission block is calculated according to the first method, or, when the total number of time slots included in the first MCSt resource is less than the eighth threshold and the ratio of the second sum value to the total number of time slots in the first MCSt resource is greater than the fourteenth threshold, the size of the current transmission block is calculated according to the second method, wherein the second sum value is the sum of the first difference value and 1.
18. A first terminal, characterized in that: comprising a transceiver and a processor, wherein: The processor is used to determine a calculation method for the current transport block size according to the total number of time slots included in the first MCSt resource and / or the time slot index of the current transport block in the first MCSt resource when the transport block is sent multiple times in the first MCSt resource; The transceiver is used to calculate the size of the current transmission block according to the determined calculation method, and send the current transmission block to the second terminal according to the calculated transmission block size.
19. A first terminal, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the method according to any one of claims 1 to 10 are implemented.
20. A second terminal, characterized in that: comprising a transceiver and a processor, wherein: The transceiver is used to receive control information sent by the first terminal, where the control information is used to indicate a calculation method for the size of the current transport block sent in the first MCSt resource; The processor is configured to determine, according to the control information, a calculation method for the size of the current transport block sent by the first terminal, and calculate the size of the current transport block according to the determined calculation method; The transceiver is further configured to receive the current transmission block sent by the first terminal according to the calculated size of the current transmission block; Among them, the calculation method includes a first method and a second method. The first method is to use the first symbol index used for side link transmission in the time slot as the transmission starting position of the transmission block to calculate the size of the transmission block; the second method is to use the second symbol index used for side link transmission in the time slot as the transmission starting position of the transmission block to calculate the size of the transmission block; the first symbol index is smaller than the second symbol index.
21. A second terminal, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the method according to any one of claims 11 to 17 are implemented.
22. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 17 are implemented.
