CN105488432A - Document anti-fake method and device - Google Patents

Document anti-fake method and device Download PDF

Info

Publication number
CN105488432A
CN105488432A CN201510863640.XA CN201510863640A CN105488432A CN 105488432 A CN105488432 A CN 105488432A CN 201510863640 A CN201510863640 A CN 201510863640A CN 105488432 A CN105488432 A CN 105488432A
Authority
CN
China
Prior art keywords
document
counterfeiting information
destination document
watermark picture
body matter
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
CN201510863640.XA
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.)
CVIC Software Engineering Co Ltd
Original Assignee
CVIC Software Engineering 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 CVIC Software Engineering Co Ltd filed Critical CVIC Software Engineering Co Ltd
Priority to CN201510863640.XA priority Critical patent/CN105488432A/en
Publication of CN105488432A publication Critical patent/CN105488432A/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/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Abstract

The invention discloses a document anti-fake method and device. The method comprises: obtaining a target document and preset anti-fake information, adding the preset anti-fake information to the target document so that the main body contents of the target document are covered by the anti-fake information, wherein the main body contents are readable after being covered. Visibly, according to the invention, the document contents are covered by the anti-fake information; the document is equipped with function of supporting anti-fake authentication; therefore, after the document is printed, the anti-fake authentication is carried out on the printed document through the anti-fake information contained in the printed document; and the risks of tampering and faking the printed document by other people through methods such as printing and scanning are eliminated.

Description

