CN109859371A - A kind of non-tax bill based on two dimensional code generates, anti-fake method and system - Google Patents

A kind of non-tax bill based on two dimensional code generates, anti-fake method and system Download PDF

Info

Publication number
CN109859371A
CN109859371A CN201811594206.6A CN201811594206A CN109859371A CN 109859371 A CN109859371 A CN 109859371A CN 201811594206 A CN201811594206 A CN 201811594206A CN 109859371 A CN109859371 A CN 109859371A
Authority
CN
China
Prior art keywords
tax
bill
tax bill
module
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811594206.6A
Other languages
Chinese (zh)
Inventor
董亮亮
杜悦琨
赵林
梁宵
耿方
张玮
孟媛媛
张梦
王申
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201811594206.6A priority Critical patent/CN109859371A/en
Publication of CN109859371A publication Critical patent/CN109859371A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The non-tax bill that the invention discloses a kind of based on two dimensional code generates, anti-fake method and system, belongs to data encryption and field of anti-counterfeit technology.The method of the present invention includes: non-tax bill printer addition crypto module chip, P10 is generated to request and send the requests to third party's certificate authority, after third party's certificate authority receives to request and sign and issue digital certificate, digital certificate is imported into crypto chip module;Obtain non-tax ticket information, random number is generated according to crypto chip module, based on the digital certificate signed and issued, signed data is generated according to random number and non-tax ticket information, signed data is after encryption to generate non-tax bill on the format print of two-dimension code image to non-tax nominal value.Present system integrates trusted computing chip, preset CA mechanism certificate, and data acquisition is completed just to be digitally signed, can not distort, ensure the authenticity and integrity of evidence.

Description

