Method for adding watermark information, method for extracting watermark information, and electronic device
AssigneeBeijing Dajia Internet Information Technology Co., Ltd.
InventorsChen ZHANG, Xiguang ZHENG, Liang GUO
Life of this patent
Estimating the term…
Abstract
Provided is a method for adding watermark information. The method includes: acquiring M first audio signal frames in a first audio signal; acquiring N watermark information items in watermark information; determining M*N adding parameters; acquiring M second audio signal frames added with the watermark information based on the M*N adding parameters; and determining a second audio signal based on the M second signal frames added with the watermark information.
Claims20
A method for adding watermark information, executed by an electronic device, the method comprising:
- acquiring M first audio signal frames in a first audio signal, where M is a positive integer larger than 1;
- acquiring N watermark information items in watermark information, where N is a positive integer larger than 1;
- determining M*N adding parameters, wherein each of the adding parameters corresponds to one of the watermark information items and one of the first audio signal frames;
- acquiring M second audio signal frames added with the watermark information based on the M*N adding parameters, wherein the second audio signal frame added with the watermark information is acquired by adding the N watermark information items to the first audio signal frame based on N adding parameters, wherein the N adding parameters correspond to the first audio signal frame and correspond to N watermark information items;
- and
- determining a second audio signal based on the M second signal frames added with the watermark information.
A method for extracting watermark information, executed by an electronic device, the method comprising:
- acquiring a second audio signal added with watermark information;
- determining N adding parameters in a second audio signal frame of the second audio signal, wherein each of the adding parameters corresponds to one watermark information item in the watermark information, and N is a positive integer;
- acquiring N decoded watermark information items, wherein one decoded watermark information item corresponds to one watermark information item;
- and
- extracting watermark information from the second audio signal frame based on the N adding parameters and the N decoded watermark information items.
An electronic device, comprising:
- at least one processor;
- and
- a volatile or nonvolatile memory configured to store at least one instruction executable by the at least one processor;
- wherein the at least one processor, when executing the at least one instruction, is caused to perform:
- acquiring M first audio signal frames in a first audio signal, where M is a positive integer larger than 1;
- acquiring N watermark information items in watermark information, where N is a positive integer larger than 1;
- determining M*N adding parameters, wherein each of the adding parameters corresponds to one of the watermark information items and one of the first audio signal frames;
- acquiring M second audio signal frames added with the watermark information based on the M*N adding parameters, wherein the second audio signal frame added with the watermark information is acquired by adding the N watermark information items to the first audio signal frame based on N adding parameters, wherein the N adding parameters correspond to the first audio signal frame and correspond to N watermark information items;
- and
- determining a second audio signal based on the M second signal frames added with the watermark information
Dependencies are inferred from the claim text.