CN102930186A - OOX (Object-oriented Xml) file digital watermark method based on attribute style conversion - Google Patents

OOX (Object-oriented Xml) file digital watermark method based on attribute style conversion Download PDF

Info

Publication number
CN102930186A
CN102930186A CN2012104248416A CN201210424841A CN102930186A CN 102930186 A CN102930186 A CN 102930186A CN 2012104248416 A CN2012104248416 A CN 2012104248416A CN 201210424841 A CN201210424841 A CN 201210424841A CN 102930186 A CN102930186 A CN 102930186A
Authority
CN
China
Prior art keywords
watermark
document
oox
quotation marks
attribute
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
CN2012104248416A
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.)
Nanjing University of Information Science and Technology
Original Assignee
Nanjing University of Information Science and Technology
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 Nanjing University of Information Science and Technology filed Critical Nanjing University of Information Science and Technology
Priority to CN2012104248416A priority Critical patent/CN102930186A/en
Publication of CN102930186A publication Critical patent/CN102930186A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides an OOX (Object-oriented Xml) format text file digital watermark method based on attribute style conversion. Watermark information is embedded by modifying double quotation marks ' ' in an attribute definition of a main file part of OOX file into single quotation marks ' ', so that the watermark information is combined with format information of the file; and the robustness and the embedding capacity of watermark are improved so that an efficient OOX file copyright protection method is realized. Therefore, the digital watermark method based on attribute style conversion, provided by the invention, provides a new key technology for OOX file content authentication and copyright protection, the problem of bad robustness existing in a digital watermark technology all the time is improved, and theoretical principle and the method support are provided for further popularization and application of the digital watermark technology.

Description