A kind of document method for anti-counterfeit and device
Technical field
The invention belongs to information anti-fake, authentication techniques field, particularly relate to a kind of document method for anti-counterfeit and device.
Background technology
As a kind of information carrier, printed document plays vital role in various application scenario, such as, need to use polytype printed documents such as office documents, treaty documents, Transaction Information document to carry corresponding information respectively in the multiple occasion such as office, meeting, transaction.
At present, printed document, as the word document, excel document etc. that print, only comprises document body content, not the false proof discriminating of supporting documentation, is very easily undertaken distorting, forging by means such as duplicating, scannings by other people.Prior art generally solves the distorting of document, forgery problem based on manual type, as especially by manual oversight or manually affix one's seal, the mode such as handmarking/signature to be to prevent document to be tampered or to forge.There is the problems such as the large and omission factor of manpower consumption is high in this kind of mode, as weak in supervision or miss and affix one's seal, miss mark etc., so cause document to be tampered, the risk of forging is larger.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of document method for anti-counterfeit and device, being intended to by adding anti-counterfeiting information in document, make document possess the function supporting false proof authentication, and then the risk that elimination printed document is tampered, forges.
For this reason, the present invention's openly following technical scheme:
A kind of document method for anti-counterfeit, comprising:
Obtain destination document;
Obtain the anti-counterfeiting information preset;
Process is added to the anti-counterfeiting information that described destination document is preset, the body matter of described destination document is covered by described anti-counterfeiting information, wherein, after described body matter is capped, there is readability.
Said method, preferably, described acquisition destination document comprises:
Obtain the destination document of HTML (Hypertext Markup Language) html format.
Said method, preferably, the anti-counterfeiting information that described acquisition presets comprises:
Obtain user preset for the original watermark picture as described anti-counterfeiting information.
Said method, preferably, the described anti-counterfeiting information preset described destination document adds process and comprises:
According to the default page info of described destination document, space of a whole page setup of attribute is carried out to described original watermark picture, obtain middle watermark picture; Described middle watermark picture can cover the body matter of described destination document with predetermined manner;
The transparency of described middle watermark picture is set, obtains target water impression sheet;
Adopt described predetermined manner, described target water impression sheet is covered on the body matter of described destination document; Wherein, described body matter has readability after being capped.
Said method, preferably, also comprises:
Print Control is carried out to the destination document after adding described anti-counterfeiting information, realizes document print.
A kind of document false proof device, comprising:
Document acquisition module, for obtaining destination document;
Anti-counterfeiting information acquisition module, for obtaining the anti-counterfeiting information preset;
False proof processing module, adds process for the anti-counterfeiting information preset described destination document, the body matter of described destination document is covered by described anti-counterfeiting information, wherein, has readability after described body matter is capped.
Said apparatus, preferably, described document acquisition module comprises:
Document acquiring unit, for obtaining the destination document of HTML (Hypertext Markup Language) html format.
Said apparatus, preferably, described anti-counterfeiting information acquisition module comprises:
Watermark picture acquiring unit, for obtain that user presets for the original watermark picture as described anti-counterfeiting information.
Said apparatus, preferably, described false proof processing module comprises:
Space of a whole page setting unit, for the default page info according to described destination document, carries out space of a whole page setup of attribute to described original watermark picture, obtains middle watermark picture; Described middle watermark picture can cover the body matter of described destination document with predetermined manner;
Transparency setting unit, for arranging the transparency of described middle watermark picture, obtains target water impression sheet;
Watermark capping unit, for adopting described predetermined manner, covers on the body matter of described destination document by described target water impression sheet; Wherein, described body matter has readability after being capped.
Said apparatus, preferably, also comprises:
Printing control model, for carrying out Print Control to the destination document after the described anti-counterfeiting information of interpolation, realizes document print.
From above scheme, document method for anti-counterfeit disclosed in the present application and device, comprise the anti-counterfeiting information obtaining destination document and preset, and process is added to the anti-counterfeiting information that described destination document is preset, the body matter of described destination document is covered by described anti-counterfeiting information, wherein, described body matter has readability after being capped.Visible, the application by covering anti-counterfeiting information on document content, the function of document the is possessed false proof authentication of support, thus after document is printed, the anti-counterfeiting information comprised by it carries out false proof authentication to printed document, eliminates the risk that other people are distorted printed document by means such as duplicating, scannings, forged.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
Fig. 1 is the document method for anti-counterfeit process flow diagram that the embodiment of the present invention one provides;
Fig. 2 is the document method for anti-counterfeit process flow diagram that the embodiment of the present invention two provides;
Fig. 3-Fig. 4 is the structural representation of the document false proof device that the embodiment of the present invention three provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
The embodiment of the present invention one discloses a kind of document method for anti-counterfeit, and with reference to figure 1, described document method for anti-counterfeit can comprise the following steps:
S101: obtain destination document.
The described destination document that this step obtains is specially the document to be printed of HTML (HyperTextMark-upLanguage, HTML (Hypertext Markup Language)) form.
User, by original document to be printed, as word document, excel document etc., carries out the document to be printed that respective handling obtains html format, and the document to be printed of described html format comprises in described original document the body matter needing to print.For word document, user, by word document to be printed being saved as the document of file suffixes " .html " by name, obtains corresponding html document.
S102: obtain the anti-counterfeiting information preset.
In the present embodiment, described anti-counterfeiting information is specially watermark picture.
User can need be added into the watermark picture in destination document according to its actual demand sets itself.
S103: add process to the anti-counterfeiting information that described destination document is preset, the body matter of described destination document is covered by described anti-counterfeiting information, wherein, has readability after described body matter is capped.
Before add watermark picture in destination document, need first according to the respective page information of destination document, space of a whole page setup of attribute is carried out to the user-selected watermark picture got, as specifically can according to the page size of destination document, the information such as the relative position of body matter in document file page (margin), the height of watermark picture is set, width, watermark interval (intervals during covering document between adjacent two width watermark pictures), the property values such as frame distance, to guarantee that watermark picture can cover with the body matter of predetermined manner to destination document, such as specifically can according to the actual layout situation of destination document, adopt one to one or the corresponded manner such as many-one or one-to-many, watermark picture is covered on the body matter of destination document.
Wherein, described refer to one to one to document add watermark picture time, each page of document adopts a width watermark picture to carry out content covering, described many-one refers to that multiple pages of document adopt a width watermark picture to carry out content covering (each page only takies a part for watermark picture), and described one-to-many refers to that each page of document adopts several watermark pictures (described in several target water impression sheet) to carry out content covering.
After space of a whole page setup of attribute is carried out to watermark picture, the transparency that watermark picture is set need be continued, to guarantee that document content still has readability after capped, can not have an impact to user's reading documents content.In practical application, can according to the type of watermark demand of user, such as, specifically need to add visible watermark, or invisible watermark, and the readability combining capped content requires to arrange watermark transparency.
Watermark picture is being carried out after the space of a whole page and transparency arrange, final required target water impression sheet can be obtained, afterwards, can according to corresponding corresponded manner, as one to one, many-one or one-to-many etc., watermark picture is covered on the body matter of each page in destination document (i.e. the document of described html format).Thus the document to be printed carrying watermark information can be obtained, the watermark information that the document can carry based on it supports false proof authentication.
From above scheme, document method for anti-counterfeit disclosed in the present application, comprise the anti-counterfeiting information obtaining destination document and preset, and process is added to the anti-counterfeiting information that described destination document is preset, the body matter of described destination document is covered by described anti-counterfeiting information, wherein, described body matter has readability after being capped.Visible, the application by covering anti-counterfeiting information on document content, the function of document the is possessed false proof authentication of support, thus after document is printed, the anti-counterfeiting information comprised by it carries out false proof authentication to printed document, eliminates the risk that other people are distorted printed document by means such as duplicating, scannings, forged.
Embodiment two
The present embodiment two continues to supplement the scheme of embodiment one, and with reference to figure 2, described method can also comprise the following steps:
S104: Print Control is carried out to the destination document after adding described anti-counterfeiting information, realizes document print.
When adding watermark picture in destination document, after obtaining carrying the document to be printed of watermark information, Print Control can be carried out to described document, realize document print, the document finally printed is because carrying watermark information, thus false proof authentication can be supported, can effectively avoid other people to distort printed document by means such as duplicating, scannings, forge.
Next, the present embodiment is provided in document to be printed the instantiation adding watermark information, and this example specifically realizes adding watermark information in document to be printed based on web application, and implementation procedure is as follows:
1) user prepares word document to be printed, and the watermark picture that need adopt; And described word document is saved as the document of html format;
2) source code of described html document is obtained, and realizing the function code adding watermark in a document, described function code comprises the calling function code of watermark picture, setup of attribute function (as rational height, width, the transparency etc.) code of watermark picture and the function code covering watermark to document content etc.;
3) correlation parameter related in the function code to described interpolation watermark is arranged, and what such as arrange watermark picture calls path, arrange the width of watermark picture, highly, transparency etc.;
4) the printing function page in web application is opened, and in the printer page that the source code of described html document and the interpolation watermark function Code copying after carrying out optimum configurations are applied to described web;
5) start the printing function of web application, realize the code information comprised according to described printer page, printed document.
Embodiment three
The present embodiment three discloses a kind of document false proof device, and described device is corresponding with document method for anti-counterfeit disclosed in above each embodiment.
Corresponding to embodiment one, with reference to figure 3, described device can comprise document acquisition module 100, anti-counterfeiting information acquisition module 200 and false proof processing module 300.
Document acquisition module 100, for obtaining destination document.
Described document acquisition module 100 comprises document acquiring unit, for obtaining the destination document of html format.
Anti-counterfeiting information acquisition module 200, for obtaining the anti-counterfeiting information preset.
Described anti-counterfeiting information acquisition module 200 comprises watermark picture acquiring unit, for obtain that user presets for the original watermark picture as described anti-counterfeiting information.
False proof processing module 300, adds process for the anti-counterfeiting information preset described destination document, the body matter of described destination document is covered by described anti-counterfeiting information, wherein, has readability after described body matter is capped.
Described false proof processing module comprises space of a whole page setup of attribute unit, transparency setting unit and watermark capping unit.
Space of a whole page setting unit, for the default page info according to described destination document, carries out space of a whole page setup of attribute to described original watermark picture, obtains middle watermark picture; Described middle watermark picture can cover the body matter of described destination document with predetermined manner;
Transparency setting unit, for arranging the transparency of described middle watermark picture, obtains target water impression sheet;
Watermark capping unit, for adopting described predetermined manner, covers on the body matter of described destination document by described target water impression sheet; After described body matter is capped, there is readability.
Corresponding to embodiment two, with reference to figure 4, described document false proof device can also comprise printing control model 400, for carrying out Print Control to the destination document after the described anti-counterfeiting information of interpolation, realizes document print.
For document false proof device disclosed in the embodiment of the present invention three, because it is corresponding with document method for anti-counterfeit disclosed in embodiment one to embodiment two, so description is fairly simple, relevant similarity refers to the explanation of document method for anti-counterfeit part in embodiment one to embodiment two, no longer describes in detail herein.
It should be noted that, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
For convenience of description, various module or unit is divided into describe respectively with function when describing above system or device.Certainly, the function of each unit can be realized in same or multiple software and/or hardware when implementing the application.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add required general hardware platform by software and realizes.Based on such understanding, the technical scheme of the application can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the application or embodiment.
Finally, also it should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a document method for anti-counterfeit, is characterized in that, comprising:
Obtain destination document;
Obtain the anti-counterfeiting information preset;
Process is added to the anti-counterfeiting information that described destination document is preset, the body matter of described destination document is covered by described anti-counterfeiting information, wherein, after described body matter is capped, there is readability.
2. method according to claim 1, is characterized in that, described acquisition destination document comprises:
Obtain the destination document of HTML (Hypertext Markup Language) html format.
3. method according to claim 2, is characterized in that, the anti-counterfeiting information that described acquisition presets comprises:
Obtain user preset for the original watermark picture as described anti-counterfeiting information.
4. method according to claim 3, is characterized in that, the described anti-counterfeiting information preset described destination document adds process and comprises:
According to the default page info of described destination document, space of a whole page setup of attribute is carried out to described original watermark picture, obtain middle watermark picture; Described middle watermark picture can cover the body matter of described destination document with predetermined manner;
The transparency of described middle watermark picture is set, obtains target water impression sheet;
Adopt described predetermined manner, described target water impression sheet is covered on the body matter of described destination document; Wherein, described body matter has readability after being capped.
5., according to the method for claim 1-4 described in any one, it is characterized in that, also comprise:
Print Control is carried out to the destination document after adding described anti-counterfeiting information, realizes document print.
6. a document false proof device, is characterized in that, comprising:
Document acquisition module, for obtaining destination document;
Anti-counterfeiting information acquisition module, for obtaining the anti-counterfeiting information preset;
False proof processing module, adds process for the anti-counterfeiting information preset described destination document, the body matter of described destination document is covered by described anti-counterfeiting information, wherein, has readability after described body matter is capped.
7. device according to claim 6, is characterized in that, described document acquisition module comprises:
Document acquiring unit, for obtaining the destination document of HTML (Hypertext Markup Language) html format.
8. device according to claim 7, is characterized in that, described anti-counterfeiting information acquisition module comprises:
Watermark picture acquiring unit, for obtain that user presets for the original watermark picture as described anti-counterfeiting information.
9. device according to claim 8, is characterized in that, described false proof processing module comprises:
Space of a whole page setting unit, for the default page info according to described destination document, carries out space of a whole page setup of attribute to described original watermark picture, obtains middle watermark picture; Described middle watermark picture can cover the body matter of described destination document with predetermined manner;
Transparency setting unit, for arranging the transparency of described middle watermark picture, obtains target water impression sheet;
Watermark capping unit, for adopting described predetermined manner, covers on the body matter of described destination document by described target water impression sheet; Wherein, described body matter has readability after being capped.
10. the device according to claim 6-9 any one, is characterized in that, also comprises:
Printing control model, for carrying out Print Control to the destination document after the described anti-counterfeiting information of interpolation, realizes document print.
CN201510863640.XA 2015-11-30 2015-11-30 Document anti-fake method and device Pending CN105488432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510863640.XA CN105488432A (en) 2015-11-30 2015-11-30 Document anti-fake method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510863640.XA CN105488432A (en) 2015-11-30 2015-11-30 Document anti-fake method and device

