A method for transmitting data performed by a first device, comprising sending indication information to a second device, wherein the indication information indicates a first sending manner for a first transport block, and the first sending manner is one of at least two sending manners; and sending the first transport block based on the first sending manner, or receiving the first transport block based on the first sending manner; wherein the method further comprises sending higher-layer signaling to the second device, wherein the higher-layer signaling indicates a sending manner set, the sending manner set comprises one or more sending manners in the at least two sending manners, and the first sending manner is one of the one or more sending manners comprised in the sending manner set; wherein the higher-layer signaling indicates the sending manner set by indicating a time domain resource pattern of each sending manner in the one or more sending manners, and one or more resources indicated by the time domain resource pattern are for a same transport block; wherein the sending the first transport block based on the first sending manner comprises sending the first transport block in a plurality of reserved time domain resources indicated by the time domain resource pattern of the first sending manner and stopping the sending of the first transport block in a subsequent time domain resource when receiving an ACK; wherein the receiving the first transport block based on the first sending manner comprises receiving the first transport block in the plurality of reserved time domain resources indicated by the time domain resource pattern of the first sending manner and stopping transmissions of the first transport block in the subsequent time domain resource by sending an ACK; and wherein the higher-layer signaling indicates a time domain resource pattern of at least one sending manner in the one or more sending manners through a bitmap. sending indication information to a second device, wherein the indication information indicates a first sending manner for a first transport block, and the first sending manner is one of at least two sending manners; and sending the first transport block based on the first sending manner, or receiving the first transport block based on the first sending manner; wherein the method further comprises sending higher-layer signaling to the second device, wherein the higher-layer signaling indicates a sending manner set, the sending manner set comprises one or more sending manners in the at least two sending manners, and the first sending manner is one of the one or more sending manners comprised in the sending manner set; wherein the higher-layer signaling indicates the sending manner set by indicating a time domain resource pattern of each sending manner in the one or more sending manners, and one or more resources indicated by the time domain resource pattern are for a same transport block; wherein the sending the first transport block based on the first sending manner comprises sending the first transport block in a plurality of reserved time domain resources indicated by the time domain resource pattern of the first sending manner and stopping the sending of the first transport block in a subsequent time domain resource when receiving an ACK; wherein the receiving the first transport block based on the first sending manner comprises receiving the first transport block in the plurality of reserved time domain resources indicated by the time domain resource pattern of the first sending manner and stopping transmissions of the first transport block in the subsequent time domain resource by sending an ACK; and wherein the higher-layer signaling indicates a time domain resource pattern of at least one sending manner in the one or more sending manners through a bitmap.