CN115774866A - Blind watermark adding method and device, processor and electronic equipment - Google Patents

Blind watermark adding method and device, processor and electronic equipment Download PDF

Info

Publication number
CN115774866A
CN115774866A CN202211447884.6A CN202211447884A CN115774866A CN 115774866 A CN115774866 A CN 115774866A CN 202211447884 A CN202211447884 A CN 202211447884A CN 115774866 A CN115774866 A CN 115774866A
Authority
CN
China
Prior art keywords
picture
pixel point
numerical value
target
blind watermark
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211447884.6A
Other languages
Chinese (zh)
Inventor
王宇
方志嘉
杨宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Infogo Tech Co ltd
Original Assignee
Hangzhou Infogo Tech Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Infogo Tech Co ltd filed Critical Hangzhou Infogo Tech Co ltd
Priority to CN202211447884.6A priority Critical patent/CN115774866A/en
Publication of CN115774866A publication Critical patent/CN115774866A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The application discloses a blind watermark adding method and device, a processor and electronic equipment. The method comprises the following steps: acquiring a first numerical value corresponding to each pixel point in a first picture, wherein the size of the first picture is the same as that of an original picture, the first picture at least comprises attribute information of target equipment, and the first numerical value is used for expressing a transparency value of a pixel point in the first picture, and the original picture is a picture generated by screenshot of target data of a target mechanism in the target equipment; obtaining a color value corresponding to each pixel point in a second picture, wherein the second picture is a picture generated by combining the original picture and the first picture; and adding a blind watermark to the original picture according to the first numerical value and the color value. Through the application, the problem that blind watermarks are difficult to add to the screenshot picture when the event of screenshot of the core data of the enterprise is monitored in the related technology, the screenshot picture is difficult to trace back, and the safety of the core data of the enterprise is further influenced is solved.

Description