A kind of OOX document digital watermark method based on the conversion of attribute pattern
Technical field
The invention belongs to computer version copyright protection technology field, espespecially a kind of OOX document digital watermark method based on the conversion of attribute pattern.
Background technology
Office Open XML(OOX) form is the format standard that the office2007-2010 product of Microsoft company issue adopts, and it is one of most popular text formatting on the internet.Since the issue of OOX document, its usable range and frequency of utilization increase rapidly, and the important classified papers data of a lot of enterprises and institutions is all preserved with this new text document form, and propagates on the internet.The lawless person is without the agreement massive duplication even distort other people text information, and declares to have copyright.This has brought great loss for relevant unit and individual.In the face of increasingly serious trust crisis; in the urgent need to effective text copyright protection technology; auxiliary people identify the real owner of text copyright, combat copyright piracy and unwarranted distorting, and guarantee the public information order, fight crime, safeguard judicial justice and news creditability.Text digital water mark technology is the text safety innovation that developed recently gets up, and has broad application prospects at aspects such as copyright protection, the trackings of divulging a secret.
Text is a kind of important means of information interchange, and the redundant information that can carry watermark owing to it is very limited, and easily under attack, thus relatively less to the research of Text Watermarking, and all do not have research how to protect the copyright of OOX format file.We have proposed a kind of OOX document digital watermark method based on the conversion of attribute pattern, come embed watermark information by the attribute pattern that changes relevant parts in the OOX text document bag, can effectively protect the copyright of OOX format file.
Summary of the invention
The present invention proposes a kind of digital watermark method based on the conversion of attribute pattern; by being revised as single quotation marks " ' ' ", the double quotation marks " " " " in the OOX document main document parts attribute definition comes embed watermark information; so that watermark information combines with the format information of document; improve robustness and the embedding capacity of watermark, thereby realized a kind of effective OOX document copy-right protection method.
The present invention is for solving above technical matters by the following technical solutions:
A kind of OOX document digital watermark method based on the conversion of attribute pattern, described method comprises watermark embedding method and watermark extracting method, comprises the following steps: respectively
The watermark embedding method concrete steps are:
(1) at first reads main document parts document.xml file in the OOX format file bag, and extract attribute and property value under each node in the described document.xml file;
(2) for each property value, read a watermark information: if 0, then keep the double quotation marks in the former attribute constant;
If 1, the double quotation marks of then revising in the former attribute is single quotation marks;
(3) repeating step (2) until all watermark informations embed and to finish;
(4) add the main document parts document.xml of embed watermark in former OOX document package;
The watermark extracting method step is:
(5) at first read main document parts document.xml file in the OOX format file bag, and extract attribute and property value under each node in the described document.xml file;
(6) for each attribute, extract a pair of double quotation marks " " " " or single quotation marks " " " information: if double quotation marks then increases Plus "0" in watermark information in the property value; If single quotation marks then increases " 1 " in watermark information;
(7) repeating step (6) is until all digital watermark informations extractions are finished in the described document.xml file.
Beneficial effect of the present invention: the present invention proposes a kind of OOX document digital watermark method based on the conversion of attribute pattern; by being revised as single quotation marks " ' ' ", the double quotation marks " " " " in the OOX document main document parts attribute definition comes embed watermark information; so that watermark information combines with the format information of document; improve robustness and the embedding capacity of watermark, thereby realized a kind of effective OOX document copy-right protection method.The present invention has been for OOX content of text authentication and copyright protection provide new gordian technique, improved the problem of the poor robustness that digital watermark technology exists always, for further applying of digital watermark technology provides theoretical foundation and method support.
Description of drawings
Fig. 1 watermark embeds process flow diagram.
Fig. 2 watermark extracting process flow diagram.
Embodiment
For making purpose of the present invention, technical scheme more clear, below in conjunction with Fig. 1 and Fig. 2 the OOX document digital watermarking algorithm based on the conversion of attribute pattern that the embodiment of the invention proposes is elaborated.
Digital watermark method based on the conversion of attribute pattern is to come embed watermark information by the double quotation marks " " " " in the attribute definition in the OOX document main document parts document.xml file is revised as single quotation marks " ' ' ".Table 1 for example understands the corresponding relation of attribute pattern and watermark, the corresponding watermark information 0 of the double quotation marks in this attribute, the corresponding watermark information 1 of single quotation marks.
The attribute pattern Watermark information
<w:t?xml:space="preserve"> 0
<w:t?xml:space=‘preserve’> 1
The corresponding relation of table 1 attribute pattern and watermark.
Digital Watermarking Embedded Algorithm based on the conversion of attribute pattern is as follows:
Input: initial carrier document D, original watermark information M, private key k; Output: the hidden document S that writes;
Step 1: utilize private key k and rivest, shamir, adelman RSA, original watermark information is encrypted, the watermark information I':I'=E (k, I) after obtaining encrypting, and convert it to binary coding H=H 1H 2... H i...;
Step 2: calculate the binary coding length l en (H) of H, and len (H) is converted to binary data is attached to the H front and obtains A ';
Step 3: utilize the XML document analytic technique, from the ZIP bag of initial carrier document D, read all the elements of main document parts " document.xml " to C:C=C 1C 2... C i...;
Step 4: from C:C=C 1C 2... C i... all properties information of a pair of paragraph element of middle extraction (paragraph element) is to R=R 1R 2... R i...;
Step 5: successively from R=R 1R 2... R i... in extract a pair of double quotation marks " " " " information;
Step 6: from A ', read a watermark information: if " 0 " then keeps original double quotation marks " " " " constant; If " 1 ", then replacing original double quotation marks " " " " is single quotation marks " ' ' ";
Step 7: from C:C=C 11C 2... C i... all properties information of a pair of run element of middle extraction (run element) is to R=R 1R 2... R i...;
Step 8: successively from R=R 1R 2... R i... in extract a pair of double quotation marks " " " " information;
Step 9: from A ', read a watermark information: if " 0 " then keeps original double quotation marks " " " " constant; If " 1 ", then replacing original double quotation marks " " " " is single quotation marks " " ";
Step 10: repeating step 4 is to step 9, until the watermark information behind the coding embeds fully.
Digital watermarking extraction algorithm based on the conversion of attribute pattern is as follows:
Input: document S with watermarked information, private key k; Output: watermark information M;
Step 11: utilize the XML document analytic technique, from the ZIP bag of document S with watermarked information, read all the elements of main document parts " document.xml " to C:C=C 1C 2... C i...;
Step 12: from C:C=C 1C 2... C i... all properties information of a pair of paragraph element of middle extraction (paragraph element) is to R=R 1R 2... R i...;
Step 13: successively from R=R 1R 2... R i... in extract a pair of double quotation marks " " " " or single quotation marks " " " information: if double quotation marks then increases Plus "0" in watermark information M; If single quotation marks then increases " 1 " in watermark information M;
Step 14: from C:C=C 1C 2... C i... all properties information of a pair of run element of middle extraction (run element) is to R=R 1R 2... R i...;
Step 15: successively from R=R 1R 2... R i... in extract a pair of double quotation marks " " " " or single quotation marks " " " information: if double quotation marks then increases Plus "0" in watermark information M; If single quotation marks then increases " 1 " in watermark information M;
Step 16: repeating step 12 to step 15 until in the described document.xml file all digital watermark informations be extracted;
Step 17: utilize private key k and rivest, shamir, adelman RSA, M is decrypted to watermark information, the information I after obtaining deciphering.
The above only is the better embodiment of the present invention.But protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses, and the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.

Claims (1)

