[go: nahoru, domu]

CN109190340A - A kind of webpage digital watermarking generates, identification, Method of printing and device - Google Patents

A kind of webpage digital watermarking generates, identification, Method of printing and device Download PDF

Info

Publication number
CN109190340A
CN109190340A CN201811069215.3A CN201811069215A CN109190340A CN 109190340 A CN109190340 A CN 109190340A CN 201811069215 A CN201811069215 A CN 201811069215A CN 109190340 A CN109190340 A CN 109190340A
Authority
CN
China
Prior art keywords
image
webpage
watermarking
watermarking images
information
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
CN201811069215.3A
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN201811069215.3A priority Critical patent/CN109190340A/en
Publication of CN109190340A publication Critical patent/CN109190340A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/16Program or content traceability, e.g. by watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2201/00General purpose image data processing
    • G06T2201/005Image watermarking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

The present invention provides a kind of generation of webpage digital watermarking image, identification, Method of printing and devices, this method comprises: being encrypted using md5 encryption algorithm to operator's information;Encrypted operator's information is encoded in a manner of default barcode encoding, obtains bar code image;Bar code image is handled using least significant bit image air space algorithm, obtains dark watermarking images;Characterized by character pitch, encrypted operator's information coding is obtained into bright watermarking images into default watermark identifier;Dark watermarking images and bright watermarking images are subjected to splicing synthesis, obtain webpage digital watermarking image.This, which can be realized, is embedded into operator's information in webpage digital watermarking image; have the characteristics that crypticity and information integrity; since watermarking images cover entire webpage; even if web page contents change; such as when local screenshot occurs or taking pictures; remain to restore from the image after leakage hiding operator's information, to play a protective role.

Description