Blind watermark adding method and device, processor and electronic equipment
Technical Field
The present application relates to the field of information security technologies, and in particular, to a method and an apparatus for adding a blind watermark, a processor, and an electronic device.
Background
With the increasing information leakage phenomenon in recent years, enterprises pay more and more attention to protection of privacy and sensitive data, the information safety of the enterprises needs to be protected from multiple angles such as confidentiality, integrity, usability, controllability and non-repudiation, and particularly under the scene that core data screenshots of the enterprises are sent out, a watermarking technology with good concealment, strong anti-interference performance and traceability needs to be provided to help the enterprises audit the screenshot sending out behavior and improve the retrospective efficiency of the enterprises.
In the related art, a method of embedding a watermark includes: the method comprises the steps of embedding webpage watermarks based on a browser canvas and embedding blind watermarks into the canvas by using a Fourier transform algorithm. However, the related art has the following disadvantages: the method is only limited in a webpage use scene, and cannot realize identification and extraction of the webpage screenshot.
Aiming at the problems that blind watermarks are difficult to add to a screenshot picture when an event of screenshot on core data of an enterprise is monitored in the related technology, the screenshot picture is difficult to trace, and the safety of the core data of the enterprise is further influenced, an effective solution is not provided at present.
Disclosure of Invention
The application mainly aims to provide a blind watermark adding method and device, a processor and electronic equipment, so as to solve the problem that in the related art, when an event for capturing the core data of an enterprise is monitored, the blind watermark is difficult to be added to a captured picture, so that the captured picture is difficult to trace, and further the security of the core data of the enterprise is influenced.
In order to achieve the above object, according to one aspect of the present application, there is provided a blind watermark adding method. The method comprises the following steps: acquiring a first numerical value corresponding to each pixel point in a first picture, wherein the size of the first picture is the same as that of an original picture, the first picture at least comprises attribute information of target equipment, and the first numerical value is used for representing a transparency value of a pixel point in the first picture, wherein the original picture is a picture generated by screenshot of target data of a target mechanism in the target equipment; acquiring a color value corresponding to each pixel point in a second picture, wherein the second picture is a picture generated by combining the original picture and the first picture; and adding a blind watermark to the original picture according to the first numerical value and the color value.
Further, adding a blind watermark to the original picture according to the first numerical value and the color value comprises: judging whether each pixel point in the first picture is a transparent pixel point according to a first numerical value corresponding to each pixel point to obtain a judgment result; determining a first pixel point and a second pixel point in the first picture according to the judgment result, wherein the first pixel point is not a transparent pixel point, and the second pixel point is a transparent pixel point; changing a second numerical value in the color values into an odd number to obtain a third numerical value, wherein the second numerical value represents a numerical value corresponding to a third pixel point in the second picture, and the third pixel point is a pixel point corresponding to the first pixel point; changing a fourth numerical value in the color values into an even number to obtain a fifth numerical value, wherein the fourth numerical value represents a numerical value corresponding to a fourth pixel point in the second picture, and the fourth pixel point is a pixel point corresponding to the second pixel point; and adding the third numerical value and the fifth numerical value into the original picture to generate the original picture with the blind watermark.
Further, according to a first numerical value corresponding to each pixel point, whether each pixel point in the first picture is a transparent pixel point is judged, and the judgment result is obtained and includes: judging whether a first numerical value corresponding to each pixel point is a preset numerical value or not; if the first numerical value corresponding to each pixel point is the preset numerical value, each pixel point in the first picture is a transparent pixel point; if the first value corresponding to the first pixel point is not the preset value, it indicates that the first pixel point in the first picture is not a transparent pixel point.
Further, before obtaining the first numerical value corresponding to each pixel point in the first picture, the method further includes: acquiring attribute information and a third picture of the target device, wherein the third picture is a transparent picture, and the size of the third picture is the same as that of the first picture; and adding the attribute information of the target device to the third picture to generate the first picture.
Further, acquiring the third picture and the attribute information of the target device includes: monitoring a target event through a target system in the target equipment, wherein the target event is used for showing that screenshot is carried out on target data of the target mechanism in the target equipment; and if the target system in the target equipment monitors the target event, acquiring the third picture and the attribute information of the target equipment.
Further, after blind watermarking the original picture according to the first numerical value and the color value, the method further includes: acquiring a color value corresponding to each pixel point in a fourth picture and a fifth picture, wherein the fourth picture is an original picture with the blind watermark, the fifth picture is a transparent picture, and the size of the fifth picture is the same as that of the original picture; judging whether the color value corresponding to each pixel point in the fourth picture is an odd number; and if the color value corresponding to each pixel point in the fourth picture is an odd number, processing a fifth pixel point in the fifth picture to generate a picture without the blind watermark, wherein the fifth pixel point is a pixel point corresponding to each pixel point in the fourth picture.
Further, after blind watermarking the original picture according to the first numerical value and the color value, the method further includes: acquiring an original picture with the blind watermark; and sending the original picture with the blind watermark to a target object.
In order to achieve the above object, according to another aspect of the present application, there is provided a blind watermark adding apparatus. The device includes: the device comprises a first obtaining unit, a second obtaining unit and a third obtaining unit, wherein the first obtaining unit is used for obtaining a first numerical value corresponding to each pixel point in a first picture, the size of the first picture is the same as that of an original picture, the first picture at least comprises attribute information of target equipment, and the first numerical value is used for representing a transparency value of a pixel point in the first picture, and the original picture is a picture generated by screenshot of target data of a target mechanism in the target equipment; the second obtaining unit is used for obtaining a color value corresponding to each pixel point in a second picture, wherein the second picture is a picture generated by combining the original picture and the first picture; and the first adding unit is used for adding a blind watermark to the original picture according to the first numerical value and the color value.
Further, the first adding unit includes: the first judging module is used for judging whether each pixel point in the first picture is a transparent pixel point according to a first numerical value corresponding to each pixel point to obtain a judging result; the first determining module is used for determining a first pixel point and a second pixel point in the first picture according to the judgment result, wherein the first pixel point is not a transparent pixel point, and the second pixel point is a transparent pixel point; a first changing module, configured to change a second value in the color values to an odd number to obtain a third value, where the second value is a value representing a corresponding third pixel point in the second picture, and the third pixel point is a pixel point corresponding to the first pixel point; a second changing module, configured to change a fourth numerical value in the color values to an even number to obtain a fifth numerical value, where the fourth numerical value is a numerical value indicating a fourth pixel point in the second picture, and the fourth pixel point is a pixel point corresponding to the second pixel point; and the first adding module is used for adding the third numerical value and the fifth numerical value into the original picture to generate the original picture with the blind watermark.
Further, the first judging module comprises: the first judgment submodule is used for judging whether a first numerical value corresponding to each pixel point is a preset numerical value or not; the first determining submodule is used for indicating that each pixel point in the first picture is a transparent pixel point if the first numerical value corresponding to each pixel point is the preset numerical value; and the second determining submodule is used for indicating that the first pixel point in the first picture is not a transparent pixel point if the first numerical value corresponding to the first pixel point is not the preset numerical value.
Further, the apparatus further comprises: a third obtaining unit, configured to obtain attribute information of the target device and a third picture before obtaining a first numerical value corresponding to each pixel point in a first picture, where the third picture is a transparent picture, and a size of the third picture is the same as a size of the first picture; and the second adding unit is used for adding the attribute information of the target equipment to the third picture to generate the first picture.
Further, the third acquisition unit includes: a first monitoring module, configured to monitor a target event through a target system in the target device, where the target event is used to represent that screenshot is performed on target data of the target mechanism in the target device; a first obtaining module, configured to obtain the third picture and the attribute information of the target device if the target system in the target device monitors the target event.
Further, the apparatus further comprises: a fourth obtaining unit, configured to obtain a color value and a fifth picture corresponding to each pixel point in the fourth picture after adding a blind watermark to the original picture according to the first numerical value and the color value, where the fourth picture is the original picture with the blind watermark, the fifth picture is a transparent picture, and a size of the fifth picture is the same as a size of the original picture; the first judging unit is used for judging whether the color value corresponding to each pixel point in the fourth picture is an odd number; and the first processing unit is used for processing a fifth pixel point in the fifth picture to generate a picture without the blind watermark if the color value corresponding to each pixel point in the fourth picture is an odd number, wherein the fifth pixel point is a pixel point corresponding to each pixel point in the fourth picture.
Further, the apparatus further comprises: a fifth obtaining unit, configured to obtain an original picture with a blind watermark after adding the blind watermark to the original picture according to the first numerical value and the color value; and the first sending unit is used for sending the original picture with the blind watermark to a target object.
To achieve the above object, according to another aspect of the present application, there is provided a processor configured to execute a program, where the program is executed to perform the blind watermark adding method described in any one of the above.
To achieve the above object, according to another aspect of the present application, there is provided an electronic device including one or more processors and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the blind watermark adding method of any one of the above.
Through the application, the following steps are adopted: acquiring a first numerical value corresponding to each pixel point in a first picture, wherein the size of the first picture is the same as that of an original picture, the first picture at least comprises attribute information of target equipment, and the first numerical value is used for expressing a transparency value of a pixel point in the first picture, and the original picture is a picture generated by screenshot of target data of a target mechanism in the target equipment; obtaining a color value corresponding to each pixel point in a second picture, wherein the second picture is a picture generated by combining the original picture and the first picture; according to the first numerical value and the color value, the blind watermark is added to the original picture, and the problem that in the related technology, when an event for capturing the core data of an enterprise is monitored, the blind watermark is difficult to be added to the captured picture, the captured picture is difficult to trace, and the safety of the core data of the enterprise is further influenced is solved. Through obtaining the corresponding colour value of every pixel point in every picture and every pixel point in the second picture in the corresponding transparency value of every pixel in the first picture to according to the corresponding colour value of every pixel point in every picture and every pixel point in the second picture, add blind watermark to original picture, thereby when monitoring the incident of carrying out the screenshot to the core data of enterprise, can be convenient add blind watermark to the screenshot picture, and can be convenient trace back the screenshot picture of adding blind watermark, and then reached the effect of protection enterprise core data safety.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, are included to provide a further understanding of the application, and the description of the exemplary embodiments of the application are intended to be illustrative of the application and are not intended to limit the application. In the drawings:
fig. 1 is a flowchart of a blind watermark adding method provided according to an embodiment of the present application;
fig. 2 is a first flowchart of a blind watermark adding method provided in an embodiment of the present application;
fig. 3 is a flowchart ii of a blind watermark adding method provided in an embodiment of the present application;
fig. 4 is a flowchart of an optional blind watermark adding method provided in accordance with an embodiment of the present application;
fig. 5 is a schematic diagram of a blind watermark adding apparatus provided in accordance with an embodiment of the present application;
fig. 6 is a schematic diagram of an electronic device provided according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of description, some terms or expressions referred to in the embodiments of the present application are explained below:
clear watermark: and visible words or images with identification are embedded in the original image.
Blind watermarking: characters or images with high concealment and identification are embedded in the original image.
32-bit color image color: r (red), G (green), B (blue), A (transparency), each of 8 bits space, total 32 bits.
The present invention is described below with reference to preferred implementation steps, and fig. 1 is a flowchart of a blind watermark adding method provided in an embodiment of the present application, and as shown in fig. 1, the method includes the following steps:
step S101, obtaining a first numerical value corresponding to each pixel point in a first picture, wherein the size of the first picture is the same as that of an original picture, the first picture at least comprises attribute information of target equipment, and the first numerical value is used for representing a transparency value of a pixel point in the first picture, and the original picture is a picture generated by screenshot of target data of a target mechanism in the target equipment.
For example, an image (the first picture) having a width and a height equal to those of the screenshot picture (the original picture) and having identification information (attribute information of the target device) such as a local IP (Internet Protocol Address), a Media Access Control Address (MAC Address), a computer name, and a computer login user is obtained, and then an a value among RGBA values based on a 32-bit color image of all pixel points in the image is determined. The screenshot may be a screenshot obtained by capturing core data (the target data) of an enterprise (the target facility) in a computer (the target facility).
Step S102, obtaining a color value corresponding to each pixel point in a second picture, wherein the second picture is a picture generated by combining the original picture and the first picture.
For example, the screenshot picture is overlaid and drawn on the image (the first picture) having the same width and height as the screenshot picture (the original picture) and having identification information of the computer such as the local IP, MAC address, computer name, computer login user, etc., to obtain the second picture, and then the R value (red) or the G value (green) or the B value (blue) of the RGBA values of all the pixels in the second picture is determined.
And step S103, adding a blind watermark to the original picture according to the first numerical value and the color value.
For example, the blind watermark is added to the screenshot picture according to an a value in the RGBA values corresponding to each pixel point in the first picture and an R value (red) or a G value (green) or a B value (blue) in the RGBA values corresponding to each pixel point in the second picture.
Through the steps S101 to S103, the blind watermark is added to the original picture by acquiring the transparency value corresponding to each pixel point in the first picture and the color value corresponding to each pixel point in the second picture and according to the transparency value corresponding to each pixel point in the first picture and the color value corresponding to each pixel point in the second picture, so that when an event for screenshot of core data of an enterprise is monitored, the blind watermark can be conveniently added to the screenshot picture, the screenshot picture added with the blind watermark can be conveniently traced back, and the effect of protecting the core data safety of the enterprise is achieved.
In order to quickly and accurately obtain attribute information of a third picture and target equipment, in the method for adding a blind watermark provided in the embodiment of the present application, the attribute information of the third picture and the target equipment may also be obtained through the following steps: monitoring a target event through a target system in target equipment, wherein the target event is used for showing that screenshot is carried out on target data of a target mechanism in the target equipment; and if the target system in the target equipment monitors the target event, acquiring the third picture and the attribute information of the target equipment.
For example, a screenshot behavior event (the above target event) may be monitored through an operating system interface of a computer, if it is monitored that a user performs screenshot on core data of an enterprise in the computer, a blind watermark is to be embedded in the screenshot picture, and before the blind watermark is embedded in the screenshot picture, a transparent image (the above third picture) having a width and a height equal to that of the screenshot picture is first generated, and then identification information (attribute information of the above target device) of the computer, such as an IP, an MAC address, a computer name, a computer login user, and the like, is obtained through the operating system interface.
In summary, the client program is utilized to monitor the user screenshot behavior event, and after the screenshot behavior event occurs, the blind watermark is generated immediately from the feature information of the local computer, such as the IP, the MAC address, the computer name, and the like, and is embedded into the screenshot file, so that the subsequent tracing of the screenshot file is facilitated.
In order to generate the first picture quickly and accurately, in the method for adding a blind watermark provided in the embodiment of the present application, the first picture may be generated by the following steps: acquiring attribute information and a third picture of the target device, wherein the third picture is a transparent picture, and the size of the third picture is the same as that of the first picture; and adding the attribute information of the target equipment to the third picture to generate a first picture.
For example, a transparent image having a width and a height equal to those of the screenshot image is generated, identification information such as the IP, the MAC address, the computer name, and the computer login user of the camera is obtained through the operating system interface, and the identification information is written on the image as the clear watermark information, that is, the first image is generated.
By the scheme, the clear watermark information can be quickly and accurately generated according to the transparent image with the width and the height equal to those of the screenshot picture and the identification information of the equipment.
In order to quickly and accurately determine whether each pixel point in the first picture is a transparent pixel point, in the method for adding the blind watermark provided by the embodiment of the present application, whether each pixel point in the first picture is a transparent pixel point may also be determined through the following steps: judging whether a first numerical value corresponding to each pixel point is a preset numerical value or not; if the first numerical value corresponding to each pixel point is a preset numerical value, each pixel point in the first picture is a transparent pixel point; if the first numerical value corresponding to the first pixel point is not the preset numerical value, the first pixel point in the first picture is represented to be a non-transparent pixel point.
For example, whether a transparent pixel exists in a picture generated by drawing an identification information text of a device on an image (that is, whether a pixel is transparent or not has a clear watermark) is determined according to pixel data in the picture. Specifically, whether an a value in the RGBA values corresponding to the pixel points in the picture is 0 (the preset value) is determined, if the a value in the RGBA values corresponding to the pixel points in the picture is 0, the pixel points are represented as transparent pixel points, and if the a value in the RGBA values corresponding to the pixel points in the picture is not 0, the pixel points are represented as not transparent pixel points.
By the scheme, whether the pixel points in the image are transparent pixel points can be judged quickly and accurately according to the transparency values corresponding to the pixel points.
Fig. 2 is a first flowchart of a method for adding a blind watermark according to an embodiment of the present application, and as shown in fig. 2, in the method for adding a blind watermark according to the embodiment of the present application, adding a blind watermark to an original picture according to a first value and a color value includes:
step S201, judging whether each pixel point in the first picture is a transparent pixel point according to a first numerical value corresponding to each pixel point to obtain a judgment result;
step S202, determining a first pixel point and a second pixel point in the first picture according to the judgment result, wherein the first pixel point is not a transparent pixel point, and the second pixel point is a transparent pixel point;
step S203, changing a second numerical value in the color values into an odd number to obtain a third numerical value, wherein the second numerical value represents a numerical value corresponding to a third pixel point in a second picture, and the third pixel point is a pixel point corresponding to the first pixel point;
step S204, changing a fourth numerical value in the color values into an even number to obtain a fifth numerical value, wherein the fourth numerical value represents a numerical value corresponding to a fourth pixel point in the second picture, and the fourth pixel point is a pixel point corresponding to the second pixel point;
and step S205, adding the third numerical value and the fifth numerical value to the original picture to generate the original picture with the blind watermark.
For example, whether a pixel point in a picture is a transparent pixel point (i.e., there is no clear watermark if the pixel point is transparent) is determined according to pixel point data in the picture generated by drawing an identification information text of a device onto an image. If the pixel point in the picture is not the transparent pixel point, modifying the R value (red), the G value (green) or the B value (blue) of the pixel point corresponding to the pixel point in the second picture into an odd number; and if the pixel point in the picture is a transparent pixel point, modifying the R value (red), the G value (green) or the B value (blue) of the pixel point corresponding to the pixel point in the second picture into an even number. And finally, writing the modified pixel point data into the original screenshot picture, namely completing the embedding of the blind watermark.
By the scheme, the blind watermark can be conveniently added to the screenshot picture with the enterprise core data, so that the security of the enterprise core data can be protected.
Fig. 3 is a second flowchart of a method for adding a blind watermark according to an embodiment of the present application, and as shown in fig. 3, in the method for adding a blind watermark according to the embodiment of the present application, after the blind watermark is added to an original picture according to a first value and a color value, the method further includes:
step S301, obtaining a color value corresponding to each pixel point in a fourth picture and a fifth picture, wherein the fourth picture is an original picture with a blind watermark, the fifth picture is a transparent picture, and the size of the fifth picture is the same as that of the original picture;
step S302, judging whether the color value corresponding to each pixel point in the fourth picture is an odd number;
step S303, if the color value corresponding to each pixel point in the fourth picture is an odd number, processing a fifth pixel point in the fifth picture to generate a picture without a blind watermark, where the fifth pixel point is a pixel point corresponding to each pixel point in the fourth picture.
For example, the method for extracting the blind watermark includes the following steps:
(1) Generating a transparent image with the same width and height as the screenshot picture;
(2) Acquiring R values (red), G values (green) or B values (blue) of all pixel points of the image embedded with the blind watermark based on the 32-bit color image;
(3) Traversing R values (red), G values (green) or B values (blue) of the pixel points, and if the pixel points are odd numbers, blacking the pixel points of the corresponding transparent images;
(4) And finally obtaining the image painted with the original identification information.
By the scheme, the blind watermark can be quickly and accurately extracted from the picture with the enterprise core data, so that the enterprise retroactive efficiency can be improved.
In order to quickly and accurately send the original picture with the blind watermark to the target object, in the method for adding the blind watermark provided by the embodiment of the application, the original picture with the blind watermark can be sent to the target object through the following steps: acquiring an original picture with a blind watermark; and sending the original picture with the blind watermark to a target object.
For example, after a blind watermark is embedded in a screenshot picture with enterprise core data, event reporting can be performed through a file uploading interface, that is, the screenshot picture with the blind watermark can be sent to a user through the file uploading interface for use.
By the scheme, the picture with the blind watermark can be quickly and accurately sent to the user for use.
By the method provided by the embodiment of the application, for example, a screenshot behavior event is monitored through an operating system interface, then a blind watermark is embedded, and then the event report is performed through a file uploading interface, that is, the screenshot picture with the blind watermark is reported. The method for embedding the blind watermark comprises the following steps:
(1) Generating a transparent image with the same width and height as the screenshot picture;
(2) Acquiring identification information of a local machine such as IP (Internet protocol), an MAC (media access control) address, a computer name, a computer login user and the like through an operating system interface;
(3) Drawing the identification information characters on an image as clear watermark information;
(4) Obtaining RGBA values of all pixel points in the image at the moment based on the 32-bit color image;
(5) Then, overlaying and drawing the screenshot picture on the image;
(6) Obtaining the RGBA values of all pixel points in the image at the moment again;
(7) According to the condition that whether transparent pixel points exist in the pixel point data obtained for the first time (namely, if the pixel points are transparent, no clear watermark exists), modifying the R value of the pixel point color obtained for the second time (namely, if the non-transparent pixel points, the R value is added or subtracted to become an odd number, and if not, the R value is set as an even number);
(8) And finally writing the modified pixel data into the original screenshot picture, namely completing the embedding of the blind watermark.
It should be noted that, the above method is to perform parity transformation on the R value of each pixel color, and may also perform parity transformation on the maximum or minimum value among three RGB values.
Therefore, under the scene that the core data screenshot of the enterprise is sent out, a watermarking technology which is good in concealment, strong in anti-interference performance and traceable can be provided, the enterprise can be helped to audit the outgoing behavior of the screenshot file, and the post-incident tracing efficiency of the enterprise is improved. Namely, in the embodiment of the application, a client program is used for monitoring a user screenshot behavior event, after the screenshot behavior event occurs, the blind watermark is generated by the characteristic information of the local computer such as the IP (Internet protocol), the MAC (media access control) address, the computer name and the like and is embedded into the screenshot file, and meanwhile, the screenshot file embedded with the blind watermark is uploaded to a server so that a subsequent administrator can audit the user screenshot outgoing behavior. In addition, extraction of blind watermark pages is provided to assist an administrator in identifying information sources. In addition, compared with the clear watermark, the blind watermark does not influence the visual sense of daily use of the user; in addition, when the malicious screenshot is sent out, the covered clear watermark is easily smeared and modified, and the blind watermark is not easily perceived by people; based on the blind watermarking technology provided by the embodiment of the application, the anti-interference performance is strong, the robustness is good, for example, the influence degree on operations such as cutting, rotating, scaling and altering is good, and compared with other blind watermarking schemes, the method provided by the embodiment of the application has good backtracking performance.
For example, fig. 4 is a flowchart of an optional blind watermark adding method provided according to an embodiment of the present application, where the optional blind watermark adding method includes the following steps:
step S01: creating a transparent image with the same width, height and resolution as the original image;
step S02: drawing identification information such as IP (Internet protocol), MAC (media access control) address, computer name, computer login user and the like of the local computer acquired through an operating system interface on the image, and acquiring and storing RGBA (red, green and blue) values of all pixel points on the image at the moment;
step S03: covering the original image on the current image, and acquiring RGBA values of all pixel points at the current time;
step S04: traversing the pixel points acquired for the first time before;
step S05: judging whether the pixel points in the S04 are traversed or not;
step S06: if not, judging whether the point is a transparent pixel point according to the value A; if S05 is satisfied, continuing S08;
step S07: if the R value does not meet the S06 condition, changing the R value obtained for the second time to an odd number by adding or subtracting, otherwise changing the R value to an even number;
step S08: and if the modified pixel point array meets S05, writing the modified pixel point array into the original image.
To sum up, in the method for adding a blind watermark provided by the embodiment of the present application, a first numerical value corresponding to each pixel point in a first picture is obtained, where the size of the first picture is the same as the size of an original picture, the first picture at least includes attribute information of a target device, and the first numerical value is used to represent a transparency value of a pixel point in the first picture, where the original picture is a picture generated by screenshot of target data of a target mechanism in the target device; acquiring a color value corresponding to each pixel point in a second picture, wherein the second picture is a picture generated by combining an original picture and a first picture; according to the first numerical value and the color value, the blind watermark is added to the original picture, and the problem that in the related technology, when an event for capturing the core data of an enterprise is monitored, the blind watermark is difficult to be added to the captured picture, the captured picture is difficult to trace, and the safety of the core data of the enterprise is further influenced is solved. Through obtaining the corresponding colour value of every pixel point in every picture and every pixel point in the second picture in the corresponding transparency value of every pixel in the first picture to according to the corresponding colour value of every pixel point in every picture and every pixel point in the second picture, add blind watermark to original picture, thereby when monitoring the incident of carrying out the screenshot to the core data of enterprise, can be convenient add blind watermark to the screenshot picture, and can be convenient trace back the screenshot picture of adding blind watermark, and then reached the effect of protection enterprise core data safety.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the present application further provides a device for adding a blind watermark, and it should be noted that the device for adding a blind watermark of the embodiment of the present application may be used to execute the method for adding a blind watermark provided in the embodiment of the present application. The following describes a blind watermark adding apparatus provided in an embodiment of the present application.
Fig. 5 is a schematic diagram of a blind watermark adding apparatus according to an embodiment of the present application. As shown in fig. 5, the apparatus includes: a first acquisition unit 501, a second acquisition unit 502, and a first addition unit 503.
Specifically, the first obtaining unit 501 is configured to obtain a first numerical value corresponding to each pixel point in a first picture, where the size of the first picture is the same as that of an original picture, the first picture at least includes attribute information of a target device, and the first numerical value is used to represent a transparency value of a pixel point in the first picture, where the original picture is a picture generated by screenshot of target data of a target mechanism in the target device;
a second obtaining unit 502, configured to obtain a color value corresponding to each pixel point in a second picture, where the second picture is a picture generated by combining the original picture and the first picture;
a first adding unit 503, configured to add a blind watermark to the original picture according to the first value and the color value.
To sum up, the blind watermark adding apparatus provided in the embodiment of the present application obtains, by a first obtaining unit 501, a first numerical value corresponding to each pixel point in a first picture, where the size of the first picture is the same as that of an original picture, the first picture at least includes attribute information of a target device, and the first numerical value is used to represent a transparency value of a pixel point in the first picture, where the original picture is a picture generated by screenshot of target data of a target mechanism in the target device; the second obtaining unit 502 obtains a color value corresponding to each pixel point in a second picture, wherein the second picture is a picture generated by combining the original picture and the first picture; the first adding unit 503 adds a blind watermark to the original picture according to the first numerical value and the color value, thereby solving the problem that in the related art, when an event of capturing the core data of an enterprise is monitored, the blind watermark is difficult to be added to the captured picture, so that the captured picture is difficult to trace, and further the security of the core data of the enterprise is affected. The blind watermark is added to the original picture by acquiring the transparency value corresponding to each pixel point in the first picture and the color value corresponding to each pixel point in the second picture and according to the transparency value corresponding to each pixel point in the first picture and the color value corresponding to each pixel point in the second picture, so that when an event for screenshot of core data of an enterprise is monitored, the blind watermark can be conveniently added to the screenshot picture, the screenshot picture added with the blind watermark can be conveniently traced back, and the effect of protecting the core data security of the enterprise is achieved.
Optionally, in the apparatus for adding a blind watermark provided in this embodiment of the present application, the first adding unit includes: the first judging module is used for judging whether each pixel point in the first picture is a transparent pixel point according to a first numerical value corresponding to each pixel point to obtain a judging result; the first determining module is used for determining a first pixel point and a second pixel point in the first picture according to the judging result, wherein the first pixel point is not a transparent pixel point, and the second pixel point is a transparent pixel point; the first changing module is used for changing a second numerical value in the color values into an odd number to obtain a third numerical value, wherein the second numerical value represents a numerical value corresponding to a third pixel point in the second picture, and the third pixel point is a pixel point corresponding to the first pixel point; the second changing module is used for changing a fourth numerical value in the color values into an even number to obtain a fifth numerical value, wherein the fourth numerical value is a numerical value corresponding to a fourth pixel point in the second picture, and the fourth pixel point is a pixel point corresponding to the second pixel point; and the first adding module is used for adding the third numerical value and the fifth numerical value into the original picture to generate the original picture with the blind watermark.
Optionally, in the apparatus for adding a blind watermark provided in this embodiment of the present application, the first determining module includes: the first judgment submodule is used for judging whether a first numerical value corresponding to each pixel point is a preset numerical value or not; the first determining submodule is used for indicating that each pixel point in the first picture is a transparent pixel point if the first numerical value corresponding to each pixel point is a preset numerical value; and the second determining submodule is used for indicating that the first pixel point in the first picture is not a transparent pixel point if the first numerical value corresponding to the first pixel point is not a preset numerical value.
Optionally, in the apparatus for adding a blind watermark provided in this embodiment of the present application, the apparatus further includes: the third obtaining unit is used for obtaining attribute information of the target device and a third picture before obtaining the first numerical value corresponding to each pixel point in the first picture, wherein the third picture is a transparent picture, and the size of the third picture is the same as that of the first picture; and the second adding unit is used for adding the attribute information of the target equipment to the third picture to generate the first picture.
Optionally, in the apparatus for adding a blind watermark provided in this embodiment of the present application, the third obtaining unit includes: the system comprises a first monitoring module, a second monitoring module and a third monitoring module, wherein the first monitoring module is used for monitoring a target event through a target system in target equipment, and the target event is used for showing that screenshot is carried out on target data of a target mechanism in the target equipment; and the first obtaining module is used for obtaining the third picture and the attribute information of the target equipment if a target system in the target equipment monitors the target event.
Optionally, in the apparatus for adding a blind watermark provided in this embodiment of the present application, the apparatus further includes: the fourth acquiring unit is used for acquiring a color value corresponding to each pixel point in a fourth picture and a fifth picture after blind watermarks are added to the original picture according to the first numerical value and the color value, wherein the fourth picture is the original picture with the blind watermarks, the fifth picture is a transparent picture, and the size of the fifth picture is the same as that of the original picture; the first judging unit is used for judging whether the color value corresponding to each pixel point in the fourth picture is an odd number; and the first processing unit is used for processing a fifth pixel point in the fifth picture to generate a picture without blind watermarks if the color value corresponding to each pixel point in the fourth picture is an odd number, wherein the fifth pixel point is a pixel point corresponding to each pixel point in the fourth picture.
Optionally, in the apparatus for adding a blind watermark provided in this embodiment of the present application, the apparatus further includes: the fifth acquiring unit is used for acquiring the original picture with the blind watermark after the blind watermark is added to the original picture according to the first numerical value and the color value; and the first sending unit is used for sending the original picture with the blind watermark to the target object.
The blind watermark adding device comprises a processor and a memory, wherein the first acquiring unit 501, the second acquiring unit 502, the first adding unit 503 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. One or more than one kernel can be set, and the effect of protecting the security of the core data of the enterprise is achieved by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
The embodiment of the invention provides a processor, which is used for running a program, wherein the blind watermark adding method is executed when the program runs.
As shown in fig. 6, an embodiment of the present invention provides an electronic device, where the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: acquiring a first numerical value corresponding to each pixel point in a first picture, wherein the size of the first picture is the same as that of an original picture, the first picture at least comprises attribute information of target equipment, and the first numerical value is used for representing a transparency value of the pixel point in the first picture, wherein the original picture is a picture generated by screenshot of target data of a target mechanism in the target equipment; obtaining a color value corresponding to each pixel point in a second picture, wherein the second picture is a picture generated by combining the original picture and the first picture; and adding a blind watermark to the original picture according to the first numerical value and the color value.
The processor executes the program and further realizes the following steps: adding a blind watermark to the original picture according to the first numerical value and the color value comprises: judging whether each pixel point in the first picture is a transparent pixel point according to a first numerical value corresponding to each pixel point to obtain a judgment result; determining a first pixel point and a second pixel point in the first picture according to the judgment result, wherein the first pixel point is not a transparent pixel point, and the second pixel point is a transparent pixel point; changing a second numerical value in the color values into an odd number to obtain a third numerical value, wherein the second numerical value represents a numerical value corresponding to a third pixel point in the second picture, and the third pixel point is a pixel point corresponding to the first pixel point; changing a fourth numerical value in the color values into an even number to obtain a fifth numerical value, wherein the fourth numerical value represents a numerical value corresponding to a fourth pixel point in the second picture, and the fourth pixel point is a pixel point corresponding to the second pixel point; and adding the third numerical value and the fifth numerical value to the original picture to generate the original picture with the blind watermark.
The processor executes the program and further realizes the following steps: judging whether each pixel point in the first picture is a transparent pixel point according to a first numerical value corresponding to each pixel point, wherein the judgment result comprises the following steps: judging whether a first numerical value corresponding to each pixel point is a preset numerical value or not; if the first numerical value corresponding to each pixel point is the preset numerical value, each pixel point in the first picture is a transparent pixel point; if the first value corresponding to the first pixel point is not the preset value, it indicates that the first pixel point in the first picture is not a transparent pixel point.
The processor executes the program and further realizes the following steps: before obtaining the first numerical value corresponding to each pixel point in the first picture, the method further includes: acquiring attribute information and a third picture of the target device, wherein the third picture is a transparent picture, and the size of the third picture is the same as that of the first picture; and adding the attribute information of the target device to the third picture to generate the first picture.
The processor executes the program and further realizes the following steps: acquiring the third picture and the attribute information of the target device comprises the following steps: monitoring a target event through a target system in the target equipment, wherein the target event is used for showing that screenshot is carried out on target data of the target mechanism in the target equipment; and if the target system in the target equipment monitors the target event, acquiring the third picture and the attribute information of the target equipment.
The processor executes the program and further realizes the following steps: after adding a blind watermark to the original picture in accordance with the first numerical value and the color value, the method further comprises: obtaining a color value corresponding to each pixel point in a fourth picture and a fifth picture, wherein the fourth picture is an original picture with the blind watermark, the fifth picture is a transparent picture, and the size of the fifth picture is the same as that of the original picture; judging whether the color value corresponding to each pixel point in the fourth picture is an odd number; and if the color value corresponding to each pixel point in the fourth picture is an odd number, processing a fifth pixel point in the fifth picture to generate a picture without the blind watermark, wherein the fifth pixel point is a pixel point corresponding to each pixel point in the fourth picture.
The processor executes the program and further realizes the following steps: after adding a blind watermark to the original picture in accordance with the first numerical value and the color value, the method further comprises: acquiring an original picture with the blind watermark; and sending the original picture with the blind watermark to a target object.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application also provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: acquiring a first numerical value corresponding to each pixel point in a first picture, wherein the size of the first picture is the same as that of an original picture, the first picture at least comprises attribute information of target equipment, and the first numerical value is used for representing a transparency value of a pixel point in the first picture, wherein the original picture is a picture generated by screenshot of target data of a target mechanism in the target equipment; obtaining a color value corresponding to each pixel point in a second picture, wherein the second picture is a picture generated by combining the original picture and the first picture; and adding a blind watermark to the original picture according to the first numerical value and the color value.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: adding a blind watermark to the original picture according to the first numerical value and the color value comprises: judging whether each pixel point in the first picture is a transparent pixel point according to a first numerical value corresponding to each pixel point to obtain a judgment result; determining a first pixel point and a second pixel point in the first picture according to the judgment result, wherein the first pixel point is not a transparent pixel point, and the second pixel point is a transparent pixel point; changing a second numerical value in the color values into an odd number to obtain a third numerical value, wherein the second numerical value represents a numerical value corresponding to a third pixel point in the second picture, and the third pixel point is a pixel point corresponding to the first pixel point; changing a fourth numerical value in the color values into an even number to obtain a fifth numerical value, wherein the fourth numerical value represents a numerical value corresponding to a fourth pixel point in the second picture, and the fourth pixel point is a pixel point corresponding to the second pixel point; and adding the third numerical value and the fifth numerical value into the original picture to generate the original picture with the blind watermark.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: judging whether each pixel point in the first picture is a transparent pixel point according to a first numerical value corresponding to each pixel point, wherein the judgment result comprises the following steps: judging whether a first numerical value corresponding to each pixel point is a preset numerical value or not; if the first numerical value corresponding to each pixel point is the preset numerical value, each pixel point in the first picture is a transparent pixel point; and if the first numerical value corresponding to the first pixel point is not the preset numerical value, indicating that the first pixel point in the first picture is not a transparent pixel point.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: before obtaining the first numerical value corresponding to each pixel point in the first picture, the method further includes: acquiring attribute information and a third picture of the target device, wherein the third picture is a transparent picture, and the size of the third picture is the same as that of the first picture; and adding the attribute information of the target device to the third picture to generate the first picture.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: acquiring the third picture and the attribute information of the target device comprises the following steps: monitoring a target event through a target system in the target equipment, wherein the target event is used for showing that screenshot is carried out on target data of the target mechanism in the target equipment; and if the target system in the target equipment monitors the target event, acquiring the third picture and the attribute information of the target equipment.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: after blind watermarking the original picture in accordance with the first numerical value and the color value, the method further comprises: acquiring a color value corresponding to each pixel point in a fourth picture and a fifth picture, wherein the fourth picture is an original picture with the blind watermark, the fifth picture is a transparent picture, and the size of the fifth picture is the same as that of the original picture; judging whether the color value corresponding to each pixel point in the fourth picture is an odd number; and if the color value corresponding to each pixel point in the fourth picture is an odd number, processing a fifth pixel point in the fifth picture to generate a picture without the blind watermark, wherein the fifth pixel point is a pixel point corresponding to each pixel point in the fourth picture.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: after adding a blind watermark to the original picture in accordance with the first numerical value and the color value, the method further comprises: acquiring an original picture with the blind watermark; and sending the original picture with the blind watermark to a target object.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art to which the present application pertains. Any alterations, equivalents, modifications, etc. which come within the spirit and principles of the application are intended to be included within the scope of the claims of the application.

