Digital watermark firstly encoded in terms of QR barcode and then embeded into frequency domain coefficients of the host image after pretreatment steps towards barcode, Such as removing format information, deleting barcode boundary. 数字水印首先经过QR码编码处理,再经过去除格式、删除条码边界等预处理步骤后,采用两种不同的方法将格式信息和编码信息嵌入到载体图像频域系数中。