CN105117920B - A kind of method for anti-counterfeit of Pictures Electronics voucher and device - Google Patents

A kind of method for anti-counterfeit of Pictures Electronics voucher and device Download PDF

Info

Publication number
CN105117920B
CN105117920B CN201510525851.2A CN201510525851A CN105117920B CN 105117920 B CN105117920 B CN 105117920B CN 201510525851 A CN201510525851 A CN 201510525851A CN 105117920 B CN105117920 B CN 105117920B
Authority
CN
China
Prior art keywords
electronic certificate
data
voucher
pictures electronics
digital fingerprint
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.)
Active
Application number
CN201510525851.2A
Other languages
Chinese (zh)
Other versions
CN105117920A (en
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.)
FUJIAN BOSS SOFTWARE Co Ltd
Original Assignee
FUJIAN BOSS SOFTWARE 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 FUJIAN BOSS SOFTWARE Co Ltd filed Critical FUJIAN BOSS SOFTWARE Co Ltd
Priority to CN201510525851.2A priority Critical patent/CN105117920B/en
Publication of CN105117920A publication Critical patent/CN105117920A/en
Application granted granted Critical
Publication of CN105117920B publication Critical patent/CN105117920B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Collating Specific Patterns (AREA)

Abstract

The invention discloses a kind of method for anti-counterfeit of Pictures Electronics voucher and device, its method includes:By the electronic certificate factor data comprising electronic certificate identification code and picture image data are carried out with digital finger-print calculating, obtain digital fingerprint data;It is digitally signed process using digital fingerprint data described in producer's private key pair, obtain electronic certificate signed data;Obtain Pictures Electronics voucher by being embedded into described electronic certificate signed data and described electronic certificate factor data in described picture image data, circulate described Pictures Electronics voucher;When Pictures Electronics voucher is verified, by digital finger-print calculating is carried out to described Pictures Electronics essential of voucher data and picture image data, obtain the first digital fingerprint data, described electronic certificate signed data is extracted from described Pictures Electronics voucher, using producer's public key, process is decrypted to described signed data, obtain the second digital fingerprint data, carry out verifying the true and false according to the first digital fingerprint data and the second digital fingerprint data.

Description