A kind of non-tax bill based on two dimensional code generates, anti-fake method and system
Technical field
The present invention relates to data encryption and field of anti-counterfeit technology, and more particularly, to a kind of based on the non-of two dimensional code The generation of tax bill, anti-fake method and system.
Background technique
Non-revenue receipt bill be both hold the collection foundation for receiving unit non-revenue receipt and non-revenue receipt pay the payment of people with According to, or the departments such as finance, audit, discipline inspection and management of non-tax revenue mechanism exercise supervision the important evidence of inspection.
There are problems for current non-revenue receipt bill technology:
Bill check and write off it is not in place, repeat to issue bill, take over and do not separate, tax evasion, deposited using pass due note, safety In risk, cryptographic algorithm irregularity etc..With the development of computer technology, the non-tax bill of electronics is had already appeared on the market, Although substantially increasing the convenience of routine work to a certain extent, the hiding above safety of conventional non-tax bill with Regulation potential problem, there is no all solve.
Summary of the invention
In view of the above-mentioned problems, the method that the non-tax bill that the invention proposes a kind of based on two dimensional code generates, the present invention Method includes:
Non- tax bill printer adds crypto module chip, generates P10 and requests and send the requests to third party's certificate Digital certificate is imported crypto chip after third party's certificate authority receives to request and sign and issue digital certificate by authorization center Module;
Non- tax ticket information is obtained, random number is generated according to crypto chip module, based on the digital certificate signed and issued, according to Random number and non-tax ticket information generate signed data, and signed data is arrived after encryption with the format print of two-dimension code image In non-tax nominal value, non-tax bill is generated.
Optionally, method further include: non-tax bill is added to non-tax bill data center and is put on record.
The invention also provides a kind of method for carrying out non-tax bill anti-counterfeit using tax bill, the method for the present invention packets It includes:
Non- tax face of instrument information is verified according to from the received record information in non-tax bill data center;
After verifying qualified, the two-dimensional barcode information and ticket information of non-tax bill are identified, obtain the signature in two dimensional code Whether data, according to crypto chip module and digital certificate, whether verifying digital signature is correct, correctly judged according to digital signature Non- tax papers.
Optionally, the two-dimensional barcode information and ticket information for identifying non-tax bill are scanned and recognized according to scanner.
The system for the non-tax bill generation based on two dimensional code that the invention also provides a kind of, present system include:
Authentication module, non-tax bill printer add crypto module chip, generate P10 and request and send the requests to the Tripartite's certificate authority imports digital certificate after third party's certificate authority receives to request and sign and issue digital certificate Crypto chip module;
Bill generation module obtains non-tax ticket information, random number is generated according to crypto chip module, based on what is signed and issued Digital certificate generates signed data according to random number and non-tax ticket information, and signed data is after encryption with two dimensional code figure On the format print of piece to non-tax nominal value, non-tax bill is generated.
Optionally, system further include: it is standby to be added to the progress of non-tax bill data center by module of putting on record for non-tax bill Case.
The invention also provides a kind of system for carrying out non-tax bill anti-counterfeit using non-tax bill, present system packets It includes:
Information authentication module believes non-tax face of instrument according to from the received record information in non-tax bill data center Breath is verified;
Anti-fake module identifies the two-dimensional barcode information and ticket information of the non-tax bill after verifying qualified, obtains two dimensional code In signed data, whether according to crypto chip module and digital certificate, it is correct to verify digital signature, according to digital signature whether Correctly judge non-tax papers.
Optionally, the two-dimensional barcode information and ticket information for identifying non-tax bill are scanned and recognized according to scanner.
Present system integrates trusted computing chip, preset CA mechanism certificate, and data acquisition is completed just to be digitally signed, It can not distort, ensure the authenticity and integrity of evidence;
Bill of the present invention ensures the authenticity of bill by two dimensional code signing messages, is digitally signed, avoids to bill Denial to unlawful practice;
The present invention establishes bill data center, reduces user data storage expense expenditure;
Supervisor of the present invention carries out big data analysis by billing information and data centre data, to uncivil economic row To enforce the law;
The technology of the present invention is simple, it is easy to accomplish, system change is smaller.
Detailed description of the invention
Fig. 1 is that the present invention is based on the method flow diagrams that the non-tax bill of two dimensional code generates;
Fig. 2 is that the present invention is based on the system construction drawings that the non-tax bill of two dimensional code generates;
Fig. 3 is the method flow diagram that the present invention carries out non-tax bill anti-counterfeit using non-tax bill;
Fig. 4 is the system construction drawing that the present invention carries out non-tax bill anti-counterfeit using non-tax bill.
Specific embodiment
Exemplary embodiments of the present invention are introduced referring now to the drawings, however, the present invention can use many different shapes Formula is implemented, and is not limited to the embodiment described herein, and to provide these embodiments be at large and fully disclose The present invention, and the scope of the present invention is sufficiently conveyed to person of ordinary skill in the field.Show for what is be illustrated in the accompanying drawings Term in example property embodiment is not limitation of the invention.In the accompanying drawings, identical cells/elements use identical attached Icon note.
Unless otherwise indicated, term (including scientific and technical terminology) used herein has person of ordinary skill in the field It is common to understand meaning.Further it will be understood that with the term that usually used dictionary limits, should be understood as and its The context of related fields has consistent meaning, and is not construed as Utopian or too formal meaning.
The method for the non-tax bill generation based on two dimensional code that the present invention provides a kind of, as shown in Figure 1, comprising:
Non- tax bill printer adds crypto module chip, generates P10 and requests and send the requests to third party's certificate Digital certificate is imported crypto chip after third party's certificate authority receives to request and sign and issue digital certificate by authorization center Module;
Non- tax ticket information is obtained, random number is generated according to crypto chip module, based on the digital certificate signed and issued, according to Random number and non-tax ticket information generate signed data, and signed data is arrived after encryption with the format print of two-dimension code image In non-tax nominal value, non-tax bill is generated.
Non- tax bill is added to non-tax bill data center to put on record.
Wherein cipher mode can choose is encrypted based on national secret algorithm, and Guo Miji State Commercial Cryptography Administration is assert domestic close Code algorithm, i.e. commercial cipher.
National secret algorithm is the series of algorithms that State Commercial Cryptography Administration formulates standard.Which includes symmetric encipherment algorithms, oval Curve rivest, shamir, adelman, hash algorithm.Specifically include SM1, SM2, SM3 etc., in which:
SM2 is the public key algorithm that national Password Management office announces, and encryption intensity is 256.Other several important quotient Include: with cryptographic algorithm
SM1, symmetric encipherment algorithm, encryption intensity is 128, using hardware realization;
SM3, cryptographic Hash algorithm, Hash Value length is to announce 32 bytes and the SM2 algorithm same period, referring to " national password pipe Reason office announces (No. 22) ";
SMS4, symmetric encipherment algorithm are announced with WAPI standard, and software realization can be used, and encryption intensity is 128.
The present invention also provides a kind of methods for carrying out non-tax bill anti-counterfeit using non-tax bill, as shown in Fig. 2, packet It includes:
Non- tax face of instrument information is verified according to from the received record information in non-tax bill data center;
After verifying qualified, identifies the two-dimensional barcode information and ticket information of non-tax bill, identify the two of non-tax bill Dimension code information and ticket information are scanned and recognized according to scanner;
The signed data in two dimensional code is obtained, according to crypto chip module and digital certificate, whether just to verify digital signature Really, whether non-tax papers are correctly judged according to digital signature.
The system 200 for the non-tax bill generation based on two dimensional code that the present invention also provides a kind of, as shown in figure 3, system 200 include:
Authentication module 201, non-tax bill printer add crypto module chip, generate P10 request and send request Third party's certificate authority is given, after third party's certificate authority receives to request and sign and issue digital certificate, by digital certificate Import crypto chip module;
Bill generation module 202 obtains non-tax ticket information, random number is generated according to crypto chip module, based on label The digital certificate of hair generates signed data according to random number and non-tax ticket information, and signed data is after encryption with two dimension On the format print to non-tax nominal value of code picture, non-tax bill is generated.
Non- tax bill is added to non-tax bill data center and put on record by module of putting on record 203.
The present invention also provides a kind of systems 300 that non-tax bill anti-counterfeit is carried out using non-tax bill, such as Fig. 4 institute Show, system 300 includes:
Information authentication module 301, according to from the received record information in non-tax bill data center to non-tax bill ticket Face information is verified;
Anti-fake module 302 identifies the two-dimensional barcode information and ticket information of the non-tax bill after verifying qualified, identifies non- The two-dimensional barcode information and ticket information of tax bill are scanned and recognized according to scanner;
The signed data in two dimensional code is obtained, according to crypto chip module and digital certificate, whether just to verify digital signature Really, whether non-tax papers are correctly judged according to digital signature.
Present system integrates trusted computing chip, preset CA mechanism certificate, and data acquisition is completed just to be digitally signed, It can not distort, ensure the authenticity and integrity of evidence;
Bill of the present invention ensures the authenticity of bill by two dimensional code signing messages, is digitally signed, avoids to bill Denial to unlawful practice;
The present invention establishes bill data center, reduces user data storage expense expenditure;
Supervisor of the present invention carries out big data analysis by billing information and data centre data, to uncivil economic row To enforce the law;
The technology of the present invention is simple, it is easy to accomplish, system change is smaller.

