The invention discloses an
audio watermark embedding and extracting method and
system, and the method comprises the steps: obtaining audio data, calculating a
masking threshold value of each frequency point of the audio data, and carrying out the preprocessing of the audio data; encoding according to the
watermark information to generate an
audio watermark, and embedding the
audio watermark into the audio data according to a
masking threshold value of the audio data; and retrieving the position of the audio
watermark in the audio data embedded with the audio
watermark, and extracting the audio watermark according to the
masking threshold value of the original audio data. According to the method, the audio watermarks are embedded according to the masking theory of human ears, the masking threshold value of the audio data is calculated, and the audio watermarks are added to the audio according to the masking threshold value in the
frequency domain, so that the audio watermarks can better
resist attacks, the robustness of the audio watermarks is ensured, and the detectability can be kept even under severe conditions. The problem that the audio quality is easily affected due to insufficient robustness of the existing audio watermark is solved.