Claims (10)

1. A method for adding a blind watermark, comprising:
acquiring a first numerical value corresponding to each pixel point in a first picture, wherein the size of the first picture is the same as that of an original picture, the first picture at least comprises attribute information of target equipment, and the first numerical value is used for representing a transparency value of a pixel point in the first picture, wherein the original picture is a picture generated by screenshot of target data of a target mechanism in the target equipment;
acquiring a color value corresponding to each pixel point in a second picture, wherein the second picture is a picture generated by combining the original picture and the first picture;
and adding a blind watermark to the original picture according to the first numerical value and the color value.
2. The method of claim 1, wherein adding a blind watermark to the original picture based on the first numerical value and the color value comprises:
judging whether each pixel point in the first picture is a transparent pixel point according to a first numerical value corresponding to each pixel point to obtain a judgment result;
determining a first pixel point and a second pixel point in the first picture according to the judgment result, wherein the first pixel point is not a transparent pixel point, and the second pixel point is a transparent pixel point;
changing a second numerical value in the color values into an odd number to obtain a third numerical value, wherein the second numerical value represents a numerical value corresponding to a third pixel point in the second picture, and the third pixel point is a pixel point corresponding to the first pixel point;
changing a fourth numerical value in the color values into an even number to obtain a fifth numerical value, wherein the fourth numerical value represents a numerical value corresponding to a fourth pixel point in the second picture, and the fourth pixel point is a pixel point corresponding to the second pixel point;
and adding the third numerical value and the fifth numerical value into the original picture to generate the original picture with the blind watermark.
3. The method according to claim 2, wherein judging whether each pixel point in the first picture is a transparent pixel point according to the first numerical value corresponding to each pixel point comprises:
judging whether a first numerical value corresponding to each pixel point is a preset numerical value or not;
if the first numerical value corresponding to each pixel point is the preset numerical value, each pixel point in the first picture is a transparent pixel point;
if the first value corresponding to the first pixel point is not the preset value, it indicates that the first pixel point in the first picture is not a transparent pixel point.
4. The method of claim 1, wherein before the obtaining the first value corresponding to each pixel point in the first picture, the method further comprises:
acquiring attribute information and a third picture of the target device, wherein the third picture is a transparent picture, and the size of the third picture is the same as that of the first picture;
and adding the attribute information of the target device to the third picture to generate the first picture.
5. The method of claim 4, wherein obtaining the third picture and the attribute information of the target device comprises:
monitoring a target event through a target system in the target equipment, wherein the target event is used for showing that screenshot is carried out on target data of the target mechanism in the target equipment;
and if the target system in the target equipment monitors the target event, acquiring the third picture and the attribute information of the target equipment.
6. The method of claim 1, wherein after adding a blind watermark to the original picture in accordance with the first numerical value and the color value, the method further comprises:
obtaining a color value corresponding to each pixel point in a fourth picture and a fifth picture, wherein the fourth picture is an original picture with the blind watermark, the fifth picture is a transparent picture, and the size of the fifth picture is the same as that of the original picture;
judging whether the color value corresponding to each pixel point in the fourth picture is an odd number;
and if the color value corresponding to each pixel point in the fourth picture is an odd number, processing a fifth pixel point in the fifth picture to generate a picture without the blind watermark, wherein the fifth pixel point is a pixel point corresponding to each pixel point in the fourth picture.
7. The method of claim 1, wherein after adding a blind watermark to the original picture in accordance with the first numerical value and the color value, the method further comprises:
acquiring an original picture with the blind watermark;
and sending the original picture with the blind watermark to a target object.
8. An apparatus for adding a blind watermark, comprising:
the device comprises a first obtaining unit and a second obtaining unit, wherein the first obtaining unit is used for obtaining a first numerical value corresponding to each pixel point in a first picture, the size of the first picture is the same as that of an original picture, the first picture at least comprises attribute information of target equipment, and the first numerical value is used for representing a transparency value of a pixel point in the first picture, and the original picture is a picture generated by screenshot of target data of a target mechanism in the target equipment;
the second obtaining unit is used for obtaining a color value corresponding to each pixel point in a second picture, wherein the second picture is a picture generated by combining the original picture and the first picture;
and the first adding unit is used for adding a blind watermark to the original picture according to the first numerical value and the color value.
9. A processor, characterized in that the processor is configured to run a program, wherein the program is run to perform the blind watermark adding method of any one of claims 1 to 7.
10. An electronic device comprising one or more processors and memory storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of blind watermark addition of any one of claims 1 to 7.
CN202211447884.6A 2022-11-18 2022-11-18 Blind watermark adding method and device, processor and electronic equipment Pending CN115774866A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211447884.6A CN115774866A (en) 2022-11-18 2022-11-18 Blind watermark adding method and device, processor and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211447884.6A CN115774866A (en) 2022-11-18 2022-11-18 Blind watermark adding method and device, processor and electronic equipment