A kind of method for anti-counterfeit of Pictures Electronics voucher and device
Technical field
The present invention relates to information security and technical field of image processing, particularly to a kind of false proof side of Pictures Electronics voucher Method and device.
Background technology
Social common application field needs produce and transfer substantial amounts of voucher (such as to cover the financial ticket of all trades and professions According to, tax invoice, financial note etc.), for environmental protection with reduce circulation of bills cost, China advanced with no paper electronic certificate to change Leather, the electronic certificate application such as such as financial electronic bill, tax electronic invoice.Electronic certificate must have verity, producer can not The property denied and anti-tamper characteristic, have the act of law equal with papery voucher.
The electronic certificate of main flow realizes technology at present two ways, and mode one is to add digital signature using structural data Represent electronic certificate, mode two is that document data adds digital signature table and shows electronic certificate.Both is realized technology and is all deposited larger lacking Fall into, mode one has the electronic certificate defect very poor to people's readability, mode two has system and is difficult to read Credential data key element With the defect needing particular reader just can check electronic certificate.And adopt view data and structural data synthesising picture electronics with Card, Pictures Electronics voucher is realized technology as a kind of new electronic certificate, is avoided that disadvantages described above, but picture category electronic certificate exists There is, during making and circulating, the risk forged and be tampered, need to use the precautionary measures, ensure during making and circulation The concordance of Pictures Electronics voucher and verity.The safety measure of picture itself is used primarily in the technical school in transmitting procedure Test, the CRC of such as PNG (Portable Network Graphic Format, image file storage format) data block (Cyclic Redundancy Check, CRC) check code and verification scheme, when verification copy and network transmission Non-malicious data changes it is impossible to ensure the verity of the producer of view data, nor ensures picture during circulation Concordance.
Content of the invention
It is an object of the invention to provide a kind of method for anti-counterfeit of Pictures Electronics voucher and device, solve in prior art Verity and picture conforming problem during circulation of the producer of view data can not be ensured.
According to an aspect of the invention, it is provided a kind of method for anti-counterfeit of Pictures Electronics voucher, comprise the following steps:
Referred to by numeral is carried out to the electronic certificate factor data comprising electronic certificate identification code and picture image data Stricture of vagina calculates, and obtains digital fingerprint data;
It is digitally signed process using digital fingerprint data described in producer's private key pair, obtain electronic certificate number of signature According to;
By described electronic certificate signed data and described electronic certificate factor data are embedded into described picture number According in obtain Pictures Electronics voucher, circulate described Pictures Electronics voucher;
When Pictures Electronics voucher is verified, by described Pictures Electronics essential of voucher data and picture image data Carry out digital finger-print calculating, obtain the first digital fingerprint data, extract described electronic certificate label from described Pictures Electronics voucher Name data, is decrypted process using producer's public key to described signed data, obtains the second digital fingerprint data, relatively more described First digital fingerprint data whether consistent with described second digital fingerprint data verifying the true and false.
Preferably, also include the uniqueness of the electronic certificate identification code in described electronic certificate factor data is tested Card, when the uniqueness of described electronic certificate identification code is proved to be successful, then makes Pictures Electronics voucher;Its to described electronics with The uniqueness of card identification code carries out checking and includes:
According to described electronic certificate identification code, search whether there is described electronic certificate mark in described electronic certificate storehouse Know coding;
When finding described electronic certificate identification code in described electronic certificate storehouse, then described electronic certificate identification code Uniqueness authentication failed;
When not finding described electronic certificate identification code in described electronic certificate storehouse, then described electronic certificate mark is compiled The uniqueness of code is proved to be successful.
Preferably, also include:
By described electronic certificate digital finger-print, signed data and described electronic certificate factor data are merged process Afterwards, set up data mapping relations and described electronic certificate identification code between, obtain data mapping tables;
Obtained data mapping tables and Pictures Electronics voucher are saved in described electronic certificate storehouse;
Wherein, during checking, data mapping tables are taken out from described electronic certificate storehouse according to described electronic certificate identification code, Described electronic certificate digital finger-print is extracted from described data mapping tables.
Preferably, the checking of described Pictures Electronics voucher includes online verification and the Pictures Electronics voucher of Pictures Electronics voucher Off-line verification.
Preferably, the online verification of described Pictures Electronics voucher includes:
When the circulation process of described Pictures Electronics voucher is to be circulated by network, client obtains institute via network transmission State Pictures Electronics voucher, and extract the electronic certificate key element comprising electronic certificate identification code from described Pictures Electronics voucher Data and picture image data;
Digital finger-print is carried out according to the electronic certificate factor data being extracted and picture image data and generates calculating, obtain First digital fingerprint data;
Described first digital fingerprint data and described electronic certificate identification code are sent to server, so that server pair Described Pictures Electronics voucher is verified.
Preferably, described server carries out checking inclusion to described Pictures Electronics voucher:
According to the described electronic certificate identification code receiving, search whether to exist in electronic certificate storehouse described electronics with Card identification code;
When there is not described electronic certificate identification code in electronic certificate storehouse, then described Pictures Electronics credential verification loses Lose;
When there is a described electronic certificate identification code in electronic certificate storehouse, then described Pictures Electronics credential verification Success.
Preferably, described server carries out checking inclusion to described Pictures Electronics voucher:
When the success of described Pictures Electronics credential verification, then extract described data mapping from described Pictures Electronics voucher storehouse Table, passes through described Pictures Electronics voucher identification coding from described data mapping tables and extracts digital finger-print, obtain the second numeral and refer to Stricture of vagina data;
By being contrasted described first digital fingerprint data and described second value finger print data, obtain contrast knot Really;
When described comparing result is consistent, then described Pictures Electronics credential verification success, otherwise, authentication failed.
Preferably, the off-line verification of described Pictures Electronics voucher includes:
When described Pictures Electronics voucher needs local verification, extracting electronic certificate from described Pictures Electronics voucher will Prime number evidence, picture image data and electronic certificate signed data;
Digital finger-print is carried out according to the electronic certificate factor data being extracted and picture image data and generates calculating, obtain First digital fingerprint data;
Using with the public key that described producer's private key matches, described electronic certificate signed data is decrypted, obtains Two digital fingerprint data;
By being contrasted described first digital fingerprint data and described second digital fingerprint data, obtain contrast knot Really;
When described comparing result is consistent, then described Pictures Electronics credential verification success, otherwise, authentication failed.
According to a further aspect in the invention, there is provided a kind of false proof device of Pictures Electronics voucher, including:
Obtain digital fingerprint data and electronic certificate signed data module, for by comprising electronic certificate identification code Electronic certificate factor data and picture image data carry out digital finger-print calculating, obtain digital fingerprint data, and using system Digital fingerprint data described in author's private key pair is digitally signed process, obtains electronic certificate signed data;
Obtain Pictures Electronics credentials module, for passing through described electronic certificate signed data and described electronic certificate key element Data is embedded in described picture image data and obtains Pictures Electronics voucher, and circulate described Pictures Electronics voucher;
Checking picture electronic certificate module, for when Pictures Electronics voucher is verified, to described Pictures Electronics voucher The electronic certificate factor data comprising electronic certificate identification code and picture image data carry out digital finger-print calculating and obtain The first digital fingerprint data, obtain the second numeral after the digital signature data of described Pictures Electronics voucher is decrypted and refer to Stricture of vagina data, compares the first digital fingerprint data and the second digital fingerprint data, verifies the true and false.
Preferably, the checking of described Pictures Electronics voucher includes online verification and the Pictures Electronics voucher of Pictures Electronics voucher Off-line verification.
Compared with prior art, the beneficial effects of the present invention is:
The present invention utilizes existing picture standard, embedded structure electronic certificate factor data and peace in the data block of picture Full verification data, makes false proof Pictures Electronics voucher so as to meet the requirement that visualization display and essential of voucher automatization read, And the identity of Pictures Electronics voucher producer and the verity of Pictures Electronics voucher can be confirmed by checking.
Brief description
Fig. 1 is a kind of flow chart of the method for anti-counterfeit of Pictures Electronics voucher provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of the false proof device of Pictures Electronics voucher provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the manufacture method of Pictures Electronics voucher provided in an embodiment of the present invention;
Fig. 4 is the flow chart of the online verification method of Pictures Electronics voucher provided in an embodiment of the present invention;
Fig. 5 is the flow chart of the offline verification method of Pictures Electronics voucher provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with accompanying drawing to a preferred embodiment of the present invention will be described in detail it will be appreciated that described below is excellent Select embodiment to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 1 is a kind of flow chart of the method for anti-counterfeit of Pictures Electronics voucher provided in an embodiment of the present invention, as shown in figure 1, Comprise the following steps:
Step S101:By entering to the electronic certificate factor data comprising electronic certificate identification code and picture image data Row digital finger-print calculates, and obtains digital fingerprint data;
Step S102:Be digitally signed process using digital fingerprint data described in producer's private key pair, obtain electronics with Card signed data;
Step S103:By described electronic certificate signed data and described electronic certificate factor data are embedded into described figure Pictures Electronics voucher is obtained, circulate described Pictures Electronics voucher in picture data;
Step S104:When Pictures Electronics voucher is verified, by described Pictures Electronics essential of voucher data and figure Picture data carries out digital finger-print calculating, obtains the first digital fingerprint data, extracts described from described Pictures Electronics voucher Electronic certificate signed data, is decrypted process using producer's public key to described signed data, obtains the second digital finger-print number According to, relatively described first digital fingerprint data whether consistent with described second digital fingerprint data verifying the true and false.
Present invention additionally comprises testing to the uniqueness of the electronic certificate identification code in described electronic certificate factor data Card, when the uniqueness of described electronic certificate identification code is proved to be successful, then makes Pictures Electronics voucher;Its to described electronics with The uniqueness of card identification code carries out checking and includes:According to described electronic certificate identification code, look in described electronic certificate storehouse Look for the presence or absence of described electronic certificate identification code;When finding described electronic certificate identification code in described electronic certificate storehouse When, then the uniqueness authentication failed of described electronic certificate identification code;When not finding described electronics in described electronic certificate storehouse During voucher identification coding, then the uniqueness of described electronic certificate identification code is proved to be successful.Wherein, described electronic certificate mark is compiled Code is made up of one or more elements, for unique mark portion electronic certificate, such as with electronic certificate number, electronic certificate version And electronic certificate type composition electronic certificate identification code.
Present invention additionally comprises:By described electronic certificate digital finger-print, signed data and described electronic certificate are wanted prime number According to merging after process, set up data mapping relations and described electronic certificate identification code between, obtain data mapping tables;Will Obtained data mapping tables and Pictures Electronics voucher are saved in described electronic certificate storehouse;Wherein, according to described electricity during checking Sub- voucher identification coding takes out data mapping tables from described electronic certificate storehouse, extracts described electronics from described data mapping tables Voucher digital finger-print.
The checking of Pictures Electronics voucher of the present invention include the online verification of Pictures Electronics voucher and Pictures Electronics with The off-line verification of card.
Wherein, the online verification of described Pictures Electronics voucher includes:When the circulation process of described Pictures Electronics voucher is When being circulated by network, client obtains described Pictures Electronics voucher via network transmission, and from described Pictures Electronics voucher Extract the electronic certificate factor data comprising electronic certificate identification code and picture image data;According to the electricity being extracted Sub- essential of voucher data and picture image data carry out digital finger-print and generate calculating, obtain the first digital fingerprint data;Will be described First digital fingerprint data and described electronic certificate identification code send to server, so as server to described Pictures Electronics with Card is verified.Described server carries out checking and includes to described Pictures Electronics voucher:According to the described electronics receiving with Card identification code, search whether there is described electronic certificate identification code in electronic certificate storehouse, when in electronic certificate storehouse not When there is described electronic certificate identification code, then described Pictures Electronics credential verification failure;When presence one in electronic certificate storehouse During individual described electronic certificate identification code, then described Pictures Electronics credential verification success.Described server is to described picture electricity Sub- voucher carries out checking and includes:When the success of described Pictures Electronics credential verification, then extract from described Pictures Electronics voucher storehouse Described data mapping tables, pass through described Pictures Electronics voucher identification coding from described data mapping tables and extract digital finger-print, obtain To the second digital fingerprint data;By described first digital fingerprint data and described second digital fingerprint data are contrasted, Obtain comparing result;When described comparing result is consistent, then described Pictures Electronics credential verification success, otherwise, authentication failed.
Wherein, the off-line verification of described Pictures Electronics voucher includes:Recipient is from the circulation process of Pictures Electronics voucher Obtain described Pictures Electronics voucher, and extract electronic certificate factor data, picture number from described Pictures Electronics voucher According to this and electronic certificate signed data;Carry out numeral according to the electronic certificate factor data being extracted and picture image data to refer to Stricture of vagina generates and calculates, and obtains the first digital fingerprint data;Using the public key matching with described producer's private key to described electronics with Card signed data is decrypted, and obtains the second digital fingerprint data;By by described first digital fingerprint data and described second Digital fingerprint data is contrasted, and obtains comparing result;When described comparing result is consistent, then described Pictures Electronics credential verification Success, otherwise, authentication failed.
Fig. 2 is a kind of schematic diagram of the false proof device of Pictures Electronics voucher provided in an embodiment of the present invention, as shown in Fig. 2 Including:Obtain digital fingerprint data and electronic certificate signed data module 201, obtain Pictures Electronics credentials module 202 and school Test Pictures Electronics credentials module 203.Described acquisition digital fingerprint data and electronic certificate signed data module 201, are used for passing through The electronic certificate factor data comprising electronic certificate identification code and picture image data are carried out with digital finger-print calculating, obtains number Word finger print data, and it is digitally signed process using digital fingerprint data described in producer's private key pair, obtain electronic certificate Signed data;Described acquisition Pictures Electronics credentials module 202, for passing through described electronic certificate signed data and described electronics Essential of voucher data is embedded in described picture image data and obtains Pictures Electronics voucher, and circulate described Pictures Electronics voucher;Institute State checking picture electronic certificate module 203, for the bag when Pictures Electronics voucher is verified, to described Pictures Electronics voucher Electronic certificate factor data containing electronic certificate identification code and picture image data carry out digital finger-print calculating and obtain One digital fingerprint data, is decrypted acquisition the second digital finger-print number afterwards to the digital signature data of described Pictures Electronics voucher According to comparing the first digital fingerprint data and the second digital fingerprint data, verify the true and false.
Wherein, the checking of described Pictures Electronics voucher includes the online verification of Pictures Electronics voucher and Pictures Electronics voucher Off-line verification.
Two processes of the false proof inclusion of Pictures Electronics voucher of the present invention, including manufacturing process as shown in Figure 3 and as Fig. 4 or Proof procedure shown in Fig. 5.
The flow chart that Fig. 3 shows the manufacture method of Pictures Electronics voucher provided in an embodiment of the present invention, as shown in figure 3, Including:Comprise electronic certificate factor data, picture image data, producer's private key and the electronics of electronic certificate identification code with Card storehouse.Electronic certificate identification code is included in electronic certificate factor data, such as voucher number, version, type common ID one Open electronic certificate;Picture image data is the flow data after drawing, file header such as, palette, image data set The binary data becoming;Electronic certificate is typically supervised by authoritative institution (the such as Ministry of Finance) and is manufactured, and producer's private key is exactly this The private key of a little authoritative institutions, identifies its identity.Electronic certificate storehouse is used to store and manage the warehouse of all Pictures Electronics vouchers.
In the manufacturing process of electronic certificate, first, using electronic certificate identification code, (voucher identification coding can be by one Or multiple key element composition) determine uniqueness and the verification electronic certificate factor data compliance of electronic certificate, it is then used by electronics Essential of voucher data and picture image data calculate digital finger-print, are signed with the private key pair digital finger-print of producer;Finally Signed data is embedded in picture together with electronic certificate factor data;Finally Pictures Electronics voucher is saved in electronic certificate Storehouse.That is, the first step, need to verify this electronic certificate identification code (such as:Voucher number, version, type) uniqueness come Determine the uniqueness of electronic certificate, verify electronic certificate factor data compliance, using identification code to electronic certificate library inquiry Whether voucher exists, can create if not existing and representing this electronic certificate, otherwise represent there is this electronic certificate, do not permit Permitted to create;Electronic certificate factor data compliance verification need to electronic certificate regulator confirm data whether close rule legal, Only conjunction rule are legal could create.Second step, calculates the digital finger-print of electronic certificate factor data and view data, obtains numeral Finger print data;3rd step, the private key pair digital fingerprint data using producer is signed, and obtains signed data;4th step, will Electronic certificate factor data and signed data are with specific structured data format (such as JSON (JavaScript Object Notation, JavaScript object representation) full text formatting) it is embedded into inside picture.
Digest=hmac (STRUCTURAL_DATA+IMAGE_DATA)
Wherein, STRUCTURAL_DATA represents electronic certificate factor data, and IMAGE_DATA represents picture image data, Hmac is digital fingerprint function.
Signature=sign (Digest, Private_Key)
Wherein, sign is signature function, and Private_Key is producer's private key.
Wherein, BIZ_DATA represents the data after electronic certificate factor data coding, and SIGNATURE represents number of signature According to.The standard of every kind of picture is different, and conventional picture file format is all supported to embed text inside picture.
The proof procedure of electronic certificate is divided into online verification and two kinds of off-line verification, and core thinking is to calculate electronic certificate to want Prime number evidence and the digital finger-print of picture image data, obtain the first digital fingerprint data, inside producer's public key decryptions picture Signed data, be compared by the second digital fingerprint data after deciphering signed data and the first digital fingerprint data To confirm producer's identity of electronic certificate and the verity of electronic certificate.
, as shown in figure 4, online verification is related to the on-line operation of client and server, client is first for online verification process First from electronic certificate, read picture image data and electronic certificate factor data, and according to picture image data and electronic certificate Factor data calculates the first digital fingerprint data, reads electronic certificate identification code from Pictures Electronics voucher, and client is by the One digital fingerprint data and electronic certificate identification code are submitted to server;Server is according to electronic certificate identification code from electronics Retrieving image electronic certificate identification code in voucher storehouse, without finding this electronic certificate identification code, represents authentication failed, This electronic certificate is to forge, if finding this electronic certificate identification code, extracts institute from described Pictures Electronics voucher storehouse State data mapping tables, pass through described Pictures Electronics voucher identification coding from described data mapping tables and extract digital finger-print, obtain Second digital fingerprint data, finally the first digital fingerprint data sending client and the second digital fingerprint data are compared Relatively, if being proved to be successful than more consistent expression, being proved to be successful and representing that producer is legal and Pictures Electronics voucher is real, It is not tampered with after establishment, otherwise represent authentication failed.
Wherein, the second digital fingerprint data that server obtains can be obtained by following three kinds of modes:By from picture The digital signature deciphering of electronic certificate obtains, by the view data of Pictures Electronics voucher and the numeral of electronic certificate factor data Fingerprint generates to calculate and obtains the second digital finger-print number it is also possible to by reading the Pictures Electronics voucher that prestores from electronic certificate storehouse According to acquisition.Second digital fingerprint data, from the middle reading that prestores in electronic certificate storehouse, can accelerate to complete on-line testing, be conducive to simultaneously Batch verifies.
Off-line verification process is as shown in figure 5, extract view data and electronic certificate factor data from Pictures Electronics voucher And calculate the first digital fingerprint data, then from Pictures Electronics voucher, extract digital signature, use person's public key is to numeral Signature is decrypted, and obtains the second digital fingerprint data;Finally the first digital fingerprint data and the second digital fingerprint data are entered Row compares, if consistent expression is proved to be successful, otherwise represents authentication failed, Pictures Electronics voucher is invalid.
In sum, the present invention has following technique effect:
The present invention is incited somebody to action by being digitally signed to electronic certificate factor data and picture image data and with picture standard Electronic certificate factor data and signed data embed the method within picture, can quickly identify unintentionally or malice forgery, usurp Change one's profession for it is ensured that Pictures Electronics voucher producer's non-repudiation, data be true, ticket is unique, meet simultaneously visualization display and The requirement that essential of voucher automatization reads.
Although being described in detail to the present invention above, the invention is not restricted to this, those skilled in the art of the present technique Various modifications can be carried out according to the principle of the present invention.Therefore, all modifications made according to the principle of the invention, all should be understood to Fall into protection scope of the present invention.

