A data transmission method, comprising: determining, by a communications device, wherein the communication device is a terminal or a base station, an attribute of a received data packet to be transmitted, wherein the attribute of the data packet is used to indicate importance of the data packet within a plurality of data packets to be transmitted; and transmitting, by the communications device, the data packet by using a configuration parameter corresponding to the attribute of the data packet, characterized in that the determining an attribute of a data packet to be transmitted comprises: determining, by the communications device, the attribute of the data packet obtained through a first logical channel as an important attribute; and determining, by the communications device, the attribute of the data packet obtained through a second logical channel as an unimportant attribute; wherein second indication information is used to indicate, to the terminal, a correspondence between data packets having different attributes and logical channels used for transmitting the data packets; and wherein the communications device is the terminal, and before the determining an attribute of a data packet to be transmitted, the method further comprises: receiving, by the terminal, the second indication information sent by the base station, or the communications device is the base station, and before the determining an attribute of a data packet to be transmitted, the method further comprises: sending, by the base station, the second indication information to the terminal. determining, by a communications device, wherein the communication device is a terminal or a base station, an attribute of a received data packet to be transmitted, wherein the attribute of the data packet is used to indicate importance of the data packet within a plurality of data packets to be transmitted; and transmitting, by the communications device, the data packet by using a configuration parameter corresponding to the attribute of the data packet, characterized in that the determining an attribute of a data packet to be transmitted comprises: determining, by the communications device, the attribute of the data packet obtained through a first logical channel as an important attribute; and determining, by the communications device, the attribute of the data packet obtained through a second logical channel as an unimportant attribute; wherein second indication information is used to indicate, to the terminal, a correspondence between data packets having different attributes and logical channels used for transmitting the data packets; and wherein the communications device is the terminal, and before the determining an attribute of a data packet to be transmitted, the method further comprises: receiving, by the terminal, the second indication information sent by the base station, or the communications device is the base station, and before the determining an attribute of a data packet to be transmitted, the method further comprises: sending, by the base station, the second indication information to the terminal. determining, by the communications device, the attribute of the data packet obtained through a first logical channel as an important attribute; and determining, by the communications device, the attribute of the data packet obtained through a second logical channel as an unimportant attribute; wherein second indication information is used to indicate, to the terminal, a correspondence between data packets having different attributes and logical channels used for transmitting the data packets; and wherein the communications device is the terminal, and before the determining an attribute of a data packet to be transmitted, the method further comprises: receiving, by the terminal, the second indication information sent by the base station, or the communications device is the base station, and before the determining an attribute of a data packet to be transmitted, the method further comprises: sending, by the base station, the second indication information to the terminal.