The invention discloses a method for embedding a
blockchain ledger in audio
digital watermarking. The method comprises the following steps: I, selecting separators, block sizes, head structures of blocks and transaction details as ledger information and watermarking information and combining the information so as to achieve quantization and coding of watermarking containing a
blockchain data; II,reducing dimensions of the
blockchain ledger information and watermarking information obtained from quantization and coding, transforming a
frequency domain of original audio and implementing quantization and coding once again, so that new
matrix coefficient coding is formed, and implementing
frequency domain inverse transformation so as to obtain final audio watermarking containing the blockchaininformation, so that blockchain watermarking embedding is completed; and III, updating watermarking information in the blockchain by updating a
data value in the blockchain information, so as to facilitate tracking and to acquire a performance that can not be arbitrarily modified. According to the method provided by the invention, quantized information of the blockchain ledger, as one part of thewatermarking information, is embedded into a transformation domain of the
audio signal, so that the integrity of the watermarking can be kept in a transfer process and a
bit error rate in data extracting can be reduced.