CN104282070A - Invoice fake validation method and system - Google Patents
Invoice fake validation method and system Download PDFInfo
- Publication number
- CN104282070A CN104282070A CN201310284692.2A CN201310284692A CN104282070A CN 104282070 A CN104282070 A CN 104282070A CN 201310284692 A CN201310284692 A CN 201310284692A CN 104282070 A CN104282070 A CN 104282070A
- Authority
- CN
- China
- Prior art keywords
- invoice
- code
- tax
- control code
- dimensional bar
- 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.)
- Granted
Links
Landscapes
- Cash Registers Or Receiving Machines (AREA)
Abstract
The invention discloses an invoice fake validation method and system. The validation method includes the steps that the first invoice plaintext information is encrypted to generate a first tax-control code; the first invoice plaintext information and the first tax-control code are encrypted to generate a first check code; the first invoice plaintext information, the first tax-control code and the first check code are combined and encrypted to generate two-dimensional bar code data; the two-dimensional bar code data are printed to the face of the invoice; a second tax-control code and a second check code included in the two-dimensional bar code data are scanned and extracted; whether the first tax-control code and the second tax-control code are the same or not is judged through comparison; the second invoice plaintext information and the first tax-control code included in the two-dimensional bar code data are combined to generate a third check code, and whether the second check code is the same as the second check code or not is judged through comparison; the second tax-control code is decrypted to obtain the third invoice plaintext information, and whether the third invoice plaintext information and the second invoice plaintext information are the same or not is judged through comparison, if the comparison results are the same, the invoice is validated to be a true invoice.
Description
Technical field
The present invention relates to tax control security technology area, particularly one has higher anti-fraud functional invoice validation method and verification system.
Background technology
When current enterprise issues invoice, normally ticket information and treated ciphertext are printed in invoice nominal value simultaneously, a/d is got consumer, by inputting manual for ticket information or pass through scanning recognition technical limit spacing ticket information, the ticket information of acquisition and the comparison of decrypt ciphertext value are verified true from false of bills by verification system.This checking true and false mode is comparatively complicated, slow, general needs a large amount of manual hand manipulation's typing ticket information and private processes just can complete, papers cannot be verified fast and effectively, bring larger workload to consumer for this reason or evade the tax provide chance to some lawless persons.
Chinese patent application CN200910017312.2 discloses one and utilizes ticket information and tax-control code to put into two-dimensional bar code, obtains ticket information by two-dimensional bar code recognition technology, and verification system is again by the method for ticket information encryption with tax-control code comparison.But the method also also exists some defects, due to the difference of cipher mode, different information encryption may be become identical tax-control code, affect the safety and reliability of invoice encryption.
Summary of the invention
The object of the invention is to overcome the shortcoming that workload is large, security reliability is not high existed in existing invoice validation technology, a kind of true from false of bills verification method rapidly and efficiently and verification system are provided.
For reaching above-mentioned purpose, the present invention provide firstly a kind of true from false of bills verification method, comprises the following steps:
Typing first invoice cleartext information, is encrypted to generate the first tax-control code by this first invoice cleartext information;
Described first invoice cleartext information and the first tax-control code are merged, generates the first check code by algorithm for encryption;
Described first invoice cleartext information, the first tax-control code and the first identifying code three are merged, by two-dimensional bar code encryption generating two-dimension bar-code data;
By described first invoice clear data, the first tax-control code and two-dimensional bar code data-printing in invoice nominal value;
Scanning obtains invoice two-dimensional bar code data at par, extracts the second tax-control code and the second check code that are included in these two-dimensional bar code data;
Typing or scanning obtain invoice the first tax-control code at par, contrast this first tax-control code whether consistent with the second tax-control code; As inconsistent, be accredited as pseudo-invoice;
Comparing result is consistent, the second invoice cleartext information comprised and the first tax-control code is merged in two-dimensional bar code data, generates the 3rd check code, contrast described 3rd check code whether consistent with described second check code by algorithm for encryption; As inconsistent, be accredited as pseudo-invoice;
Comparing result is consistent, is decrypted to obtain the 3rd invoice cleartext information, contrasts described 3rd invoice cleartext information whether consistent with described second invoice cleartext information to described second tax-control code; As inconsistent, be accredited as pseudo-invoice;
Comparing result is consistent, is accredited as true invoice.
Present invention also offers a kind of true from false of bills verification system simultaneously, comprise terminal of making out an invoice, two-dimensional bar code scanning device and background management system, wherein:
Described terminal of making out an invoice comprises typing unit, cryptographic processing unit and print unit; Described typing unit is in order to typing first invoice cleartext information; Described cryptographic processing unit is in order to encrypt generation first tax-control code, both combining encryptions of described first invoice cleartext information and the first tax-control code are generated to the first check code, encrypt generating two-dimension bar-code data to the triplicity of described first invoice cleartext information, the first tax-control code and the first identifying code to described first invoice cleartext information; 3rd check code is generated to both combining encryptions of described first tax-control code and the second invoice cleartext information; Described print unit for by described first invoice clear data, the first tax-control code and two-dimensional bar code data-printing to invoice nominal value;
Described two-dimensional bar code scanning device scans for scanning invoice two-dimensional bar code data at par, and scanning information is transferred to described background management system;
Described background management system comprises communication unit, decryption unit and authentication unit, and described communication unit is used for and network service set up by described two-dimensional bar code scanning device; Described decryption unit is used for obtaining the second invoice cleartext information, the second check code and the second tax-control code to described two-dimensional bar code decrypt data, obtains the 3rd invoice cleartext information and the 3rd tax-control code to described second check code deciphering; Described authentication unit is for verifying the true and false information of invoice.
According to a kind of true from false of bills verification system provided by the invention, the checking content of wherein said authentication unit comprises: contrast described first tax-control code whether consistent with described second tax-control code, contrast described 3rd check code whether consistent with described second check code, and whether contrast described 3rd invoice cleartext information consistent with described second invoice cleartext information; More than contrast content inconsistent if any any one, be accredited as pseudo-invoice, when all contrast contents are all consistent, be accredited as true invoice.
According to a kind of true from false of bills verification system provided by the invention, wherein said two-dimensional bar code scanning device is wired two-dimensional bar code scanner or wireless two-dimensional bar code scanner.
Compared with prior art, beneficial effect of the present invention is:
The present invention is simple to operate, easy to use, coal, the tax, taxi valuation, refuelling station etc. can be widely used in in the comparatively strict multiple fields of bill anti-counterfeit requirement, greatly reduce the probability that lawless person evades the tax, safeguard the justice of economic society, just.
Accompanying drawing explanation
Fig. 1 is the verification method schematic flow sheet of the specific embodiment of the invention;
Fig. 2 is the composition frame chart of the verification system of the specific embodiment of the invention.
Description of reference numerals: 10-makes out an invoice terminal; 11-typing unit; 12-ciphering unit; 13-print unit; 20-two-dimensional bar code scanning device; 21-is wireless two-dimensional bar code scanner; The wired two-dimensional bar code scanner of 22-; 30-background management system; 31-communication unit; 32-decryption unit; 33-authentication unit.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, carry out clear, complete description to the technical scheme in the embodiment of the present invention, obviously, described embodiment is only a part of embodiment of the present invention, 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 creativity work prerequisite, belong to the scope of protection of the invention.
Referring to Fig. 1, is the checking schematic flow sheet of true from false of bills verification method of the present invention.Wherein the first invoice cleartext information refers to the essential information that invoice nominal value will show, and comprises pin side's enterprise name, Acquiring enterprise's title, trade name, commodity amount, goods amount etc. managing detailed catalogue.This first invoice cleartext information is encrypted, just generates the first tax-control code; By algorithm for encryption after first invoice cleartext information and the first tax-control code being merged, just generate the first check code; Be encrypted by 2D bar code technology after first invoice cleartext information, the first tax-control code and the first identifying code three are merged, just generating two-dimension bar-code data.
For two-dimensional bar code data, then be decrypted inverse operations.Obtain because these two-dimensional bar code data merge rear encryption by the first invoice cleartext information, the first tax-control code and the first identifying code three, therefore must comprise the data message relevant with the first invoice cleartext information, the first tax-control code and the first identifying code in two-dimensional bar code data.In order to show difference, the data obtained are called the second invoice cleartext information, the second tax-control code and the second identifying code here after two-dimensional bar code data deciphering.Now carry out the first re-examination card, namely contrast the second tax-control code whether consistent with the first tax-control code.As inconsistent, directly can judge that invoice is pseudo-invoice.If consistent, then proceed checking below.
Second invoice cleartext information and the first tax-control code are merged and encrypt, obtains the 3rd check code.Now carry out the second re-examination card, contrast the 3rd check code whether consistent with the second check code.As inconsistent, directly can judge that invoice is pseudo-invoice.If consistent, then proceed checking below.
Second check code is decrypted further, obtains the 3rd invoice cleartext information and the 3rd tax-control code.Now carry out triple checking, whether whether contrast the 3rd invoice cleartext information consistent with the second invoice cleartext information, as inconsistent, judges that invoice is pseudo-invoice; As unanimously, judge that invoice is true invoice.
Visible, verify that an invoice is true, need above-mentioned triple the results to be unanimously, verifying logic is rigorous, and reliability is high, and fast easy and simple to handle.Once there have any result to be shown as in above-mentioned proof procedure to be inconsistent, then directly can judge that this invoice is pseudo-invoice, thus greatly reduce the possibility that lawless person uses pseudo-invoice tax evasion.
Please continue to refer to Fig. 2, it is the composition frame chart of verification system of the present invention.True from false of bills verification system of the present invention comprises terminal 10 of making out an invoice, two-dimensional bar code scanning device 20 and background management system 30.
Wherein, terminal of making out an invoice 10 comprises typing unit 11, cryptographic processing unit 12 and print unit 13.Described typing unit 11 is in order to typing first invoice cleartext information; Described cryptographic processing unit 12 is in order to be encrypted data; Described print unit 13 for by described first invoice clear data, the first tax-control code and two-dimensional bar code data-printing to invoice nominal value.
Particularly, the data that cryptographic processing unit 12 is encrypted comprise: to described first invoice cleartext information encryption generation first tax-control code, both combining encryptions of described first invoice cleartext information and the first tax-control code are generated to the first check code, encrypt generating two-dimension bar-code data to the triplicity of described first invoice cleartext information, the first tax-control code and the first identifying code; 3rd check code is generated to both combining encryptions of described first tax-control code and the second invoice cleartext information.
Two-dimensional bar code scanning device 20, for scanning invoice two-dimensional bar code data at par, specifically can adopt wired two-dimensional bar code scanner 22 or wireless two-dimensional bar code scanner 21 to scan, and scanning information is transferred to described background management system 30.
Background management system 30 comprises communication unit 31, decryption unit 32 and authentication unit 33, and described communication unit 31 is for setting up network service with described two-dimensional bar code scanning device 20; Described decryption unit 32 is for decrypt data, comprise: the second invoice cleartext information, the second check code and the second tax-control code are obtained to described two-dimensional bar code decrypt data, the 3rd invoice cleartext information and the 3rd tax-control code are obtained to described second check code deciphering; Described authentication unit 33 is for verifying the true and false information of invoice, checking content comprises: contrast described first tax-control code whether consistent with described second tax-control code, contrast described 3rd check code whether consistent with described second check code, and whether contrast described 3rd invoice cleartext information consistent with described second invoice cleartext information; More than contrast content inconsistent if any any one, be accredited as pseudo-invoice, when all contrast contents are all consistent, be accredited as true invoice.
The above description of this invention is illustrative, and nonrestrictive, and those skilled in the art is understood, and can carry out many amendments, change or equivalence, but they all will fall within the scope of protection of the present invention within the spirit and scope of claim restriction to it.
Claims (4)
1. a true from false of bills verification method, is characterized in that, comprises the following steps:
Typing first invoice cleartext information, is encrypted to generate the first tax-control code by this first invoice cleartext information;
Described first invoice cleartext information and the first tax-control code are merged, generates the first check code by algorithm for encryption;
Described first invoice cleartext information, the first tax-control code and the first identifying code three are merged, by two-dimensional bar code encryption generating two-dimension bar-code data;
By described first invoice clear data, the first tax-control code and two-dimensional bar code data-printing in invoice nominal value;
Scanning obtains invoice two-dimensional bar code data at par, extracts the second tax-control code and the second check code that are included in these two-dimensional bar code data;
Typing or scanning obtain invoice the first tax-control code at par, contrast this first tax-control code whether consistent with the second tax-control code; As inconsistent, be accredited as pseudo-invoice;
Comparing result is consistent, the second invoice cleartext information comprised and the first tax-control code is merged in two-dimensional bar code data, generates the 3rd check code, contrast described 3rd check code whether consistent with described second check code by algorithm for encryption; As inconsistent, be accredited as pseudo-invoice;
Comparing result is consistent, is decrypted to obtain the 3rd invoice cleartext information, contrasts described 3rd invoice cleartext information whether consistent with described second invoice cleartext information to described second tax-control code; As inconsistent, be accredited as pseudo-invoice;
Comparing result is consistent, is accredited as true invoice.
2. a true from false of bills verification system, is characterized in that, comprises terminal of making out an invoice, two-dimensional bar code scanning device and background management system, wherein:
Described terminal of making out an invoice comprises typing unit, cryptographic processing unit and print unit; Described typing unit is in order to typing first invoice cleartext information; Described cryptographic processing unit is in order to encrypt generation first tax-control code, both combining encryptions of described first invoice cleartext information and the first tax-control code are generated to the first check code, encrypt generating two-dimension bar-code data to the triplicity of described first invoice cleartext information, the first tax-control code and the first identifying code to described first invoice cleartext information; 3rd check code is generated to both combining encryptions of described first tax-control code and the second invoice cleartext information; Described print unit for by described first invoice clear data, the first tax-control code and two-dimensional bar code data-printing to invoice nominal value;
Described two-dimensional bar code scanning device scans for scanning invoice two-dimensional bar code data at par, and scanning information is transferred to described background management system;
Described background management system comprises communication unit, decryption unit and authentication unit, and described communication unit is used for and network service set up by described two-dimensional bar code scanning device; Described decryption unit is used for obtaining the second invoice cleartext information, the second check code and the second tax-control code to described two-dimensional bar code decrypt data, obtains the 3rd invoice cleartext information and the 3rd tax-control code to described second check code deciphering; Described authentication unit is for verifying the true and false information of invoice.
3. a kind of true from false of bills verification system according to claim 2, it is characterized in that, the checking content of described authentication unit comprises: contrast described first tax-control code whether consistent with described second tax-control code, contrast described 3rd check code whether consistent with described second check code, and whether contrast described 3rd invoice cleartext information consistent with described second invoice cleartext information; More than contrast content inconsistent if any any one, be accredited as pseudo-invoice, when all contrast contents are all consistent, be accredited as true invoice.
4. a kind of true from false of bills verification system according to claim 3, is characterized in that, described two-dimensional bar code scanning device is wired two-dimensional bar code scanner or wireless two-dimensional bar code scanner.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310284692.2A CN104282070B (en) | 2013-07-08 | 2013-07-08 | A kind of true from false of bills verification method and checking system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310284692.2A CN104282070B (en) | 2013-07-08 | 2013-07-08 | A kind of true from false of bills verification method and checking system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104282070A true CN104282070A (en) | 2015-01-14 |
CN104282070B CN104282070B (en) | 2016-12-28 |
Family
ID=52256918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310284692.2A Active CN104282070B (en) | 2013-07-08 | 2013-07-08 | A kind of true from false of bills verification method and checking system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104282070B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105791281A (en) * | 2016-03-01 | 2016-07-20 | 太仓苏易信息科技有限公司 | Information encryption system |
CN104299310B (en) * | 2013-07-18 | 2017-02-15 | 航天信息股份有限公司 | System and method used for verifying bill authenticity |
CN111445616A (en) * | 2020-02-27 | 2020-07-24 | 平安医疗健康管理股份有限公司 | Invoice verification method and device, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1996007975A1 (en) * | 1994-09-09 | 1996-03-14 | Cias, Inc. | Reader using moving averages to break the (n,k) code barrier for upc, ean, and others |
CA2426447A1 (en) * | 2000-11-07 | 2002-05-16 | Unisys Corporation | Self-authentication of value documents using digital signatures |
CN101655996B (en) * | 2009-07-20 | 2011-05-18 | 浪潮齐鲁软件产业有限公司 | Method for identifying the authenticity of bills fast |
CN102456253A (en) * | 2010-10-19 | 2012-05-16 | 航天信息股份有限公司 | Method for making invoice and terminal thereof |
CN102819809A (en) * | 2011-06-07 | 2012-12-12 | 航天信息股份有限公司 | Method and system for gathering tax-control data |
-
2013
- 2013-07-08 CN CN201310284692.2A patent/CN104282070B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1996007975A1 (en) * | 1994-09-09 | 1996-03-14 | Cias, Inc. | Reader using moving averages to break the (n,k) code barrier for upc, ean, and others |
CA2426447A1 (en) * | 2000-11-07 | 2002-05-16 | Unisys Corporation | Self-authentication of value documents using digital signatures |
CN101655996B (en) * | 2009-07-20 | 2011-05-18 | 浪潮齐鲁软件产业有限公司 | Method for identifying the authenticity of bills fast |
CN102456253A (en) * | 2010-10-19 | 2012-05-16 | 航天信息股份有限公司 | Method for making invoice and terminal thereof |
CN102819809A (en) * | 2011-06-07 | 2012-12-12 | 航天信息股份有限公司 | Method and system for gathering tax-control data |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104299310B (en) * | 2013-07-18 | 2017-02-15 | 航天信息股份有限公司 | System and method used for verifying bill authenticity |
CN105791281A (en) * | 2016-03-01 | 2016-07-20 | 太仓苏易信息科技有限公司 | Information encryption system |
CN111445616A (en) * | 2020-02-27 | 2020-07-24 | 平安医疗健康管理股份有限公司 | Invoice verification method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104282070B (en) | 2016-12-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103198344B (en) | Tax control secure two-dimensional code coding, decoding processing method | |
CN106789018B (en) | Secret key remote acquisition methods and device | |
Warasart et al. | based document authentication using digital signature and QR code | |
CN109729046B (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 | |
CN104008351B (en) | Window application completeness check system, method and device | |
CN104268610B (en) | One kind classification QR code generating methods and read method | |
CN105678365A (en) | Two-dimensional code e-ticket generation method and system, two-dimensional code e-ticket verification method and verification terminal | |
CN106888089A (en) | The method and system of Electronic Signature and the mobile communication terminal for Electronic Signature | |
CN102930634B (en) | Invoice true-check system based on cloud computing and encrypted two-dimensional code | |
CN102750510A (en) | Credible two-dimensional code scheme based on public key infrastructure (PKI) and HASH algorithm | |
CN102801710A (en) | Networked transaction method and system | |
CN104464117A (en) | Automatic tell machine money withdrawing method and system based on dynamic two-dimensional code | |
CN202854880U (en) | SMS payment system based on fingerprint identification mobile phone | |
CN105976005A (en) | Two-dimensional code encrypting method, two-dimensional code generating device and two-dimensional code scanning device | |
CN103489086A (en) | Authority control system and method of logistics information | |
CN101206542B (en) | Ciphering signature writing pad with press keys and display screen | |
CN105187357A (en) | Two-dimension code verification method and system | |
CN104299310A (en) | System and method used for verifying bill authenticity | |
CN105530099A (en) | Anti-fake verification method, device and system and anti-fake certificate based on IBC (Identity-Base Cryptography) | |
CN107229879A (en) | Electronics confirmation request automatic generation method and system based on safe Quick Response Code | |
CN105809015A (en) | Electronic ticket information hiding and verifying method, device and system | |
CN104835039A (en) | Data label generation method | |
CN104282070A (en) | Invoice fake validation method and system | |
CN104715537A (en) | Encryption and decryption method based on digital tags |
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 |