Data transmission method and apparatus
A data transmission method and an apparatus are provided. In the provided method and apparatus, a terminal can properly discard a part of to-be-transmitted data and notify a base station, to improve resource utilization in a transmission process of XR data.
1 . A communication method, comprising:
obtaining configured grant (CG) information from a network device, wherein the CG information is for configuring one or more CG transmission occasions, and the one or more CG transmission occasions are used for uplink data transmission;
sending indication information to the network device, wherein the indication information indicates that uplink data transmission will not be performed on N CG transmission occasions of the one or more CG transmission occasions, and N is a positive integer; and
skipping the uplink data transmission on the N CG transmission occasions.
2 . The method according to claim 1 , wherein the indication information comprises CG transmission occasion quantity information, and the CG transmission occasion quantity information indicates N.
3 . The method according to claim 1 , wherein the indication information comprises CG index information, and the CG index information indicates the one or more CG transmission occasions.
4 . The method according to claim 1 , wherein the indication information is comprised in uplink control information (UCI).
5 . The method according to claim 4 , wherein the UCI is carried on a physical uplink shared channel (PUSCH).
6 . The method according to claim 1 , wherein uplink data comprises picture data, and a value of N is determined based on one of the following:
a quantity of remaining data frames in a group of pictures (GOP);
a delay of inserting a data frame; or
a remaining transmission delay budget of the data frame.
7 . The method according to claim 1 , wherein the CG information is further for configuring the one or more CG transmission occasions allowed to be skipped.
8 . An apparatus, comprising:
one or more processors to execute instructions causing the apparatus to:
obtain configured grant (CG) information from a network device, wherein the CG information is for configuring one or more CG transmission occasions, and the one or more CG transmission occasions are used for uplink data transmission;
send indication information to the network device, wherein the indication information indicates that uplink data transmission will not be performed on N CG transmission occasions of the one or more CG transmission occasions, and N is a positive integer; and
skip the uplink data transmission on the N CG transmission occasions.
9 . The apparatus according to claim 8 , wherein the indication information comprises CG transmission occasion quantity information, and the CG transmission occasion quantity information indicates N.
10 . The apparatus according to claim 8 , wherein the indication information comprises CG index information, and the CG index information indicates the one or more CG transmission occasions.
11 . The apparatus according to claim 8 , wherein the indication information is comprised in uplink control information (UCI).
12 . The apparatus according to claim 11 , wherein the UCI is carried on a physical uplink shared channel (PUSCH).
13 . The apparatus according to claim 8 , wherein uplink data comprises picture data, and a value of N is determined based on one of the following:
a quantity of remaining data frames in a group of pictures (GOP);
a delay of inserting a data frame; or
a remaining transmission delay budget of the data frame.
14 . The apparatus according to claim 8 , wherein the CG information is further for configuring the one or more CG transmission occasions allowed to be skipped.
15 . A non-transitory computer readable medium storing instructions that are executable by a computer, the non-transitory computer readable medium is applied to a first communication apparatus, and the instructions comprise instructions for:
obtaining configured grant (CG) information from a network device, wherein the CG information is for configuring one or more CG transmission occasions, and the one or more CG transmission occasions are used for uplink data transmission;
sending indication information to the network device, wherein the indication information indicates that uplink data transmission will not be performed on N CG transmission occasions of the one or more CG transmission occasions, and N is a positive integer; and
skipping the uplink data transmission on the N CG transmission occasions.
16 . The non-transitory computer readable medium according to claim 15 , wherein the indication information comprises CG transmission occasion quantity information, and the CG transmission occasion quantity information indicates N.
17 . The non-transitory computer readable medium according to claim 15 , wherein the indication information is comprised in uplink control information (UCI).
18 . The non-transitory computer readable medium according to claim 17 , wherein the UCI is carried on a physical uplink shared channel (PUSCH).
19 . The non-transitory computer readable medium according to claim 15 , wherein uplink data comprises picture data, and a value of N is determined based on one of the following:
a quantity of remaining data frames in a group of pictures (GOP);
a delay of inserting a data frame; or
a remaining transmission delay budget of the data frame.
20 . The non-transitory computer readable medium according to claim 15 , wherein the CG information is further for configuring the one or more CG transmission occasions allowed to be skipped.
21 . A communication method, comprising:
sending configured grant (CG) information to a terminal, wherein the CG information is for configuring one or more CG transmission occasions, and the one or more CG transmission occasions are used for uplink data transmission;
receiving indication information from the terminal, wherein the indication information indicates that uplink data transmission will not be performed on N CG transmission occasions of the one or more CG transmission occasions, and N is a positive integer; and
skipping uplink data reception from the terminal on the N CG transmission occasions.
22 . The method according to claim 21 , wherein the indication information comprises CG transmission occasion quantity information, and the CG transmission occasion quantity information indicates N.
23 . The method according to claim 21 , wherein the indication information is comprised in uplink control information (UCI).
24 . The method according to claim 23 , wherein the UCI is carried on a physical uplink shared channel (PUSCH).
25 . The method according to claim 21 , wherein the method further comprises:
allocating, for use by another terminal other than the terminal, all or some resources corresponding to the N CG transmission occasions.
26 . The method according to claim 21 , wherein the CG information is further for configuring the one or more CG transmission occasions allowed to be skipped.
27 . A non-transitory computer readable medium storing instructions that are executable by a computer, the non-transitory computer readable medium is applied to a first communication apparatus, and the instructions comprise instructions for:
sending configured grant (CG) information to a terminal, wherein the CG information is for configuring one or more CG transmission occasions, and the one or more CG transmission occasions are used for uplink data transmission;
receiving indication information from the terminal, wherein the indication information indicates that uplink data transmission will not be performed on N CG transmission occasions of the one or more CG transmission occasions, and N is a positive integer; and
skipping uplink data reception from the terminal on the N CG transmission occasions.
28 . The non-transitory computer readable medium according to claim 27 , wherein the indication information is comprised in uplink control information (UCI).
29 . The non-transitory computer readable medium according to claim 28 , wherein the UCI is carried on a physical uplink shared channel (PUSCH).
30 . The non-transitory computer readable medium according to claim 27 , wherein the CG information is further for configuring the one or more CG transmission occasions allowed to be skipped.