Claims (8)

1. a kind of method that the non-tax bill based on two dimensional code generates, which comprises
Non- tax bill printer adds crypto module chip, generates P10 and requests and send the requests to third party's certificate granting Digital certificate is imported crypto chip module after third party's certificate authority receives to request and sign and issue digital certificate by center;
Non- tax ticket information is obtained, random number is generated according to crypto chip module, based on the digital certificate signed and issued, according to random Several and non-tax ticket information generates signed data, and signed data is after encryption with the format print of two-dimension code image to non-tax In nominal value of being engaged in, non-tax bill is generated.
2. according to the method described in claim 1, the method further include: non-tax bill is added to non-tax bill number Put on record according to center.
3. a kind of side for carrying out non-tax bill anti-counterfeit using non-tax bill described in any one as in claims 1 and 2 Method, which comprises
Non- tax face of instrument information is verified according to from the received record information in non-tax bill data center;
After verifying qualified, the two-dimensional barcode information and ticket information of non-tax bill are identified, obtain the signed data in two dimensional code, According to crypto chip module and digital certificate, whether verifying digital signature is correct, whether correctly judges non-tax according to digital signature Business papers.
4. according to the method described in claim 3, the two-dimensional barcode information and ticket information of the described non-tax bill of identification according to Scanner scans and recognizes.
5. a kind of system that the non-tax bill based on two dimensional code generates, the system comprises:
Authentication module, non-tax bill printer add crypto module chip, generate P10 and request and send the requests to third party Digital certificate is imported password after third party's certificate authority receives to request and sign and issue digital certificate by certificate authority Chip module;
Bill generation module obtains non-tax ticket information, random number is generated according to crypto chip module, based on the number signed and issued Certificate generates signed data according to random number and non-tax ticket information, and signed data is after encryption with two-dimension code image On format print to non-tax nominal value, non-tax bill is generated.
6. system according to claim 5, the system further include: non-tax bill is added to non-by module of putting on record Put on record at tax bill data center.
7. what a kind of non-tax bill using as described in any one of claim 5 and 6 carried out non-tax bill anti-counterfeit is System, the system comprises:
Information authentication module, according to from the received record information in non-tax bill data center to non-tax face of instrument information into Row verifying;
Anti-fake module identifies the two-dimensional barcode information and ticket information of the non-tax bill after verifying qualified, obtains in two dimensional code Signed data, according to crypto chip module and digital certificate, whether verifying digital signature is correct, correct according to digital signature Judge non-tax papers.
8. system according to claim 7, the two-dimensional barcode information and ticket information of the non-tax bill of identification according to Scanner scans and recognizes.
CN201811594206.6A 2018-12-25 2018-12-25 A kind of non-tax bill based on two dimensional code generates, anti-fake method and system Pending CN109859371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811594206.6A CN109859371A (en) 2018-12-25 2018-12-25 A kind of non-tax bill based on two dimensional code generates, anti-fake method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811594206.6A CN109859371A (en) 2018-12-25 2018-12-25 A kind of non-tax bill based on two dimensional code generates, anti-fake method and system