Publications (1)

Publication Number Publication Date
CN115774866A true CN115774866A (en) 2023-03-10

Family

ID=85389728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211447884.6A Pending CN115774866A (en) 2022-11-18 2022-11-18 Blind watermark adding method and device, processor and electronic equipment

Country Status (1)

Country Link
CN (1) CN115774866A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115984082A (en) * 2023-03-21 2023-04-18 杭州虎符网络有限公司 Dark watermark adding and extracting method, device, storage medium and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115984082A (en) * 2023-03-21 2023-04-18 杭州虎符网络有限公司 Dark watermark adding and extracting method, device, storage medium and terminal

Similar Documents

Publication Publication Date Title
CN108040230B (en) Monitoring method and device for protecting privacy
CN109767378B (en) Image processing method and device
CN107743123A (en) A kind of screen watermark handling method and device
US20140233055A1 (en) Method, device and computer readable medium for managing print jobs
CN115774866A (en) Blind watermark adding method and device, processor and electronic equipment
CN110245469A (en) Watermark generation method, watermark analytic method, device and the storage medium of webpage
CN109446761B (en) Information security processing method, storage medium and terminal equipment
CN115527101A (en) Image tampering detection method and processor
CN115344835A (en) Picture processing method, storage medium and computer terminal
CN114418825B (en) Image processing method, image processing device, computer equipment and storage medium
CN108449627B (en) Video processing method, video source identification method, video processing device, video source identification device and video source identification medium
US20210073937A1 (en) Image capture prevention
CN112672102B (en) Video generation method and device
CN112434328B (en) Message forwarding (transferring) mail forwarding method and electronic equipment
CN115659295B (en) Page protection method, device, equipment and storage medium
US11113780B2 (en) Watermarking digital content
CN115760532A (en) Watermark processing method, watermark extracting method, watermark processing device, watermark extracting device, and storage medium
CN114826727B (en) Flow data acquisition method, device, computer equipment and storage medium
CN114245053A (en) Video watermark generation method and device
CN111131727A (en) Video data processing method and device
CN115688102A (en) Window processing method and device, processor and electronic equipment
US20220012311A1 (en) Masked watermarks and related systems and techniques
CN114092307A (en) Watermark generation method, watermark addition method, watermark tracing equipment and storage medium
CN113379582A (en) Information adding method, information extracting device and electronic equipment
CN112434327A (en) Information protection method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination