IP Library › Granted Patent US 12,567,425
Granted Patent B2
US 12,567,425 · App. 18/324,175 · Granted Mar 3, 2026

Encoding method and decoding method

Inventors: Kuan Nien Pan (Taoyuan City, TW); I Yun Su (Taoyuan City, TW); Yan-Min Kuo (Taoyuan City, TW)
Assignee: HTC Corporation
G10L19/018G10L19/008G10L19/032G10L25/21
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,567,425
App. No.
18/324,175
Granted
Mar 3, 2026
Kind
B2
Abstract

An encoding method for embedding a watermark into an audio is provided. A text watermark and an original audio are obtained. The text watermark is converted to an image watermark. The original audio is converted from a time domain to a frequency domain to generate a pre-process audio. The image watermark is embedded into the pre-processed audio to generate an encoded audio. The encoded audio is converted from the frequency domain to the time domain to generate an watermarked audio.

Claims (69)

1 . An encoding method for embedding a watermark into an audio, comprising:

obtaining a text watermark and an original audio, wherein the original audio comprises a first channel and a second channel;

converting the text watermark to an image watermark;

converting the original audio from a time domain to a frequency domain to generate a pre-processed audio;

comparing a first channel energy of the first channel and a second channel energy of the second channel;

embedding the image watermark into the pre-processed audio to generate an encoded audio;

in response to the first channel energy being greater than the second channel energy, embedding the image watermark into the first channel to generate the encoded audio;

in response to the first channel energy not being greater than the second channel energy, embedding the image watermark into the second channel to generate the encoded audio; and

converting the encoded audio from the frequency domain to the time domain to generate a watermarked audio.

2 . The encoding method according to claim 1 , further comprising:

converting the text watermark to the image watermark based on a text-to-image database.

3 . The encoding method according to claim 1 , further comprising:

converting the original audio from a time domain to a frequency domain based on a discrete cosine transform algorithm to generate the pre-processed audio; and

converting the encoded audio from the frequency domain to the time domain based on an inverse discrete cosine transform algorithm to generate the watermarked audio.

4 . The encoding method according to claim 1 , further comprising:

checking a frame energy of each frame of the pre-processed audio;

determining an encoding energy of the image watermark based on the frame energy; and

embedding the image watermark into the pre-processed audio according to the encoding energy to generate the encoded audio.

5 . The encoding method according to claim 1 , further comprising:

embedding the image watermark into the pre-processed audio based on a quantization index modulation algorithm to generate the encoded audio.

6 . The encoding method according to claim 1 , further comprising:

embedding the image watermark into the pre-processed audio based on a singular value decomposition algorithm to generate the encoded audio.

7 . The encoding method according to claim 1 , further comprising:

embedding the image watermark into a first frame of the pre-processed audio based on a quantization index modulation algorithm to generate a first embedded frame of the encoded audio; and

embedding the image watermark into a second frame of the pre-processed audio based on a singular value decomposition algorithm to generate a second embedded frame of the encoded audio.

8 . The encoding method according to claim 1 , further comprising:

embedding the image watermark into a plurality of first frames of the pre-processed audio based on a quantization index modulation algorithm to generate a plurality of first embedded frames of the encoded audio; and

embedding the image watermark into a plurality of second frames of the pre-processed audio based on a singular value decomposition algorithm to generate a plurality of second embedded frames of the encoded audio,

wherein the plurality of first frames and the plurality of second frames are disposed alternatively in the pre-processed audio.

9 . The encoding method according to claim 1 , wherein the first channel comprises a plurality of first frames and the second channel comprises a plurality of second frames, and the encoding method further comprises:

mixing the first channel and the second channel to generate the pre-processed audio;

detecting a plurality of first frame energies of the plurality of first frames and a plurality of second frame energies of the plurality of second frames;

determining a maximum energy frame with a maximum energy among the plurality of first frames and plurality of second frames;

determining an encoding timing according to a timing of the maximum energy frame;

embedding the image watermark into the pre-processed audio according to the encoding timing to generate the encoded audio; and

after converting the encoded audio from the frequency domain to the time domain, splitting the first channel and the second channel to generate the watermarked audio.

10 . A decoding method for verifying a watermark in an audio, comprising:

obtaining a text watermark and a watermarked audio, wherein the watermarked audio comprises a first channel and a second channel;

converting the text watermark to an image watermark;

converting the watermarked audio from a time domain to a frequency domain to generate a target audio;

comparing a first channel energy of the first channel and a second channel energy of the second channel;

extracting an extracted image from the target audio;

in response to the first channel energy being greater than the second channel energy, extracting the extracted image from the first channel; and

in response to the first channel energy not being greater than the second channel energy, extracting the extracted image into the second channel; and

comparing the extracted image with the image watermark to generate a verifying result.

11 . The decoding method according to claim 10 , further comprising:

converting the text watermark to the image watermark based on a text-to-image database.

12 . The decoding method according to claim 10 , further comprising:

converting the watermarked audio from a time domain to a frequency domain based on a discrete cosine transform algorithm to generate the target audio.

13 . The decoding method according to claim 10 , further comprising:

checking a frame energy of each frame of the target audio;

determining a decoding energy of the extracted image based on the frame energy; and

extracting the extracted image from target audio according to the decoding energy.

14 . The decoding method according to claim 10 , further comprising:

extracting the extracted image from the target audio based on a quantization index modulation algorithm.

15 . The decoding method according to claim 10 , further comprising:

extracting the extracted image from the target audio based on a singular value decomposition algorithm.

16 . The decoding method according to claim 10 , further comprising:

extracting the extracted image from a first frame of the target audio based on a quantization index modulation algorithm to generate a first extracted image;

extracting the extracted image from a second frame of the target audio based on a quantization index modulation algorithm to generate a second extracted image.

17 . The decoding method according to claim 10 , further comprising:

determining a similarity between the extracted image and the image watermark; and

outputting the verifying result based on the similarity.

18 . The decoding method according to claim 10 , wherein the first channel comprises a plurality of first frames and the second channel comprises a plurality of second frames, and the decoding method further comprises:

mixing the first channel and the second channel to generate the pre-processed audio;

detecting a plurality of first frame energies of the plurality of first frames and a plurality of second frame energies of the plurality of second frames;

determining a maximum energy frame with a maximum energy among the plurality of first frames and plurality of second frames;

determining a decoding timing according to a timing of the maximum energy frame;

extracting the extracted image from the target according to the decoding timing.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 28, 2023
From: PAN, KUAN NIEN; SU, I YUN; KUO, YAN-MIN
To: HTC CORPORATION
Reel/Frame 063781/0968 →
Continuity (1)
Related Publication 20240395265A1 · Nov 28, 2024
References Cited (9)
US 6901514B1 · Iu · 2005 [cited by examiner]
US 12249344B1 · Evans · 2025 [cited by examiner]
US 20140254801A1 · Srinivasan · 2014 [cited by examiner]
US 20150228045A1 · Mehta · 2015 [cited by examiner]
US 20160260321A1 · Hsieh · 2016 [cited by examiner]
US 20220046141A1 · Wu et al. · 2022 [cited by applicant]
TW 468344 · 2001 [cited by applicant]
TW 200607361 · 2006 [cited by applicant]
TW I790682 · 2023 [cited by applicant]