A method for transmitting data, comprising: receiving, by a terminal device, a plurality of granted uplink resources, wherein different granted uplink resources correspond to different numerologies, the terminal device has a plurality of logical channels, and each of the logical channels corresponds to at least one numerology; and allocating, by the terminal device, the plurality of granted uplink resources to the plurality of logical channels according to priorities of the plurality of logical channels and a priority of the at least one numerology corresponding to each of the logical channels; characterized in that, the plurality of logical channels comprise a first logical channel and a second logical channel, the first logical channel corresponds to a plurality of numerologies, and the allocating, by the terminal device, the plurality of granted uplink resources to the plurality of logical channels according to priorities of the plurality of logical channels and a priority of the at least one numerology corresponding to each of the logical channels comprises: allocating, with precedence over the second logical channel, a granted uplink resource to the first logical channel according to the plurality of numerologies corresponding to the first logical channel if a priority of the first logical channel is higher than a priority of the second logical channel; wherein the allocating a granted uplink resource to the first logical channel according to the plurality of numerologies corresponding to the first logical channel comprises: allocating the granted uplink resource to the first logical channel according to a priority order of the plurality of numerologies corresponding to the first logical channel. receiving, by a terminal device, a plurality of granted uplink resources, wherein different granted uplink resources correspond to different numerologies, the terminal device has a plurality of logical channels, and each of the logical channels corresponds to at least one numerology; and allocating, by the terminal device, the plurality of granted uplink resources to the plurality of logical channels according to priorities of the plurality of logical channels and a priority of the at least one numerology corresponding to each of the logical channels; characterized in that, the plurality of logical channels comprise a first logical channel and a second logical channel, the first logical channel corresponds to a plurality of numerologies, and the allocating, by the terminal device, the plurality of granted uplink resources to the plurality of logical channels according to priorities of the plurality of logical channels and a priority of the at least one numerology corresponding to each of the logical channels comprises: allocating, with precedence over the second logical channel, a granted uplink resource to the first logical channel according to the plurality of numerologies corresponding to the first logical channel if a priority of the first logical channel is higher than a priority of the second logical channel; wherein the allocating a granted uplink resource to the first logical channel according to the plurality of numerologies corresponding to the first logical channel comprises: allocating the granted uplink resource to the first logical channel according to a priority order of the plurality of numerologies corresponding to the first logical channel. allocating, with precedence over the second logical channel, a granted uplink resource to the first logical channel according to the plurality of numerologies corresponding to the first logical channel if a priority of the first logical channel is higher than a priority of the second logical channel; wherein the allocating a granted uplink resource to the first logical channel according to the plurality of numerologies corresponding to the first logical channel comprises: allocating the granted uplink resource to the first logical channel according to a priority order of the plurality of numerologies corresponding to the first logical channel.