IP Library Granted Patent US 12,205,191
Granted Patent B2
US 12,205,191 · App. 17/909,109 · Granted Jan 21, 2025

Watermark adding method and apparatus, storage medium, and device

Inventor: Changhui Cheng (Zhejiang, CN)
Assignee: ZHEJIANG UNIVIEW TECHNOLOGIES CO., LTD.
G06T1/0085G06T2207/10016
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,205,191
App. No.
17/909,109
Granted
Jan 21, 2025
Kind
B2
Abstract

Provided are a watermark adding method and apparatus, a storage medium and a device. The method includes steps described below. To-be-added watermark information is acquired, and a time offset is determined according to the watermark information; a video frame rate is acquired, and time information of a frame image in a video is determined according to the video frame rate; and offset processing is performed on the time information according to the time offset to add the watermark information to the video.

Claims (75)

1. A watermark adding method, comprising:

acquiring watermark information to be added, and determining a time offset according to the watermark information;

acquiring a video frame rate, and determining time information of a frame image in a video according to the video frame rate; and

performing offset processing on the time information according to the time offset to add the watermark information to the video;

wherein acquiring the watermark information to be added, and determining the time offset according to the watermark information comprises:

acquiring the watermark information to be added, and encoding the watermark information in a preset encoding manner to obtain encoding information of at least two bits; and

determining the time offset according to the encoding information of at least two-bits.

2. The method according to claim 1 , after encoding the watermark information in the preset encoding manner to obtain the encoding information of at least two bits, further comprising:

adding at least one of a head identifier or a tail identifier to the encoding information of at least two bits to obtain a target code;

wherein determining the time offset according to the encoding information of at least two bits comprises:

determining the time offset of the frame image in the video according to the target code.

3. The method according to claim 2 , after determining the time offset of the frame image in the video according to the target code, further comprising: cyclically adding the time offset to get a cyclically added time offset;

wherein performing the offset processing on the time information according to the time offset comprises: performing the offset processing on the time information according to the cyclically added time offset.

4. The method according to claim 1 , after determining the time information of the frame image in the video according to the video frame rate, further comprising:

acquiring a total number of frame images within a unit duration;

wherein performing the offset processing on the time information according to the time offset comprises:

performing offset processing on time information of a first number of frame images within the unit duration according to the time offset, and performing offset compensation on time information of a second number of frame images, wherein a sum of the first number of frame images and the second number of frame images is the total number of frame images within the unit duration.

5. The method according to claim 4 , wherein performing the offset compensation on the time information of the second number of frame images comprises:

acquiring offset data of the first number of frame images;

reversing the offset data to get a reversed offset data, and taking a negative number of the reversed offset data as offset compensation data; and

performing offset processing on the time information of the second number of frame images according to the offset compensation data.

6. The method according to claim 1 , after performing the offset processing on the time information according to the time offset, further comprising:

in a case where a watermark information acquisition request is detected, acquiring the time information of the frame image in the video; and

determining encoding information carried in the frame image in the video according to the time information and a preset encoding manner.

7. A non-transitory computer-readable storage medium configured to store a computer program, wherein the computer program, when executed by a processor, implements:

acquiring watermark information to be added, and determining a time offset according to the watermark information;

acquiring a video frame rate, and determining time information of a frame image in a video according to the video frame rate; and

performing offset processing on the time information according to the time offset to add the watermark information to the video;

wherein acquiring the watermark information to be added, and determining the time offset according to the watermark information comprises:

acquiring the watermark information to be added, and encoding the watermark information in a preset encoding manner to obtain encoding information of at least two bits; and

determining the time offset according to the encoding information of at least two-bits.

8. The non-transitory computer-readable storage medium according to claim 7 , wherein the computer program, when executed by the processor, implements:

acquiring the watermark information to be added, and encoding the watermark information in a preset encoding manner to obtain encoding information of at least two bits; and

determining the time offset according to the encoding information of at least two-bits.

9. The non-transitory computer-readable storage medium according to claim 8 , wherein the computer program, when executed by the processor, implements:

adding at least one of a head identifier or a tail identifier to the encoding information of at least two bits to obtain a target code;

wherein determining the time offset according to the encoding information of at least two bits comprises:

determining the time offset of the frame image in the video according to the target code.

10. The non-transitory computer-readable storage medium according to claim 9 , wherein the computer program, when executed by the processor, implements: cyclically adding the time offset to get a cyclically added time offset;

wherein performing the offset processing on the time information according to the time offset comprises: performing the offset processing on the time information according to the cyclically added time offset.

11. The non-transitory computer-readable storage medium according to claim 7 , wherein the computer program, when executed by the processor, implements:

acquiring a total number of frame images within a unit duration;

wherein performing the offset processing on the time information according to the time offset comprises:

