A data transmission method and apparatus

Embodiment provides a data transmission method of the present invention, including prediction of the current data traffic according to the traffic data buffer level during the last burst of newly arrived; the next transmission window size is determined based on current data traffic prediction; the size determines the next transmission window in the stream buffer composed of a burst data stream; transmitting the burst data flows. Embodiments of the invention further provides a data transmitting apparatus. Prediction of the current embodiment of the present invention the data traffic according to the traffic data buffer level during the last burst of newly arrived, and then determine the size of the transmission window according to the predicted current cache data traffic, so that each transmission burst after able to determine the appropriate transmission window size based on current traffic conditions, it can be dynamically adjusted based on adaptive traffic arrival service, improved delay performance and throughput performance.