Disclosed in the present invention are an
audio watermark embedding and extraction method and
system. The method comprises: acquiring audio data, calculating a
masking threshold for each frequency point of the audio data, and preprocessing the audio data; performing encoding on the basis of
watermark information to generate an
audio watermark, and embedding the
audio watermark into the audio data on the basis of the
masking threshold of the audio data; and locating the position of the audio
watermark in the audio data into which the audio
watermark is embedded, and extracting the audio watermark on the basis of the
masking threshold of the original audio data. In the present invention, an audio watermark is embedded on the basis of human
auditory masking theory; the masking threshold of audio data is calculated, and the audio watermark is added to audio in a
frequency domain on the basis of the masking threshold, thereby allowing the audio watermark to better
resist these attacks, ensuring the robustness of the audio watermark, and ensuring that the detectability can be maintained even under harsh conditions. The present invention solves the problem whereby existing audio watermarks have insufficient robustness and are prone to affect the quality of audio itself.