Method of processing encrypted image watermarking, apparatus and display device
AssigneeBoe Technology Group Co., Ltd.
InventorsHao Fang, Yanhong Wu, Guannan Chen
Life of this patent
Estimating the term…
Abstract
A method of processing encrypted image watermarking, an apparatus and a display device are provided, which relates to the field of digital watermarking. The method includes: obtaining a device code of a display device and current time information, where the device code uniquely identifies the display device; generating, according to a preset encryption algorithm by using the current time information and the device code, a digital security mark; and displaying the digital security mark in a preset display area of the display device. The technical solution of the present disclosure can prevent the screen from being photographed without permission.
Claims17
A method of processing encrypted image watermarking, comprising:
- obtaining a device code of a display device and current time information, wherein the device code uniquely identifies the display device;
- generating, according to a preset encryption algorithm by using the current time information and the device code, a digital security mark;
- and
- displaying the digital security mark in a preset display area of the display device;
- wherein the generating, according to a preset encryption algorithm by using the current time information and the device code, a digital security mark, and displaying the digital security mark in a preset display area of the display device, comprises:
- generating a transparent image having the same resolution as that of the display screen of the display device, wherein the resolution of the transparent image remains unchanged during displaying of the display device;
- generating a two-dimensional code image by invoking a two-dimensional code generation function with the current time information and the device code as inputs;
- encoding the two-dimensional code image by traversing all pixels of the two-dimensional code image in an order from left to right and from top to bottom, so as to obtain digital security information, wherein a black pixel is encoded with 0, and a white pixel is encoded with 1;
- obtaining encoded pixels by using the digital security information, traversing the outermost N loops of pixels of the transparent image in the following manner:
- starting at an upper left corner of the transparent image, then from left to right, from top to bottom, from right to left and from bottom to top, and replacing the traversed original pixels of the transparent image with the encoded pixels;
- and
- outputting the transparent image.
An apparatus for processing encrypted image watermarking, comprising a processor and a memory, wherein the memory stores an instruction executable by the processor, the instruction, when being executed by the processor, implements:
- obtaining a device code of a display device and current time information, wherein the device code uniquely identifies the display device;
- generating, according to a preset encryption algorithm by using the current time information and the device code, a digital security mark;
- and
- displaying the digital security mark in a preset display area of the display device;
- wherein the generating, according to a preset encryption algorithm by using the current time information and the device code, a digital security mark, and displaying the digital security mark in a preset display area of the display device, comprises:
- generating a transparent image having the same resolution as that of the display screen of the display device, wherein the resolution of the transparent image remains unchanged during displaying of the display device;
- generating a two-dimensional code image by invoking a two-dimensional code generation function with the current time information and the device code as inputs;
- encoding the two-dimensional code image by traversing all pixels of the two-dimensional code image in an order from left to right and from top to bottom, so as to obtain digital security information, wherein a black pixel is encoded with 0, and a white pixel is encoded with 1;
- obtaining encoded pixels by using the digital security information, traversing the outermost N loops of pixels of the transparent image in the following manner:
- starting at an upper left corner of the transparent image, then from left to right, from top to bottom, from right to left and from bottom to top, and replacing the traversed original pixels of the transparent image with the encoded pixels;
- and
- outputting the transparent image.
A non-transitory machine-readable storage medium, storing an instruction executable by the processor, the instruction, when being executed by the processor, implements:
- obtaining a device code of a display device and current time information, wherein the device code uniquely identifies the display device;
- generating, according to a preset encryption algorithm by using the current time information and the device code, a digital security mark;
- and
- displaying the digital security mark in a preset display area of the display device;
- wherein the generating, according to a preset encryption algorithm by using the current time information and the device code, a digital security mark, and displaying the digital security mark in a preset display area of the display device, comprises:
- generating a transparent image having the same resolution as that of the display screen of the display device, wherein the resolution of the transparent image remains unchanged during displaying of the display device;
- generating a two-dimensional code image by invoking a two-dimensional code generation function with the current time information and the device code as inputs;
- encoding the two-dimensional code image by traversing all pixels of the two-dimensional code image in an order from left to right and from top to bottom, so as to obtain digital security information, wherein a black pixel is encoded with 0, and a white pixel is encoded with 1;
- obtaining encoded pixels by using the digital security information, traversing the outermost N loops of pixels of the transparent image in the following manner:
- starting at an upper left corner of the transparent image, then from left to right, from top to bottom, from right to left and from bottom to top, and replacing the traversed original pixels of the transparent image with the encoded pixels;
- and
- outputting the transparent image.
Dependencies are inferred from the claim text.