Source coding theory, information theory research as a theoretical basis, has long been widespread Information storage, transmission and other processes often require Source coding to remove the signal through the coding redundancy of source components to achieve the compression rate and improve the efficiency of communication, the purpose of achieving efficient transmission of This article introduces the various areas of digital communications for language, graphics, video and other data useful source coding Huffman coding as an example of the source code file compression in digital communication applications, and finally describes the source code for future development