Claims (10)

1. a kind of method for anti-counterfeit of Pictures Electronics voucher is it is characterised in that comprise the following steps:
By digital finger-print meter is carried out to the electronic certificate factor data comprising electronic certificate identification code and picture image data Calculate, obtain digital fingerprint data;
It is digitally signed process using digital fingerprint data described in producer's private key pair, obtain electronic certificate signed data;
By described electronic certificate signed data and described electronic certificate factor data are embedded in described picture image data Obtain Pictures Electronics voucher, circulate described Pictures Electronics voucher;
When Pictures Electronics voucher is verified, by numeral is carried out to described electronic certificate factor data and picture image data Fingerprint calculates, and obtains the first digital fingerprint data;Extract described electronic certificate signed data from described Pictures Electronics voucher, profit With producer's public key, described electronic certificate signed data is decrypted with process, obtains the second digital fingerprint data;Relatively more described First digital fingerprint data whether consistent with described second digital fingerprint data verifying the true and false.
2. method according to claim 1 is it is characterised in that also include to the electronics in described electronic certificate factor data The uniqueness of voucher identification coding is verified, when the uniqueness of described electronic certificate identification code is proved to be successful, then makes Pictures Electronics voucher;It carries out checking and includes to the uniqueness of described electronic certificate identification code:
According to described electronic certificate identification code, search whether there is described electronic certificate identification code in electronic certificate storehouse;
When finding described electronic certificate identification code in described electronic certificate storehouse, then described electronic certificate identification code is only One property authentication failed;
When not finding described electronic certificate identification code in described electronic certificate storehouse, then described electronic certificate identification code Uniqueness is proved to be successful.
3. method according to claim 2 is it is characterised in that also include:
By described digital fingerprint data, described electronic certificate signed data and described electronic certificate factor data are merged After process, set up data mapping relations and described electronic certificate identification code between, obtain data mapping tables;
Obtained data mapping tables and Pictures Electronics voucher are saved in described electronic certificate storehouse;
Wherein, during checking, data mapping tables are taken out from described electronic certificate storehouse according to described electronic certificate identification code, from institute State and in data mapping tables, extract described digital fingerprint data.
4. method according to claim 3 it is characterised in that the checking of described Pictures Electronics voucher include Pictures Electronics with The online verification of card and the off-line verification of Pictures Electronics voucher.
5. method according to claim 4 is it is characterised in that the online verification of described Pictures Electronics voucher includes:
When the circulation process of described Pictures Electronics voucher is to be circulated by network, client obtains described figure via network transmission Piece electronic certificate, and extract the electronic certificate factor data comprising electronic certificate identification code from described Pictures Electronics voucher And picture image data;
Digital finger-print is carried out according to the electronic certificate factor data being extracted and picture image data and generates calculating, obtain first Digital fingerprint data;
Described first digital fingerprint data and described electronic certificate identification code are sent to server, so that server is to described Pictures Electronics voucher is verified.
6. method according to claim 5 is it is characterised in that described server is tested to described Pictures Electronics voucher Card includes:
According to the described electronic certificate identification code receiving, search whether there is described electronic certificate mark in electronic certificate storehouse Know coding;
When there is not described electronic certificate identification code in electronic certificate storehouse, then described Pictures Electronics credential verification failure;
When there is a described electronic certificate identification code in electronic certificate storehouse, then described Pictures Electronics credential verification becomes Work(.
7. method according to claim 6 is it is characterised in that described server is tested to described Pictures Electronics voucher Card also includes:
When the success of described Pictures Electronics credential verification, then extract described data mapping tables from described electronic certificate storehouse, from institute State to encode by described Pictures Electronics voucher identification in data mapping tables and extract digital fingerprint data, obtain the second digital finger-print number According to;
By being contrasted described first digital fingerprint data and described second value finger print data, obtain comparing result;
When described comparing result is consistent, then described Pictures Electronics credential verification success, otherwise, authentication failed.
8. method according to claim 4 is it is characterised in that the off-line verification of described Pictures Electronics voucher includes:
When described Pictures Electronics voucher needs local verification, extract electronic certificate from described Pictures Electronics voucher and want prime number According to, picture image data and electronic certificate signed data;
First digital finger-print calculating is carried out according to the electronic certificate factor data being extracted and picture image data, obtains first Digital fingerprint data;
Using with the public key that described producer's private key matches, described electronic certificate signed data is decrypted, obtains the second number Word finger print data;
By being contrasted described first digital fingerprint data and described second digital fingerprint data, obtain comparing result;
When described comparing result is consistent, then described Pictures Electronics credential verification success, otherwise, authentication failed.
9. a kind of false proof device of Pictures Electronics voucher is it is characterised in that include:
Obtain digital fingerprint data and electronic certificate signed data module, for by the electricity comprising electronic certificate identification code Sub- essential of voucher data and picture image data carry out digital finger-print calculating, obtain digital fingerprint data, and utilize producer Described in private key pair, digital fingerprint data is digitally signed process, obtains electronic certificate signed data;
Obtain Pictures Electronics credentials module, for passing through described electronic certificate signed data and described electronic certificate factor data It is embedded in described picture image data and obtains Pictures Electronics voucher, circulate described Pictures Electronics voucher;By to described electronics Essential of voucher data and picture image data carry out digital finger-print calculating, obtain the first digital fingerprint data
Checking picture electronic certificate module, for the bag when Pictures Electronics voucher is verified, to described Pictures Electronics voucher Electronic certificate factor data containing electronic certificate identification code and picture image data carry out digital finger-print and calculate acquisition first number Word finger print data, is decrypted acquisition the second digital fingerprint data afterwards to the digital signature data of described Pictures Electronics voucher, Compare the first digital fingerprint data and the second digital fingerprint data, verify the true and false.
10. device according to claim 9 is it is characterised in that the checking of described Pictures Electronics voucher includes Pictures Electronics The online verification of voucher and the off-line verification of Pictures Electronics voucher.
CN201510525851.2A 2015-08-25 2015-08-25 A kind of method for anti-counterfeit of Pictures Electronics voucher and device Active CN105117920B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510525851.2A CN105117920B (en) 2015-08-25 2015-08-25 A kind of method for anti-counterfeit of Pictures Electronics voucher and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510525851.2A CN105117920B (en) 2015-08-25 2015-08-25 A kind of method for anti-counterfeit of Pictures Electronics voucher and device

Publications (2)

Publication Number Publication Date
CN105117920A CN105117920A (en) 2015-12-02
CN105117920B true CN105117920B (en) 2017-03-08

Family

ID=54665897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510525851.2A Active CN105117920B (en) 2015-08-25 2015-08-25 A kind of method for anti-counterfeit of Pictures Electronics voucher and device

Country Status (1)

Country Link
CN (1) CN105117920B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105871545B (en) * 2016-06-03 2019-03-15 中国银联股份有限公司 Credible electronic certificate trustship method and system
CN106709963B (en) * 2016-12-28 2018-01-02 平安科技(深圳)有限公司 The method and apparatus of the authentication image true and false
CN108875385B (en) * 2018-05-07 2021-09-17 麒麟合盛网络技术股份有限公司 Method and device for communication between applications
CN113486406B (en) * 2021-06-17 2024-02-20 重庆亲笔签数字科技有限公司 Electronic signature protection and restoration method, system, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017544B (en) * 2007-02-15 2010-12-01 江苏国盾科技实业有限责任公司 Conflated seal affix authentication method having electronic seal digital certification
CN101800646B (en) * 2010-03-03 2012-07-25 南京优泰科技发展有限公司 Implementation method and system of electronic signature
US9779284B2 (en) * 2013-12-17 2017-10-03 Conduent Business Services, Llc Privacy-preserving evidence in ALPR applications

Also Published As

Publication number Publication date
CN105117920A (en) 2015-12-02

Similar Documents

Publication Publication Date Title
US10160251B1 (en) Digitally encoded seal for document verification
US10706277B2 (en) Storing anonymized identifiers instead of personally identifiable information
US9946865B2 (en) Document authentication based on expected wear
US20180219681A1 (en) Electronically signing and distributing identification data as a service that provides proof of identity, integrity, validity and origin of data for non-repudiation and id validation methods
KR101934444B1 (en) A Managing Method Of The Integrity Data of Documents Or Securities
Singhal et al. Degree certificate authentication using QR code and smartphone
KR20180110670A (en) System and method for verifying authenticity of document information
US20080091954A1 (en) Method and system for facilitating printed page authentication, unique code generation and content integrity verification of documents
US20130037607A1 (en) Secure system for creating and validating personal identification cards with operator discretion
CN105117920B (en) A kind of method for anti-counterfeit of Pictures Electronics voucher and device
CN104077624A (en) Methods and systems for generating and checking electronic note with anti-counterfeiting two-dimension code
CN103985082B (en) Verification method and device for electronic certificate information
US9871660B2 (en) Method for certifying and authentifying security documents based on a measure of the relative variations of the different processes involved in its manufacture
JP2013025571A (en) Card issue system and card issue method
KR101841928B1 (en) Method for issuing document offline, method for validating issued offline document, and server using the same
US20170352039A1 (en) Counterfeit Prevention and Detection of University and Academic Institutions Documents Using Unique Codes
KR101841929B1 (en) Method for issuing document offline and method for validating issued offline document on the basis of merkle tree structure, and server using the same
CN108830616A (en) Antifake method for products, electronic equipment, storage medium and system based on block chain
RU2684498C2 (en) Method of certification and authentication of protected documents based on measurement result of deviations of relative position in different processes involved in making such security documents
Mantoro et al. Real-time printed document authentication using watermarked qr code
JP2017010465A (en) Individual number collection system and individual number collection sheet
JP7083055B1 (en) Issuing device, authentication device, authentication system, issuing method, and information code
US20230362013A1 (en) Systems and methods for token authentication
US20230356539A1 (en) Systems and methods for token authentication
Leitold et al. Media-break resistant eSignatures in eGovernment: an Austrian experience

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant