Data packet transmission method and device

The invention discloses a data packet transmission method and device. The method comprises the steps that a first data packet is received; the data bulk of data packets, which comprise the first data packet, in a caching queue is compared with a set data-bulk threshold; when the data bulk of the data packets in the caching queue is greater than the data-bulk threshold, the data packets in the caching queue are aggregated to generate an aggregated data packet; and the aggregated data packet is transmitted. According to the method and device, the data packets are not transmitted one by one; instead, when the data bulk of the data packets in the caching queue is greater than the data-bulk threshold, the aggregated data packet is transmitted, thereby reducing the possibility of transmission collision of the data packets in the network, reducing transmission time delay of the data packets, and improving the total throughput of the system.