A method for data transmission comprising: receiving, by a terminal device, first control information sent by a network device, wherein the first control information is used to schedule the terminal device to perform data transmission; determining, by the terminal device, according to an attribute of the first control information and a first mapping relationship, at least one transmission frequency band corresponding to the attribute of the first control information, wherein in the first mapping relationship, the attribute of the first control information corresponds to one or more transmission frequency bands; determining, by the terminal device, a target transmission frequency band from the at least one transmission frequency band; and performing, by the terminal device, the data transmission with the network device on the target transmission frequency band according to the first control information, wherein the at least one transmission frequency band is a band width part, BWP, and wherein the first control information is downlink control information, DCI, wherein the first control information comprises frequency band information of the target transmission frequency band, and the first mapping relationship further comprises a correspondence between a plurality of transmission frequency bands and a plurality of pieces of frequency band information, and determining, by the terminal device, the target transmission frequency band from the at least one transmission frequency band comprises: according to the frequency band information of the target transmission frequency band, and the first mapping relationship, determining, by the terminal device, the target transmission frequency band to be a transmission frequency band corresponding to the frequency band information from the at least one transmission frequency band, wherein the first control information comprises preset bit(s) for indicating frequency band information of the transmission frequency band, and the preset bits comprise 0 bit, 1 bit, or 2 bits, and wherein the attribute of the first control information comprises a DCI format of the DCI. receiving, by a terminal device, first control information sent by a network device, wherein the first control information is used to schedule the terminal device to perform data transmission; determining, by the terminal device, according to an attribute of the first control information and a first mapping relationship, at least one transmission frequency band corresponding to the attribute of the first control information, wherein in the first mapping relationship, the attribute of the first control information corresponds to one or more transmission frequency bands; determining, by the terminal device, a target transmission frequency band from the at least one transmission frequency band; and performing, by the terminal device, the data transmission with the network device on the target transmission frequency band according to the first control information, wherein the at least one transmission frequency band is a band width part, BWP, and wherein the first control information is downlink control information, DCI, wherein the first control information comprises frequency band information of the target transmission frequency band, and the first mapping relationship further comprises a correspondence between a plurality of transmission frequency bands and a plurality of pieces of frequency band information, and determining, by the terminal device, the target transmission frequency band from the at least one transmission frequency band comprises: according to the frequency band information of the target transmission frequency band, and the first mapping relationship, determining, by the terminal device, the target transmission frequency band to be a transmission frequency band corresponding to the frequency band information from the at least one transmission frequency band, wherein the first control information comprises preset bit(s) for indicating frequency band information of the transmission frequency band, and the preset bits comprise 0 bit, 1 bit, or 2 bits, and wherein the attribute of the first control information comprises a DCI format of the DCI. according to the frequency band information of the target transmission frequency band, and the first mapping relationship, determining, by the terminal device, the target transmission frequency band to be a transmission frequency band corresponding to the frequency band information from the at least one transmission frequency band, wherein the first control information comprises preset bit(s) for indicating frequency band information of the transmission frequency band, and the preset bits comprise 0 bit, 1 bit, or 2 bits, and wherein the attribute of the first control information comprises a DCI format of the DCI.