1. the OOX document digital watermark method based on the conversion of attribute pattern is characterized in that, described method comprises watermark embedding method and watermark extracting method, comprises the following steps: respectively
The watermark embedding method concrete steps are:
(1) at first reads main document parts document.xml file in the OOX format file bag, and extract attribute and property value under each node in the described document.xml file;
(2) for each property value in the described document.xml file, read a watermark information: if 0, then keep the double quotation marks in the former attribute constant; If 1, the double quotation marks of then revising in the former attribute is single quotation marks;
(3) repeating step (2) until all watermark informations be embedded into fully in the described document.xml file;
(4) add the main document parts document.xml of embed watermark in former OOX document package;
The watermark extracting method step is:
(5) at first read main document parts document.xml file in the OOX format file bag, and extract attribute and property value under each node in the described document.xml file;
(6) for each attribute in the described document.xml file, extract a pair of double quotation marks " " " " or single quotation marks " ' ' " information: if double quotation marks then increases Plus "0" in watermark information in the property value; If single quotation marks then increases " 1 " in watermark information;
(7) repeating step (6) is until all digital watermark informations extractions are finished in the described document.xml file.
CN2012104248416A 2012-10-30 2012-10-30 OOX (Object-oriented Xml) file digital watermark method based on attribute style conversion Pending CN102930186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104248416A CN102930186A (en) 2012-10-30 2012-10-30 OOX (Object-oriented Xml) file digital watermark method based on attribute style conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104248416A CN102930186A (en) 2012-10-30 2012-10-30 OOX (Object-oriented Xml) file digital watermark method based on attribute style conversion

Publications (1)

Publication Number Publication Date
CN102930186A true CN102930186A (en) 2013-02-13

Family

ID=47644983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104248416A Pending CN102930186A (en) 2012-10-30 2012-10-30 OOX (Object-oriented Xml) file digital watermark method based on attribute style conversion

Country Status (1)

Country Link
CN (1) CN102930186A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294959A (en) * 2013-05-29 2013-09-11 南京信息工程大学 Text information hiding method resistant to statistic analysis
CN105046159A (en) * 2015-06-18 2015-11-11 中国科学院信息工程研究所 Modification identifier based OOX text document privacy information detection method
CN109670281A (en) * 2017-10-16 2019-04-23 北京大学 The treating method and apparatus of electronic document
CN109993681A (en) * 2019-04-10 2019-07-09 兰州大学 A kind of digital watermark method of the OOX format file based on color attribute value transformation

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030105950A1 (en) * 2001-11-27 2003-06-05 Fujitsu Limited Document distribution method and document management method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030105950A1 (en) * 2001-11-27 2003-06-05 Fujitsu Limited Document distribution method and document management method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周莉等: "一种基于XML文档的数字水印方案", 《湖南大学学报(自然科学版)》, vol. 34, no. 5, 31 May 2007 (2007-05-31), pages 2 - 3 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294959A (en) * 2013-05-29 2013-09-11 南京信息工程大学 Text information hiding method resistant to statistic analysis
CN103294959B (en) * 2013-05-29 2015-11-25 南京信息工程大学 A kind of text information hiding method of anti-statistical study
CN105046159A (en) * 2015-06-18 2015-11-11 中国科学院信息工程研究所 Modification identifier based OOX text document privacy information detection method
CN105046159B (en) * 2015-06-18 2018-04-03 中国科学院信息工程研究所 OOX text document privacy information detection methods based on modified logo symbol
CN109670281A (en) * 2017-10-16 2019-04-23 北京大学 The treating method and apparatus of electronic document
CN109993681A (en) * 2019-04-10 2019-07-09 兰州大学 A kind of digital watermark method of the OOX format file based on color attribute value transformation

Similar Documents

Publication Publication Date Title
Zhang Digital watermarking technology: A review
CN102930186A (en) OOX (Object-oriented Xml) file digital watermark method based on attribute style conversion
CN102968596A (en) Delete marker-based office open xml (OOX) document digital watermarking method
CN104850765A (en) Watermark processing method, device and system
CN105512523A (en) Anonymous digital watermarking embedding and extracting method
CN102467585A (en) Electronic signature, verification and revocation method of DWG document
CN101527030A (en) Safe watermark method based on side information
CN103559251B (en) Data security protection method based on Information hiding
Sahoo et al. A novel approach for hiding secret data in program files
CN103530574B (en) A kind of hide Info embedding and extracting method based on English PDF document
CN102073978A (en) Method and system for identifying and recovering digital images by utilizing irregular region segmentation
CN101430786B (en) Vector map lossless data hiding method based on vision perception characteristic
CN101847250B (en) Vector map data blind watermarking method based on DCT transformation
CN104376236A (en) Scheme self-adaptive digital watermark embedding and extracting method based on camouflage technology
CN102930187A (en) OOX (Object-Oriented Xml) document digital watermarking method based on attribute sequence transformation
Sasaki et al. Constructing Digital Watermark Based on Orthogonal Functions
Liu et al. Pseudo-zernike moments-based audio content authentication algorithm robust against feature-analysed substitution attack
CN102509058B (en) Point type GIS vector data disguise and recovery method based on redundant bit replacement
CN104103031A (en) Normalization-based vector spatial data blind watermark method
CN103294937A (en) Software protection system and software protection method
CN104866737A (en) DEM fragile watermark integrity authentication method considering topographic features
Tsai et al. A database watermarking technique for temper detection
Sarbavidya et al. Applications of public key watermarking for authentication of job-card in MGNREGA
Cheng et al. A robust text digital watermarking algorithm based on fragments regrouping strategy
Yang et al. A novel dual watermarking algorithm for digital audio

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130213