In recent years, Smart mobile devices have become widely used because of their low cost and user –friendly. Thus it makes the protection of digital data copyrights be taken seriously. The digital watermarking technology means that hiding the secret message (watermark) into the carrier (image or video) that the naked eye of the people cannot perceive any abnormality, and thus to achieve the protection of copyrights. This dissertation first exploits a method which spreads the watermark by the CDMA technology and hides the spread data in the DWT domain. Next, a variance-reduction technique is proposed to enhance the robustness of watermarking.