Publications (1)

Publication Number Publication Date
CN105488432A true CN105488432A (en) 2016-04-13

Family

ID=55675404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510863640.XA Pending CN105488432A (en) 2015-11-30 2015-11-30 Document anti-fake method and device

Country Status (1)

Country Link
CN (1) CN105488432A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133777A (en) * 2017-04-25 2017-09-05 飞天诚信科技股份有限公司 A kind of establishment of electronic contract, signature method and system
CN107545157A (en) * 2017-08-02 2018-01-05 山东中创软件工程股份有限公司 The watermark adding method and device of a kind of document
CN108280371A (en) * 2018-01-28 2018-07-13 丁超 Generate method, computer readable storage medium and the computing device of electronic document
CN109558705A (en) * 2018-12-10 2019-04-02 万兴科技股份有限公司 Watermark Tiling methods, device, computer equipment and storage medium based on PDF

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035185A (en) * 2006-12-08 2007-09-12 杭州信雅达系统工程股份有限公司 Counterfeit prevention authentication method for electronic document
CN101639826A (en) * 2009-09-01 2010-02-03 西北大学 Text hidden method based on Chinese sentence pattern template transformation
CN101639828A (en) * 2009-09-11 2010-02-03 北京交通大学 Method for hiding and extracting watermark based on XML electronic document
CN102169534A (en) * 2011-02-21 2011-08-31 北京书生国际信息技术有限公司 Method and device for displaying watermark
US20130031150A1 (en) * 2010-05-08 2013-01-31 Kamath Harish B Executing Transcription Requests on Files

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035185A (en) * 2006-12-08 2007-09-12 杭州信雅达系统工程股份有限公司 Counterfeit prevention authentication method for electronic document
CN101639826A (en) * 2009-09-01 2010-02-03 西北大学 Text hidden method based on Chinese sentence pattern template transformation
CN101639828A (en) * 2009-09-11 2010-02-03 北京交通大学 Method for hiding and extracting watermark based on XML electronic document
US20130031150A1 (en) * 2010-05-08 2013-01-31 Kamath Harish B Executing Transcription Requests on Files
CN102169534A (en) * 2011-02-21 2011-08-31 北京书生国际信息技术有限公司 Method and device for displaying watermark

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133777A (en) * 2017-04-25 2017-09-05 飞天诚信科技股份有限公司 A kind of establishment of electronic contract, signature method and system
CN107545157A (en) * 2017-08-02 2018-01-05 山东中创软件工程股份有限公司 The watermark adding method and device of a kind of document
CN108280371A (en) * 2018-01-28 2018-07-13 丁超 Generate method, computer readable storage medium and the computing device of electronic document
CN109558705A (en) * 2018-12-10 2019-04-02 万兴科技股份有限公司 Watermark Tiling methods, device, computer equipment and storage medium based on PDF