A kind of webpage digital watermarking generates, identification, Method of printing and device
Technical field
The present invention relates to digital watermark technology fields, generate, know more specifically to a kind of webpage digital watermarking image Not, Method of printing and device.
Background technique
Information-based flourishing today, information protection become a very important project.And digital watermarking is then numerous anti- Only one of information leakage method important technical.
By stowed position, existing digital watermarking is divided into Spatial Domain Digital Watermarking and two kinds of frequency digital watermarking, is suitable for pure more Image domains.And webpage digital watermarking image is embedded a watermark into webpage using webpage as carrier.Since webpage itself belongs to In plain text media, text itself is without any redundancy, and the change of any character can all make the content of webpage in text It changes, therefore existing digital watermarking not can be used directly in webpage, this will can not play any protection to web page contents Effect.
Summary of the invention
To solve the above problems, the present invention provide a kind of webpage digital watermarking image generate, identification, Method of printing and dress It sets, technical solution is as follows:
A kind of webpage digital watermarking image generation method, comprising:
Operator's information is encrypted using md5 encryption algorithm;
Encrypted operator's information is encoded in a manner of default barcode encoding, obtains bar code image;
The bar code image is handled using least significant bit image air space algorithm, obtains dark watermarking images;
Characterized by character pitch, encrypted operator's information coding is obtained into bright water into default watermark identifier Watermark image;
The dark watermarking images and stated clearly watermarking images are subjected to splicing synthesis, obtain webpage digital watermarking image.
Preferably, described characterized by character pitch, by encrypted operator's information coding to default watermark mark Bright watermarking images are obtained in knowledge, comprising:
Encrypted operator's information is converted to the hex value for being used for encoding;
The character pitch of default watermark identifier is determined according to the hex value;
Spacing adjustment is carried out to the default watermark identifier based on the character pitch, obtains bright watermarking images.
Preferably, the dark watermarking images and stated clearly watermarking images are subjected to splicing synthesis described, obtain webpage number Before word watermarking images, further includes:
Background parts based on the dark watermarking images handle the background parts of stated clearly watermarking images.
Preferably, the dark watermarking images and stated clearly watermarking images are subjected to splicing synthesis described, obtain webpage number Before word watermarking images, further includes:
Rotation processing is carried out to the word segment of stated clearly watermarking images.
Preferably, operator's information includes: and appoints in login username, IP address and the address medium access control mac Meaning is one or more.
A kind of webpage digital watermarking image generating means, comprising:
Encrypting module, for being encrypted using md5 encryption algorithm to operator's information;
Dark watermark generation module, for being compiled in a manner of default barcode encoding to encrypted operator's information Code, obtains bar code image;The bar code image is handled using least significant bit image air space algorithm, obtains dark water Watermark image;
Bright watermark generation module, for characterized by character pitch, by encrypted operator's information coding to pre- If obtaining bright watermarking images in watermark identifier;
Synthesis module obtains webpage number for the dark watermarking images and stated clearly watermarking images to be carried out splicing synthesis Word watermarking images.
A kind of webpage digital watermarking image recognition methods, comprising:
Image procossing is carried out to the webpage digital watermarking image in webpage to be identified, so that the webpage digital watermarking is dark Watermarking images and bright watermarking images are in visible state simultaneously;
The image as region of interest ROI is chosen from the dark watermarking images and stated clearly watermarking images;
If the ROI is the dark watermarking images, bar code identification carried out to the dark watermarking images, and to recognizing Bar code is decoded;
If the ROI is is stated clearly watermarking images, characterized by character pitch, stated clearly watermarking images are solved Code;
Decoding result is decrypted using MD5 algorithm to obtain operator's information.
A kind of webpage digital watermarking image identification device, comprising:
Image processing module, for carrying out image procossing to the webpage digital watermarking image in webpage to be identified, so that institute It states the dark watermarking images of webpage digital watermarking and bright watermarking images while being in visible state;
Module is chosen, is used as region of interest ROI for choosing from the dark watermarking images and stated clearly watermarking images Image;
Decoder module carries out bar code knowledge to the dark watermarking images if being the dark watermarking images for the ROI Not, and to the bar code recognized it is decoded;If the ROI is is stated clearly watermarking images, characterized by character pitch, to institute Watermarking images are stated clearly to be decoded;
Deciphering module obtains operator's information for decoding result to be decrypted using MD5 algorithm.
A kind of webpage digital watermarking image Method of printing, comprising:
If receiving the webpage to be printed of printing user's upload, operator's information of the printing user is extracted;
Obtain the webpage digital watermarking image generated based on operator's information;
The body part of the webpage to be printed is positioned, and the webpage digital watermarking image is embedded into the textual In point;
The webpage to be printed for being embedded with the webpage digital watermarking image is printed.
A kind of webpage digital watermarking image printing equipment, comprising:
Extraction module, if the webpage to be printed for receiving printing user's upload, extracts the operation of the printing user People's information;
Module is obtained, for obtaining the webpage digital watermarking image generated based on operator's information;
It is embedded in module, for positioning the body part of the webpage to be printed, and the webpage digital watermarking image is embedding Enter into the body part;
Print module, for being printed to the webpage to be printed for being embedded with the webpage digital watermarking image.
Compared to the prior art, what the present invention realized has the beneficial effect that
It is embedding to carry out least significant bit using bar code image for webpage digital watermarking image generation method provided by the invention Enter, the webpage digital watermarking image of various embedded mode generation watermark containing light and shade of character feature coding.This can realize by Operator's information is embedded into webpage digital watermarking image, has the characteristics that crypticity and information integrity, due to watermarking images Entire webpage is covered, even if web page contents change, for example when local screenshot occurs or taking pictures, is remained to from the image after leakage It is middle to restore hiding operator's information, to play a protective role.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the method flow diagram of webpage digital watermarking image generation method provided in an embodiment of the present invention;
Fig. 2 a is bar code image example;
Fig. 2 b is bright watermarking images example;
Fig. 3 is the Part Methods flow chart of webpage digital watermarking image generation method provided in an embodiment of the present invention;
Fig. 4 a is another example of bright watermarking images;
Fig. 4 b is webpage digital watermarking image example;
Fig. 5 is the structural schematic diagram of webpage digital watermarking image generating means provided in an embodiment of the present invention;
Fig. 6 is the method flow diagram of webpage digital watermarking image recognition methods provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of webpage digital watermarking image identification device provided in an embodiment of the present invention;
Fig. 8 is the method flow diagram of webpage digital watermarking image Method of printing provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of webpage digital watermarking image printing equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Watermark: digital watermark is that some identification informations are directly embedded into digital carrier (document, image, audio, video etc.) In the middle or secondary indication, and the use value of original vector is not influenced, be not easy to be ascertained and modify again yet.
Dark watermark: it stashes and unrecognized watermark is not extracted by technology.
Bright watermark: the watermark that visually can intuitively distinguish, but can not Direct Recognition encrypted message therein.
LSB algorithm: watermark information is embedded into carrier by the hiding classic algorithm of the image information based on airspace The least significant bit of image respective pixel is a kind of simple very effective data hiding technique.
Md5 encryption algorithm: Message Digest 5 is a kind of widely used hash function of computer safety field.I.e. pair One segment information generates eap-message digest, and calculated MD5 value (eap-message digest) length is fixed.It is any when being carried out to former data Change, even only having modified 1 byte, obtained MD5 value has very big difference, has stronger tamper-resistance properties.
Bar code: the multiple secret notes and blank that width is not waited are arranged according to certain coding rule, to express one group The graphical identifier of information.Its coding mode has Codebar, Code 39, Code 11, EAN-8, Code 128 etc..
The embodiment of the present invention provides a kind of webpage digital watermarking image generation method, the method flow diagram of this method such as Fig. 1 It is shown, include the following steps:
S10 encrypts operator's information using md5 encryption algorithm;
In the present embodiment, operator's information of the operator of access webpage can be obtained from server, for example is logged in and used Name in an account book, IP address and the address medium access control mac etc..It may further be embodied as the key operations people such as employee number, identification card number letter Breath, the present embodiment are not specifically limited in this embodiment, can be arranged according to actual needs.
During executing step S10, operator's information encrypt can be obtained by using md5 encryption algorithm and is determined Long watermark information.
S20 encodes encrypted operator's information in a manner of default barcode encoding, obtains bar code image;
In actual application, since 128 yards of CODE can indicate more comprehensive character (number, letter and symbol), Open ended character length is longer (having high density) in the bar code of same length, is widely used in practical applications.Therefore, Preferably, presetting barcode encoding mode can be 128 yards of this coding modes of CODE.As Fig. 2 a shows a kind of bar code image Example.
S30 handles bar code image using least significant bit image air space algorithm, obtains dark watermarking images;
In the present embodiment, bar code image includes blank parts and dark strip part, can be by the secret note and gutter of bar code Dividing color distinction is several binary lowest orders, for example the RGB color of blank parts is (221,247,222), secret note portion The RGB color divided is (221,247,213).On the one hand, blank parts and dark strip part can be identified, on the other hand can also be protected Demonstrate,prove the crypticity of dark watermark.
Encrypted operator's information coding is obtained bright water into default watermark identifier characterized by character pitch by S40 Watermark image;
In the present embodiment, in default watermark identifier, for example on the basis of enterprise's words identification, it is characterized using character pitch Encrypted operator's information is encoded, to generate bright watermark.That is, to each word in default watermark identifier Symbol carries out corresponding left and right displacement, indicates encrypted operator's information with character pitch.As Fig. 2 b shows a kind of bright watermark Example images.
During specific implementation, step S40 is " characterized by character pitch, extremely by encrypted operator's information coding Bright watermarking images are obtained in default watermark identifier " following steps can be specifically used, Part Methods flow chart is as shown in Figure 3:
Encrypted operator's information is converted to the hex value for being used for encoding by S401;
It is hexadecimal value using the encrypted operator's information of DM5 Encryption Algorithm in the present embodiment, and due to for compiling The system of code is pre-set, for example can be binary system, can also be ternary, the present embodiment is not specifically limited in this embodiment.
S402 determines the character pitch of default watermark identifier according to hex value;
In the present embodiment, character pitch can be preset, for example, presetting chinese character there are 3 kinds of different distances Character pitch presets the character pitch that English has 2 kinds of different distances from character for another example.And determining that hex value institute is right When the character pitch answered, the corresponding relationship between pre-set hex value and character pitch can use to determine, such as right For 3 hex values " 013 ", corresponding to character pitch be 2 pixels.
S403 carries out spacing adjustment to default watermark identifier based on character pitch, obtains bright watermarking images;
In the present embodiment, left and right displacement is carried out to the character in default watermark identifier using determining character pitch.
In some other embodiment, for the crypticity for guaranteeing bright watermarking images, bright water obtained for step S403 Watermark image can also do following processing:
Background parts based on dark watermarking images handle the background parts of bright watermarking images.
In the present embodiment, the background color of bright watermarking images can be adjusted in conjunction with the background color of dark watermarking images It is whole, for example set consistent for the color of the two.
It is obtained for step S403 bright for the visual effect for guaranteeing bright watermarking images in some other embodiment Watermarking images can also do following processing:
Rotation processing is carried out to the word segment of bright watermarking images.
In the present embodiment, the direction and angle that word segment is rotated can be preset.It is bright shown by Fig. 4 a Watermarking images are the example to Fig. 2 b word segment processing result.
Dark watermarking images and bright watermarking images are carried out splicing synthesis, obtain webpage digital watermarking image by S50.
In the present embodiment, dark watermarking images and bright watermarking images can be handled first, so that the two is of same size; Further, dark watermarking images and bright watermarking images can be spliced.If Fig. 4 b shows a kind of webpage digital watermarking image example, Dark watermarking images shown by 2b are set on bright watermarking images shown in Fig. 4 a in the example.
Webpage digital watermarking image generation method provided in an embodiment of the present invention is carried out minimum effective using bar code image The webpage digital watermarking image of position insertion, various embedded mode generation watermark containing light and shade of character feature coding.This can be real Now operator's information is embedded into webpage digital watermarking image, has the characteristics that crypticity and information integrity, due to watermark Image covers entire webpage, even if web page contents change, for example when local screenshot occurs or taking pictures, remains to after leakage Restore hiding operator's information in image, to play a protective role.
The webpage digital watermarking image generation method provided based on the above embodiment, the embodiment of the present invention is then corresponding to provide one Kind executes the device of above-mentioned webpage digital watermarking image generation method, and the structural schematic diagram of the device is as shown in Figure 5, comprising:
Encrypting module 10, for being encrypted using md5 encryption algorithm to operator's information;
Dark watermark generation module 20, for being compiled in a manner of default barcode encoding to encrypted operator's information Code, obtains bar code image;Bar code image is handled using least significant bit image air space algorithm, obtains dark watermark figure Picture;
Bright watermark generation module 30, for characterized by character pitch, by encrypted operator's information coding to default Bright watermarking images are obtained in watermark identifier;
Synthesis module 40 obtains webpage digital watermarking for dark watermarking images and bright watermarking images to be carried out splicing synthesis Image.
Webpage digital watermarking image generating means provided in an embodiment of the present invention may be implemented for operator's information to be embedded into In webpage digital watermarking image, have the characteristics that crypticity and information integrity, since watermarking images cover entire webpage, even if Web page contents change, for example when local screenshot occurs or taking pictures, remain to restore from the image after leakage hiding operation People's information, to play a protective role.
The webpage digital watermarking image generation method and webpage digital watermarking image provided based on the above embodiment generates Device, the embodiment of the present invention then provide a kind of webpage digital watermarking image recognition methods, the method flow diagram of this method such as Fig. 6 institute Show, includes the following steps:
S60 carries out image procossing to the webpage digital watermarking image in webpage to be identified, so that webpage digital watermarking is dark Watermarking images and bright watermarking images are in visible state simultaneously;
In the present embodiment, since bright watermarking images are inherently in visible state, only need in webpage to be identified Webpage digital watermarking image carries out image procossing, so that dark watermarking images are in visible state.For webpage digital watermarking The image processing operations of image can be specially image binaryzation, that is, choose a threshold value, be changed into black white image, be greater than this The image pixel of threshold value is set as white, and the image pixel less than this threshold value is set as black, so that dark watermarking images therein It can be seen that.
In some other embodiment, for the validity for guaranteeing dark watermarking images, can also to webpage digital watermarking image into The processing such as row image denoising, gray processing, gradient correction.The present embodiment is not specifically limited in this embodiment, and can be carried out according to actual needs Processing.
S70 chooses the image as region of interest ROI from dark watermarking images and bright watermarking images;
In the present embodiment, the image as ROI can be chosen by way of man-machine interactively, i.e. user's usage charges mouse selects One rectangular area.When in case of screenshotss leakage, due to the case where being likely to occur the watermark of screenshot part, it is therefore desirable to by dark water Watermark image is as ROI;And if it happens take pictures when revealing, due to the case where being likely to occur pixel distortion, it is therefore desirable to Jiang Mingshui Watermark image is as ROI.
S80 carries out bar code identification to dark watermarking images, and carry out to the bar code recognized if ROI is dark watermarking images Decoding;If ROI is that bright watermarking images are decoded bright watermarking images characterized by character pitch;
In the present embodiment, during carrying out bar code identification to dark watermarking images, using watermark embedder to the area ROI Domain is scanned analysis, extracts the bar code image being embedded in dark watermarking images.
During being decoded to bright watermarking images, the character pitch of bright watermarking images is converted to and is used for coding Hex value, and then the hex value is converted into hexadecimal value.
The process introduced below that character pitch is determined using projection localization method:
Row cutting and character cutting are determined in the projected density of horizontal and vertical directions according to image.Advanced every trade Cutting, then the character cutting of upright projection is carried out to each line of text (row i.e. where character).
(1) row cutting: progressive scanning picture, the foreground pixel point (forming the pixel of text) for recording every a line are a Number, obtains the statistical result of an image pixel in the horizontal direction.Then each line of text is determined according to this result Origin coordinates and end coordinate.A threshold value is set, determines whether the row is text according to the foreground pixel number of every a line Row, it is the spaced rows between text less than this threshold value that it is more than or equal to this threshold value, which is line of text,.
(2) after line of text segments, then character cutting carried out to each line of text, as principle with row cutting is , upright projection is first carried out, then given threshold carries out Character segmentation.After the completion of row cutting and character cutting, to obtain every The coordinate on four boundaries of a character.
(3) according to the coordinate on the boundary of each character, the spacing of adjacent character is calculated.Such as the left and right side of i-th of character Boundary's abscissa is L respectivelyi、Ri, the right boundary abscissa of i+1 character is Li+1、 Ri+1, then the spacing of the two characters be Li+1-Ri
S90 is decrypted decoding result using MD5 algorithm to obtain operator's information.
Webpage digital watermarking image recognition methods provided in this embodiment, when screenshot, the illegal rows such as leakage information such as take pictures When to occur, leakage main body is navigated to rapidly, this both plays the role of declaring enterprise's copyright, fright illegal operation, while can Resist the attack in various leakage customer informations.
The webpage digital watermarking image recognition methods provided based on the above embodiment, the embodiment of the present invention then hold by corresponding provide The device of the above-mentioned webpage digital watermarking image recognition methods of row, the structural schematic diagram of the device as shown in fig. 7, comprises:
Image processing module 50, for carrying out image procossing to the webpage digital watermarking image in webpage to be identified, so that The dark watermarking images and bright watermarking images of webpage digital watermarking are in visible state simultaneously;
Module 60 is chosen, for choosing the figure as region of interest ROI from dark watermarking images and bright watermarking images Picture;
Decoder module 70 carries out bar code identification to dark watermarking images, and to identification if being dark watermarking images for ROI To bar code be decoded;If ROI is that bright watermarking images are decoded bright watermarking images characterized by character pitch;
Deciphering module 80 obtains operator's information for decoding result to be decrypted using MD5 algorithm.
Webpage digital watermarking image identification device provided in this embodiment, when screenshot, the illegal rows such as leakage information such as take pictures When to occur, leakage main body is navigated to rapidly, this both plays the role of declaring enterprise's copyright, fright illegal operation, while can Resist the attack in various leakage customer informations.
The webpage digital watermarking image generation method and webpage digital watermarking image provided based on the above embodiment generates Device, the embodiment of the present invention then provide a kind of webpage digital watermarking image Method of printing, the method flow diagram of this method such as Fig. 8 institute Show, includes the following steps:
S100 extracts operator's information of printing user if receiving the webpage to be printed of printing user's upload;
In the present embodiment, operator's information includes in login username, IP address and the address medium access control mac One or more, may further be embodied as key operations people's information such as employee number, identification card number, and the present embodiment does not do specific limit to this It is fixed, it can be arranged according to actual needs.
In some other embodiment, for the safety for guaranteeing printing, webpage digital watermarking image out shown in Fig. 8 is beaten Further include following steps on the basis of impression method:
Authentication operations are carried out to printing user, and in the case where the authentication is passed by printing user, executes the extraction printing Operator's information of user, the step for.
By taking printing user's name as an example, operating right corresponding to printing user's name can be obtained first, if in operating right Contain print right, then it represents that the authentication is passed by printing user, otherwise, it means that printing user's authentication does not pass through.
S110 obtains the webpage digital watermarking image generated based on operator's information;
In the present embodiment, operator's information can be sent to webpage digital watermarking image generating means, webpage digital watermarking Video generation device is based on operator's information and generates webpage digital watermarking image, and feeds back.
S120 positions the body part of webpage to be printed, and webpage digital watermarking image is embedded into body part;
In the present embodiment, the body part of webpage to be printed is positioned using document auxiliary locating tool, and flat to repeat Webpage digital watermarking image is embedded into body part by paving mode.
S130 prints the webpage to be printed for being embedded with webpage digital watermarking image.
In the present embodiment, it can will be embedded with webpage digital watermarking image and be issued to the peripheral hardwares such as printer, duplicator, to realize Printing.
It, can be to being embedded with the to be printed of webpage digital watermarking image to guarantee printing effect in some other embodiment Webpage is adjusted, such as background adjustment, to guarantee visual effect.
Webpage digital watermarking image Method of printing provided in an embodiment of the present invention can be believed in effective protection printing route of transmission The safety of breath, improves risk management ability, expands the application range of digital watermark technology.
The webpage digital watermarking image Method of printing provided based on the above embodiment, the embodiment of the present invention then hold by corresponding provide The device of the above-mentioned webpage digital watermarking image Method of printing of row, the structural schematic diagram of the device are as shown in Figure 9, comprising:
Extraction module 90, if the webpage to be printed for receiving printing user's upload, extracts the operator of printing user Information;
Module 100 is obtained, for obtaining the webpage digital watermarking image generated based on operator's information;
It is embedded in module 110, is embedded into just for positioning the body part of webpage to be printed, and by webpage digital watermarking image In literary part;
Print module 120, for being printed to the webpage to be printed for being embedded with webpage digital watermarking image.
Webpage digital watermarking image printing equipment provided in an embodiment of the present invention can be believed in effective protection printing route of transmission The safety of breath, improves risk management ability, expands the application range of digital watermark technology.
A kind of webpage digital watermarking image provided by the present invention is generated above, identification, Method of printing and device carry out It is discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, above embodiments Explanation be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, According to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion in this specification Appearance should not be construed as limiting the invention.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, phase Place is closed referring to method part illustration.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that the element that the process, method, article or equipment including a series of elements is intrinsic, It further include either the element intrinsic for these process, method, article or equipments.In the absence of more restrictions, The element limited by sentence "including a ...", it is not excluded that in the process, method, article or equipment including the element In there is also other identical elements.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of webpage digital watermarking image generation method characterized by comprising
Operator's information is encrypted using md5 encryption algorithm;
Encrypted operator's information is encoded in a manner of default barcode encoding, obtains bar code image;
The bar code image is handled using least significant bit image air space algorithm, obtains dark watermarking images;
Characterized by character pitch, encrypted operator's information coding is obtained into bright watermark figure into default watermark identifier Picture;
The dark watermarking images and stated clearly watermarking images are subjected to splicing synthesis, obtain webpage digital watermarking image.
2., will be encrypted described the method according to claim 1, wherein described characterized by character pitch Operator's information coding obtains bright watermarking images into default watermark identifier, comprising:
Encrypted operator's information is converted to the hex value for being used for encoding;
The character pitch of default watermark identifier is determined according to the hex value;
Spacing adjustment is carried out to the default watermark identifier based on the character pitch, obtains bright watermarking images.
3. the method according to claim 1, wherein described by the dark watermarking images and stated clearly watermark figure As carrying out splicing synthesis, before obtaining webpage digital watermarking image, further includes:
Background parts based on the dark watermarking images handle the background parts of stated clearly watermarking images.
4. the method according to claim 1, wherein described by the dark watermarking images and stated clearly watermark figure As carrying out splicing synthesis, before obtaining webpage digital watermarking image, further includes:
Rotation processing is carried out to the word segment of stated clearly watermarking images.
5. the method according to claim 1, wherein operator's information includes: login username, IP address With it is any one or more in the address medium access control mac.
6. a kind of webpage digital watermarking image generating means characterized by comprising
Encrypting module, for being encrypted using md5 encryption algorithm to operator's information;
Dark watermark generation module, for being encoded in a manner of default barcode encoding to encrypted operator's information, Obtain bar code image;The bar code image is handled using least significant bit image air space algorithm, obtains dark watermark Image;
Bright watermark generation module, for characterized by character pitch, by encrypted operator's information coding to default water Marking obtains bright watermarking images in knowing;
Synthesis module obtains webpage number water for the dark watermarking images and stated clearly watermarking images to be carried out splicing synthesis Watermark image.
7. a kind of webpage digital watermarking image recognition methods characterized by comprising
Image procossing is carried out to the webpage digital watermarking image in webpage to be identified, so that the dark watermark of the webpage digital watermarking Image and bright watermarking images are in visible state simultaneously;
The image as region of interest ROI is chosen from the dark watermarking images and stated clearly watermarking images;
If the ROI is the dark watermarking images, bar code identification is carried out to the dark watermarking images, and to the bar code recognized It is decoded;
If the ROI is is stated clearly watermarking images, characterized by character pitch, stated clearly watermarking images are decoded;
Decoding result is decrypted using MD5 algorithm to obtain operator's information.
8. a kind of webpage digital watermarking image identification device characterized by comprising
Image processing module, for carrying out image procossing to the webpage digital watermarking image in webpage to be identified, so that the net The dark watermarking images and bright watermarking images of page digital watermarking are in visible state simultaneously;
Module is chosen, for choosing the figure as region of interest ROI from the dark watermarking images and stated clearly watermarking images Picture;
Decoder module carries out bar code identification to the dark watermarking images if being the dark watermarking images for the ROI, and The bar code recognized is decoded;If the ROI is is stated clearly watermarking images, characterized by character pitch, to being stated clearly Watermarking images are decoded;
Deciphering module obtains operator's information for decoding result to be decrypted using MD5 algorithm.
9. a kind of webpage digital watermarking image Method of printing characterized by comprising
If receiving the webpage to be printed of printing user's upload, operator's information of the printing user is extracted;
Obtain the webpage digital watermarking image generated based on operator's information;
The body part of the webpage to be printed is positioned, and the webpage digital watermarking image is embedded into the body part In;
The webpage to be printed for being embedded with the webpage digital watermarking image is printed.
10. a kind of webpage digital watermarking image printing equipment characterized by comprising
Extraction module extracts operator's letter of the printing user if the webpage to be printed for receiving printing user's upload Breath;
Module is obtained, for obtaining the webpage digital watermarking image generated based on operator's information;
It is embedded in module, is embedded into for positioning the body part of the webpage to be printed, and by the webpage digital watermarking image In the body part;
Print module, for being printed to the webpage to be printed for being embedded with the webpage digital watermarking image.
CN201811069215.3A 2018-09-13 2018-09-13 A kind of webpage digital watermarking generates, identification, Method of printing and device Pending CN109190340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811069215.3A CN109190340A (en) 2018-09-13 2018-09-13 A kind of webpage digital watermarking generates, identification, Method of printing and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811069215.3A CN109190340A (en) 2018-09-13 2018-09-13 A kind of webpage digital watermarking generates, identification, Method of printing and device