Publications (1)

Publication Number Publication Date
CN109859371A true CN109859371A (en) 2019-06-07

Family

ID=66892326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811594206.6A Pending CN109859371A (en) 2018-12-25 2018-12-25 A kind of non-tax bill based on two dimensional code generates, anti-fake method and system

Country Status (1)

Country Link
CN (1) CN109859371A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651745A (en) * 2020-05-12 2020-09-11 长春吉大正元信息技术股份有限公司 Application authorization signature method based on password equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1324050A (en) * 2000-05-12 2001-11-28 刘福祥 Identity marked double-cipher key anti-fake network and its usage
CN2657110Y (en) * 2003-03-31 2004-11-17 叶宝荣 Small sized postage machine possessing weighing function
CN1967601A (en) * 2005-11-18 2007-05-23 珠海金联安警用技术研究发展中心有限公司 Automatic bill identifying and processing system based on bill map and system thereof
JP2013003791A (en) * 2011-06-15 2013-01-07 Denso Wave Inc Information code reading system
CN102982476A (en) * 2012-11-15 2013-03-20 贵州大学 Invoice traceability management method and invoice traceability management platform
CN103034884A (en) * 2012-12-07 2013-04-10 北京印刷学院 Commodity packaging anti-fake device and device and system for anti-fake recognition with built-in secret key
CN104134142A (en) * 2014-08-11 2014-11-05 东南大学 Metro ticket buying and checking method based on two-dimension code recognition
CN104268742A (en) * 2014-10-20 2015-01-07 陕西万宇电子信息科技有限公司 Official seal fake detection method and device based on network digital certificate and network lookup
CN204451551U (en) * 2015-02-04 2015-07-08 天津科技大学 A kind of low cost Portable printer encrypted again for papery Text Watermarking
CN104811300A (en) * 2015-04-22 2015-07-29 电子科技大学 Secret key updating method for cloud storage and implementation method of cloud data auditing system
CN104851001A (en) * 2015-05-08 2015-08-19 苏州众里数码科技有限公司 Method for product tracing and counterfeiting prevention
CN107146120A (en) * 2017-04-25 2017-09-08 大象慧云信息技术有限公司 The generation method and generating means of electronic invoice
CN206596024U (en) * 2017-03-31 2017-10-27 青海航天信息有限公司 A kind of invoice printing device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1324050A (en) * 2000-05-12 2001-11-28 刘福祥 Identity marked double-cipher key anti-fake network and its usage
CN2657110Y (en) * 2003-03-31 2004-11-17 叶宝荣 Small sized postage machine possessing weighing function
CN1967601A (en) * 2005-11-18 2007-05-23 珠海金联安警用技术研究发展中心有限公司 Automatic bill identifying and processing system based on bill map and system thereof
JP2013003791A (en) * 2011-06-15 2013-01-07 Denso Wave Inc Information code reading system
CN102982476A (en) * 2012-11-15 2013-03-20 贵州大学 Invoice traceability management method and invoice traceability management platform
CN103034884A (en) * 2012-12-07 2013-04-10 北京印刷学院 Commodity packaging anti-fake device and device and system for anti-fake recognition with built-in secret key
CN104134142A (en) * 2014-08-11 2014-11-05 东南大学 Metro ticket buying and checking method based on two-dimension code recognition
CN104268742A (en) * 2014-10-20 2015-01-07 陕西万宇电子信息科技有限公司 Official seal fake detection method and device based on network digital certificate and network lookup
CN204451551U (en) * 2015-02-04 2015-07-08 天津科技大学 A kind of low cost Portable printer encrypted again for papery Text Watermarking
CN104811300A (en) * 2015-04-22 2015-07-29 电子科技大学 Secret key updating method for cloud storage and implementation method of cloud data auditing system
CN104851001A (en) * 2015-05-08 2015-08-19 苏州众里数码科技有限公司 Method for product tracing and counterfeiting prevention
CN206596024U (en) * 2017-03-31 2017-10-27 青海航天信息有限公司 A kind of invoice printing device
CN107146120A (en) * 2017-04-25 2017-09-08 大象慧云信息技术有限公司 The generation method and generating means of electronic invoice

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651745A (en) * 2020-05-12 2020-09-11 长春吉大正元信息技术股份有限公司 Application authorization signature method based on password equipment