Similar Documents

Publication Publication Date Title
CN104778489A (en) Combined anti-counterfeit label, and generation method and generation device of combined anti-counterfeit label
CN104820854B (en) A kind of combined anti-fake mark and its generation method and generating means
CN105488432A (en) Document anti-fake method and device
US10235618B2 (en) Authentication feature in a barcode
CN101163007A (en) Credit sign accidental streakline generating method
CN104766111B (en) Combined anti-fake mark and generation method based on the same ID and device
CN108052491A (en) A kind of automatic processing method and device of certificate document
DE102015212255A1 (en) EXPANDING BARCODES WITH SECONDARY CODING FOR FALTER SECURITY
CN106708448A (en) Two-dimensional code-based cloud printing system
CN100474886C (en) File printing method and device
EP2984814B1 (en) Generation and recognition of image information data that can be printed in a forgery-proof manner
GB2522123A (en) Receipt images apparatus and method
CN106650545B (en) A kind of anti-fake two dimensional code retrospect label and generation method
CN103390187A (en) Packaging box on basis of two-dimensional codes and having verification function and achieving method thereof
CN102800043B (en) The anti-counterfeiting information stacking method of printed matter, recognition methods and verifying attachment
CN106934440A (en) The method and system of embedding information in a kind of coding information
CN207123861U (en) Bank money with hidden anti-fake code
CN102541480A (en) Filtering method and device for printing
CN204406897U (en) Novel combination type anti-counterfeiting mark
CN203192023U (en) Non-paper business handling system
CN106708449A (en) Anti copy method based on negative color image watermark in monochrome printing
CN105894072A (en) Two-dimensional code mixed generation system
KR101573857B1 (en) A Printed Document Having Function Of Preventing From Forging/Manipulating, The Method Thereof and The Inspecting Method Of The Printed Document
CN202563817U (en) Dynamic color code anti-fake label
CN101520772B (en) Realizing method of electronic seal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160413

RJ01 Rejection of invention patent application after publication