Publications (1)

Publication Number Publication Date
CN109190340A true CN109190340A (en) 2019-01-11

Family

ID=64910828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811069215.3A Pending CN109190340A (en) 2018-09-13 2018-09-13 A kind of webpage digital watermarking generates, identification, Method of printing and device

Country Status (1)

Country Link
CN (1) CN109190340A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110245469A (en) * 2019-06-24 2019-09-17 苏州睿威博科技有限公司 Watermark generation method, watermark analytic method, device and the storage medium of webpage
CN111402109A (en) * 2020-03-07 2020-07-10 北京北信源软件股份有限公司 Method and device for setting digital watermark of instant messaging user interface
CN111836053A (en) * 2019-04-18 2020-10-27 上海动悦网络科技有限公司 Video encryption anti-theft system and method based on user information
CN112598564A (en) * 2020-12-26 2021-04-02 中国农业银行股份有限公司 Information recording and information tracing method and device
CN112597455A (en) * 2020-12-29 2021-04-02 中国农业银行股份有限公司 Document anti-counterfeiting method and device
CN113051615A (en) * 2021-04-07 2021-06-29 深圳哇哇鱼网络科技有限公司 Method, system and medium for preventing information leakage by background screen capture
CN116957893A (en) * 2023-06-26 2023-10-27 海易科技(北京)有限公司 Watermark generation method, watermark generation device, electronic device and computer readable medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452116A (en) * 2002-02-01 2003-10-29 密刻爱你有限公司 Device and method for making and identifying file capable of verifying forging or changing thereof
CN1517231A (en) * 2003-01-22 2004-08-04 佳能株式会社 Image processing device and its method, cmputer program and storage medium
CN1709709A (en) * 2005-06-13 2005-12-21 北京北大方正电子有限公司 Printing method of security file inlaid with anti-copying back-lines
CN101894238A (en) * 2010-08-09 2010-11-24 中国人民解放军海军工程大学 Double authentication-based word document electronic seal system and method
CN102693524A (en) * 2012-05-15 2012-09-26 广州市中崎商业机器有限公司 Method and system for managing scanned images of securities
CN104346321A (en) * 2013-07-31 2015-02-11 北大方正集团有限公司 Text digital watermark information embedding and extracting method and device
CN104517046A (en) * 2014-12-24 2015-04-15 江苏敏捷科技股份有限公司 Screen display data protection method
CN105556942A (en) * 2013-09-27 2016-05-04 惠普发展公司,有限责任合伙企业 Digital watermarks
CN105741226A (en) * 2016-02-01 2016-07-06 江苏实达迪美数据处理有限公司 Electronic stamp based visible digital image watermark embedding and detection methods

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452116A (en) * 2002-02-01 2003-10-29 密刻爱你有限公司 Device and method for making and identifying file capable of verifying forging or changing thereof
CN1517231A (en) * 2003-01-22 2004-08-04 佳能株式会社 Image processing device and its method, cmputer program and storage medium
CN1709709A (en) * 2005-06-13 2005-12-21 北京北大方正电子有限公司 Printing method of security file inlaid with anti-copying back-lines
CN101894238A (en) * 2010-08-09 2010-11-24 中国人民解放军海军工程大学 Double authentication-based word document electronic seal system and method
CN102693524A (en) * 2012-05-15 2012-09-26 广州市中崎商业机器有限公司 Method and system for managing scanned images of securities
CN104346321A (en) * 2013-07-31 2015-02-11 北大方正集团有限公司 Text digital watermark information embedding and extracting method and device
CN105556942A (en) * 2013-09-27 2016-05-04 惠普发展公司,有限责任合伙企业 Digital watermarks
CN104517046A (en) * 2014-12-24 2015-04-15 江苏敏捷科技股份有限公司 Screen display data protection method
CN105741226A (en) * 2016-02-01 2016-07-06 江苏实达迪美数据处理有限公司 Electronic stamp based visible digital image watermark embedding and detection methods

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111836053A (en) * 2019-04-18 2020-10-27 上海动悦网络科技有限公司 Video encryption anti-theft system and method based on user information
CN110245469A (en) * 2019-06-24 2019-09-17 苏州睿威博科技有限公司 Watermark generation method, watermark analytic method, device and the storage medium of webpage
CN110245469B (en) * 2019-06-24 2021-06-18 睿视(苏州)视频科技有限公司 Webpage watermark generation method, watermark analysis method, device and storage medium
CN111402109A (en) * 2020-03-07 2020-07-10 北京北信源软件股份有限公司 Method and device for setting digital watermark of instant messaging user interface
CN112598564A (en) * 2020-12-26 2021-04-02 中国农业银行股份有限公司 Information recording and information tracing method and device
CN112597455A (en) * 2020-12-29 2021-04-02 中国农业银行股份有限公司 Document anti-counterfeiting method and device
CN112597455B (en) * 2020-12-29 2024-09-17 中国农业银行股份有限公司 Document anti-counterfeiting method and device
CN113051615A (en) * 2021-04-07 2021-06-29 深圳哇哇鱼网络科技有限公司 Method, system and medium for preventing information leakage by background screen capture
CN113051615B (en) * 2021-04-07 2024-07-23 深圳哇哇鱼网络科技有限公司 Method, system and medium for preventing screen capturing leakage information in background
CN116957893A (en) * 2023-06-26 2023-10-27 海易科技(北京)有限公司 Watermark generation method, watermark generation device, electronic device and computer readable medium
CN116957893B (en) * 2023-06-26 2024-04-16 海易科技(北京)有限公司 Watermark generation method, watermark generation device, electronic device and computer readable medium

