This paper surveys the state of the art of software watermarking and its classification. It also describes the dynamic software watermarking technology. And it realizes the algorithm based on the principle of dynamic path-based watermarking and embeds the copyright information into the program code. This paper also analyzes both static and dynamic characteristics of dynamic path-based software watermarking and evaluates advantages and disadvantages of the algorithm.