performing offset processing on time information of a first number of frame images within the unit duration according to the time offset, and performing offset compensation on time information of a second number of frame images, wherein a sum of the first number of frame images and the second number of frame images is the total number of frame images within the unit duration.

12. The non-transitory computer-readable storage medium according to claim 11 , wherein the computer program, when executed by the processor, implements:

acquiring offset data of the first number of frame images;

reversing the offset data to get a reversed offset data, and taking a negative number of the reversed offset data as offset compensation data; and

performing offset processing on the time information of the second number of frame images according to the offset compensation data.

13. A device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements:

acquiring watermark information to be added, and determining a time offset according to the watermark information;

acquiring a video frame rate, and determining time information of a frame image in a video according to the video frame rate; and

performing offset processing on the time information according to the time offset to add the watermark information to the video;

wherein acquiring the watermark information to be added, and determining the time offset according to the watermark information comprises:

acquiring the watermark information to be added, and encoding the watermark information in a preset encoding manner to obtain encoding information of at least two bits; and

determining the time offset according to the encoding information of at least two-bits.

14. The device according to claim 13 , wherein the processor, when executing the computer program, implements:

acquiring the watermark information to be added, and encoding the watermark information in a preset encoding manner to obtain encoding information of at least two bits; and

determining the time offset according to the encoding information of at least two-bits.

15. The device according to claim 13 , wherein the processor, when executing the computer program, implements:

adding at least one of a head identifier or a tail identifier to the encoding information of at least two bits to obtain a target code;

wherein determining the time offset according to the encoding information of at least two bits comprises:

determining the time offset of the frame image in the video according to the target code.

16. The device according to claim 15 , wherein the processor, when executing the computer program, implements: cyclically adding the time offset to get a cyclically added time offset;

wherein performing the offset processing on the time information according to the time offset comprises: performing the offset processing on the time information according to the cyclically added time offset.

17. The device according to claim 13 , wherein the processor, when executing the computer program, implements:

acquiring a total number of frame images within a unit duration;

wherein performing the offset processing on the time information according to the time offset comprises:

performing offset processing on time information of a first number of frame images within the unit duration according to the time offset, and performing offset compensation on time information of a second number of frame images, wherein a sum of the first number of frame images and the second number of frame images is the total number of frame images within the unit duration.

18. The device according to claim 17 , wherein the processor, when executing the computer program, implements:

acquiring offset data of the first number of frame images;

reversing the offset data to get a reversed offset data, and taking a negative number of the reversed offset data as offset compensation data; and

performing offset processing on the time information of the second number of frame images according to the offset compensation data.

19. The device according to claim 13 , wherein the processor, when executing the computer program, implements:

in a case where a watermark information acquisition request is detected, acquiring the time information of the frame image in the video; and

determining encoding information carried in the frame image in the video according to the time information and a preset encoding manner.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 26, 2024
From: CHENG, CHANGHUI
To: ZHEJIANG UNIVIEW TECHNOLOGIES CO., LTD.
Reel/Frame 066900/0975 →
Priority Claims (1)
CN 202010143548.7 · Mar 4, 2020 · national
Continuity (1)
Related Publication 20230099691A1 · Mar 30, 2023
References Cited (18)
US 10448122B1 · Kuznetsov et al. · 2019 [cited by applicant]
US 20080037954A1 · Lee et al. · 2008 [cited by applicant]
US 20130151856A1 · Petrovic et al. · 2013 [cited by applicant]
US 20140280265A1 · Wang · 2014 [cited by examiner]
US 20160277793A1 · Eyer · 2016 [cited by examiner]
US 20200068238A1 · Babannavar et al. · 2020 [cited by applicant]
CN 1652604A · 2005 [cited by applicant]
CN 101622867A · 2010 [cited by applicant]
CN 102077584A · 2011 [cited by applicant]
CN 102959544A · 2013 [cited by applicant]
CN 105898323A · 2016 [cited by applicant]
CN 107911641A · 2018 [cited by applicant]
EP 2116047A1 · 2009 [cited by applicant]
WO WO2008107731A1 · 2008 [cited by applicant]
Chinese Office Action in application No. 202010143548.7 dated Apr. 6, 2022, 8 pages including translation. [cited by applicant]
International Search Report in application PCT/CN2020/086050 dated Dec. 3, 2020, 4 pages, including translation. [cited by applicant]
Extended European Search Report of Application No. 20922684.4, dated Apr. 9, 2024, 9 pages. [cited by applicant]
Gasior, Wade C et al: “Network covert channels on the Android platform”, Proceedings of the Seventh Annual Workshop On Cyber Security and Information Intelligence Research, CSIIRW'11, Oct. 12, 2011 (Oct. 12, 2011), pp. … [cited by applicant]