Similar Documents

Publication Publication Date Title
CN110309634B (en) Credible advertisement data management system based on block chain
CN109544331B (en) Supply chain financial application method and device based on block chain, terminal equipment and storage medium
WO2020124843A1 (en) Traceable anonymous electronic voting method employing blockchain
CN109756485A (en) Electronic contract signs method, apparatus, computer equipment and storage medium
CN101136046B (en) Electric signing verification system and method thereof
CN102769623B (en) Two-factor authentication method based on digital certificate and biological identification information
CN101017562A (en) Method for generating electronic invoice and interactively using based on communication network
CN101183439A (en) Electronic bill processing system and processing method
CN112419021B (en) Electronic invoice verification method, system, storage medium, computer equipment and terminal
CN101145233A (en) Data ciphered-mortgage transaction system, teller identification system, trans-center transaction system and method
CN109729046A (en) Two-dimensional code scanning method and terminal, authentication method and server and service system
CN104809490A (en) Card anti-counterfeiting system based on multidimensional code and authentication method based on card anti-counterfeiting system
US7222238B2 (en) Method and system for real-time registration of transactions with a security module
CN109614802A (en) The signature method and sealing system of anti-quantum calculation
BR112017015544B1 (en) ELECTRONIC VOTING METHOD AND SYSTEM IMPLEMENTED IN A PORTABLE DEVICE
CN103795546A (en) Generating method and authentication method of data label and system of generating method and authentication method
US20220239502A1 (en) System to Securely Issue and Count Electronic Ballots
CN109859371A (en) A kind of non-tax bill based on two dimensional code generates, anti-fake method and system
CN109586918A (en) The signature method and sealing system of anti-quantum calculation based on pool of symmetric keys
US20050097336A1 (en) Cryptographic revocation method using a chip card
Wu et al. New sealed-bid electronic auction with fairness, security and efficiency
JP2003134108A (en) Electronic signature, apparatus and method for verifying electronic signature, program and recording medium
CN109586917A (en) The signature method and sealing system of anti-quantum calculation based on unsymmetrical key pond
CN110955917B (en) Method and system for verifying electronic certificates related to multiple participants
Nashwan et al. Mutual chain authentication protocol for SPAN transactions in Saudi Arabian banking

Legal Events

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