Similar Documents

Publication Publication Date Title
CN109190340A (en) A kind of webpage digital watermarking generates, identification, Method of printing and device
CN106529637B (en) A kind of the anti-copy implementation method and realization system of two dimensional code
Shih Digital watermarking and steganography: fundamentals and techniques
JP5192039B2 (en) Electronic document processing system, method and program
JP3373811B2 (en) Method and apparatus for embedding and detecting watermark information in black and white binary document image
JP4603079B2 (en) Method and device for embedding a digital watermark in a text document and for detecting the digital watermark
US8023159B2 (en) Marking images of text with speckle patterns for theft deterrence
CN109190339A (en) A kind of webpage digital watermarking image generates, identification, Method of printing and device
US20040001606A1 (en) Watermark fonts
US9152810B2 (en) Information output system, method, and program for tampering detection
JP4343968B2 (en) Image forming apparatus and method
CN111738898B (en) Text digital watermark embedding/extracting method and device
JP2000299778A (en) Method and device for adding watermark, method and device for reading and recording medium
WO2009110055A1 (en) Image processing system, method, and program
US20100142756A1 (en) Document security method
Guo et al. High capacity data hiding for binary image authentication
KR20070036001A (en) Image processing apparatus, control method therefor, and computer-readable storage medium
JP6920719B2 (en) Digital watermarking device and method
Yadav Study of Information Hiding Techniques and their Counterattacks
JP4525485B2 (en) Image forming method, information embedding method, information embedding device, information decoding method, information decoding device, information embedding program, and information decoding program
CN110648271A (en) Method for embedding digital watermark in halftone image by using special dots
JP4260076B2 (en) Document creation device, document verification device, document creation method, document verification method, document creation program, document verification program, recording medium storing document creation program, and recording medium storing document verification program
CN118396825A (en) Digital watermark adding method, digital watermark detecting method and related equipment
Safonov et al. Embedding digital hidden data into hardcopy
CN114021084A (en) Cross-media attack-based digital watermark technology implementation method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190111

RJ01 Rejection of invention patent application after publication