A communication method, comprising: acquiring, by a terminal device, a composition state of a medium access control, MAC, protocol data unit, PDU, of each of at least two resources when the at least two resources conflict, wherein the composition state of the MAC PDU of each of the at least two resources comprises any of the following states: only a MAC service date unit, SDU, is included; only a MAC control element, CE, is included; and MAC SDU and MAC CE are both included; determining, by the terminal device, a resource transmission priority of each of the at least two resources according to the composition state of the MAC PDU; and performing, by the terminal device, resource transmission according to the resource transmission priority of each of the at least two resources, characterized in that, when it is determined that the MAC PDU in each of the at least two resources comprises the MAC SDU and at least one of the at least two resources comprises the MAC CE, the determining, by the terminal device, the resource transmission priority of each of the at least two resources according to the composition state of the MAC PDU comprises: determining, by the terminal device, a resource transmission priority of each of the at least two resources, only according to a priority of a logical channel, LCH, carrying the MAC SDU of each of the at least two resources; and when it is determined that the MAC SDU is not comprised in at least one resource, the determining, by the terminal device, the resource transmission priority of each of the at least two resources according to the composition state of the MAC PDU comprises: determining, by the terminal device, the resource transmission priority of each of the at least two resources according to a preset rule. acquiring, by a terminal device, a composition state of a medium access control, MAC, protocol data unit, PDU, of each of at least two resources when the at least two resources conflict, wherein the composition state of the MAC PDU of each of the at least two resources comprises any of the following states: only a MAC service date unit, SDU, is included; only a MAC control element, CE, is included; and MAC SDU and MAC CE are both included; determining, by the terminal device, a resource transmission priority of each of the at least two resources according to the composition state of the MAC PDU; and performing, by the terminal device, resource transmission according to the resource transmission priority of each of the at least two resources, characterized in that, when it is determined that the MAC PDU in each of the at least two resources comprises the MAC SDU and at least one of the at least two resources comprises the MAC CE, the determining, by the terminal device, the resource transmission priority of each of the at least two resources according to the composition state of the MAC PDU comprises: determining, by the terminal device, a resource transmission priority of each of the at least two resources, only according to a priority of a logical channel, LCH, carrying the MAC SDU of each of the at least two resources; and when it is determined that the MAC SDU is not comprised in at least one resource, the determining, by the terminal device, the resource transmission priority of each of the at least two resources according to the composition state of the MAC PDU comprises: determining, by the terminal device, the resource transmission priority of each of the at least two resources according to a preset rule. determining, by the terminal device, a resource transmission priority of each of the at least two resources, only according to a priority of a logical channel, LCH, carrying the MAC SDU of each of the at least two resources; and when it is determined that the MAC SDU is not comprised in at least one resource, the determining, by the terminal device, the resource transmission priority of each of the at least two resources according to the composition state of the MAC PDU comprises: determining, by the terminal device, the resource transmission priority of each of the at least two resources according to a preset rule.