To ensure the quality of service of the network, the internet applies network congestion control algorithms to adjust the rate to improve the serving capacity. Based on the working mechanisms of internet communication systems, a dynamic internet congestion control primal dual algorithm is presented. By applying the Lyapunov stability theorem, the global asymptotic stability of the dynamic algorithm with negligible communication delays is studied. Furthermore, the global asymptotic stability of the dynamic algorithm with communication delays is analysed by means of the Lyapunov-Krasovskii theorem. Finally, computer simulations show the validity of these results.